CN102752525B - It is a kind of that the method and device for broadcasting list is created based on script - Google Patents

It is a kind of that the method and device for broadcasting list is created based on script Download PDF

Info

Publication number
CN102752525B
CN102752525B CN201110248288.0A CN201110248288A CN102752525B CN 102752525 B CN102752525 B CN 102752525B CN 201110248288 A CN201110248288 A CN 201110248288A CN 102752525 B CN102752525 B CN 102752525B
Authority
CN
China
Prior art keywords
script
order
list
sent
establishment
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.)
Active
Application number
CN201110248288.0A
Other languages
Chinese (zh)
Other versions
CN102752525A (en
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.)
Beijing Jinsong Chuangyi Technology Co.,Ltd.
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201110248288.0A priority Critical patent/CN102752525B/en
Publication of CN102752525A publication Critical patent/CN102752525A/en
Application granted granted Critical
Publication of CN102752525B publication Critical patent/CN102752525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and device that broadcast list is created based on script, this method includes:Receive the order for playing the establishment broadcast list that control end is sent first;The establishment sent first described in pretreatment is broadcasted the order generation script of list and preserved;Parsed using the script and play the order for creating new broadcast list that control end is sent again;The template content of user's change is obtained according to analysis result, order corresponding with the template content of the change in the script is changed;The amended script of automatic running, generates new broadcast list.By only needing simply to change script the invention enables each change request of user, and the modification of bottom code need not be carried out, nor affect on the progress of original agreement, meet user's different demands, improve operating efficiency.

Description

