CN101321260B - Program timing broadcast system and method - Google Patents

Program timing broadcast system and method Download PDF

Info

Publication number
CN101321260B
CN101321260B CN2007102007522A CN200710200752A CN101321260B CN 101321260 B CN101321260 B CN 101321260B CN 2007102007522 A CN2007102007522 A CN 2007102007522A CN 200710200752 A CN200710200752 A CN 200710200752A CN 101321260 B CN101321260 B CN 101321260B
Authority
CN
China
Prior art keywords
program
module
scheduling
current
playing
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
CN2007102007522A
Other languages
Chinese (zh)
Other versions
CN101321260A (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.)
Hengqin International Intellectual Property Exchange Co ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2007102007522A priority Critical patent/CN101321260B/en
Publication of CN101321260A publication Critical patent/CN101321260A/en
Application granted granted Critical
Publication of CN101321260B publication Critical patent/CN101321260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a program playing system; the system comprises a server and a database; the server comprises an obtaining module, a judging module, a processing module and a monitoring module; wherein, the obtaining module is used for obtaining the program preset playing time from the database; the judging module is used for judging whether the current time achieves the program preset playing time; the processing module is used for sending out the playing instruction when the current time achieves the program preset playing time; the monitoring module is used for monitoring whether sends out the playing instruction; the judging module is further used for judging whether the program is playing when monitors to send out the playing instruction; the processing module is further used for playing the current program in the database when no program plays. The invention further provides a program playing method. Using the program playing system program playing method is able to realize the exact timing of playing program.

Description

