Detailed description of the invention
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 clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of acquisition of information, as it is shown in figure 1, comprise the following steps:
101, a first server receiving control apparatus in the server of at least two band convergence module sends
The first precedence information.
When the server that there is at least two band AO in network opens aggregation feature simultaneously, control equipment from band
The content information obtained in the server of AO may be imperfect, therefore, controls equipment first to band AO in network
Server carry out priority setting, so, controlling equipment then can be according to the priority of the server of band AO
Obtain content information.
In order to determine master server, then a first server in the server of at least two band convergence module
The first precedence information that receiving control apparatus sends, the first precedence information is used for describing the highest priority,
First precedence information is for describing in the server of at least two band convergence module as master server priority
The highest server.
102, according to the first precedence information, first server is set to master server, and opens master server
Aggregation feature.
Control equipment is before carrying out priority setting to the server of band AO, the most selected good by which band AO
Server be set to the master server that priority is the highest.
Concrete, first server, will according to the first precedence information after receiving the first precedence information
First server is set to the master server that priority is the highest, and opens the aggregation feature of master server.Converge
Function is mainly used in obtaining the content information of other server.
The method controlling selection of equipment master server is not construed as limiting by this enforcement, can carry out according to actual needs
Set, do not repeat them here.
103, the content information of other server in addition to master server during master server obtains network, and generate
The content information of master server.
The content information of master server comprises the content of other servers in the network of acquisition in addition to master server
Information and the content information of master server, the content information of master server is used for describing in network except main service
The content of other server storage outside device and the content of master server storage.
In order to make other server and the master server that the content information of master server comprises in addition to master server
Content information, master server obtains the content information of other server in network in addition to master server, and
Generate the content information of master server, in order to control equipment obtains the content letter of master server from master server
Breath.
After using such scheme, when network exists the server of at least two band AO, by first server
It is set to the server that priority is the highest, and server the highest for priority is defined as master server, open
The aggregation feature of master server, master server is for obtaining the content of other Servers-all in addition to master server
Information, and the content information of master server is generated according to the content information obtained, in order to control equipment from main clothes
The content information of business device obtains the content information that content to be played is corresponding.Main service is determined during the program is bright
Device so that control equipment directly obtains the content information of master server from master server, decreases resource wave
Take and data corruption, add the performance of network and the experience of user.
As a kind of improvement of embodiment, this enforcement provides the method for another kind of acquisition of information, and Fig. 2 is the party
The step schematic diagram of method, this method describes when comprising the server of at least two band AO in network, and
Control equipment is the method for acquisition of information during AV4/AV5 CP, as it is shown on figure 3, comprise the following steps:
301, a first server receiving control apparatus in the server of at least two band convergence module sends
The first precedence information.
Master server is the server of band AO, for providing the content information of master server for controlling equipment, main
The content information of server include in the network obtained the content information of other servers in addition to master server with
And the content information of master server, the content information of master server is for describing in network in addition to master server
The content of other server storage and the content of master server storage.
When there is the server of at least two band AO in network, the server of each unlatching aggregation feature obtains net
The content information of Servers-all in network, and the content information of oneself is generated according to the content information got,
The content information of the server of each band AO comprises the content information of Servers-all in network, and is used for retouching
State the content of Servers-all storage in network.Wherein, aggregation feature is mainly used in obtaining other server
Content information.
When the server that there is at least two band AO in network opens aggregation feature simultaneously, control equipment from band
The content information obtained in the server of AO may be imperfect, therefore, controls equipment first to band AO in network
Server carry out priority setting, so, controlling equipment then can be according to the priority of the server of band AO
Obtain content information.
As shown in Figure 4, for the structural representation of network.Network can comprise the server of band AO, service
Device, playback equipment, control equipment.Wherein, the server of band AO and server be used for storing to be played in
Hold;Playback equipment is used for playing content to be played;Control equipment is used for the server from band AO or server
The content information that middle acquisition content to be played is corresponding, and control playback equipment broadcasting content to be played.Wherein,
The quantity of control equipment can be at least one, and different control equipment can perform different operations respectively.
Such as, obtain the content information of master server or the priority etc. of server is set.
The operation that the type of server and the order of magnitude of control equipment are performed by the present embodiment is not construed as limiting, its
In, control equipment can be: mobile phone, computer etc., can be set according to actual needs, at this no longer
Repeat.
As an embodiment of the present embodiment, control equipment from the server of the highest band AO of priority
Obtain content information.
First precedence information is excellent as master server in the server describing at least two band convergence module
The server that first level is the highest.
As an embodiment of the present embodiment, the first precedence information can be the integer more than or equal to 0,
The numerical value of the first precedence information is the least, and priority is the highest;The numerical value of the first precedence information is the biggest, preferentially
Level is the lowest.
Further alternative, the first precedence information can be " 0 ", and " 0 " is used for describing priority for the highest.
The representation of precedence information is not construed as limiting by the present embodiment, can be configured according to actual needs,
Do not repeat them here.
Control equipment is chosen the server of band AO and is not construed as limiting to the method obtaining content information by the present embodiment,
Can be any means well-known to those skilled in the art, not repeat them here.
302, according to the first precedence information, first server is set to master server, and opens master server
Aggregation feature.
Control equipment is before carrying out priority setting to the server of band AO, the most selected good by which band AO
Server be set to the master server that priority is the highest, i.e. first server.
Concrete, first server, will according to the first precedence information after receiving the first precedence information
First server is set to the master server that priority is the highest, and opens the aggregation feature of master server.Converge
Function is mainly used in obtaining the content information of other server.
The method controlling selection of equipment master server is not construed as limiting by this enforcement, can carry out according to actual needs
Set, do not repeat them here.
303, master server second server of at least one band of other in addition to master server AO in network
Send the second precedence information, in order to second server is carried out according to the second precedence information being respectively received
Priority is arranged.
For apparent description the present embodiment, first first server and the second service to the present embodiment
Device is briefly described.
Network can comprise the server of at least two band AO, wherein, control the master server that terminal is specified
For first server, first server is defined as master server according to the first precedence information by first server,
And the server of other band AO in addition to master server is referred to as second server.
When comprising the server of at least two band AO in network, control equipment enters at the master server selected to it
After row major level is arranged, master server carries out priority setting to second server again.
Concrete, in order to second server is carried out priority setting, master server sends to second server
Second precedence information, second server carries out priority setting according to the second precedence information.
As an embodiment of the present embodiment, network comprises the server of three band AO, three band AO
One of them server of server be master server, then second server comprises two servers, permissible
Being referred to as server 1 and server 2, the second precedence information sent to server 1 can be " 1 ";To
The second precedence information that server 2 sends can be ' 2 ', then the priority of explanation server 1 is higher than clothes
The priority of business device 2.
The representation of the second precedence information is not construed as limiting by the present embodiment, can carry out according to actual needs
Set, do not repeat them here.
Priority set-up mode is not construed as limiting by this enforcement, any side that can be well known to those skilled in the art
Formula, does not repeats them here.
Further alternative, the second precedence information can be that control equipment sends to second server, i.e.
The priority of second server can be configured by control equipment.
Concrete, in network, the second server reception control of the band of other in addition to master server convergence module sets
The second precedence information that preparation is sent, in order to second server is carried out according to the second precedence information received
Priority is arranged;Wherein, the second precedence information is for describing the height of second server priority.
304, in network, the server of other in addition to master server sends renewal solicited message.
Master server obtains the content information of Servers-all in network, and raw according to the content information got
Becoming the content information of master server, the content information of master server is used for describing Servers-all storage in network
Content, the content information of master server comprises the content information of Servers-all in network.
During in order to make the content information of the server in network change, the content information of master server is permissible
Being revised timely, master server sends to other server in addition to master server and updates solicited message.
Update solicited message for indicating other server in addition to master server after master server sends renewal
Content information, the server the highest for network medium priority of master server.
305, the content information of other server in addition to master server during master server obtains network, and generate
The content information of master server.
The content information of master server comprises the content information of Servers-all in network, the content of master server
Information is for describing content and the content of master server storage of other server storage in addition to master server.
The content that the content information of server is comprised by the present embodiment is not construed as limiting, and can enter according to actual needs
Row sets, such as, the content information of server can include in this server the content of storage summary info,
Address informations etc., do not repeat them here.
In order to make the content information of master server for describing other server in addition to master server and main clothes
The content of business device storage, master server obtains the content information of other server in network in addition to master server,
And generating the content information of master server, in order to control equipment obtains the content of master server from master server
Information.Therefore, the content information of master server can comprise: content information that master server is local and removing
The content information of other server outside master server, the content information of master server this locality is for master server
Locally stored content.
The present embodiment obtains the method for the local content information of master server and is not construed as limiting master server, permissible
The any-mode being well known to those skilled in the art, such as: the content information of master server this locality can be main
Server itself storage, or be master server obtains from other memory master server this locality content believe
Breath, does not repeats them here.
Further, if master server is not turned on aggregation feature, then this master server can not obtain first service
The content information of device.
Aggregation feature is not construed as limiting by the present embodiment, the technology being well known to those skilled in the art, at this no longer
Repeat.
306, the content information after updating is received, and according to the content to master server of the content information after updating
Information is modified, and amended content information is defined as the content information of master server.
When the content of the server storage in network changes, such as: add content or delete content,
Then the content information of the server that content changes changes the most accordingly, now, and this server
Content information be modified after content information, therefore, the content information of this server can be used in real time
In the content describing the storage of this server.
In order to make master server can describe the content of Servers-all storage in network in real time, then network is deposited
The server that storage content changes sends amended content information to master server, i.e. storage content occurs
The current content information of server of change.
Master server is after receiving the content information of this server, according to the content information received to main clothes
The content information of business device is modified.
The method controlling apparatus modifications content information is not construed as limiting by the present embodiment, can enter according to actual needs
Row sets, and does not repeats them here.
307, the content information of master server is sent at least one second server, in order to second server is deposited
The content information of storage master server.
In order to make the content information of second server storage master server, master server sends to second server
The content information of master server, now, the content not only having second server this locality of second server storage
Information, but also storage has the content information of master server, but, the second clothes before master server rolls off the production line
In business device, the content information of the master server of storage does not allows to be accessed.
After master server rolls off the production line, after the server that master server is replaced by second server, newly
Master server in the content information of master server of storage externally allow to be accessed, therefore, new main service
In device, the content information of storage may be used for describing the content of Servers-all storage in network.
Further, when the content information of master server occurs amendment, master server is just to second server
Send the amended content information of master server.
308, judge that master server is the most online.
When playback equipment in a network plays out, server may be increased, it is also possible to is deleted,
Master server may roll off the production line suddenly because of emergency case, is master server the most online.When master server not
When being i.e. deleted online, the content information of second server, it may happen that change, therefore, is periodically sentenced
This master server disconnected is the most online.
Concrete, if master server is online, then perform step 311;If master server is not online, then perform step
Rapid 309.
309, server the highest at least one second server medium priority is defined as master server, and opens
Open the aggregation feature of the highest server of at least one second server medium priority.
As an embodiment of the present embodiment, the server that second server medium priority is the highest detects
After master server is not online, this server is defined as master server, and opens the aggregation feature of this server.
The present embodiment is the most online to the server detection master server that second server medium priority is the highest
Method is not construed as limiting, the technology that can be well known to those skilled in the art, and does not repeats them here.
Further, when master server rolls off the production line, and i.e. master server normally rolls off the production line, master server closes main clothes
The aggregation feature of business device, and send the first instruction information to the server that second server medium priority is the highest,
First instruction information is used for describing master server aggregation feature and has been switched off, and the first instruction information is additionally operable to instruction
Server the highest for second server medium priority is defined as master server, and opens in second server excellent
The aggregation feature of the server that first level is the highest.
Further alternative, when the server arranging priority according to the first precedence information is reached the standard grade again,
The master server specified for control equipment due to it, its this priority of master server of specifying still for the highest,
Then when it is used again, master server is replaced by the master server that control equipment is specified.Therefore, only
Equipment to be controlled specifies master server to reach the standard grade, and it is always the master server that network medium priority is the highest.
Concrete, when the server arranging priority according to the first precedence information is reached the standard grade again, main clothes
Business device cuts out the aggregation feature of master server, and to arranging the server of priority according to the first precedence information
Sending the second instruction information, the second instruction information has been switched off for the aggregation feature describing master server;Main
The server arranging priority according to the first precedence information is defined as master server by server, and unlatching should
The aggregation feature of master server.
310, the content information of current master server will be used for describing the content of the most online master server storage
Corresponding content information is set to be not allowed access to.
If master server rolls off the production line or not online, the server that second server medium priority is the highest is confirmed as main
After server, in order to make that the content information of master server rolls off the production line or the most online master server for describing
The content information corresponding to content of storage is not controlled by equipment and gets, then master server is by second server
Content information rolls off the production line or content information that the content of the most online master server storage is corresponding is set to not permitted
Permitted to access.
Further, the content that will roll off the production line in the content information of master server or the most online master server stores
The method that corresponding content information is set to be not allowed access to can include following two:
The first: master server is deleted in the content information of this master server, rolls off the production line or the most online main service
The content information corresponding to content of device storage;Or,
The second: send identification information to controlling equipment, identification information rolls off the production line or the most online master for describing
The content information that the content of server storage is corresponding can not be accessed.
As an embodiment of the present embodiment, in above-mentioned second method, identification information is used for indicating
Master server, by controlling the content information shown on equipment interface, rolls off the production line or the most online master server is deposited
The content information that the content of storage is corresponding is set to grey font;Or, identification information is Word message, this article
The content information that word information rolls off the production line for explanation or the content of the most online master server storage is corresponding is deleted
Remove.
The present embodiment is not construed as limiting arranging the mode being not allowed access to, and can be that those skilled in the art are ripe
The any-mode known, does not repeats them here.
The content of identification information is not construed as limiting by the present embodiment, and can be well known to those skilled in the art is any
Method, does not repeats them here.
311, the accessing request information that receiving control apparatus sends.
Control equipment is before content to be played play by instruction playback equipment, in order to make control equipment to obtain
To the content information that content to be played is corresponding, control equipment sends accessing request information to master server.
Concrete, the accessing request information of master server receiving control apparatus transmission, accessing request information is used for
Instruction master server sends the content information of master server to controlling equipment.
Accessing request information comprises the address information of control equipment.
312, according to address information to the content information controlling equipment transmission master server.
Control equipment chooses the content letter that content to be played is corresponding from the content information of the master server received
Breath, sends the identification information of content information corresponding for the content to be played got to playback equipment afterwards,
Playback equipment sends information acquisition request information according to identification information to the server of storage content to be played, with
Just the server storing content to be played sends content to be played information to playback equipment, and playback equipment is play and treated
Play content.
313, control equipment choose from the content information of the master server received content to be played corresponding in
The URI of appearance information, and URI corresponding for content to be played is sent to equipment to be played.
Content information comprises URI, URI for indicator content information.
Further alternative, playback equipment can be: TV, computer etc..
Playback equipment is not construed as limiting by the present embodiment, can be set according to actual needs, the most superfluous at this
State.
314, playback equipment sends content obtaining according to the URI received to the server of storage content to be played
Solicited message so that playback equipment gets content to be played, and plays content to be played.
After using such scheme, when the content that the server in network stores changes, master server leads to
Cross the content information sending master server to second server so that the content information of second server and main clothes
The content information of business device is identical, it is ensured that the integrality of the content information of the server of band AO in network, improves
Control equipment gets the probability of complete content information, adds the performance of network and the experience of user.
Additionally, when network exists the server of at least two band AO, by the service to all band AO
Device arranges the mode of priority, determines the master server that priority is the highest, and opens the convergence merit of master server
Can, master server is for obtaining the content information of all first servers and raw according to the content information obtained
Become the content information of master server, and after master server receives the accessing request information that control equipment sends,
To the content information controlling equipment transmission master server, in order to control equipment from the content information of master server
Obtain the content information that content to be played is corresponding, and play according to the content information instruction that content to be played is corresponding
Equipment gets content to be played.Master server is determined so that control equipment directly from master during the program is bright
Server obtains the content information of master server, decreases the wasting of resources and data corruption, add net
The performance of network and the experience of user.
The method of the present embodiment another kind acquisition of information, this method describes control equipment when being Lagecy CP
The method of acquisition of information, as it is shown in figure 5, comprise the following steps:
If network comprises the server of at least two band AO, then perform step 501;If network comprises one
The server of individual band AO, then perform step 502.
501, step 301 is performed to 310.
If network comprises the server of at least two band AO, then before controlling equipment acquisition content information,
First master server is set to the server that priority is the highest, and then master server will remove main service in network
The priority of the server of other band AO of device is configured.
Perform step 504.
502, the server of band AO other server in network sends and updates solicited message.
When in network the server comprising a band AO, the server of band AO obtains all clothes in network
The content information of business device, and the content information of the server of band AO, band is generated according to the content information got
The content information of the server of AO comprises the content information of Servers-all in network.
During in order to make the content information in network change, the content information of the server of band AO can obtain
Revising timely, the server of band AO other server in addition to the server of band AO in network sends more
Newly requested information.
Other server that renewal solicited message is used for indicating in network in addition to the server of band AO is to band AO's
Server sends the content information after updating.
503, the content information after updating is received, and according to the server to band AO of the content information after updating
Content information modify, amended content information is defined as the content information of the server of band AO.
When the content of the server storage in network changes, such as: add content or delete content,
The content information of this server is revised the most accordingly, and the content information of this server is changed to through repairing
Content information after changing, therefore, the content information of this server can be used for describing the storage of this server in real time
Content.
In order to make the server of band AO can describe the content of Servers-all storage in network in real time, in network
The server that changes of storage content send amended content information to the server of band AO, i.e. change
The content information of the server changed.
Server with AO is after the content information receiving the server changed, in receiving
The content information of the server of band AO is modified by appearance information.
504, control equipment all of server in network and send accessing request information.
Control equipment in this enforcement is Lagecy CP, due to, Lagecy which server of CP None-identified
For the server of band AO, therefore, in order to make control equipment get the content information of Servers-all in network,
Control equipment all of server in network sends accessing request information.
505, control equipment and receive the content information of Servers-all in network, and according to the content letter received
The URI of breath, deletes the content information repeated.
Comprising the URI of this content information in content information, URI is used for indicator content information.
Network comprises the server of at least one band AO, due to, the content information bag of the server of band AO
Containing the content information of Servers-all in network, therefore, control equipment and obtain Servers-all in access network
The content information got comprises the content of repetition.
Content information in order to make control equipment get does not comprises the content of repetition, reduces the wasting of resources, control
Control equipment is carried out according to the URI of content information, the content information repeating control equipment in the content information obtain
Delete.
As an embodiment of the present embodiment, get in network in Servers-all at control equipment
After appearance information, the URI of the most each content information, if finding the URI of repetition, then by corresponding for this URI
Hold information deletion.
The mode deleting the content information repeated according to control equipment is not construed as limiting by this enforcement, can be according to reality
Border needs to be set, and does not repeats them here.
506, control equipment content information after deleting duplicate contents chooses the content that content to be played is corresponding
The URI of information, and URI corresponding for content to be played is sent to playback equipment.
Further alternative, playback equipment can be: TV, computer etc..
Playback equipment is not construed as limiting by the present embodiment, can be set according to actual needs, the most superfluous at this
State.
507, playback equipment sends content obtaining according to the URI received to the server of storage content to be played
Solicited message so that playback equipment gets content to be played, and plays content to be played.
After using such scheme, when network exists the server of at least two band AO, by all bands
The server of AO arranges the mode of priority, determines the master server that priority is the highest, and opens master server
Aggregation feature, master server for obtaining the content information of all first servers, and according to obtaining in
Appearance information generate master server content information, and when master server receive control equipment send access please
After seeking information, to the content information controlling equipment transmission master server, in order to control equipment from master server
Content information obtains the content information that content to be played is corresponding, and believes according to the content that content to be played is corresponding
Breath instruction playback equipment gets content to be played.Master server is determined so that control to set during the program is bright
The standby content information directly obtaining master server from master server, decreases the wasting of resources and data corruption,
Add the performance of network and the experience of user.
Additionally, when control equipment is Legacy CP, due to the content letter of the server of the band AO in network
Breath comprises the content information of Servers-all in network, therefore, accesses all services successively at Legacy CP
After device, there is the information repeated in the content information that Legacy CP gets;Control equipment is according to content information
URI, deletes the content information of the repetition got, and reduces the wasting of resources and data message is chaotic,
And improve the performance of network and the experience of user.
The present embodiment provides the method for another kind of acquisition of information, and the executive agent of this method is control equipment, as
Shown in Fig. 6, may comprise steps of:
601, a first server in the server of at least two band convergence module sends the first priority
Information, the first precedence information is for describing in the server of at least two band convergence module as master server
The server that priority is the highest.
Control equipment is before carrying out priority setting to the server of band AO, the most selected good by which band AO
Server be set to the master server that priority is the highest, i.e. first server.
Further alternative, in network the second of at least one band convergence module of other in addition to master server
Server sends the second precedence information, and it is excellent that the second precedence information is used for describing at least one second server
The height of first level.
Control terminal not only the priority of master server to be configured, it is also possible to preferential to second server
Level is configured.
602, obtaining the content information of master server, master server is that first server is believed according to the first priority
Cease the server that the network medium priority determined is the highest.
The content information of master server includes the content of other servers in the network obtained in addition to master server
Information and the content information of master server, the content information of master server is used for describing in network except main service
The content of other server storage outside device and the content of master server storage.
603, from the content information of master server, the content information that content to be played is corresponding is obtained, and to broadcasting
Equipment sends the content information that content to be played is corresponding.
After using such scheme, when network exists the server of at least two band AO, by first server
It is set to the master server that priority is the highest, in order to control equipment obtains from the content information of master server and treats
Play the content information that content is corresponding.Determine master server during the program is bright so that control equipment directly from
Master server obtains the content information of master server, decreases the wasting of resources and data corruption, add
The performance of network and the experience of user.
According to the embodiment of said method, the present embodiment provides the device of a kind of acquisition of information, as it is shown in fig. 7,
Including: first receive unit 71, first unit the 72, first acquiring unit 73 is set.
Wherein, first unit 71, first in the server of at least two band convergence module are received
The first precedence information that server receiving control apparatus sends, the first precedence information is for describing at least two
As the server that master server priority is the highest in the server of individual band convergence module.
First arranges unit 72, for first server being set in network excellent according to the first precedence information
The master server that first level is the highest, and open the aggregation feature of master server.
First acquiring unit 73, other server in addition to master server in master server acquisition network
Content information, to generate the content information of master server, in order to control equipment obtains main clothes from master server
Business device content information, the content information of the master server of generation include obtain network in addition to master server
The content information of other servers and the content information of master server, the content information of master server is used for
The content of other server storage described in network in addition to master server and the content of master server storage.
After using such scheme, when there is the server of at least two band AO in network, first arranges unit
First server is set to the server that priority is the highest, and server the highest for priority is defined as main
Server, opens the aggregation feature of master server, and for obtaining in addition to master server, other owns master server
The content information of server, and the content information of master server is generated according to the content information obtained, in order to control
Control equipment obtains the content information that content to be played is corresponding from the content information of master server.During the program is bright
Determine master server so that control equipment directly obtains the content information of master server from master server,
Decrease the wasting of resources and data corruption, add the performance of network and the experience of user.
As a kind of improvement of embodiment said apparatus embodiment, the present embodiment provides another kind of acquisition of information
Device, this device can apply to when comprising the server of at least two band AO in network, as shown in Figure 8,
Including: first receive unit 81, first unit the 82, first transmitting element the 83, first acquiring unit is set
84, the second transmitting element 85, second unit the 86, the 3rd transmitting element the 87, the 3rd is set unit 88 is set,
4th transmitting element 89;4th arranges unit 810, second receives unit 811.
Concrete, the 3rd arranges unit 88 includes: removing module 881, sending module 882.
First receives unit 81, a first server in the server of at least two band convergence module
The first precedence information that receiving control apparatus sends, the first precedence information is used for describing at least two band and converges
As the server that master server priority is the highest in the server of poly-module.
When there is the server of at least two band AO in network, control equipment does not knows the clothes from which band AO
Obtaining content information in business device, therefore, first control equipment carry out priority to the server of band AO in network
Arrange, so, control equipment and then can obtain content information according to the priority of the server of band AO.
In order to be configured master server priority, first receives first that unit receiving control apparatus sends
Precedence information.
First arranges unit 82, for first server being set to master server according to the first precedence information,
And open the aggregation feature of master server.
Control equipment is before carrying out priority setting to the server of band AO, the most selected good by which band AO
Server be set to the master server that priority is the highest, i.e. first server.
First reception unit is after receiving the first precedence information, and first arranges unit according to the first priority
Master server is set to the server that priority is the highest by information, and opens the aggregation feature of master server.
First transmitting element 83, for master server other band of at least one in addition to master server in network
The second server of AO sends the second precedence information, in order at least one second server is according to each receiving
To the second precedence information carry out priority setting.
Comprising at least two in network and treat the server of AO, first arranges unit at the master server selected to it
After carrying out priority setting, master server carries out priority setting to second server again.
Concrete, in order to second server is carried out priority setting, the first transmitting element is to second server
Sending the second precedence information, second server carries out priority setting according to the second precedence information.
The representation of the second precedence information is not construed as limiting by the present embodiment, can carry out according to actual needs
Set, do not repeat them here.
Priority set-up mode is not construed as limiting by this enforcement, any side that can be well known to those skilled in the art
Formula, does not repeats them here.
Further alternative, the second precedence information can be that control equipment sends to second server, i.e.
The priority of second server can be configured by control equipment.
First acquiring unit 84, other server in addition to master server in master server acquisition network
Content information, to generate the content information of master server, in order to control equipment obtains main clothes from master server
Business device content information, the content information of the master server of generation include obtain network in addition to master server
The content information of other servers and the content information of master server, the content information of master server is used for
The content of other server storage described in network in addition to master server and the content of master server storage.
The content information of master server is deposited for describing other server in addition to master server and master server
The content of storage.
Second transmitting element 85, for sending the content information of master server at least one second server,
So as the content information of second server storage master server.
In order to make the content information of second server storage master server, master server sends to second server
The content information of master server, now, second server storage does not only have the content letter that second server is local
Breath, but also storage has the content information of master server, but, second service before master server rolls off the production line
In device, the content information of the master server of storage does not allows to be accessed.
Further, content information comprises unified identifier information, and unified identifier information is used for identifying content
Information, unified identifier information is in indicating control equipment to get according to unified identifier information deletion
The content information repeated in appearance information.
As an embodiment of the present embodiment, when control equipment can be: Legacy CP or AV4/AV5
CP。
When playback equipment in a network plays out, server may be increased, it is also possible to is deleted,
After master server rolls off the production line, the content information of the server of band AO is it may happen that change, therefore, periodically
Judge whether this master server rolls off the production line.
Second arranges unit 86, for being determined by server the highest at least one second server medium priority
For master server, and open the aggregation feature of the highest server of at least one second server medium priority.
Master server may roll off the production line suddenly because of emergency case, is master server the most online.
As an embodiment of the present embodiment, when master server is not online, preferential in second server
After the highest server of level detects that master server is not online, this server is defined as master server, and opens
Open the aggregation feature of this server.
The present embodiment is the most online to the server detection master server that second server medium priority is the highest
Method is not construed as limiting, the technology that can be well known to those skilled in the art, and does not repeats them here.
3rd transmitting element 87, for closing the aggregation feature of current master server, master server is at least one
The server that individual second server medium priority is the highest sends the first instruction information, and the first instruction information is used for retouching
Stating current master server aggregation feature to have been switched off, the first instruction information is for indicating excellent in second server
The server that first level is the highest is defined as master server, and opens the server that second server medium priority is the highest
Aggregation feature.
After master server rolls off the production line, send the first instruction information by the 3rd transmitting element to second server,
Server the highest for second server medium priority is defined as master server.
Further alternative, the first instruction information is when the server that second server medium priority is the highest detects
To master server roll off the production line time, the highest server of second server medium priority generate.
3rd arranges unit 88, for rolling off the production line being used in the content information of master server describing or the most online
The content information that the content of master server storage is corresponding is set to be not allowed access to.
Concrete, removing module 881, in the content information deleting current server, rolls off the production line or the most online
The content information corresponding to content of master server storage, removal request information comprises and rolls off the production line or the most online master
The content information corresponding to content of server storage.
Sending module 882, for controlling equipment transmission identification information, identification information is for describing the master rolled off the production line
The content information that the content of server storage is corresponding can not be accessed.
4th transmitting element 89, for closing the aggregation feature of master server, and to according to the first priority letter
Breath arranges the server of priority and sends the second instruction information, and the second instruction information is for describing master server
Aggregation feature has been switched off.
4th arranges unit 810, for again being set by the server arranging priority according to the first precedence information
It is set to master server, and opens the aggregation feature of this master server.
Second receives unit 811, at least one band convergence module of other in addition to master server in network
The second precedence information that second server receiving control apparatus sends, in order at least one second server root
Priority setting is carried out according to the second precedence information received;Wherein, the second precedence information is used for describing
As the height of priority of master server at least one second server.
After using such scheme, when there is the server of at least two band AO in network, first arranges unit
By the way of the server of all band AO is arranged priority, determine the master server that priority is the highest, and
The aggregation feature of unlatching master server, the content information of the acquiring unit all first servers of acquisition, and according to
The content information obtained generates the content information of master server, and when the access receiving the transmission of control equipment please
After seeking information, to the content information controlling equipment transmission master server, in order to control equipment from master server
Content information obtains the content information that content to be played is corresponding, and believes according to the content that content to be played is corresponding
Breath instruction playback equipment gets content to be played.Master server is determined so that control to set during the program is bright
The standby content information directly obtaining master server from master server, decreases the wasting of resources and data corruption,
Add the performance of network and the experience of user.
When control equipment is Legacy CP, owing to the content information of the server of the band AO in network comprises
The content information of Servers-all in network, therefore, after Legacy CP accesses Servers-all successively,
There is the information repeated in the content information that Legacy CP gets;Control equipment according to the URI of content information,
The content information of the repetition got is deleted, reduces the wasting of resources and data message is chaotic, and
Improve the performance of network and the experience of user.
The present embodiment provides the device of another kind of acquisition of information, as it is shown in figure 9, include: the 5th transmitting element
91, second acquisition unit the 92, the 6th transmitting element the 93, the 7th transmitting element 94.
Concrete, the 5th transmitting element 91, for one in the server of at least two band convergence module
First server sends the first precedence information, and the first precedence information is used for describing at least two band and converges mould
As the server that master server priority is the highest in the server of block.
Second acquisition unit 92, for obtaining the content information of master server, master server is first server
The server that the priority that determines according to the first precedence information is the highest.
6th transmitting element 93, in from the content information of master server, acquisition content to be played is corresponding
Appearance information, and send, to playback equipment, the content information that content to be played is corresponding.
The content information of master server includes the content of other servers in the network obtained in addition to master server
Information and the content information of master server, the content information of master server is used for describing in network except main service
The content of other server storage outside device and the content of master server storage.
7th transmitting element 94, for the second clothes of the band of other in addition to master server convergence module in network
Business device sends the second precedence information, and the second precedence information is for describing the height of second server priority.
After using such scheme, when network exists the server of at least two band AO, by first server
It is set to the master server that priority is the highest, in order to control equipment obtains from the content information of master server and treats
Play the content information that content is corresponding.Determine master server during the program is bright so that control equipment directly from
Master server obtains the content information of master server, decreases the wasting of resources and data corruption, add
The performance of network and the experience of user.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive this
Bright can add the mode of required common hardware by software and realize, naturally it is also possible to by hardware, but a lot
In the case of the former is more preferably embodiment.Based on such understanding, technical scheme substantially or
Person says that the part contributing prior art can embody with the form of software product, and this computer is soft
Part product is stored in the storage medium that can read, such as the floppy disk of computer, and hard disk or CD etc., if including
Dry instruction is with so that a computer equipment (can be personal computer, MS, or the network equipment etc.)
Perform the method described in each embodiment of the present invention.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in
Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should
Described it is as the criterion with scope of the claims.