It is a kind of that the method and device for broadcasting list is created based on script
Technical field
List is broadcasted the present invention relates to the diagram text manufacture technical field in broadcasting and TV field, more particularly to a kind of created based on script Method.
Background technology
In broadcasting control system, play control end and give broadcast end by possible table single-shot by networking command, broadcast end Simply it can be played out according to the broadcast list.The whole sequencing for broadcasting list of such case control end management, broadcasts Go out end only need to simply play out and remove wait operate.
In the prior art, many control ends are not very clear understanding to the particular content of template, have just known that several Data item in field, or template has several, and specific template name is unclear, or understand template name but to data item not Clear, the method for list is broadcasted for creating mainly following two schemes:
Scheme one:For the order of the establishment possible table of reception, the command analysis of acquiescence is realized, possible table is created, if Corresponding template is not present then client and carries out manual dragging;
Scheme two:Bottom code is changed, different editions are issued according to different order to adapt to, it is necessary to write multiple versions, Once the establishment possible table single command that user's request change causes other side to send, which changes, is accomplished by programmer's time update bottom generation Code.
Inventor is in implementing the present invention, it may, have found that prior art has following technical problem:
If scheme one, user's operation requirement property to broadcast end is higher, and workload is larger;If second scheme grinds Hair personnel need constantly change command analysis code to adapt to different demands.
The content of the invention
In order to solve the shortcoming of above-mentioned prior art, the main object of the present invention is to provide a kind of created based on script and broadcasted The method and device of list, to solve to need every time asking for change bottom code when user has different demands in the prior art Topic.
In order to achieve the above object, the invention provides a kind of method for being created based on script and broadcasting list, specifically include:
Receive the order for playing the establishment broadcast list that control end is sent first;
The establishment for pre-processing the transmission is broadcasted the order generation script of list and preserved;
The order for playing the broadcast list created newly that control end is sent again is parsed using the script;
The template content of user's change is obtained according to analysis result, the template content with the change in the script is changed Corresponding order;
The amended script of automatic running, generates new broadcast list.
Another aspect of the present invention additionally provides a kind of device for being created based on script and broadcasting list, and the device includes:
Receiving unit, the order for the establishment broadcast list that control end is sent first is played for receiving;
Pretreatment unit, the establishment for pre-processing the transmission is broadcasted the order generation script of list and preserved;
Resolution unit, new broadcast list is created for what is sent again using the script parsing broadcasting control end Order;
Script changes unit, the template content for obtaining user's change according to analysis result, change in the script with The corresponding order of the template content of the change;
List generation unit is broadcasted, for generating new broadcast list when the automatic running amended script after.
7th, it is as claimed in claim 6 that the device for broadcasting list is created based on script, it is characterised in that the pretreatment list Member also includes:
Command analysis subelement is sent first, and list is broadcasted for parsing the establishment that the broadcasting control end is sent first Order;
Order rule searching subelement, for finding order rule according to analysis result, the order rule is described Play the information that differentiation field changes that can extract having in the order that control end is sent first;
Script edit subelement, for writing script, according to the order rule generation playitem.
By being pre-processed to the possible table single command received in the embodiment of the present invention, a script template is generated, The order that the different demands for broadcasting column same to user create broadcast list is parsed using script so that user is each Change request only needs simply to change script, and need not carry out the modification of bottom code, nor affects on original agreement Carry out, meet user's different demands, improve operating efficiency.
Brief description of the drawings
For the technical scheme of the clearer explanation embodiment of the present invention, used required in being described below to embodiment Accompanying drawing be briefly described, it is clear that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill of field, on the premise of not paying creative work, it can also obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the method flow diagram based on script establishment broadcast list in embodiments of the invention;
Fig. 2 is the method flow diagram based on script establishment broadcast list in another embodiment of the present invention;
Fig. 3 is the schematic device that broadcast list is created based on script in the embodiment of the present invention;
Fig. 4 is the composition signal that pretreatment unit in the device for broadcasting list is created based on script in the embodiment of the present invention Figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Whole description, it is clear that described embodiment is only a part of embodiment of the present invention, the embodiment being not all of, based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not paid Example, belongs to the scope of protection of the invention.
A kind of method for being created based on script and broadcasting list is provided in the embodiment of the present invention one, this method implementation process is such as Shown in Fig. 1, specifically include:
Step S101:Receive the order for playing the establishment broadcast list that control end is sent first;Received in this step The order for broadcasting list is one of the broadcasting control end transmission for the first time of a broadcast column and creates the order for broadcasting list.
Step S102:The establishment sent first described in pretreatment is broadcasted the order generation script of list and preserved;Specifically, The order received in step S101 is needed to parse, and it also requires the wound sent first according to the broadcasting control end The analysis result for building the order for broadcasting list obtains the specific order rule for setting up the broadcast column, and order rule refers to send The order come over has obvious field to distinguish, such as certain field is template name, and certain field is the data item name to be replaced, Another field is the data content to be replaced etc., and writes corresponding script command using the specific order rule, One broadcast entry is generated according to the script command write, and the broadcast list and the order are used as the broadcast column received One template of purpose.
Step S103:Parsed using the script and play the order for creating new broadcast list that control end is sent again. In this implementation row, the order of the broadcast list of the establishment sent again newly refers to the establishment possible table of same column in step S101 Single order.
Step S104:The template content of user's change is obtained according to analysis result, change in the script with the change The corresponding order of template content.Because the Template Information of the broadcast list of same column is identical, only in template Particular content differ, so if there is template content to be changed, it is only necessary to change the template content part of the change Corresponding order in corresponding script command.
Step S105:The amended script of automatic running, generates new broadcast list.Amended script calls original soft The interface of part code can be achieved with automatic running and generate new broadcast list.The interface of original software code is script command The fixed rule interacted with application program.
By being pre-processed to the possible table single command received in the embodiment of the present invention, a script template is generated, The order that the different demands for broadcasting column same to user create broadcast list is parsed using script so that user is each Change request only needs simply to change script, and need not carry out the modification of bottom code, nor affects on original agreement Carry out, meet user's different demands, improve operating efficiency.
In the embodiment of the present invention two, specific practical application will be combined broadcast list is created based on script to embodiment one Method is further described in detail, as shown in Fig. 2 being specially:
Step S201:A script window is designed, that is responsible for the script that preprocessing process is generated writes and play control Hold the reception and display of the order sent first.
Step S202:User's selection script create the parsing of possible table single command in this implementation row, when broadcasting control Termination is then transferred to script window when receiving order.It is preferred that, can also be intercepted by script window broadcasting control end with The networking command sent between presentation controller.
Step S203:Script window is obtained in the first stage after establishment list order, and the volume of script is carried out according to the order Write, and the line number of the critical field in order, number of words, list is broadcasted in the generation such as title name.
Step S204:The script write in automatic running step S203 is set and broadcast list is created.One in practical application Form would not be changed after the possible table monotype setting of individual column, when receiving the establishment list order that the column is sent again When, the script write can carry out parsing the order received automatically line by line to the order received, parse the order received In with the part that is changed in the script that writes, record each content different from template style in script and change pin Corresponding part in this, refreshes possible table single command and updates simultaneously and broadcast list.
It is preferred that to create broadcast list order carry out parsing change part when, if order in there is no template Name only has field, then searching template according to field number creates broadcast entry, if with template sequence number according to sequence number come Search template and then create and broadcast entry, above-mentioned various situations only need the simply corresponding order of modification script, you can according to order The corresponding broadcast list of rule creation.
By being pre-processed to the possible table single command received in the embodiment of the present invention, a script template is generated, The order that the different demands for broadcasting column same to user create broadcast list is parsed using script so that user is each Change request only needs simply to change script, and need not carry out the modification of bottom code, nor affects on original agreement Carry out, meet user's different demands, improve operating efficiency.
A kind of device for being created based on script and broadcasting list is provided in the embodiment of the present invention three, is specifically constituted such as Fig. 3 institutes Show, including:
Receiving unit 31, the order for the establishment broadcast list that control end is sent first is played for receiving.
Pretreatment unit 32, for pre-processing the order generation script of the establishment broadcast list sent first and protecting Deposit.
Resolution unit 33, the broadcast list created newly that control end is sent again is played for being parsed using the script Order, the order of the new broadcast list of the establishment sent again is:The order of the same establishment new table for broadcasting column. It is additionally operable to carry out automatic parsing line by line to the new possible table single command that creates sent again received, records each and pin The different content of template style in this.
Script changes unit 34, the template content for obtaining user's change according to analysis result, changes in the script The order corresponding with the template content of the change.
List generation unit 35 is broadcasted, for generating new broadcast list when the automatic running amended script after.
Wherein, the pretreatment unit 32, as shown in figure 4, also including:
Command analysis subelement 321 is sent first, for parsing the establishment possible table that the broadcasting control end is sent first Single order
List is broadcasted in order rule searching subelement 322, the establishment for being sent first according to the broadcasting control end The analysis result of order finds order rule, and what is had in the order that the order rule sends for broadcasting control end can extract Go out the information that field distinguishes field change;
Script edit subelement 323, for writing script, according to the order rule generation playitem.
By being pre-processed to the possible table single command received in the embodiment of the present invention, a script template is generated, The order that the different demands for broadcasting column same to user create broadcast list is parsed using script so that user is each Change request only needs simply to change script, and need not carry out the modification of bottom code, nor affects on original agreement Carry out, meet user's different demands, improve operating efficiency.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Software realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Understood based on such, this hair Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories Medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are to cause a computer equipment (can be Personal computer, server, or network equipment etc.) perform method described in each of the invention embodiment.
It is described above, be only the present invention specific embodiment, but the present invention feature be not limited thereto, it is any be familiar with should The people of item technology is in field of the present invention, the change or modification that can be readily occurred in, and should all cover special in application of the invention below In sharp scope.

