CN108965372A - A kind of service scheduling method and device - Google Patents
A kind of service scheduling method and device Download PDFInfo
- Publication number
- CN108965372A CN108965372A CN201711387116.5A CN201711387116A CN108965372A CN 108965372 A CN108965372 A CN 108965372A CN 201711387116 A CN201711387116 A CN 201711387116A CN 108965372 A CN108965372 A CN 108965372A
- Authority
- CN
- China
- Prior art keywords
- service
- dispatch server
- virtual terminal
- terminal number
- resource information
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
Abstract
The embodiment of the invention provides a kind of service scheduling method and devices, are applied to view networking, which comprises the dispatch server receives the access request for destination service that the client is submitted;The dispatch server determines the resource information for being directed to the destination service according to the access request;The dispatch server determines the surplus resources for being directed to the destination service according to the resource information;The dispatch server determines the access interface information of the most destination service of surplus resources, and the access interface information is sent to the client.In the embodiment of the present invention, management is scheduled by the service that dispatch server provides recorded broadcast Platform Server.So that the accessible destination service with most surplus resources of client, so that reducing some services the probability being concentrated use in, enable resource reasonable distribution.
Description
Technical field
The present invention relates to view networking technology fields, fill more particularly to a kind of service scheduling method and a kind of service dispatch
It sets.
Background technique
It is the important milestone of network Development depending on networking, is the more advanced form of internet, is a real-time network, it can
It realizes the whole network HD video real-time Transmission that current internet cannot achieve, pushes numerous Internet applications to HD video,
High definition is face-to-face.It will finally realize that the world without distance, realizes that the distance of person to person in global range is the distance of a screen.
A large amount of service is provided based on the recorded broadcast platform depending on networking, for example, the service of including, order program service, media handling
Service, file service.But lack load-balancing mechanism currently based on the recorded broadcast platform of view networking, cause service that cannot rationally divide
Match.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of service scheduling method and a kind of corresponding service dispatch device to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of service scheduling methods, are applied to view networking, described
It include: recorded broadcast Platform Server, dispatch server and client depending on networking;The recorded broadcast Platform Server provides multiple clothes
Business;The dispatch server is stored with the resource information for the service that the recorded broadcast Platform Server provides, which comprises
The dispatch server receives the access request for destination service that the client is submitted;
The dispatch server determines the resource information for being directed to the destination service according to the access request;
The dispatch server determines the surplus resources for being directed to the destination service according to the resource information;
The dispatch server determines the access interface information of the most destination service of surplus resources, and the access is connect
Message breath is sent to the client.
Preferably, the service that the recorded broadcast Platform Server provides includes: the service based on IP address and port numbers;It is described
The resource information of service based on IP address and port numbers includes: maximum number of processes and has used number of processes;
The dispatch server determines the resource information step packet for being directed to the destination service according to the access request
It includes:
The dispatch server determines the maximum number of processes of each destination service and has used according to the access request
Number of processes.
Preferably, the dispatch server determines the surplus resources for being directed to the destination service according to the resource information
The step of include:
The dispatch server is according to the maximum number of processes of each destination service and has used number of processes, determines
Remaining number of processes.
Preferably, the dispatch server determines the access interface information of the most destination service of surplus resources, and by institute
Stating the step of access interface information is sent to the client includes:
The dispatch server determines the IP address and port numbers of the most destination service of the remaining number of processes, and will
The IP address and port numbers are sent to the client.
Preferably, the view networking further include: for providing multiple storage gateways of virtual terminal number;The recorded broadcast platform
The service that server provides includes: the service based on virtual terminal number;The resource information of the service based on virtual terminal number
It include: to store the maximum virtual terminal number mesh of gateway and used virtual terminal number mesh;
The dispatch server determines the resource information step packet for being directed to the destination service according to the access request
It includes:
The dispatch server determines the maximum virtual terminal number mesh of storage gateway and has made according to the access request
With virtual terminal number mesh.
Preferably, the dispatch server determines the surplus resources for being directed to the destination service according to the resource information
The step of include:
The dispatch server is according to the storage gateway maximum virtual terminal number mesh and has used virtual terminal number
Mesh determines residue virtual terminal number mesh.
Preferably, the dispatch server determines the access interface information of the most destination service of surplus resources, and by institute
Stating the step of access interface information is sent to the client includes:
The dispatch server determines the remaining virtual terminal number of the most storage gateway of remaining virtual terminal number mesh, and
The residue virtual terminal number is sent to the client.
Preferably, the service based on virtual terminal number includes: order program service, includes service, media handling service.
The embodiment of the invention also discloses a kind of service dispatch device, it is applied to view networking, it includes: recorded broadcast that the view, which is networked,
Platform Server, dispatch server and client;The recorded broadcast Platform Server provides multiple services;The dispatch server
It is stored with the resource information for the service that the recorded broadcast Platform Server provides, described device includes:
Positioned at the access request receiving module of the dispatch server, for receiving that the client submits for target
The access request of service;
Positioned at the resource information determining module of the dispatch server, for determining and being directed to institute according to the access request
State the resource information of destination service;
Positioned at the surplus resources determining module of the dispatch server, for determining and being directed to institute according to the resource information
State the surplus resources of destination service;
Positioned at the access interface information sending module of the dispatch server, for determining the most target clothes of surplus resources
The access interface information of business, and the access interface information is sent to the client.
Preferably, the service that the recorded broadcast Platform Server provides includes: the service based on IP address and port numbers;It is described
The resource information of service based on IP address and port numbers includes: maximum number of processes and has used number of processes;
The resource information determining module includes:
Progress information determines submodule, be used for the access request, determine each destination service maximum number of processes and
Number of processes is used.
Preferably, the surplus resources determining module includes:
Remaining process determines submodule, for according to the maximum number of processes of each destination service and having used process
Number determines residue number of processes.
Preferably, the access interface information sending module includes:
Access address sending submodule, for determining IP address and the end of the most destination service of the remaining number of processes
Slogan, and the IP address and port numbers are sent to the client.
Preferably, the view networking further include: for providing multiple storage gateways of virtual terminal number;The recorded broadcast platform
The service that server provides includes: the service based on virtual terminal number;The resource information of the service based on virtual terminal number
It include: to store the maximum virtual terminal number mesh of gateway and used virtual terminal number mesh;
The resource information determining module includes:
Virtual terminal number mesh determines submodule, for determining that the maximum of storage gateway is virtual according to the access request
Terminal number number and virtual terminal number mesh is used.
Preferably, the surplus resources determining module includes:
Remaining virtual terminal number mesh determines submodule, for according to the storage gateway maximum virtual terminal number mesh with
Virtual terminal number mesh has been used, has determined residue virtual terminal number mesh.
Preferably, the access interface information sending module includes:
Remaining virtual terminal sending submodule, for determining the surplus of the most storage gateway of remaining virtual terminal number mesh
Remaining virtual terminal number, and the residue virtual terminal number is sent to the client.
Preferably, the service based on virtual terminal number includes: order program service, includes service, media handling service.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, each service needs to access by access interface.Dispatch server management is by each
The access interface information of a service.Dispatch server can send the access interface of the destination service with most surplus resources
To client.Client can service accordingly according to the access interface message reference.In the embodiment of the present invention, taken by scheduling
The service that business device provides recorded broadcast Platform Server is scheduled management.So that client is accessible to have most surplus resources
Destination service enable resource reasonable distribution so that reducing some services the probability that is concentrated use in.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of service scheduling method embodiment 1 of the invention;
Fig. 6 is a kind of step flow chart of service scheduling method embodiment 2 of the invention;
Fig. 7 is a kind of step flow chart of service scheduling method embodiment 3 of the invention;
Fig. 8 is a kind of structural block diagram of service dispatch Installation practice of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or
National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions
It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown)
Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)
Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine
Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet;
If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
Referring to Fig. 5, a kind of step flow chart of service scheduling method embodiment 1 of the invention, this method application are shown
In view network, it is described view network include: recorded broadcast Platform Server, dispatch server and client;The recorded broadcast platform service
Device provides multiple services;The dispatch server is stored with the resource information for the service that the recorded broadcast Platform Server provides, institute
The method of stating may include steps of:
Step 501, the dispatch server receives the access request for destination service that the client is submitted;
In embodiments of the present invention, the service that invoking server provides recorded broadcast Platform Server is managed concentratedly, each clothes
Business and dispatch service are kept in touch by heartbeat.If some service heartbeat is disconnected, dispatch server can be clear by the service
It removes, other services do not influence normal use, until the service reregisters with dispatch server.
When client needs to request some service, the access request for the service is firstly generated, then by access request
It is sent to dispatch server, the service of client request is scheduled by dispatch server.
Client may include: view networked terminals and non-view networked terminals, regard networked terminals as that can support view networking sound
Frequently, the hardware device of the functions such as decoding video stream.Non- depending on networked terminals may include the equipment such as mobile terminal, PC.
Step 502, the dispatch server determines that the resource for the destination service is believed according to the access request
Breath;
In embodiments of the present invention, dispatch server can obtain the resource of the service of recorded broadcast Platform Server offer in real time
Information, and these information are stored.
Step 503, the dispatch server determines the remaining money for the destination service according to the resource information
Source;
Dispatch server can determine the surplus resources for being directed to destination service according to the resource information for being directed to destination service.
Step 504, the dispatch server determines the access interface information of the most destination service of surplus resources, and by institute
It states access interface information and is sent to the client.
In embodiments of the present invention, each service needs to access by access interface.Dispatch server management is by each
The access interface information of a service.Dispatch server can send the access interface of the destination service with most surplus resources
To client.Client can service accordingly according to the access interface message reference.
In the embodiment of the present invention, management is scheduled by the service that dispatch server provides recorded broadcast Platform Server.
So that the accessible destination service with most surplus resources of client, thus reduce some service be concentrated use in it is several
Rate, enables resource reasonable distribution.
Referring to Fig. 6, a kind of step flow chart of service scheduling method embodiment 2 of the invention, this method application are shown
In view network, it is described view network include: recorded broadcast Platform Server, dispatch server and client;The recorded broadcast platform service
Device provides multiple services, including the service based on IP address and port numbers;The dispatch server is stored with the recorded broadcast platform
The resource information for the service that server provides, the resource information of the service based on IP address and port numbers include: it is maximum into
Number of passes mesh and number of processes is used, the method may include following steps:
Step 601, the dispatch server receives the access request for destination service that the client is submitted;
In embodiments of the present invention, recorded broadcast Platform Server is provided with the service based on IP address and port numbers.These clothes
Business is communicated using Transmission Control Protocol, if must be known by the IP address of the service to the communication for service and be somebody's turn to do
The port numbers of service.
Step 602, the dispatch server determines the maximum number of processes of each destination service according to the access request
Number of processes is used;
The resource of these services based on IP address and port numbers is process.Dispatch server management has these services most
Big number of processes and number of processes is used.
Step 603, the dispatch server according to the maximum number of processes of each destination service and has used process
Number determines residue number of processes;
For example, current dispatch server has managed two order program services, taken then dispatch server is received for program request
When the access request of business, dispatch service can determine whether which remaining number of processes is more in the two order program services, then will be remaining
The most order program service of number of processes distributes to client.
Step 604, the dispatch server determines IP address and the end of the most destination service of the remaining number of processes
Slogan, and the IP address and port numbers are sent to the client.
The IP address of the most destination service of remaining number of processes and port numbers are sent to client by dispatch server, visitor
Family end can access corresponding destination service according to the IP address and port numbers.
Referring to Fig. 7, a kind of step flow chart of service scheduling method embodiment 3 of the invention, this method application are shown
It networks in view, it includes: recorded broadcast Platform Server that the view, which is networked, dispatch server, client, and for providing virtual terminal
Number multiple storage gateways;The recorded broadcast Platform Server provides multiple services, including the service based on virtual terminal number;It is described
Dispatch server is stored with the resource information for the service that the recorded broadcast Platform Server provides, the clothes based on virtual terminal number
The resource information of business includes: to store the maximum virtual terminal number mesh of gateway and used virtual terminal number mesh;The method
It may include steps of:
Step 701, the dispatch server receives the access request for destination service that the client is submitted;
In embodiments of the present invention, recorded broadcast Platform Server is provided with the service based on virtual terminal number.
Each equipment corresponds to a MAC Address and terminal number in depending on networking, and in order to which recorded broadcast platform exists
In the case where being not take up actual physical equipment, interconnection is realized by fictionalizing some addresses Mac and its corresponding terminal number
The protocol conversion of data between net and view networking.
In embodiments of the present invention, the service based on virtual terminal number may include: order program service, the service of including,
Media handling service.
Step 702, the dispatch server determines the maximum virtual terminal number of storage gateway according to the access request
Mesh and virtual terminal number mesh is used;
Each storage gateway is equipped with multiple virtual terminals number, and number is maximum virtual terminal number mesh.Storage
After gateways and starting, virtual terminal number can be registered in dispatch server automatically, such dispatch server will know that the storage
Which virtual terminal number gateway has.
Each virtual-number has a state value, is occupied state or idle state for marking virtual terminal number.
Dispatch server can determine whether virtual terminal number is used according to the state value.
Step 703, the dispatch server according to the storage gateway maximum virtual terminal number mesh and has used virtual
Terminal number number determines residue virtual terminal number mesh;
For example, the maximum virtual terminal number mesh of storage gateway 1 is 5, virtual terminal number mesh position 2 is used, then it is surplus
Remaining virtual terminal number mesh is 3.The maximum virtual terminal number mesh of storage gateway 2 has used virtual terminal number mesh position 4 for 6,
Then its remaining virtual terminal number mesh is 2.
Step 704, the dispatch server determines that the residue of the most storage gateway of remaining virtual terminal number mesh is virtual
Terminal number, and the residue virtual terminal number is sent to the client.
Dispatch server sends any remaining virtual terminal number of the most storage gateway of remaining virtual terminal number mesh
To client, client can be using the corresponding service of the virtual terminal number access.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 8, a kind of structural block diagram of service dispatch Installation practice of the invention is shown, which is applied to view
Networking, it is described view network include: recorded broadcast Platform Server, dispatch server and client;The recorded broadcast Platform Server mentions
For multiple services;The dispatch server is stored with the resource information for the service that the recorded broadcast Platform Server provides, the dress
It sets and can specifically include following module:
Positioned at the access request receiving module 801 of the dispatch server, for receiving being directed to for the client submission
The access request of destination service;
Positioned at the resource information determining module 802 of the dispatch server, for according to the access request, determination to be directed to
The resource information of the destination service;
Positioned at the surplus resources determining module 803 of the dispatch server, for according to the resource information, determination to be directed to
The surplus resources of the destination service;
Positioned at the access interface information sending module 804 of the dispatch server, for determining the most mesh of surplus resources
The access interface information of service is marked, and the access interface information is sent to the client.
In embodiments of the present invention, the service that the recorded broadcast Platform Server provides includes: based on IP address and port numbers
Service;The resource information of the service based on IP address and port numbers includes: maximum number of processes and has used process number
Mesh;
The resource information determining module 802 may include:
Progress information determines submodule, be used for the access request, determine each destination service maximum number of processes and
Number of processes is used.
In embodiments of the present invention, the surplus resources determining module 803 may include:
Remaining process determines submodule, for according to the maximum number of processes of each destination service and having used process
Number determines residue number of processes;
In embodiments of the present invention, the access interface information sending module 804 may include:
Access address sending submodule, for determining IP address and the end of the most destination service of the remaining number of processes
Slogan, and the IP address and port numbers are sent to the client.
In embodiments of the present invention, the view networking further include: for providing multiple storage gateways of virtual terminal number;Institute
The service for stating the offer of recorded broadcast Platform Server includes: the service based on virtual terminal number;The service based on virtual terminal number
Resource information include: store gateway maximum virtual terminal number mesh and used virtual terminal number mesh;
The resource information determining module 802 may include:
Virtual terminal number mesh determines submodule, for determining that the maximum of storage gateway is virtual according to the access request
Terminal number number and virtual terminal number mesh is used.
In embodiments of the present invention, the surplus resources determining module 803 may include:
Remaining virtual terminal number mesh determines submodule, for according to the storage gateway maximum virtual terminal number mesh with
Virtual terminal number mesh has been used, has determined residue virtual terminal number mesh.
In embodiments of the present invention, the access interface information sending module 804 may include:
Remaining virtual terminal sending submodule, for determining the surplus of the most storage gateway of remaining virtual terminal number mesh
Remaining virtual terminal number, and the residue virtual terminal number is sent to the client.
In embodiments of the present invention, the service based on virtual terminal number includes: order program service, includes service, media
Processing service.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
The embodiment of the invention also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors
When, so that described device executes method described in the embodiment of the present invention.
The embodiment of the invention also provides one or more machine readable medias, are stored thereon with instruction, when by one or
When multiple processors execute, so that device executes method described in the embodiment of the present invention.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of service scheduling method provided by the present invention and a kind of service dispatch device, detailed Jie has been carried out
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (10)
1. a kind of service scheduling method, which is characterized in that be applied to view networking, it is described view network include: recorded broadcast Platform Server,
Dispatch server and client;The recorded broadcast Platform Server provides multiple services;The dispatch server is stored with described
The resource information for the service that recorded broadcast Platform Server provides, which comprises
The dispatch server receives the access request for destination service that the client is submitted;
The dispatch server determines the resource information for being directed to the destination service according to the access request;
The dispatch server determines the surplus resources for being directed to the destination service according to the resource information;
The dispatch server determines the access interface information of the most destination service of surplus resources, and the access interface is believed
Breath is sent to the client.
2. the method according to claim 1, wherein the service that the recorded broadcast Platform Server provides includes: base
In the service of IP address and port numbers;The resource information of the service based on IP address and port numbers includes: maximum process number
Mesh and number of processes is used;
The dispatch server determines that the resource information step for the destination service includes: according to the access request
The dispatch server determines the maximum number of processes of each destination service and has used process according to the access request
Number.
3. according to the method described in claim 2, it is characterized in that, the dispatch server is determined according to the resource information
For the destination service surplus resources the step of include:
The dispatch server is according to the maximum number of processes of each destination service and has used number of processes, determines remaining
Number of processes.
4. according to the method described in claim 3, it is characterized in that, the dispatch server determines the most target of surplus resources
The access interface information of service, and the step of access interface information is sent to the client includes:
The dispatch server determines the IP address and port numbers of the most destination service of the remaining number of processes, and will be described
IP address and port numbers are sent to the client.
5. the method according to claim 1, wherein the view is networked further include: for providing virtual terminal number
Multiple storage gateways;The service that the recorded broadcast Platform Server provides includes: the service based on virtual terminal number;It is described to be based on
The resource information of the service of virtual terminal number includes: to store the maximum virtual terminal number mesh of gateway and used virtual terminal number
Number;
The dispatch server determines that the resource information step for the destination service includes: according to the access request
The dispatch server determines the maximum virtual terminal number mesh of storage gateway and has used void according to the access request
Quasi- terminal number number.
6. according to the method described in claim 5, it is characterized in that, the dispatch server is determined according to the resource information
For the destination service surplus resources the step of include:
The dispatch server is according to the storage gateway maximum virtual terminal number mesh and has used virtual terminal number mesh, really
Fixed residue virtual terminal number mesh.
7. according to the method described in claim 6, it is characterized in that, the dispatch server determines the most target of surplus resources
The access interface information of service, and the step of access interface information is sent to the client includes:
The dispatch server determines the remaining virtual terminal number of the most storage gateway of remaining virtual terminal number mesh, and should
Remaining virtual terminal number is sent to the client.
8. according to method described in claim 5 or 6 or 7, which is characterized in that the service based on virtual terminal number includes:
Order program service includes service, media handling service.
9. a kind of service dispatch device, which is characterized in that be applied to view networking, it is described view network include: recorded broadcast Platform Server,
Dispatch server and client;The recorded broadcast Platform Server provides multiple services;The dispatch server is stored with described
The resource information for the service that recorded broadcast Platform Server provides, described device include:
Positioned at the access request receiving module of the dispatch server, for receiving that the client submits for destination service
Access request;
Positioned at the resource information determining module of the dispatch server, for determining and being directed to the mesh according to the access request
Mark the resource information of service;
Positioned at the surplus resources determining module of the dispatch server, for determining and being directed to the mesh according to the resource information
Mark the surplus resources of service;
Positioned at the access interface information sending module of the dispatch server, for determining the most destination service of surplus resources
Access interface information, and the access interface information is sent to the client.
10. device according to claim 9, which is characterized in that the service that the recorded broadcast Platform Server provides includes: base
In the service of IP address and port numbers;The resource information of the service based on IP address and port numbers includes: maximum process number
Mesh and number of processes is used;
The resource information determining module includes:
Progress information determines submodule, is used for the access request, determines the maximum number of processes of each destination service and made
Use number of processes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711387116.5A CN108965372A (en) | 2017-12-20 | 2017-12-20 | A kind of service scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711387116.5A CN108965372A (en) | 2017-12-20 | 2017-12-20 | A kind of service scheduling method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108965372A true CN108965372A (en) | 2018-12-07 |
Family
ID=64495374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711387116.5A Pending CN108965372A (en) | 2017-12-20 | 2017-12-20 | A kind of service scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965372A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802997A (en) * | 2018-12-20 | 2019-05-24 | 华为技术服务有限公司 | A kind of selection method and its relevant device of node device |
CN109862131A (en) * | 2019-02-20 | 2019-06-07 | 北京奇艺世纪科技有限公司 | Distribution method, device and the computer readable storage medium of server access address |
CN110012065A (en) * | 2019-02-25 | 2019-07-12 | 贵州格物数据有限公司 | A kind of scheduling of resource platform and method based on virtual technology |
CN110049281A (en) * | 2019-03-15 | 2019-07-23 | 视联动力信息技术股份有限公司 | Method for processing video frequency and device |
CN110049282A (en) * | 2019-03-15 | 2019-07-23 | 视联动力信息技术股份有限公司 | Method for processing video frequency and device |
CN110120937A (en) * | 2019-03-25 | 2019-08-13 | 视联动力信息技术股份有限公司 | Resource acquiring method, system, equipment and computer readable storage medium |
CN110139059A (en) * | 2019-04-01 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind of distribution method and device regarding networked resources |
CN110196842A (en) * | 2019-04-26 | 2019-09-03 | 视联动力信息技术股份有限公司 | File memory method, management method, device, server and storage medium |
CN110267110A (en) * | 2019-06-20 | 2019-09-20 | 视联动力信息技术股份有限公司 | A kind of concurrent program request processing method and system based on view networking |
CN111092890A (en) * | 2019-12-19 | 2020-05-01 | 视联动力信息技术股份有限公司 | Method, device, electronic equipment and medium for sharing monitoring on-demand information load |
CN111193767A (en) * | 2019-11-20 | 2020-05-22 | 视联动力信息技术股份有限公司 | Request data sending method and device and clustered server system |
CN113206807A (en) * | 2020-01-31 | 2021-08-03 | 伊姆西Ip控股有限责任公司 | Method for information processing, electronic device, and computer storage medium |
CN114268800A (en) * | 2020-09-14 | 2022-04-01 | 腾讯科技(深圳)有限公司 | Live broadcast resource scheduling method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483601A (en) * | 2009-02-13 | 2009-07-15 | 杭州华三通信技术有限公司 | Scheduling method and apparatus based on service priority |
CN103297499A (en) * | 2013-04-19 | 2013-09-11 | 无锡成电科大科技发展有限公司 | Scheduling method and system based on cloud platform |
CN104852934A (en) * | 2014-02-13 | 2015-08-19 | 阿里巴巴集团控股有限公司 | Method for realizing flow distribution based on front-end scheduling, device and system thereof |
CN105959354A (en) * | 2016-04-25 | 2016-09-21 | 乐视控股(北京)有限公司 | Load scheduling method and load scheduling system of streaming media service |
CN105991478A (en) * | 2015-02-05 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Server resource distribution method and system |
US20160321340A1 (en) * | 2015-01-30 | 2016-11-03 | Dropbox, Inc. | Storage Constrained Synchronization of Shared Content Items |
CN106303360A (en) * | 2015-06-10 | 2017-01-04 | 中兴通讯股份有限公司 | Terminal meeting load-balancing method, Apparatus and system |
CN107124453A (en) * | 2016-11-30 | 2017-09-01 | 西安大唐电信有限公司 | Platform Interworking GateWay stacks the SiteServer LBS and video call method of deployment |
-
2017
- 2017-12-20 CN CN201711387116.5A patent/CN108965372A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483601A (en) * | 2009-02-13 | 2009-07-15 | 杭州华三通信技术有限公司 | Scheduling method and apparatus based on service priority |
CN103297499A (en) * | 2013-04-19 | 2013-09-11 | 无锡成电科大科技发展有限公司 | Scheduling method and system based on cloud platform |
CN104852934A (en) * | 2014-02-13 | 2015-08-19 | 阿里巴巴集团控股有限公司 | Method for realizing flow distribution based on front-end scheduling, device and system thereof |
US20160321340A1 (en) * | 2015-01-30 | 2016-11-03 | Dropbox, Inc. | Storage Constrained Synchronization of Shared Content Items |
CN105991478A (en) * | 2015-02-05 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Server resource distribution method and system |
CN106303360A (en) * | 2015-06-10 | 2017-01-04 | 中兴通讯股份有限公司 | Terminal meeting load-balancing method, Apparatus and system |
CN105959354A (en) * | 2016-04-25 | 2016-09-21 | 乐视控股(北京)有限公司 | Load scheduling method and load scheduling system of streaming media service |
CN107124453A (en) * | 2016-11-30 | 2017-09-01 | 西安大唐电信有限公司 | Platform Interworking GateWay stacks the SiteServer LBS and video call method of deployment |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802997A (en) * | 2018-12-20 | 2019-05-24 | 华为技术服务有限公司 | A kind of selection method and its relevant device of node device |
CN109862131A (en) * | 2019-02-20 | 2019-06-07 | 北京奇艺世纪科技有限公司 | Distribution method, device and the computer readable storage medium of server access address |
CN109862131B (en) * | 2019-02-20 | 2022-03-04 | 北京奇艺世纪科技有限公司 | Server access address allocation method and device and computer readable storage medium |
CN110012065A (en) * | 2019-02-25 | 2019-07-12 | 贵州格物数据有限公司 | A kind of scheduling of resource platform and method based on virtual technology |
CN110049281A (en) * | 2019-03-15 | 2019-07-23 | 视联动力信息技术股份有限公司 | Method for processing video frequency and device |
CN110049282A (en) * | 2019-03-15 | 2019-07-23 | 视联动力信息技术股份有限公司 | Method for processing video frequency and device |
CN110120937B (en) * | 2019-03-25 | 2021-11-16 | 视联动力信息技术股份有限公司 | Resource acquisition method, system, device and computer readable storage medium |
CN110120937A (en) * | 2019-03-25 | 2019-08-13 | 视联动力信息技术股份有限公司 | Resource acquiring method, system, equipment and computer readable storage medium |
CN110139059A (en) * | 2019-04-01 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind of distribution method and device regarding networked resources |
CN110196842A (en) * | 2019-04-26 | 2019-09-03 | 视联动力信息技术股份有限公司 | File memory method, management method, device, server and storage medium |
CN110267110A (en) * | 2019-06-20 | 2019-09-20 | 视联动力信息技术股份有限公司 | A kind of concurrent program request processing method and system based on view networking |
CN111193767A (en) * | 2019-11-20 | 2020-05-22 | 视联动力信息技术股份有限公司 | Request data sending method and device and clustered server system |
CN111193767B (en) * | 2019-11-20 | 2022-07-12 | 视联动力信息技术股份有限公司 | Request data sending method and device and clustered server system |
CN111092890A (en) * | 2019-12-19 | 2020-05-01 | 视联动力信息技术股份有限公司 | Method, device, electronic equipment and medium for sharing monitoring on-demand information load |
CN113206807A (en) * | 2020-01-31 | 2021-08-03 | 伊姆西Ip控股有限责任公司 | Method for information processing, electronic device, and computer storage medium |
CN113206807B (en) * | 2020-01-31 | 2022-12-09 | 伊姆西Ip控股有限责任公司 | Method for information processing, electronic device, and computer storage medium |
CN114268800A (en) * | 2020-09-14 | 2022-04-01 | 腾讯科技(深圳)有限公司 | Live broadcast resource scheduling method, device, equipment and storage medium |
CN114268800B (en) * | 2020-09-14 | 2023-06-16 | 腾讯科技(深圳)有限公司 | Live broadcast resource scheduling method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108965372A (en) | A kind of service scheduling method and device | |
CN108881933B (en) | A kind of live streaming treating method and apparatus of view networking | |
CN108965912B (en) | A kind of method, client and the server of video data processing | |
CN109672856A (en) | Resource synchronization method and device | |
CN108234190B (en) | A kind of management method and system regarding networked devices | |
CN110475102A (en) | A kind of monitoring data processing method and system based on view networking | |
CN110392126A (en) | A kind of communication means and device | |
CN109996086A (en) | A kind of view networking service method for inquiring status and device | |
CN109617956A (en) | A kind of data processing method and device | |
CN108881141A (en) | A kind of data processing method and device based on view networking | |
CN110190973A (en) | A kind of presence detection method and device | |
CN107888938B (en) | A kind of network video playback method and its device | |
CN110225083A (en) | Data push method and device based on view networking | |
CN110062195A (en) | A kind of video conference cut-in method and system | |
CN109284265A (en) | A kind of date storage method and system | |
CN108965782A (en) | A kind of meeting treating method and apparatus | |
CN109151061A (en) | A kind of date storage method and device | |
CN109347930A (en) | A kind of task processing method and device | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage | |
CN108646956A (en) | A kind of data processing method and device regarding networking | |
CN110134892A (en) | A kind of loading method and system monitoring the Resources list | |
CN110263030A (en) | Data capture method and device based on view networking | |
CN109979571A (en) | A kind of pathological picture loading method and device | |
CN109922297A (en) | Call method and device | |
CN108574655A (en) | A kind of meeting prison broadcasting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |
|
RJ01 | Rejection of invention patent application after publication |