Program timing broadcast system and method
Technical field
The present invention relates to a kind of program timing broadcast system and method.
Background technology
The timing of program is play general master-slave mode (Server/Client, the server/customer end) framework that adopts and is realized.
Usually, at described server end the broadcast that timer is controlled whole program is set, this timer is checked current time and the default reproduction time of program, if the default reproduction time of current time and program is equal, just plays this program.
Problem has but appearred when practical application: for example, the reproduction time of program A is 08:30:00AM-09:30:00AM, because interim change, need be at 09:00:00AM broadcast program B, therefore the reproduction time with program B is made as 09:00:00AM, and during still to 09:00:00AM, program A is not owing to finish as yet, can not stop still playing, and program B to its reproduction time can not play.
The back is found the problems referred to above why to occur by analysis, is because program has taken a large amount of resource of CPU when playing, and CPU implementation period of timer has been snatched away, thereby has caused timer temporarily to lose efficacy, and causes the playing programs can not accurate timing.
Summary of the invention
In view of above content, be necessary to provide a kind of program timing broadcast system, it can realize the accurate timing of playing programs.
In view of above content, also be necessary to provide regularly player method of a kind of program, it can realize the accurate timing of playing programs.
A kind of program timing broadcast system, this system comprises server and database, described database is used for programs stored and program scheduling, described server comprises acquisition module, judge module, processing module and monitors module, wherein: described acquisition module, be used for obtaining the program scheduling from database, described program scheduling comprises programm name and the default reproduction time of program; Described judge module is used for judging whether the current time arrives the default reproduction time of program of program scheduling; Described processing module is used for sending play instruction when the current time arrives the default reproduction time of the program of described program scheduling; Described monitoring module is used for monitoring whether send play instruction; Described judge module also is used for having judged whether when play instruction sends that when having listened to program plays; Reach described processing module, also be used for the current program in played data storehouse when not having program playing.
A kind of program is player method regularly, this method comprises timer thread and player thread, wherein: described timer thread comprises the steps: that (a) obtains the program scheduling from database, and described program scheduling comprises programm name and the default reproduction time of program; (b) judge whether the current time arrives the default reproduction time of program in the program scheduling; And, then send play instruction (c) if the current time arrives the default reproduction time of program in the described program scheduling; Described player thread comprises the steps: whether (d) monitoring sends play instruction; (e), judged whether that then program plays if listened to play instruction and send; Reach (f) if there is not program to play, then the current program in the played data storehouse.
Described program timing broadcast system and method can fully guarantee the CPU implementation period of timer, thereby realize the accurate timing of playing programs.
Description of drawings
Fig. 1 is the hardware structure figure of program timing broadcast system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of server among Fig. 1.
Fig. 3 is the schematic diagram of program scheduling preferred embodiment of the present invention.
Fig. 4 is the operation process chart of timer thread in the program timing player method of the present invention preferred embodiment.
Fig. 5 is the operation process chart of player thread in the program timing player method of the present invention preferred embodiment.
Embodiment
Consulting shown in Figure 1ly, is the running environment schematic diagram of program timing broadcast system of the present invention.This mould collaborative design system is installed in the master-slave architecture (Server/Client).This master-slave architecture comprises server 101, database 102 and a plurality of distributed client 105 (only illustrating four among the figure).Wherein, described client 105 links to each other with described server 101 by network 104, and this server 101 directly links to each other with described database 102, thereby realizes each equipment room collaborative work.
Wherein, described database 102 is used for programs stored and program scheduling, is responsible for the information of described program and program scheduling is read and write and safeguarded, and can carries out the renewal of mass data rapidly.
Described server 101 is used for the program scheduling according to above-mentioned storage, accurately finishes the timing of program and plays.
Described network 104 is a kind of electric networks, it can for intranet (Intranet), Internet (Internet) or other be based on TCP/IP (Transport Control Protocol/Internet Protocol, transmission control protocol/IP Internet Protocol) network, can be used to carry out HTTP (Hypertext Transfer Protocol, HTML (Hypertext Markup Language)) and the network of FTP (File Transfer Protocol, File Transfer Protocol).
Described client 105 is user interfaces, is responsible for showing the program of regularly playing to the user.
Consulting shown in Figure 2ly, is the functional block diagram of server 101.The alleged module of the present invention is to finish the computer program code segments of specific function, is more suitable in describing the implementation of software in computer than program.Therefore the present invention is following all describes with module software.
Described server 101 comprises acquisition module 200, judge module 202, processing module 203 and monitors module 204.
Described acquisition module 200 is used for obtaining the default reproduction time of program from database 102.Particularly, acquisition module 200 obtains the program scheduling earlier from database 102, obtains the default reproduction time of program then from this program scheduling.Wherein, described program scheduling comprises programm name and the default reproduction time (particular content will be described in detail at Fig. 3) of program.
Described judge module 202 is used to judge whether the current time arrives the default reproduction time of described program.Particularly, judge module 202 compares the default reproduction time of current time and the program that obtains according to certain frequency (as every 1 second), whether arrives the default reproduction time of the program that obtains to judge the current time.
Described processing module 203 is used for sending play instruction when the program that current time arrival is obtained is preset reproduction time.
Described monitoring module 204 is used for monitoring whether send play instruction.
Described judge module 202 also is used for when having listened to play instruction when sending, and has judged whether that program plays.
Described processing module 203 also is used for stopping in progress program when program is play, and plays current program when not having program playing.The program of correspondence when described current program refers to that processing module 203 is sent play instruction.Particularly, processing module 203 at first reads the program scheduling from database 102, then find out programm name, then according to the corresponding program in this programm name played data storehouse 2 near the current time according to the default reproduction time of the program in the described program scheduling.
Consulting shown in Figure 3ly, is the schematic diagram of program scheduling preferred embodiment of the present invention.
Described program scheduling can have multiple representation, in this preferred embodiment, represents with the program schedule.This program schedule mainly comprises fields such as programm name 311, the default reproduction time 312 of program, and the field value of above-mentioned field in this program schedule can be provided with according to actual needs.
The title that described programm name 311 fields are used to store the program that will play.For example, program A, program B.
The time that default reproduction time 312 fields of described program are used to store the program that will play.For example, 09:40:00AM, 10/15/2006.
Above-mentioned program schedule only is one embodiment of the present of invention, and it can comprise more field storing more program field data of scheduling information, and it also can comprise the same program field data of scheduling information and the tables of data that is mutually related replaces by a plurality of.
Consulting shown in Figure 4ly, is the regularly operation process chart of timer thread in the player method preferred embodiment of program of the present invention.
Step S301, acquisition module 200 obtain the default reproduction time of program from database 102.Particularly, acquisition module 200 obtains the program scheduling earlier from database 102, obtains the default reproduction time of program then from this program scheduling.Wherein, described program scheduling comprises programm name and the default reproduction time of program.
Step S302, judge module 202 judge whether the current time arrives the default reproduction time of described program.Particularly, judge module 202 compares the default reproduction time of current time and the program that obtains according to certain frequency (as every 1 second), if the current time is not equal to the default reproduction time of the program that obtains, then continues this step and judges.
If the default reproduction time of the program that the current time equals to obtain then enters step S303, processing module 203 is sent play instruction.
Consulting shown in Figure 5ly, is the regularly operation process chart of player thread in the player method preferred embodiment of program of the present invention.
Step S401 monitors the described timer thread of module 204 monitorings and whether sends play instruction.If not listening to described timer thread sends play instruction, then continue this step and monitor.
If listen to described timer thread and send play instruction, then enter step S402, judge module 202 has judged whether that program plays.
If judge module 202 judges have program to play, then enter step S403, processing module 203 stops in progress program.
If judge module 202 judges do not have program to play, then enter step S404, processing module 203 is play current program.The program of correspondence when described current program refers to that the timer thread sends play instruction.Particularly, processing module 203 at first reads the program scheduling from database 102, then find out programm name, then according to the corresponding program in this programm name played data storehouse 2 near the current time according to the default reproduction time of the program in the described program scheduling.
This program regularly preferred embodiment of player method is made up of the timer thread and the player thread of above-mentioned two separate operations, the parallel running simultaneously of described two threads, with the CPU implementation period of the described timer of abundant assurance, and then guarantee the accurate timing of playing programs.
It should be noted that at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (4)