Claims (5)

1. a kind of create the method for broadcasting list based on script, it is characterised in that this method includes:
Receive the order for playing the establishment broadcast list that control end is sent first;
The establishment sent first described in pretreatment is broadcasted the order generation script of list and preserved;
The order for playing the broadcast list created newly that control end is sent again is parsed using the script;
The template content of user's change is obtained according to analysis result, changes relative with the template content of the change in the script The order answered;
The amended script of automatic running, generates new broadcast list;
The process of the pretreatment is specifically included:
The parsing order for playing the establishment broadcast list that control end is sent first;
The analysis result look-up command rule of the order of list is broadcasted in the establishment sent first according to the broadcasting control end, described What is had in the order that order rule is sent first for the broadcasting control end can extract the information for distinguishing field change;
According to the order rule found, write script and generate playitem.
2. as claimed in claim 1 create the method for broadcasting list based on script, it is characterised in that the wound sent again The order for building new broadcast list is specially:
The order of the same establishment new table for broadcasting column.
3. as claimed in claim 1 create the method for broadcasting list based on script, it is characterised in that this method also includes:
A script window is designed, the script of preprocessing process generation is write, receives and show that the broadcasting control end is sent out first The order sent.
4. as claimed in claim 2 create the method for broadcasting list based on script, it is characterised in that described to utilize the script The order of the broadcast list of the establishment that parsing broadcasting control end is sent again newly is specifically included:
The new possible table single command of establishment to sending again of receiving carries out automatic parsing line by line, record each with it is described Different template content in script.
5. a kind of create the device for broadcasting list based on script, it is characterised in that the device includes:
Receiving unit, the order for the establishment broadcast list that control end is sent first is played for receiving;
Pretreatment unit, the establishment for pre-processing the transmission is broadcasted the order generation script of list and preserved;
Resolution unit, for parsing the life for playing the broadcast list created newly that control end is sent again using the script Order;
Script changes unit, the template content for obtaining user's change according to analysis result, change in the script with it is described The corresponding order of the template content of change;
List generation unit is broadcasted, for generating new broadcast list when the automatic running amended script after;
The pretreatment unit also includes:
Command analysis subelement is sent first, and the life of list is broadcasted for parsing the establishment that the broadcasting control end is sent first Order;
The solution of the order of list is broadcasted in order rule searching subelement, the establishment for being sent first according to the broadcasting control end Analysis result finds order rule, and what is had in the order that the order rule is sent first for the broadcasting control end can extract Go out to distinguish the information of field change;
Script edit subelement, for writing script, according to the order rule generation playitem.
CN201110248288.0A 2011-08-26 2011-08-26 It is a kind of that the method and device for broadcasting list is created based on script Active CN102752525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110248288.0A CN102752525B (en) 2011-08-26 2011-08-26 It is a kind of that the method and device for broadcasting list is created based on script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110248288.0A CN102752525B (en) 2011-08-26 2011-08-26 It is a kind of that the method and device for broadcasting list is created based on script

