CN100438420C - Network media playing control system and its method - Google Patents

Network media playing control system and its method Download PDF

Info

Publication number
CN100438420C
CN100438420C CNB2006100600951A CN200610060095A CN100438420C CN 100438420 C CN100438420 C CN 100438420C CN B2006100600951 A CNB2006100600951 A CN B2006100600951A CN 200610060095 A CN200610060095 A CN 200610060095A CN 100438420 C CN100438420 C CN 100438420C
Authority
CN
China
Prior art keywords
control
multimedia control
request
multimedia
client
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
CNB2006100600951A
Other languages
Chinese (zh)
Other versions
CN101047530A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2006100600951A priority Critical patent/CN100438420C/en
Publication of CN101047530A publication Critical patent/CN101047530A/en
Application granted granted Critical
Publication of CN100438420C publication Critical patent/CN100438420C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A playing-controlling system of network media is prepared as utilizing multimedia control center to receive request of multiple client end and to control interaction of multiple client end with multimedia control component in order to realize interaction of multiple client end with multimedia control component through one multimedia control component interface. Its playing- controlling method of network media is also disclosed.

Description

Network media playing control system and method thereof
Technical field
The present invention relates to the network media and play, more particularly, relate to a kind of network media playing control system and method thereof.
Background technology
Along with the development of Internet, storing sound on the many websites on the Internet, image, multi-medium datas such as animation.Network multimedia broadcast instrument is the synthetic of network download tool and multimedia instrument, and by the browser access site home page, clickthrough, browser start the broadcast instrument automatically automatically according to system's setting, and play on local computer.
It generally all is the interface of directly creating player control at page script that existing network multimedia is play instrument, imports data then into and carries out multimedia.Common player control is the Windows ActiveX control, webpage or application program can directly be created its object, remove to visit each interface of this control then by this object, thereby realize the control of playing process, this control moves in program process.Therefore there is following shortcoming:
1) carry out multimedia if open a plurality of webpage clients simultaneously, the interface of a plurality of players then can be created by system, causes the wasting of resources of system;
2) be difficult to the play content of a plurality of webpage clients is coordinated control, can cause a webpage playing this first song, and another webpage play other song;
3) if play control goes wrong and can't operate as normal, then can cause webpage to stop not opening, and other webpage client also is difficult to participate in Play Control together with the current web page client.
Summary of the invention
The technical problem to be solved in the present invention is, above-mentioned defective at prior art, a kind of network media playing control system and method thereof are provided, can save system resource effectively, and multimedia control centre can also come multimedia control is controlled according to predetermined strategy, realizes the control effect of many complexity.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of network media playing control system, comprise a plurality of clients and multimedia control, a plurality of clients are used to create a plurality of multimedia control interfaces to realize mutual with multimedia control, also comprise:
-multimedia control centre is used to receive a plurality of client-requested, and controls the mutual of a plurality of clients and multimedia control, passes through the mutual of a multimedia control interface and multimedia control to realize a plurality of clients.
In control system of the present invention, described multimedia control centre comprises:
-a plurality of external interface objects, be used to receive the request of a plurality of clients, each external interface object is corresponding to a client, and the attribute of the external interface object of client by calling its establishment and method are provided with, obtain and the broadcast behavior is controlled the attribute of multimedia control;
-data management module is used to preserve needs and the shared data of other client, comprises and the corresponding data of described request;
-service logic control module is used to judge whether the request that client is sent can be carried out, and obtains the data corresponding with described request to described data management module, calls the multimedia control interface and carries out described request;
-multimedia control interface module, the service logic control module is mutual by realization of multimedia control interface module and multimedia control.
In control system of the present invention, described request is Play Control request or data access request.
In control method of the present invention, multimedia control centre receives a plurality of client-requested, and controls the mutual of a plurality of clients and multimedia control, specifically may further comprise the steps:
S1. multimedia control centre receives the request of client;
S2. judge according to described request whether the multimedia control interface is created, if, execution in step S3 then; Otherwise create described multimedia control interface, and execution in step S3;
S3. judge whether described request can be carried out, if can, then call described multimedia control interface and carry out described request.
In control method of the present invention, described step S1 further comprises: the data of described request correspondence are saved in the data management module of multimedia control centre.
In control method of the present invention, before carrying out described step S2, further comprise: judge whether described request is effective, if effectively, then carry out described step S2.
In control method of the present invention, described step S2 further comprises: judge whether the described multimedia control interface of establishment is successful, if described step S3 is then carried out in success.
In control method of the present invention, described step S3 further comprises: judge according to obtain the data corresponding with described request from described data management module whether described request can be carried out.
In control method of the present invention, described step S3 further comprises: if described request can carry out, then obtain multimedia control desired data and call described multimedia control interface and carry out described request to described data management module.
In control method of the present invention, described request is Play Control request or data access request.
The invention has the beneficial effects as follows,
1) owing to introduce multimedia control centre,, all has only control centre's process operation, and in multimedia control centre, only create a multimedia control interface, saved system resource effectively so no matter what webpage clients are arranged in played songs;
2) because multimedia control centre has adopted the outer control of process, so if in the Play Control process control generation problem, can not cause client terminal web page not opened;
3) because multimedia control centre can concentrate the preservation data, when so if a plurality of webpage client need be coordinated to carry out Play Control, multimedia control centre can come multimedia control is controlled according to predetermined strategy, finishes various controls effectively;
4) utilize multimedia control centre, can also realize the control effect of many complexity, for example: can realize playing priority control, corrigendum broadcast link automatically, realize multi-client broadcast or the like continuously in turn.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the schematic diagram of network media playing control system of the present invention;
Fig. 2 is the schematic diagram of multimedia of the present invention control centre;
Fig. 3 is the flow chart of network media control method for playing back of the present invention.
Embodiment
Fig. 1 is the schematic diagram of network media playing control system of the present invention, as shown in the figure: a kind of network media playing control system, comprise that a plurality of clients (are webpage client 1, webpage client 2 ... webpage client n) and multimedia control, a plurality of clients are used to create a plurality of multimedia control interfaces to realize mutual with multimedia control, multimedia control centre, be used to receive a plurality of client terminal playing control request or data access request, and control the mutual of a plurality of clients and multimedia control, pass through the mutual of a multimedia control interface and multimedia control to realize a plurality of clients.
Fig. 2 is the schematic diagram of multimedia of the present invention control centre, and as shown in the figure: described multimedia control centre comprises:
-a plurality of external interface objects (are external interface object 1, external interface object 2 ... external interface object n), be used to receive the request of client, each external interface object is corresponding to a client, and the attribute of the external interface object of client by calling its establishment and method are provided with, obtain and the broadcast behavior is controlled the attribute of multimedia control.
-data management module is used to preserve needs and the shared data of other client, comprises the data corresponding with described request.
-service logic control module, be used to judge whether Play Control request or data access request that client is sent can be carried out, if can then obtain the data corresponding, and call the multimedia control interface and carry out described request with described request to described data management module.
-multimedia control interface module, the service logic control module is mutual by realization of multimedia control interface module and multimedia control.
Fig. 3 is the flow chart of network media control method for playing back of the present invention, as shown in the figure:
When customer end A needs play multimedia, at first can create the interface of multimedia control centre, and then carry out Play Control.
Among the step S300, when multimedia control centre receives the Play Control request of customer end A or data access request, will ask corresponding storage in data management module, to conduct interviews with this for other client." described ask corresponding data with this " just is meant corresponding to this and asks needed data, for example, other client song interface of the broadcast of customer end A allocating object, the interface the inside has individual parametric representation need play the song of which client, for example " customer end B ".Therefore, " play other client song " and " customer end B " is exactly two request msgs.
Each client all has an external interface object and is its service, its interface of client call carry out the player attribute setting, obtain, and the behavior of player is controlled.All data separated into two parts are preserved, and a part is that this object is exclusive, just are kept at object interface the inside itself; Another part is to need to share with other client, is saved in the data management module.Each client can only be visited the external interface object that it creates itself, and the data of all external interface objects in can the visit data administration module, also with regard to indirect being equivalent to: the data of all clients in can the visit data administration module, so just realized shared data between all clients.
Among the step S305, receive the Play Control request or data access request of customer end A when multimedia control centre after, judge at first whether this request is effective, judge promptly whether this request meets conventional definition, for example: the path of song can not can not be negative or the like for empty, reproduction time.
Among the step S310,, then receive after customer end A D creates the request of multimedia control interface when multimedia control centre, continue to judge whether the multimedia control interface is created if above-mentioned request is legal, if, execution in step S325 then; Otherwise execution in step S315.
Among the step S315,320, if do not create the multimedia control interface, represent current without any client using multimedia control, then create the multimedia control interface, if create successfully, execution in step S325 then; Otherwise return error result to customer end A.
Among the step S325, if created the multimedia control interface, represent current certain client at the use multimedia control, at this moment interface then can not created again by multimedia control centre, that is to say that multimedia control centre only can create the multimedia control interface one time in playing process.In multimedia control centre the inside, a plurality of interface object only have a data administration module, a service logic control module, a multimedia control interface, thereby have realized the saving of system resource and the centralized control of data.
Continue to judge whether above-mentioned request can be carried out, and obtain and the corresponding data of above-mentioned request to data management module, for example, current who be what song what play, play, if being same client and being same first song of the song that request is play and current broadcast, this request will be left in the basket (promptly cannot carry out) so.The request of all clients all needs judgement through the service logic control module of multimedia control centre to realize the centralized control of data.The service logic control module can be controlled the broadcast behavior according to the data of data management module and pre-designed service logic easily.
Among the step S330, obtain the required data of multimedia control from data management module, for example, go data management module to check the data of being asked among the above-mentioned steps S300, promptly " play other client song " and " customer end B ", do you judge that then " customer end B " has the song of broadcast? does the song of " customer end B " allow by other client terminal playing? if " customer end B " has played songs and allows by other client terminal playing, then can carry out, go data management module to reach the link of " customer end B " played songs, call multimedia control interface then and go to be provided with this link, and play this song.
If above-mentioned request cannot be carried out, then return error result to customer end A.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1, a kind of network media playing control system comprises a plurality of clients and multimedia control, and a plurality of clients are used to create a plurality of multimedia control interfaces to realize mutual with multimedia control, it is characterized in that, also comprise:
One multimedia control centre is used to receive a plurality of client-requested, and controls the mutual of a plurality of clients and multimedia control, passes through the mutual of a multimedia control interface and multimedia control to realize a plurality of clients.
2, control system according to claim 1 is characterized in that, described multimedia control centre comprises:
More than one external interface object, be used to receive the request of a plurality of clients, each external interface object is corresponding to a client, and the attribute of the external interface object of client by calling its establishment and method are provided with, obtain and the broadcast behavior is controlled the attribute of multimedia control;
One data management module is used to preserve needs and the shared data of other client, comprises and the corresponding data of described request;
One service logic control module is used to judge whether the request that client is sent can be carried out, and obtains the data corresponding with described request to described data management module, calls the multimedia control interface and carries out described request;
One multimedia control interface module, the service logic control module is mutual by realization of multimedia control interface module and multimedia control.
3, control system according to claim 1 and 2 is characterized in that, described request is Play Control request or data access request.
4, a kind of network media control method for playing back is characterized in that, multimedia control centre receives a plurality of client-requested, and controls the mutual of a plurality of clients and multimedia control, specifically may further comprise the steps:
S1. multimedia control centre receives the request of client;
S2. judge according to described request whether the multimedia control interface is created, if, execution in step S3 then; Otherwise create described multimedia control interface, and execution in step S3;
S3. judge whether described request can be carried out, if can, then call described multimedia control interface and carry out described request.
5, control method according to claim 4 is characterized in that, described step S1 further comprises: the data of described request correspondence are saved in the data management module of multimedia control centre.
6, control method according to claim 4 is characterized in that, further comprises before carrying out described step S2: judge whether described request is effective, if effectively, then carry out described step S2.
7, control method according to claim 4 is characterized in that, described step S2 further comprises: judge whether the described multimedia control interface of establishment is successful, if described step S3 is then carried out in success.
8, control method according to claim 5 is characterized in that, described step S3 further comprises: judge according to obtain the data corresponding with described request from described data management module whether described request can be carried out.
9, control method according to claim 5, it is characterized in that, described step S3 further comprises: if described request can carry out, then obtain multimedia control desired data and call described multimedia control interface and carry out described request to described data management module.
According to each described control method of claim 4-9, it is characterized in that 10, described request is Play Control request or data access request.
CNB2006100600951A 2006-03-29 2006-03-29 Network media playing control system and its method Active CN100438420C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100600951A CN100438420C (en) 2006-03-29 2006-03-29 Network media playing control system and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100600951A CN100438420C (en) 2006-03-29 2006-03-29 Network media playing control system and its method