1. program timing broadcast system, it is characterized in that, this system comprises acquisition module, judge module, processing module and monitors module, described acquisition module, judge module, processing module and monitoring module constitute the timer thread and the player thread of separate operation, in described timer thread:
Described acquisition module is used for obtaining the program scheduling from database, and described program scheduling comprises programm name and the default reproduction time of program;
Described judge module is used for judging whether the current time arrives the default reproduction time of program of program scheduling; And
Described processing module is used for sending play instruction when the current time arrives the default reproduction time of the program of described program scheduling;
In described player thread:
Described monitoring module, whether be used for monitoring has play instruction to send;
Described judge module is used for having judged whether when play instruction sends that when having listened to program plays; And
Described processing module is used for stopping in progress program when program is play, the current program in the played data storehouse then, the current program when not having program playing in the played data storehouse.
2. program timing broadcast system as claimed in claim 1 is characterized in that, the program of correspondence when described current program refers to that processing module is sent play instruction.
3. a program timing player method is characterized in that this method comprises the timer thread and the player thread of separate operation, wherein:
Described timer thread comprises the steps:
Obtain the program scheduling from database, described program scheduling comprises programm name and the default reproduction time of program;
Judge whether the current time arrives the default reproduction time of program in the program scheduling; And
If the current time arrives the default reproduction time of program in the described program scheduling, then send play instruction;
Described player thread comprises the steps:
Whether monitor has play instruction to send;
If listened to play instruction and send, judged whether that then program plays;
If there is program to play, then stop in progress program, then the current program in the played data storehouse; And
If there is not program to play, the current program in the played data storehouse then.
4. program as claimed in claim 3 is player method regularly, it is characterized in that the program of correspondence when described current program refers to that the timer thread sends play instruction.
CN2007102007522A 2007-06-04 2007-06-04 Program timing broadcast system and method Active CN101321260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007102007522A CN101321260B (en) 2007-06-04 2007-06-04 Program timing broadcast system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007102007522A CN101321260B (en) 2007-06-04 2007-06-04 Program timing broadcast system and method

Publications (2)

Publication Number Publication Date
CN101321260A CN101321260A (en) 2008-12-10
CN101321260B true CN101321260B (en) 2011-06-08

Family

ID=40181049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007102007522A Active CN101321260B (en) 2007-06-04 2007-06-04 Program timing broadcast system and method

Country Status (1)

Country Link
CN (1) CN101321260B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164741A (en) * 1996-02-27 1997-11-12 三星电子株式会社 Recording mode control method for combined video appliances
CN1179671A (en) * 1996-10-08 1998-04-22 松下电器产业株式会社 Information receiving method and information receiver using same
CN1549590A (en) * 2003-05-19 2004-11-24 乐金电子(沈阳)有限公司 Digital TV automatic alarming device and method
CN1909634A (en) * 2005-08-03 2007-02-07 上海乐金广电电子有限公司 Automatic reserving record method for digital broadcasting receiver

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164741A (en) * 1996-02-27 1997-11-12 三星电子株式会社 Recording mode control method for combined video appliances
CN1179671A (en) * 1996-10-08 1998-04-22 松下电器产业株式会社 Information receiving method and information receiver using same
CN1549590A (en) * 2003-05-19 2004-11-24 乐金电子(沈阳)有限公司 Digital TV automatic alarming device and method
CN1909634A (en) * 2005-08-03 2007-02-07 上海乐金广电电子有限公司 Automatic reserving record method for digital broadcasting receiver

