CN102238423A - Equipment scheduling method, device and system - Google Patents
Equipment scheduling method, device and system Download PDFInfo
- Publication number
- CN102238423A CN102238423A CN2010101530632A CN201010153063A CN102238423A CN 102238423 A CN102238423 A CN 102238423A CN 2010101530632 A CN2010101530632 A CN 2010101530632A CN 201010153063 A CN201010153063 A CN 201010153063A CN 102238423 A CN102238423 A CN 102238423A
- Authority
- CN
- China
- Prior art keywords
- standby
- media server
- service
- equipment
- media
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005012 migration Effects 0.000 claims description 16
- 238000013508 migration Methods 0.000 claims description 16
- 230000004913 activation Effects 0.000 claims description 6
- 230000001105 regulatory effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 7
- 239000002699 waste material Substances 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000001994 activation Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004622 sleep time Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses an equipment scheduling method, an equipment scheduling device and an equipment scheduling system. The equipment scheduling method comprises the following steps of: acquiring information about the current user load of an Internet protocol television (IPTV) system; and judging whether the current user load of the system is lower than a preset low load threshold value or not, and if the current user load of the system is judged to be lower than the preset low load threshold value, regulating a part of equipment in the system into a standby state. In the technical scheme provided by the embodiment of the invention, when the actual load of the IPTV system is relatively lower, a part of equipment is dynamically selected to enter the standby state, and only equipment in a running state provides services for a user, so the power consumption and loss of the equipment is effectively reduced under the condition of not influencing the actual quality of service.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for scheduling devices.
Background
An Internet Protocol Television (IP Television) is a new technology that combines the features of a telecommunication network, a radio and Television network, and an Internet network, and can provide a variety of services including digital televisions to users. The user can enjoy the interactive network television service at home through terminal equipment such as a network set-top box.
In order to meet the service requirements of a large number of users, the IPTV system generally deploys service nodes in a layered and regional manner, and provides services for the users at edge nodes as much as possible, so as to reduce the load of the backbone network. Each service node comprises a plurality of media servers and storage equipment, wherein the storage equipment is used for storing media contents, and the media servers are used for performing read-write operation on the storage equipment. When the media server receives the request of playing media content from the user terminal, the media server reads the media data from the corresponding storage device and sends the media data to the user terminal, and the media data is decoded and played by the terminal device. Besides the media server and the storage device, the IPTV system also includes various management devices for implementing functions such as media content management, user request scheduling, authentication charging, value added service, etc.
In the IPTV system, the number of service nodes, the number of media servers, and the number of storage devices are configured by calculation according to the maximum number of concurrent users, the number of recorded channels, and the number of requested contents. For example, the IPTV system is required to support 3000T content storage for 100 ten thousand concurrent users, and a media server has a service capability of 1000 users, and a storage device has a capacity of 5T, so at least 1000 media servers and 600 storage devices are required, and if redundancy and backup are considered, the number of the storage devices is increased accordingly. However, according to the user access statistical data, in the actual using process, the user amount in most time does not reach the preset maximum concurrent user amount, and about 10% of the maximum concurrent number is only about half of the time. However, in the existing IPTV system, regardless of the number of actual users, all media servers and storage devices of the entire system are always in a running state, which results in a large amount of idle device resources, and causes unnecessary power consumption waste and device loss.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide a method, an apparatus, and a system for scheduling a device, so as to reduce idle device resources of an IPTV system, where the technical scheme is as follows:
the embodiment of the invention provides a device scheduling method, which comprises the following steps:
acquiring current user load information of an IPTV system;
and judging whether the current user load of the system is lower than a preset low load threshold value or not, and if so, adjusting part of equipment in the system to be in a standby state.
An embodiment of the present invention further provides an apparatus scheduling apparatus, including:
a user load obtaining unit, configured to obtain current user load information of the IPTV system;
and the equipment standby control unit is used for judging whether the current user load of the IPTV system is lower than a preset low load threshold value or not according to the current user load information of the IPTV system obtained by the user load obtaining unit, and if so, adjusting part of equipment in the system to be in a standby state.
The embodiment of the invention also provides a device scheduling system, which at least comprises the device scheduling device and at least one media server.
In the technical scheme of the embodiment of the invention, when the actual load of the IPTV system is small, a part of equipment is dynamically selected to enter the standby state, and at the moment, the equipment in the running state only provides service for a user, so that the power consumption waste and the loss of the equipment are effectively reduced under the condition that the actual service quality is not influenced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a flowchart of an embodiment of a device scheduling method according to the present invention;
FIG. 2 is a flow chart of a device scheduling method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus scheduling device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device scheduling apparatus according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device scheduling apparatus according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device scheduling apparatus according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device scheduling apparatus according to another embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an embodiment of a device scheduling system according to the present invention;
fig. 9 is a schematic structural diagram of a device scheduling system according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, a device scheduling method provided by an embodiment of the present invention is explained, referring to fig. 1, including the following steps:
s101, obtaining the current user load of the IPTV system;
s102, judging whether the current user load is lower than a preset low load threshold value or not, and if so, adjusting part of equipment in the system to be in a standby state, wherein the equipment comprises a media server.
The executing body of the above steps may be a scheduling server in an IPTV system, and considering that the user volume in most of the time does not reach the preset maximum concurrent user number in the actual using process, the scheme provided by the embodiment of the present invention is applied to add an automatic matching function of the current system user load and the system capacity to the scheduling server, and control the number of devices capable of providing the IPTV service according to the current concurrent user volume, where the IPTV system includes a plurality of media servers. Therefore, under the condition of not influencing the service quality, the power consumption waste and the loss of the equipment are effectively reduced. The standby state in the embodiment of the present invention refers to that the device is in a sleep state, and the power consumption is only used to maintain the current interrupt information of the device, or the device is in a power-off state, but can be powered on and operated immediately after being activated.
During the device scheduling process, the scheduling server may be responsible for transferring user services on the device that is ready to enter the standby state to other devices that are in the active state. When the user terminal sends the service request again, the scheduling server selects the equipment in the running state to provide service for the user; that is, when the user terminal sends the service request again, the scheduling server transfers the service task originally processed by the device adjusted to the standby state to the device in the running state. When the user load of the system increases, the devices in the standby state can be activated, and after the devices in the standby state are activated originally, the scheduling server can also notify the content management server to update the content on the activated devices, so as to ensure that the content on the devices and other devices in the running state are synchronized.
The technical solution of the present invention will be further described in detail with reference to the specific application example of the IPTV system. Referring to fig. 2, the present embodiment includes the following steps:
s201, obtaining the current user load of the system.
In the IPTV system, each media server will report its own load condition, including the current number of concurrent users, concurrent bandwidth consumption, etc., to the scheduling server periodically. The scheduling server may count the total user load of each media server in the whole system in real time or periodically, where the user load may be measured by the number of concurrent users of the system, or the concurrent bandwidth consumption of the system.
S202, comparing the current user load with a preset low load threshold.
At least one low load threshold value is pre-configured on the scheduling server, and after the scheduling server obtains the current user load of the system, the current user load of the system is compared with the low load threshold value, namely, the sum of the current user loads of the media servers of the system is compared with the low load threshold value. If the current user load is lower than the preset low load threshold, the subsequent steps are further executed.
S203, parts of equipment in the system are adjusted to be in a standby state.
If the current user load of the system is lower than a preset low load threshold value, the scheduling server adjusts a part of the devices to be in a standby state. The adjustment object may include a media server, that is, a scheduling server adjusts a part of the media servers in the IPTV system to a standby state. The specific adjustment target is selected by the scheduling server, and the selected device is referred to as a standby device. The standby media server is prepared, i.e. the media server in the intermediate transition state between the running state and the standby state, and the standby media server does not process a new IPTV task, but needs to process the unprocessed service on the server. According to the difference between the networking mode of the actual IPTV system and the distribution mode of the media data, the standby preparation equipment can be selected in various modes: for example, according to a scheduled scheduling policy, the scheduled scheduling policy holds: devices that are not currently in service or that are currently under low load are selected as standby devices, media servers at edge nodes are selected, media servers at a central node are selected, or some devices may be randomly selected as standby devices.
And if the current user load of the IPTV system is not lower than the set low load threshold, not processing.
For the way of randomly selecting the standby device, the scheduling server needs to further check whether the determined standby device is currently in a service state, and if not, the standby device can be directly adjusted to the standby state. If the standby device is currently providing services for the user, that is, the standby device is currently in a service state, it is necessary to first migrate a service task on the standby device to another device, and then adjust the standby device to a standby state, where a target device for service task migration should be a device in an operating state, and the target device is neither a standby device nor a standby device, and the specific method for service task migration may include the following steps:
s203a, acquiring the current service content and service mode of the standby device;
assuming that the media server a is determined to be a standby device, the scheduling server queries the user connection information on the media server a to obtain information about what program the user is watching, the current playing mode, the time point of playing, and the like.
S203b, according to the current service content of the standby device media server A, selecting the corresponding media server in running state as the target device;
according to the program being watched by the user, the scheduling server selects one media server B in a running state as a target device to prepare to take over the service of the media server A.
S203c, notifying the target device that the media server B is responsible for the service task according to the current service mode of the standby device media server a.
The following description is made with the standby devices currently in different service modes, respectively:
1) preparing the current service mode of the standby device to provide a pause play mode for the user terminal:
if the current service mode of the standby preparation equipment is a pause playing mode provided for the user terminal, a media control channel is established with the target equipment, the pause time point is notified to the target equipment through the media control channel, and the target equipment is indicated to provide service for the user terminal from the pause time point when the user terminal selects to continue playing.
For example, if the standby device media server a is currently providing the pause playback mode, the scheduling server establishes a media control channel with the media server B, notifies the media server B of the currently played media content and the time point of currently providing the pause playback mode and pause through the established media control channel, and instructs the media server B to transmit a media stream to the user terminal from the pause time point when the user selects to continue playing, and then the scheduling server may disconnect the media control channel with the media server a. Thereafter, when the user selects "continue playing", the media stream will be continuously transmitted to the user by the media server B from the position of the pause time point.
2) Preparing the current service mode of the standby device to provide the user terminal with the playing mode:
if the current service mode of the standby preparation equipment is a mode for providing a user terminal with a playing mode, determining a switching time point in the current service content;
notifying the standby device of the switching time point and instructing the standby device to stop providing the service to the user terminal when the service reaches the switching time point,
and establishing a media control channel with the target equipment, informing the target equipment of the switching time point through the established media control channel, and informing the target equipment of providing services for the user terminal from the switching time point.
For example, the following steps are carried out: the standby device media server a is currently in the play mode for providing the user terminal with the on-air, in this case, in order not to affect the continuity of the service, the following scheme may be adopted:
a switching point in time is first determined by the scheduling server within the current media, which switching point in time is, as will be appreciated, located after the current play point in time. The scheduling server establishes a media control channel with the media server B first, and notifies the switching time point to the media server A of the standby device and the media server B of the target device respectively, wherein the purpose of notifying the media server A is to indicate that the media server A stops sending the media stream to the user terminal when playing to the switching time point, the scheduling server immediately notifies the media server B when knowing that the media server A stops sending the media stream, and the media server B continues to send the media stream to the user from the position of the switching time point. Thereafter, the scheduling server may disconnect the media control channel from media server a.
If the IPTV system supports media content segment storage and scheduling, the end time point of the current segment may also be directly used as the switching time point, and this way actually uses the segment change as the basis for service task migration, that is: after the media server A finishes playing the current fragment, the media server B continues to play the next fragment to the user.
In addition, the playing mode of the media may include a fast forward playing mode, a fast backward playing mode, and the like besides the normal speed playing mode, and the scheduling server may also notify the current playing mode of the media server a to the media server B, so as to ensure that the original playing mode is still maintained after the service task is migrated. Particularly, for the case that the change of the segment is taken as the basis for the migration of the service task, when the fast-rewinding operation of the user exceeds the left boundary of the current segment, the media server B should continue to provide the last segment of the current segment for the user.
After the scheduling server migrates all the service tasks on the media server a to the media server B, the scheduling server notifies the media server a to enter a standby state, and records that the current state of the media server a is the standby state.
And S204, sending the identifier of the equipment adjusted to the standby state to the media content management server.
After the media server a is adjusted to the standby state, the scheduling server sends the identifier of the media server a to the media content management server to notify the media content management server that the media server a has entered the standby state, and thereafter the media content management server will not issue or delete content to the media server a.
S205, receiving a media playing request sent by the user terminal.
S206, selecting the equipment for providing the service for the user.
When receiving a new media playing request, the scheduling server first filters out the media servers which are already in a standby state or ready for standby, and then further selects a proper media server to provide services for the user terminal according to the media content requested to be played by the user.
S207, the scheduling server forwards the media playing request of the user to the selected media server.
S208, the media player reads the media file data from the corresponding storage device.
S209, the media server sends a play response to the scheduling server.
S210, the dispatching server forwards the play response to the user terminal.
S211, the media server provides a service to the user terminal.
S212, comparing the current user load with a preset high load threshold.
At least one high load threshold is also preconfigured on the dispatch server. Since the scheduling server counts the total of the current user loads of the media services of the whole system in real time or periodically, after setting part of the devices in the standby state, the scheduling server also compares the current user load with a preset high load threshold value at any time, and if the current user load is higher than the preset high load threshold value, the subsequent steps are further executed.
S213, activating the device in the standby state.
I.e. readjusts the media server, which was previously adjusted to the standby state, to the running state.
S214, the activated equipment identification is sent to the content management server.
And sending the equipment identification of the media server readjusted to be in the running state to the media content management server.
For example, after the scheduling server readjusts the media server a that was previously adjusted to the standby state to the running state, the scheduling server sends the identifier of the media server a to the media content management server, and notifies the media content management server of the information that the media server a that was previously adjusted to the standby state was readjusted to the running state, and thereafter, the media content management server resumes the operations of releasing or deleting the content to the media server a.
S215, the content management server updates the media content in the activation device.
If the device readjusted to the running state misses the distribution of some on-demand content or the recording of a live program when being in the standby state, the content management server may query, according to the standby time and the sleep time of the device, which content the device misses, and notify the device to other devices with content to acquire corresponding content. Similarly, if some media content changes and deletions are missed during the standby of the device, the content management server may also notify the activated devices of the corresponding situation, thereby ensuring that the content on these devices is synchronized with the content of the device that is in an operational state.
The scheme controls the number of the devices capable of providing the IPTV service according to the current user load of the IPTV system, thereby effectively reducing the power consumption waste and the loss of the devices. It can be understood that, in the scheduling server, a plurality of low load thresholds may also be preset, so as to implement selecting different numbers of devices to enter a standby state according to different user load levels; accordingly, when the devices are activated, the scheduling server may activate all the devices in the standby state, or may activate only a part of the devices. The specific number of activations may be achieved by comparison with a plurality of preset high load thresholds.
In addition, the scheme also provides a method for migrating the service task of the equipment in the service mode, so that the equipment in the service mode enters a standby state under the condition of uninterrupted playing, and the service quality of a user is not influenced.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media capable of storing program codes, such as ROM (Read-Only Memory), RAM (random access Memory), magnetic disk, and optical disk.
Corresponding to the above method embodiment, an embodiment of the present invention further provides an apparatus for scheduling devices, which is shown in fig. 3 and includes:
a user load obtaining unit 310, configured to obtain current user load information of the IPTV system.
The user load obtaining unit 310 counts the total user load of each media server in the whole system in real time or periodically, wherein the user load can be measured by the number of concurrent users of the system or the concurrent bandwidth consumption of the system.
A device standby control unit 320, configured to determine whether a current user load of the system is lower than a preset low load threshold, and if so, adjust some devices in the system to be in a standby state, where the devices include a media server.
Specifically, the device standby control unit 320 compares the current user load of the IPTV system in the user load information with a preset low load threshold according to the current user load information of the IPTV system obtained by the user load obtaining unit 310, and if the current user load of the IPTV system is lower than the preset low load threshold, the device standby control unit 320 adjusts a part of media servers in the IPTV system to be in a standby state.
Referring to fig. 4, the apparatus may further include:
a device standby result reporting unit 330, configured to send the identifier of the device adjusted to the standby state to the content management server, and instruct the content management server to stop providing content to the device adjusted to the standby state.
The device standby control unit 320 may be further configured to migrate the service task on the device adjusted to the standby state to a target device in the system, where the target device is a device in an operating state in the system.
Alternatively, referring to fig. 5, the device standby control unit 320 may include:
a standby device determination subunit 321 configured to determine a part of the media servers in the system as standby media servers; the method for determining the standby media server may include: selecting part of media servers in the system as standby media servers according to a preset scheduling strategy; or randomly selecting part of the media servers in the system as the standby media servers.
A judging subunit 322, configured to judge whether the standby media server determined by the standby media server determining subunit 321 is currently in a service mode;
a service migration subunit 323, configured to, when the determining subunit 322 determines that the standby media server is currently in the service mode, migrate a service task on the standby media server to a target media server, where the target media server is a media server in an operating state in the system;
an adjusting subunit 324, configured to adjust the standby media server to be in a standby state after the service migration subunit 323 completes the service task migration. It is also possible to directly adjust the standby media server to a standby state when the determining subunit 322 determines that the standby media server is not currently in a service mode.
Referring to fig. 6, the service migration subunit 323 may include:
an information obtaining module 3231, configured to obtain current service content and service mode of the standby media server;
a target device selecting module 3232, configured to select a target media server according to the current service content of the standby media server;
a migration module 3233, configured to notify the target media server to undertake the service task according to the current service mode of the standby media server.
If the current service mode of the standby media server is a pause play mode provided for the user terminal, the service migration subunit 323 establishes a media control channel with the target media server, notifies the target media server of a pause time point through the media control channel, and instructs the target media server to provide a service to the user terminal from the pause time point when the user terminal selects to continue playing.
If the current service mode of the standby media server is to provide a user terminal with a play-now mode, the service migration subunit 323 first determines a switching time point in the current service content; and notifying the switching time point to the standby media server, and indicating the standby media server to stop providing the service to the user terminal when the service reaches the switching time point, establishing a media control channel with the target media server, notifying the switching time point to the target media server through the established media control channel, and notifying the target media server to provide the service to the user terminal from the switching time point.
Referring to fig. 7, the device scheduling apparatus according to the embodiment of the present invention may further include:
the device activation control unit 340 is configured to readjust the device in the system that has been adjusted to the standby state to the operating state if it is determined that the current user load of the system is higher than the preset high load threshold.
A device activation result reporting unit 350, configured to send the identifier of the device re-adjusted to the running state to a content management server, and instruct the content management server to update the content in the device re-adjusted to the running state.
According to the device scheduling device, when the actual load of the IPTV system is small, a part of devices are dynamically selected to enter a standby state, at the moment, the devices in the running state only provide services for users, and under the condition that the actual service quality is not influenced, the power consumption waste and the loss of system devices are effectively reduced under the condition that the service quality is not influenced.
Referring to fig. 8, an embodiment of the present invention further provides a device scheduling system, which includes a scheduling server 810 and at least one media server 820,
the scheduling server 810 is configured to obtain current user load information of the system; and judging whether the current user load of the system is lower than a preset low load threshold value or not, and if so, adjusting part of media servers in the system to be in a standby state.
The structure and function of the scheduling server 810 refer to the device scheduling apparatus in the foregoing apparatus embodiment, and the implementation method of the device scheduling system refers to the flow in the foregoing method embodiment. And will not be described in detail herein.
Referring to fig. 9, the system of the device scheduling system provided by the present invention may further include:
and the content management server 830 is configured to receive the identifier of the media server adjusted to the standby state sent by the scheduling server, and stop providing the content to the media server adjusted to the standby state according to the identifier.
The content management server 830 may be further configured to receive the identifier of the device re-adjusted to the running state, and update the content in the device re-adjusted to the running state according to the identifier.
According to the IPTV system provided by the embodiment of the invention, when the actual load of the system is small, a part of media servers are dynamically selected to enter the standby state, and at the moment, the media servers in the running state only provide services for users, so that the power consumption waste and loss of the media servers are effectively reduced under the condition that the actual service quality is not influenced.
For device or system embodiments, as they correspond substantially to method embodiments, reference may be made to the method embodiments for some of their descriptions. The above-described embodiments of the apparatus or system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways without departing from the spirit and scope of the present application. The present embodiment is an exemplary example only, and should not be taken as limiting, and the specific disclosure should not be taken as limiting the purpose of the application. For example, the division of the unit or the sub-unit is only one logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or a plurality of sub-units are combined together. In addition, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
Additionally, the systems, apparatus, and methods described, as well as the illustrations of various embodiments, may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present application. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.
Claims (19)
1. A method for scheduling devices, comprising:
acquiring current user load information of an IPTV system;
and judging whether the current user load of the system is lower than a preset low load threshold value or not, and if so, adjusting part of equipment in the system to be in a standby state.
2. The method of claim 1, further comprising:
and migrating the service task on the equipment adjusted to the standby state to target equipment in the system, wherein the target equipment is the equipment in the running state in the system.
3. The method of claim 1, wherein the device comprises a media server; the adjusting part of the devices in the system to be in a standby state comprises:
determining a part of media servers in the system as standby media servers;
judging whether the standby media server is in a service state currently;
if yes, the service task on the standby media server is migrated to a target media server, and the standby media server is adjusted to be in a standby state, and the target media server is a media server in a running state in the system.
4. The method of claim 1, further comprising:
and sending the identifier of the equipment adjusted to the standby state to a content management server, and instructing the content management server to stop providing the content to the equipment adjusted to the standby state.
5. The method of claim 3, wherein determining a portion of the media servers in the system as standby media servers comprises:
selecting part of media servers in the system as standby media servers according to a preset scheduling strategy; or,
and randomly selecting part of the media servers in the system as standby media servers.
6. The method of claim 3, wherein migrating the service task on the standby media server to the target device comprises:
acquiring the current service content and service mode of the standby media server;
selecting a target media server according to the current service content of the standby media server;
and informing the target media server to undertake the service task according to the current service mode of the standby media server.
7. The method of claim 6, wherein notifying the target media server of the serving task according to the current serving mode of the standby media server comprises:
if the current service mode of the standby media server is in a pause playing mode provided for the user terminal, a media control channel is established with the target media server, a pause time point is notified to the target media server through the media control channel, and the target media server is indicated to provide service for the user terminal from the pause time point when the user terminal selects to continue playing.
8. The method of claim 6, wherein notifying the target media server of the serving task according to the current serving mode of the standby media server comprises:
if the current service mode of the standby media server is in a playing mode provided for the user terminal, determining a switching time point in the current service content;
notifying the standby media server of the switching time point and instructing the standby media server to stop providing the service to the user terminal when the service reaches the switching time point,
and establishing a media control channel with the target media server, informing the target media server of the switching time point through the media control channel, and informing the target media server of providing service for the user terminal from the switching time point.
9. The method of any of claims 3 to 8, further comprising:
and when a service request sent by a user terminal is received, selecting the media server in the running state to provide service for the user terminal.
10. The method of any one of claims 1 to 8, further comprising:
and judging whether the current user load of the system is higher than a preset high load threshold value, and if so, readjusting the equipment which is adjusted to be in the standby state in the system to be in the running state.
11. The method of claim 10, further comprising:
and sending the identifier of the equipment readjusted to be in the running state to a content management server, and indicating the content management server to update the content in the equipment readjusted to be in the running state.
12. An apparatus scheduling apparatus, comprising:
a user load obtaining unit, configured to obtain current user load information of the IPTV system;
and the equipment standby control unit is used for judging whether the current user load of the IPTV system is lower than a preset low load threshold value or not according to the current user load information of the IPTV system obtained by the user load obtaining unit, and if so, adjusting part of equipment in the system to be in a standby state.
13. The apparatus according to claim 12, wherein the device standby control unit is further configured to migrate the service task on the device adjusted to the standby state to a target device in the system, and the target device is a device in the system that is in a running state.
14. The apparatus of claim 12, wherein the device comprises a media server, and wherein the device standby control unit comprises:
a standby device determination subunit configured to determine a part of the media servers in the system as standby media servers;
a judging subunit, configured to judge whether the standby media server is currently in a service state;
a service migration subunit, configured to migrate, when a determination result of the determination subunit is yes, a service task on the standby media server to a target device, where the target media server is a media server in an operating state in the system;
and the adjusting subunit is used for adjusting the standby media server to be in a standby state after the service migration subunit completes the service task migration.
15. The apparatus of claim 12, further comprising:
and the equipment standby result reporting unit is used for sending the identifier of the equipment adjusted to the standby state to the content management server and instructing the content management server to stop providing the content to the equipment adjusted to the standby state.
16. The apparatus of claim 14, wherein the service migration subunit comprises:
an information acquisition module, configured to acquire current service content and service mode of the standby media server;
the target equipment selection module is used for selecting a target media server according to the current service content of the standby media server;
and the migration module is used for notifying the target media server to undertake the service task according to the current service mode of the standby media server.
17. The apparatus of any one of claims 12 to 16, further comprising:
and the equipment activation control unit is used for readjusting the equipment which is adjusted to be in the standby state in the system to be in the running state if the current user load of the system is judged to be higher than a preset high load threshold value.
18. The apparatus of claim 17, further comprising:
and the equipment activation result reporting unit is used for sending the identifier of the equipment readjusted to be in the running state to a content management server and indicating the content management server to update the content in the equipment readjusted to be in the running state.
19. A device scheduling system, characterized in that the system comprises at least a device scheduling apparatus according to claims 12-18 and at least one media server.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010153063.2A CN102238423B (en) | 2010-04-21 | 2010-04-21 | A kind of equipment scheduling method, Apparatus and system |
PCT/CN2011/072707 WO2011131098A1 (en) | 2010-04-21 | 2011-04-13 | Method, equipment and system for dispatching devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010153063.2A CN102238423B (en) | 2010-04-21 | 2010-04-21 | A kind of equipment scheduling method, Apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102238423A true CN102238423A (en) | 2011-11-09 |
CN102238423B CN102238423B (en) | 2015-09-09 |
Family
ID=44833704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010153063.2A Active CN102238423B (en) | 2010-04-21 | 2010-04-21 | A kind of equipment scheduling method, Apparatus and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102238423B (en) |
WO (1) | WO2011131098A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144188A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Service dispatching method and system and local service dispatching server |
CN104219544A (en) * | 2013-05-29 | 2014-12-17 | 中国电信股份有限公司 | Method and system for dynamically scheduling IPTV service resources |
CN106331036A (en) * | 2015-06-30 | 2017-01-11 | 联想(北京)有限公司 | Server control method and device |
CN106972975A (en) * | 2017-04-27 | 2017-07-21 | 上海斐讯数据通信技术有限公司 | A kind of server management method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1947096A (en) * | 2004-05-08 | 2007-04-11 | 国际商业机器公司 | Dynamic migration of virtual machine computer programs |
CN101068339A (en) * | 2007-06-01 | 2007-11-07 | 华为技术有限公司 | Method, server and user end for realizing video frequency requested program broadcasting-like services |
CN101127632A (en) * | 2006-08-15 | 2008-02-20 | 腾讯科技(深圳)有限公司 | A method, system and redirector for server traffic control |
CN101662506A (en) * | 2009-10-14 | 2010-03-03 | 中兴通讯股份有限公司 | Load balancing method based on CPU kernel sharing and device thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252546B (en) * | 2008-04-15 | 2012-02-29 | 中国科学技术大学 | Method and apparatus for migrating medium stream online service |
-
2010
- 2010-04-21 CN CN201010153063.2A patent/CN102238423B/en active Active
-
2011
- 2011-04-13 WO PCT/CN2011/072707 patent/WO2011131098A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1947096A (en) * | 2004-05-08 | 2007-04-11 | 国际商业机器公司 | Dynamic migration of virtual machine computer programs |
CN101127632A (en) * | 2006-08-15 | 2008-02-20 | 腾讯科技(深圳)有限公司 | A method, system and redirector for server traffic control |
CN101068339A (en) * | 2007-06-01 | 2007-11-07 | 华为技术有限公司 | Method, server and user end for realizing video frequency requested program broadcasting-like services |
CN101662506A (en) * | 2009-10-14 | 2010-03-03 | 中兴通讯股份有限公司 | Load balancing method based on CPU kernel sharing and device thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144188A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Service dispatching method and system and local service dispatching server |
CN104219544A (en) * | 2013-05-29 | 2014-12-17 | 中国电信股份有限公司 | Method and system for dynamically scheduling IPTV service resources |
CN104219544B (en) * | 2013-05-29 | 2018-07-10 | 中国电信股份有限公司 | The dynamic dispatching method and system of IPTV service resource |
CN106331036A (en) * | 2015-06-30 | 2017-01-11 | 联想(北京)有限公司 | Server control method and device |
CN106331036B (en) * | 2015-06-30 | 2020-05-26 | 联想(北京)有限公司 | Server control method and device |
CN106972975A (en) * | 2017-04-27 | 2017-07-21 | 上海斐讯数据通信技术有限公司 | A kind of server management method and system |
Also Published As
Publication number | Publication date |
---|---|
CN102238423B (en) | 2015-09-09 |
WO2011131098A1 (en) | 2011-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108737405B (en) | Method, CCL server and system for guiding direct broadcasting video stream | |
CN104040992B (en) | There is the Media Stream of improved efficiency in mobile network | |
US9462343B2 (en) | System and method of delivering video content | |
EP2034731A1 (en) | Multicast service processing method and access equipment | |
CN101252496B (en) | Multimedia network transmission system, terminal and method | |
EP3092815B1 (en) | Method for improving the power consumption of a mobile device during video streaming | |
KR101415431B1 (en) | Method, device, and communication system for dormancy timer control | |
US20140241322A1 (en) | Method and apparatus for controlling connection switching according to the amount of data not transfered | |
CN112399190B (en) | Audio and video data acquisition method and device | |
CN109286854B (en) | WiFi network-based network streaming media jam detection and optimization system and method | |
US20120317232A1 (en) | Service processing method, method and service node for adjusting delivered content | |
US8145220B2 (en) | Radio communication system | |
CN101800731B (en) | Network transmission management server, network transmission management method and network transmission system | |
WO2015078658A1 (en) | Method for distributing available bandwidth of a network amongst ongoing traffic sessions run by devices of the network, corresponding device | |
CN102238423B (en) | A kind of equipment scheduling method, Apparatus and system | |
US9992140B2 (en) | Electronic apparatus, server, and control method of system | |
KR20160088654A (en) | Method and apparatus for selecting power preference information in wireless communication system | |
CN101494768A (en) | Method and apparatus for sending and downloading multimedia data, and multimedia order programme system | |
US8978073B2 (en) | Apparatus and method for providing mobile IPTV service in mobile communication system and broadcasting system | |
CN105933797B (en) | Programme televised live based on network protocol television opens broadcasting method and device | |
CN105208595A (en) | Method and base station for controlling data transmission | |
CN102148806A (en) | Time shift processing method and system, network equipment and terminal for network television | |
CN102916828A (en) | Network switching method and device | |
CN102647733B (en) | Dynamic adjusting method of PS (Packet Switch) permanent timer and RNC (Radio Network Controller) | |
CN114244843A (en) | Streaming media downloading method, electronic equipment and storage medium |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211220 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: xFusion Digital Technologies Co., Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |