Embodiment
The embodiment of the invention provides a kind of adline collocation method and system, by configuration adline configuration file, is not needing to revise under the situation of any code, with the satisfied radio and TV operator who adline is had different demands of the ad system of same version.
The nucleus module of ad system is an Advertisement arrangement, and so-called waiting is associated with an adline to a material (video, picture, text) exactly, and the channel in appointment broadcasts in a period of time.And there is different demands in different operators to the processing of adline, so these factors that influence waiting are all focused in the attribute of adline, satisfies different waiting demands by the attribute of revising adline.In the prior art, these property values are all set in code, and in embodiments of the present invention, these property values are not set in code, but dispose by adline configuration file position.ini, read all properties value during newly-increased adline from the adline configuration file and be saved in the adline database, the different attribute value according to selected adline during waiting is done different processing.It is the attribute that the value of Position.ini configuration has determined adline, and the attribute of adline has determined the operational processes of waiting, like this, when different operators had different demands, the Configuration Values of directly revising position.ini can change the operation of waiting.So-called operation, the main following situation of Zhiing: when selecting adline A, the type of related material that A wants is text or picture, if picture is I frame or gif picture or png picture, the picture (resolution) of related which kind of specification, the channel of related which kind of type, whether the secondary advertisement is arranged, whether triggering mode is arranged, whether additional text etc. is arranged.
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Referring to Fig. 1, be the Advertisement arrangement method flow synoptic diagram of the embodiment of the invention, comprising:
Step 101, the configuration data of at least one adline of configuration in the adline configuration file in advance;
If operator needs N kind adline (N is the natural number more than or equal to 1), then the staff is for operator's configuration adline configuration file the time, need the configuration data of N adline of configuration in the adline configuration file, the configuration data of each adline correspondence comprise adline code, adline title, picture size restriction, location advertising coordinate, picture width, picture height, can related picture format, various property values such as associated channel type, related material type, secondary adline.For example, adline configuration file position.ini in the configuration data of an adline correspondence can be following configuration:
[position_1_SD]------------------is No. 1 adline configuration below----representative
Name------------------------------------adline title
The restriction of Size--------------------------------------picture size
The x coordinate of the position of x------------------------------------------in screen
The y coordinate of the position of y------------------------------------------in screen
Width-------------------------------------picture width
Height------------------------------------picture height
ResourceFormat-------------------------can related picture format
RelatingServiceType-------------------associated channel type
IsDefaultInstancy-------------------needs the urgent picture of allocating default
Whether isSecondPosition-----------------------is the secondary advertisement
The related material type of relatedResourceType------------------
Attributes such as not triggering of extendType------------------------------, additional text
BgPicName-----------------------------background picture title
SecondPositionType--------------------secondary adline ID
What show above is No. 1 adline configuration, dispose 2 adlines if desired, then continue the property value that configuration needs according to top configuration mode again, the adline code is [position_2_SD], under the expression [position_2_SD] is the configuration data of No. 2 adlines, by that analogy, can be according to N adline of operator's demand configuration.
The configuration attribute of adline configuration file position.ini is not limited to above-named project, sundry item can also be arranged, also can be provided with for selecting the necessary type of part in the top multiclass, the different operating of the different attribute value decision waiting of each adline configuration is handled.
Step 102 is obtained from described adline configuration file and the corresponding configuration data of described at least one adline, and deposits the described configuration data that obtains in the adline database;
Describedly from described adline configuration file, obtain the configuration data corresponding and specifically comprise with described at least one adline:
Obtain the newly-increased adline order of user;
Obtain from described adline configuration file and the corresponding configuration data of described newly-increased adline, described newly-increased adline is included in the adline default in the described adline configuration file.
When the staff after the PC client sets adline configuration file position.ini, when operator will increase adline newly in the adline configuration module, it such as newly-increased ID 1 adline, then reading from adline configuration file position.ini with ID is 1 the corresponding configuration data of adline, and be saved in the adline database,, when advertisement being carried out the waiting operation, can from described adline database, select the configuration data corresponding to treat the waiting advertisement and carry out the waiting operation for operator with adline.Need to prove, operator in the adline configuration module during newly-increased adline, newly-increased adline be in the adline pre-configured among the configuration file position.ini partly or entirely.
The configuration data corresponding with adline that deposits the adline database in can be revised or delete, for example, deposit the data under No. 1 adline [position_1_SD] in the adline database in, can carry out integral body at the specified window of client-side revises or deletes, when the data under this No. 1 adline [position_1_SD] of modification, access the modification window, say that amended data are submitted to the adline database, cover the data under former No. 1 adline [position_1_SD], promptly finish modification; When operator no longer needs data under No. 1 adline [position_1_SD], also can delete the data No. 1 adline [position_1_SD] in the database under are whole by the deletion window.It should be noted that; revise and deletion adline database in the configuration data corresponding with adline the time; adline there is not any operation for configuration file position.ini; the general advertisement type is after configuration file position.ini is configured by equipment vendor; operator can not revise, and plays the effect of a safeguard protection like this.And equipment vendor is when satisfying the different operators demand, need be configuration file position.ini only according to the different adline of demand configuration of different operators, need not to revise any code can finish, and can satisfy the radio and TV operator who adline is had different demands with the ad system of same version.
Referring to Fig. 2, be the adline configuration operation page in the Advertisement arrangement method of the embodiment of the invention;
Form by newly-increased adline obtains data from adline configuration file position.ini, submission just is deposited into the adline database to these data and has suffered then.
As Fig. 2, click newly-increased type, if type i D is 3, so just read the configuration data (width of [POSITION_3_SD] from adline configuration file position.ini, height etc.) be presented on the interface, submitted to then, these data have just been deposited the adline lane database.Later on when the advertisement of waiting module row, if select ChannelList_ SD (when just ID is 3 adline), system's lane database of arriving reaches the corresponding configuration data that ID is 3 adline so, and we put and deposit into the configuration data that ID is 3 adline correspondence when submitting to before just.Equally, on the panel of Fig. 2, can see and revise type and deletion type button, revise ID and be 1 adline, then choose the EPGBanner_ SD, data are made amendment, click submission then and just amended data can be submitted to the adline database, cover ID in the former database and be 1 adline for configuration data, finish adline and revise.Same, if ID is 1 adline in the delete database, then choose the EPGBanner_ SD, click submit to can delete database in ID be the configuration data of 1 adline correspondence.Because deletion and modification are all carried out in the adline database, and any change is not made in the configuration among the adline configuration file position.ini, when the former ID that stores in the adline database be the configuration data of 1 adline correspondence deleted after, if operator needs this adline once more, then can also deposit the adline database again in from the configuration data that newly from adline configuration file position.ini, obtains this adline.
Step 103 is treated the waiting advertisement according to configuration data stored in the adline database and is carried out the waiting operation.
Describedly according to configuration data stored in the adline database waiting operation steps is carried out in advertisement and specifically comprises:
Obtaining the user is the adline for the treatment of the waiting advertisement selection;
From the adline database, obtain and the described corresponding configuration data of adline for the treatment of the waiting advertisement;
Treat that to described the waiting advertisement carries out the waiting operation according to the corresponding configuration data of the described adline for the treatment of the waiting advertisement that obtain and described.
When operator will carry out the waiting operation to an advertisement for the treatment of waiting, at first on operational module for treating adline of waiting advertisement selection, selected adline is a kind of in the adline of storing in the adline database, it is after treating the adline of waiting advertisement selection that system gets access to the user, from the adline database, obtain and the described corresponding configuration data of adline for the treatment of the waiting advertisement, treat that to described the waiting advertisement carries out the waiting operation according to the corresponding configuration data of the described adline for the treatment of the waiting advertisement that obtain and described then.
Concrete, the waiting operating process can be described in conjunction with Fig. 3.
Referring to Fig. 3, be waiting operational processes process flow diagram in the embodiment of the invention adline collocation method, suppose in this ad system, pre-configured N adline among the adline configuration file position.ini, and the configuration data of a described N adline has been saved in the adline database.When operator need carry out the waiting operation to certain advertisement, as shown in Figure 3, at first be this advertisement selection N adline, from the adline database, obtain the relevant configuration data of N adline automatically, judge related material type then, related material type can be types such as picture, text, because the drawing restriction only illustrates two kinds of material types of picture and text, do not give an example one by one among Fig. 3 herein, also have other types unlisted, do not do qualification herein.When judging related material type is text, then carries out text-processing, when judging that the material type is a picture, then according to selected adline picture is carried out the waiting operation.The material type that different adlines is corresponding different, as shown in Figure 3, the material type of start page adline and broadcasting background advertisement type correspondence is mpg, the EPGBANNER adline, the material type of hanging angle adline and recommended advertisements type correspondence is gif/png/gif, for example, when the adline of selecting is the advertisement of the start page, the information of from the adline database, obtaining comprise can only related mpg form information, when waiting is operated, system can stop the user to select the outer extended formatting picture of mpg form automatically, when selecting other adlines, in like manner.Related picture materials, according to different configuration informations, related different material, and carry out different previews according to the material of different-format and handle (different operators has different requirements to the associated channel type, so can be configured flexibly) in adline configuration file position.ini.After judging the material type of good selected adline and adline correspondence, need to select the associated channel type, described associated channel type comprises overall channel, television channel, broadcasting channel, all channels and encoded channel etc.For associated channel, adline such as the start page etc. must related overall channel, and broadcasting background advertisement type must related broadcasting channel, most adlines can be according to each different requirements of customers, restriction associated channel type (different operators has different requirements to the associated channel type, so can be configured in adline configuration file position.ini flexibly).For example, when the adline of selecting is the advertisement of the start page, the information of from the adline database, obtaining comprise the information of from the adline database, obtaining also comprise can only related overall channel configuration information, system can stop user's selection other channels except that overall channel automatically during the waiting operation, when selecting other types, in like manner the demand according to the client limits the associated channel type.After judging good selected adline and choosing the associated channel type, need to set associated date and time.After configuring the Total Options that need to set, submit waiting operating system to, finish waiting and handle, so that advertisement can be broadcasted with predetermined type in predetermined date, time.
Fig. 3 will specifically operate further specifying below for getting rid of the actionable total process flow diagram to waiting in conjunction with multiple adline.Choosing after N series advertisements type obtains the relevant configuration information of this adline from the adline database, judging related material type is picture, then according to selected adline the waiting operation is carried out in advertisement.When selected adline is the start page type, the information of from the adline database, obtaining comprise can only related mpg form information, when waiting is operated, system can stop the user to select the outer extended formatting picture of mpg form automatically, simultaneously, the information that system obtains from the adline database also comprise can only related overall channel configuration information, system can stop the user to select other channels except that overall channel automatically during the waiting operation; When selected adline is broadcasting background advertisement type, channel type must related broadcasting channel, the information that system obtains from the adline database also comprise can only related broadcasting channel configuration information, system can stop the user to select to remove other channels that broadcasting channel is thought automatically during the waiting operation; When selected adline is EPG BANNER adline, in the attribute that obtains from the adline database secondary advertisement configuration attribute is arranged, the relevant control that related secondary advertisement can appear in the interface disposes the secondary advertisement for the user; When selected adline is when hanging the angle adline, the configuration information that obtains from the adline lane database includes the configuration attribute of trigger message, this moment, the controls such as button input frame of triggering mode can appear being used to be provided with in the interface, and triggering mode actual interval and frequency all can set up on their own according to user's needs; When selected adline is the recommended advertisements type, to obtain from the adline lane database in the attribute of the type and include text message, this moment, the text input frame can appear in the interface, and in text box, the user can add Word message as required.
Adline listed above in practice, can be provided with various adlines only for illustrating according to user's needs flexibly, and the configuration information of different adlines can be the same, so can dispose the similar adline of row.
What introduce above is Advertisement arrangement method in the embodiment of the invention, below in conjunction with the structure of Fig. 4 introduction Advertisement arrangement device corresponding with described adline method.
Referring to Fig. 4, the Advertisement arrangement apparatus structure synoptic diagram for the embodiment of the invention comprises:
Adline configuration file 1 is used for pre-configured and stores the configuration data of at least one adline;
If operator needs N kind adline (N is the natural number more than or equal to 1), then the staff is for operator's configuration adline configuration file the time, need the configuration data of N adline of configuration in the adline configuration file, the configuration data of each adline correspondence comprise adline code, adline title, picture size, location advertising coordinate, picture width, picture height, can related picture format, various property values such as associated channel type, related material type, secondary adline.Adline configuration file 1 can be understood as a file, the inside comprises the experimental process file, can be regarded as corresponding son file of configuration data of an adline correspondence in embodiments of the present invention, be positioned in the file at adline configuration file 1 place.Have a detailed description in the configuration project examples of implementation in front of adline configuration file position.ini, do not give unnecessary details at this.
Adline configuration module 2 is used for obtaining and the corresponding configuration data of described at least one adline from described adline configuration file, and deposits the described configuration data that obtains in the adline database;
Adline database 3 is used for the configuration data that stores advertisements type configuration module is obtained;
Waiting operational module 4 is used for treating the waiting advertisement according to adline database module configuration data stored and carries out the waiting operation.
Referring to Fig. 5, be adline configuration module structural representation in Fig. 4 Advertisement arrangement device;
Described adline configuration module 2 comprises: acquiring unit 21 is used for obtaining and the corresponding configuration data of described at least one adline from described adline configuration file, and deposits the described configuration data that obtains in the adline database.Acquiring unit 21 is to receive the newly-increased adline indication of user in the prerequisite of obtaining configuration file from adline configuration file 1, has a detailed description in the method in front, does not give unnecessary details at this.
Described adline configuration module 2 also comprises:
Revise unit 22, be used for revising the configuration data corresponding that is stored in the adline database with adline;
Delete cells 23 is used for deleting the configuration data corresponding with adline that is stored in the adline database.
The staff is after the PC client sets adline configuration file 1, when operator will increase adline newly in adline configuration module 2, such as newly-increased ID is 1 adline, then reading from adline configuration file 1 with ID is 1 the corresponding configuration data of adline, and be saved in the adline database 3, carry out waiting when operation for operator treating the waiting advertisement, can be from described adline database 3 select the configuration data corresponding to treat the waiting advertisement to carry out waiting and operate with adline.Need to prove, operator in the adline configuration module during newly-increased adline, newly-increased adline be in the adline pre-configured in the configuration file 1 partly or entirely.
The configuration data corresponding with adline that deposits adline database 3 in can be revised or delete, for example, deposit the data under No. 1 adline [position_1_SD] in the adline database 3 in, can carry out integral body at the specified window of client-side revises or deletes, when the data under this No. 1 adline [position_1_SD] of modification, access the modification window, amended data are submitted to adline database 3, cover the data under former No. 1 adline [position_1_SD], promptly finish modification; When operator no longer needs data under No. 1 adline [position_1_SD], also can delete the data No. 1 adline [position_1_SD] in the database 3 under are whole by the deletion window.It should be noted that; revise and deletion adline database 3 in the configuration data corresponding with adline the time; to adline is configuration file 1 no any operation; the general advertisement type is after configuration file 1 is configured by equipment vendor; operator can not revise, and plays the effect of a safeguard protection like this.And equipment vendor is when satisfying the different operators demand, need be configuration file 1 only according to the different adline of demand configuration of different operators, need not to revise any code can finish, and can satisfy the radio and TV operator who adline is had different demands with the ad system of same version.
Introduced adline collocation method and device in the embodiment of the invention above respectively, introduced described adline collocation method and install the ad system that is used below in conjunction with Fig. 5.
Referring to Fig. 6, be ad system structural representation in the embodiment of the invention, comprising:
Advertisement arrangement device 100, described Advertisement arrangement device are aforesaid Advertisement arrangement device;
Playing device 200 links to each other with described Advertisement arrangement device 100, is used to play the advertisement through after the waiting processing.
During Advertisement arrangement, waiting operational module 4 in the Advertisement arrangement device 100 is treated the waiting advertisement according to configuration data stored in the adline database 3 and is carried out the waiting operational processes, different adline configuration datas have determined different operational processes, when different operators has different demand, only need to revise adline configuration file 1 (being the position.ini file) and just can satisfy the different demands of different operators adline, also only need in the Advertisement arrangement device 100 in the PC client, carry out and dispose new adline configuration file position.ini, easy to operate.
Implement the embodiment of the invention, by in the adline configuration file, disposing the configuration data of at least one adline in advance; From described adline configuration file, obtain and the corresponding configuration data of described at least one adline, and deposit the described configuration data that obtains in the adline database; Treat the waiting advertisement according to configuration data stored in the adline database and carry out the waiting operation.Do not needing to revise under the situation of any code, realizing ad system, satisfying the demand that adline is had the radio and TV operator of different demands with same version.And in the actual operation process of radio and TV operator,, do not need to revise any code equally if the relevant demand shift of adline is arranged, the adline configuration file that simple configuration is new just can satisfy new demand, reduce manpower and materials, help version management, be convenient to safeguard.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement by hardware.Based on such understanding, all or part of can the embodying that technical scheme of the present invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.