Publications (2)

Publication Number Publication Date
CN101047530A CN101047530A (en) 2007-10-03
CN100438420C true CN100438420C (en) 2008-11-26

Family

ID=38771781

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100600951A Active CN100438420C (en) 2006-03-29 2006-03-29 Network media playing control system and its method

Country Status (1)

Country Link
CN (1) CN100438420C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888456A (en) * 2014-03-18 2014-06-25 国家电网公司 Webpage client side, server side and data processing device and method
CN108769820B (en) * 2018-07-09 2021-06-29 北京酷我科技有限公司 Management method for video playing owner

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187946A1 (en) * 2002-03-15 2003-10-02 Laurence Cable System and method for automatically partitioning an application between a web server and an application server
US20040205734A1 (en) * 2000-11-30 2004-10-14 Krishnamurthy Srinivasan Dynamic notification of non java services using jini (TM)
CN1630278A (en) * 2004-09-30 2005-06-22 中国联合通信有限公司 A mobile communication multimedia gateway system and multimedia processing method thereof
CN1636398A (en) * 2001-05-24 2005-07-06 Vixs系统公司 Method and apparatus for managing resources and multiplexing a plurality of channels in a multimedia system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205734A1 (en) * 2000-11-30 2004-10-14 Krishnamurthy Srinivasan Dynamic notification of non java services using jini (TM)
CN1636398A (en) * 2001-05-24 2005-07-06 Vixs系统公司 Method and apparatus for managing resources and multiplexing a plurality of channels in a multimedia system
US20030187946A1 (en) * 2002-03-15 2003-10-02 Laurence Cable System and method for automatically partitioning an application between a web server and an application server
CN1630278A (en) * 2004-09-30 2005-06-22 中国联合通信有限公司 A mobile communication multimedia gateway system and multimedia processing method thereof