Also Published As

Publication number Publication date
CN101321260A (en) 2008-12-10

Similar Documents

Publication Publication Date Title
EP1570368B1 (en) Stream sourcing content delivery system
CN109739929A (en) Method of data synchronization, apparatus and system
EP3706424A1 (en) Video live broadcast method and apparatus
CN101673298A (en) Video data distributed caching method in video on demand
CN106777371A (en) Result collection system and method
CN101690136A (en) Real time protocol stream migration
CN111464759A (en) Live broadcast directing method, device, storage medium and equipment
US20200366967A1 (en) Method and system for monitoring quality of streaming media
CN102497498B (en) Broadcast control method, device and system for broadcast television
US7590519B2 (en) Distributed system simulation: slow message relaxation
CN110381030A (en) A kind of processing method and processing device of synchronization request
CN105069029B (en) A kind of real-time ETL system and method
US10091288B2 (en) Ordered execution of tasks
CN115412602A (en) Data parsing and transferring method, device, equipment and medium for digital twin
US20100017510A1 (en) Multi-layered measurement model for data collection and method for data collection using same
AU2014305966B2 (en) Managing data feeds
CN101321260B (en) Program timing broadcast system and method
Cunha et al. Separating performance anomalies from workload-explained failures in streaming servers
US7539218B2 (en) Media processing engine framework
CN110633191B (en) Method and system for monitoring service health of software system in real time
US20060288033A1 (en) System for pre-caching reports of streaming data
Lin et al. Simulating large-scale p2p systems with the wids toolkit
CN103686247A (en) Method and system for video distribution based on synchronization and asynchronization
CN113472886B (en) Distributed cluster system and control method thereof
Yuni et al. A model and implementation of academic data integration in near-real time using message-oriented middleware to support analysis of student performance in the information technology department of Politeknik Caltex Riau

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151105

Address after: 518131 Guangdong city of Shenzhen province Longhua new city street road Minzhi Qianlong Garden Building 2 unit 504 room 14

Patentee after: Shenzhen Bo'er Simpson Technology Co.,Ltd.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Patentee before: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) Co.,Ltd.

Patentee before: HON HAI PRECISION INDUSTRY Co.,Ltd.

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160302

Address after: 518028 Guangdong province Shenzhen city street in Futian District Huaqiang North SEG science and Technology Industrial Park 4 Building 5 layer A-D and 4-7 axis B01-65

Patentee after: Shenzhen Greek City Technology Co.,Ltd.

Address before: 518131 Guangdong city of Shenzhen province Longhua new city street road Minzhi Qianlong Garden Building 2 unit 504 room 14

Patentee before: Shenzhen Bo'er Simpson Technology Co.,Ltd.

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170204

Address after: 519000 Guangdong city of Zhuhai province Hengqin financial services industry base building No. 5 2-I

Patentee after: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Address before: 518028 Guangdong province Shenzhen city street in Futian District Huaqiang North SEG science and Technology Industrial Park 4 Building 5 layer A-D and 4-7 axis B01-65

Patentee before: Shenzhen Greek City Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201224

Address after: 264006 4th floor, building 2, energy saving science and Technology Park, Gaoxiong Road, Yantai Economic and Technological Development Zone, Shandong Province

Patentee after: Yantai HUAFA qixianqin Intellectual Property Operation Co.,Ltd.

Address before: 519000 2-I, building 5, Hengqin financial industrial service base, Zhuhai, Guangdong

Patentee before: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220315

Address after: 519031 Building No. 12-3, Hengqin Financial Industry Development Base, Zhuhai City, Guangdong Province (Centralized Office District)

Patentee after: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Address before: 264006 4th floor, building 2, energy saving science and Technology Park, Gaoxiong Road, Yantai Economic and Technological Development Zone, Shandong Province

Patentee before: Yantai HUAFA qixianqin Intellectual Property Operation Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20081210

Assignee: Huizhou Ruigang Technology Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2023980035084

Denomination of invention: Program timing playback system and method

Granted publication date: 20110608

License type: Common License

Record date: 20230425

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20081210

Assignee: HUIZHOU AGPLUS ENVIRONMENTAL PROTECTION TECHNOLOGY Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2023980036023

Denomination of invention: Program timing playback system and method

Granted publication date: 20110608

License type: Common License

Record date: 20230530