Publications (2)

Publication Number Publication Date
CN102752525A CN102752525A (en) 2012-10-24
CN102752525B true CN102752525B (en) 2017-09-26

Family

ID=47032406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110248288.0A Active CN102752525B (en) 2011-08-26 2011-08-26 It is a kind of that the method and device for broadcasting list is created based on script

Country Status (1)

Country Link
CN (1) CN102752525B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108271080A (en) * 2016-12-30 2018-07-10 艾迪普(北京)文化科技股份有限公司 The broadcast control method and device of scripting visual effect during a kind of broadcast
CN111475513B (en) * 2020-06-28 2020-10-02 平安国际智慧城市科技股份有限公司 Form generation method and device, electronic equipment and medium
US11928078B2 (en) * 2022-03-04 2024-03-12 Lemon Inc. Creating effect assets while avoiding size inflation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188684A (en) * 2007-11-19 2008-05-28 新奥特(北京)视频技术有限公司 An image template inherence device in image preparing and playing
CN101359996A (en) * 2007-08-02 2009-02-04 华为技术有限公司 Media service presenting method, communication system and related equipment
CN102122524A (en) * 2010-01-07 2011-07-13 新奥特(北京)视频技术有限公司 System for quickly generating edited list in image-text packaging application
CN102122279A (en) * 2010-01-07 2011-07-13 新奥特(北京)视频技术有限公司 Method for generating document list
CN102141985A (en) * 2010-02-02 2011-08-03 新奥特(北京)视频技术有限公司 Online manuscript editor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2349469A1 (en) * 2001-06-01 2002-12-01 Ibm Canada Limited-Ibm Canada Limitee A data instance transformation tool for transforming a source instance to a target instance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359996A (en) * 2007-08-02 2009-02-04 华为技术有限公司 Media service presenting method, communication system and related equipment
CN101188684A (en) * 2007-11-19 2008-05-28 新奥特(北京)视频技术有限公司 An image template inherence device in image preparing and playing
CN102122524A (en) * 2010-01-07 2011-07-13 新奥特(北京)视频技术有限公司 System for quickly generating edited list in image-text packaging application
CN102122279A (en) * 2010-01-07 2011-07-13 新奥特(北京)视频技术有限公司 Method for generating document list
CN102141985A (en) * 2010-02-02 2011-08-03 新奥特(北京)视频技术有限公司 Online manuscript editor

Also Published As

Publication number Publication date
CN102752525A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN105653167A (en) Online live broadcast-based information display method and client
EP2527999A1 (en) Method and apparatus for splitting media files
EP3902280A1 (en) Short video generation method and platform, electronic device, and storage medium
CN104881237A (en) Internet interaction method and client
CN106533713B (en) Application deployment method and device
CN104571877A (en) Display processing method and device for pages
CN101667274A (en) Method and device for generating advertisement playing plan of electronic advertisement
CN104023272A (en) Video screen editing method and device
CN105353943A (en) Data display method and device
CN106658142A (en) Interface configuration method and device
CN102970281A (en) Method for processing multimedia playing records, user terminal and server
CN102752525B (en) It is a kind of that the method and device for broadcasting list is created based on script
CN101923434A (en) Type setting method and system of application icon and mobile terminal
CN110136713A (en) Dialogue method and system of the user in multi-modal interaction
CN104123114A (en) Method and device for playing voice
CN104902145A (en) Method and device for playing live streaming video
CN109429093B (en) Video editing method and terminal
CN108260019A (en) Barrage display methods, device and readable storage medium storing program for executing
CN107205177A (en) Video broadcasting method and device
CN104780456A (en) Video dotting and playing method and device
CN108108143B (en) Recording playback method, mobile terminal and device with storage function
CN104283921A (en) Method and device for releasing microblog
CN104994429A (en) Video playing method and device
CN102984676A (en) Method and terminal for processing message session
CN109803153A (en) A kind of the blank method for drafting and device of live video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211216

Address after: 100195 room 104, floor 1, building 1, courtyard 131, West Fourth Ring North Road, Haidian District, Beijing

Patentee after: Beijing Jinsong Chuangyi Technology Co.,Ltd.

Address before: 100195 new technology building, 49 Wukesong Road, Haidian District, Beijing

Patentee before: China Digital Video (Beijing) Co.,Ltd.

TR01 Transfer of patent right