Also Published As

Publication number Publication date
CN101047530A (en) 2007-10-03

Similar Documents

Publication Publication Date Title
CN109873909B (en) Voice calling method, device and equipment and computer storage medium
CN103404111B (en) For providing the method and system of session in isomerous environment
CN103744719B (en) Lock management method and system, the collocation method and device of lock administration system
US20140344286A1 (en) Method and apparatus for displaying webcast roomss
CN103955405B (en) A kind of application management method and its device
CN110555028A (en) data display method and device
CN105630461A (en) Managing method of android application interface
US8156479B2 (en) System and method of monitoring dynamic scopes in synchronous and asynchronous calls
CN105944378A (en) Task configuration system and method of web game
CN107483521A (en) A kind of information displaying method, apparatus and system
CN109462769A (en) Direct broadcasting room pendant display methods, device, terminal and computer-readable medium
CN106385329A (en) Processing method and device of resource pool and equipment
CN101720022A (en) Public video management system and realizing method thereof
CN104281489B (en) Multithreading requesting method and system under SOA framework
CN105740047A (en) Cloud computing based virtual machine template management system and method
CN109194986A (en) A kind of resource control method, smart television and storage medium
CN106648869A (en) Intelligent terminal application switch method
CN108573405A (en) Benefit data provides and methods of exhibiting is grouped creation method and device electronics and storage device
CN110136713A (en) Dialogue method and system of the user in multi-modal interaction
CN109120963A (en) A kind of multi-screen display method based on single display screen, storage medium and system
CN107015850A (en) Thread scheduling method and device
CN110096663A (en) Page loading method, device, electronic equipment and computer readable storage medium
CN110019716A (en) More wheel answering methods, terminal device and storage medium
CN106202074A (en) A kind of method and device processing shared file
CN107368324A (en) A kind of component upgrade methods, devices and systems

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