CN110120937A - Resource acquiring method, system, equipment and computer readable storage medium - Google Patents

Resource acquiring method, system, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110120937A
CN110120937A CN201910229609.9A CN201910229609A CN110120937A CN 110120937 A CN110120937 A CN 110120937A CN 201910229609 A CN201910229609 A CN 201910229609A CN 110120937 A CN110120937 A CN 110120937A
Authority
CN
China
Prior art keywords
resource
server
proxy server
subscription
resource pool
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
Application number
CN201910229609.9A
Other languages
Chinese (zh)
Other versions
CN110120937B (en
Inventor
周兴
周新海
方小帅
王艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910229609.9A priority Critical patent/CN110120937B/en
Publication of CN110120937A publication Critical patent/CN110120937A/en
Application granted granted Critical
Publication of CN110120937B publication Critical patent/CN110120937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0281Proxies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]

Abstract

The present invention provides a kind of resource acquiring method, system, equipment and computer readable storage medium.The described method includes: the resource pool proxy server is that each association turns server one Agent virtual termination number of setting;The resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent;The resource pool proxy server parses the resource subscription instruction, obtains the resource subscription and instructs corresponding target proxy virtual terminal number;The resource pool proxy server determines the practical virtual terminal number of the corresponding target of the target proxy virtual terminal number according to the corresponding relationship;The resource pool proxy server is based on the corresponding target association of the practical virtual terminal number of the target and turns server, obtains the resource subscription and instructs corresponding resource;The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the Subscriber.The safety that association turns server is promoted to a certain extent.

Description

Resource acquiring method, system, equipment and computer readable storage medium
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of resource acquiring method, system, equipment and computer Readable storage medium storing program for executing.
Background technique
Association, which turns server, usually can provide more view networked resources, e.g., monitor video etc., and therefore, resource subscription clothes Business device usually passes through association and turns the various view networked resources of server acquisition.
It is instructed etc. currently, resource subscription server sends resource subscription by turning server to different associations, with from correspondence Association turn to obtain corresponding view networked resources in server.
Inventor has found that above-mentioned prior art has the following disadvantages: that in the prior art, resource obtains in the course of the research Take mode poor safety performance.
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 resource acquiring method, system, equipment and the computer readable storage medium to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of resource acquiring method, the method is applied to view Networking, it is described view networking include: at least one resource subscription server, resource pool proxy server, at least one association turn service Device;The described method includes:
The resource pool proxy server is that each association turns server one Agent virtual termination number of setting;Each The association turns server with a practical virtual terminal number;The resource pool proxy server is stored with the Agent virtual The corresponding relationship of termination number and the practical virtual terminal number;
The resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent;The resource Subscribe to instruction, comprising: target proxy virtual terminal number;
The resource pool proxy server parses the resource subscription instruction, obtains the resource subscription and instructs corresponding mesh Mark Agent virtual termination number;
The resource pool proxy server determines that the target proxy virtual terminal number is corresponding according to the corresponding relationship The practical virtual terminal number of target;
The resource pool proxy server is based on the corresponding target association of the practical virtual terminal number of the target and turns server, It obtains the resource subscription and instructs corresponding resource;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the subscription service Device.
Optionally, the resource pool proxy server is based on the corresponding target association turn of the practical virtual terminal number of the target Server obtains the resource subscription and instructs corresponding resource, comprising:
The resource pool proxy server generates the resource subscription and corresponding resource is instructed to transfer instruction;The resource tune Instruction fetch, comprising: the practical virtual terminal number of target;
The resource is transferred instruction by the resource pool proxy server, is sent to the target association and is turned server;
The target association turns server to the resource pool proxy server, returns to the resource and transfers the corresponding money of instruction Source;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the subscription service Device, comprising:
The resource is transferred the corresponding resource of instruction by the resource pool proxy server, is forwarded to the subscription service Device.
Optionally, the resource pool proxy server is based on the corresponding target association turn of the practical virtual terminal number of the target Server obtains before the resource subscription instructs corresponding resource, further includes:
The resource pool proxy server subscribes to all associations and turns the corresponding resource of server, to obtain all institutes It states association and turns the corresponding resource of server;
The resource pool proxy server is based on the corresponding target association of the practical virtual terminal number of the target and turns server, It obtains the resource subscription and instructs corresponding resource, comprising:
The resource pool proxy server turns in the corresponding resource of server in all associations, and lookup obtains described Target association turns the corresponding resource of server;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the subscription service Device, comprising:
Target association is turned the corresponding resource of server by the resource pool proxy server, is forwarded to the subscription service Device.
Optionally, it after all associations of the resource pool proxy server subscription turn the corresponding resource of server, also wraps It includes:
The association turns server and sends resource updates instruction to institute's resource pool proxy server;
The resource pool proxy server is instructed based on the resource updates, and it is corresponding to turn server in all associations Resource in, update it is described association turn the corresponding resource of server.
Optionally, the resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent, Include:
The resource pool proxy server is based on view networking protocol, receives the resource that the resource subscription server is sent and orders Read instruction;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the subscription service Device, comprising:
The resource is transferred the corresponding resource of instruction by the resource pool proxy server, is based on the view networking protocol, It is forwarded to the Subscriber.
A kind of resource acquisition system is also provided according to the second aspect of the invention, and the system is applied to view networking, described It include: that at least one resource subscription server, resource pool proxy server, at least one association turn server depending on networking;The system System includes:
Agent virtual termination number setup module is that each association turns server for the resource pool proxy server One Agent virtual termination number is set;Each association turns server with a practical virtual terminal number;The resource Pond proxy server is stored with the corresponding relationship of the Agent virtual termination number Yu the practical virtual terminal number;
Resource subscription command reception module receives the resource subscription server hair for the resource pool proxy server The resource subscription instruction sent;The resource subscription instruction, comprising: target proxy virtual terminal number;
Target proxy virtual terminal number obtains module, parses the resource subscription for the resource pool proxy server Instruction obtains the resource subscription and instructs corresponding target proxy virtual terminal number;
The practical virtual terminal number determining module of target, for the resource pool proxy server according to the corresponding pass System, determines the practical virtual terminal number of the corresponding target of the target proxy virtual terminal number;
It is corresponding to be based on the practical virtual terminal number of the target for the resource pool proxy server for source obtaining module Target association turn server, obtain the resource subscription and instruct corresponding resource;
The resource subscription is instructed corresponding resource for the resource pool proxy server, turned by resource forwarding module It is sent to the Subscriber.
Optionally, the source obtaining module, comprising:
Resource transfers instruction generation unit, generates the resource subscription instruction for the resource pool proxy server and corresponds to Resource transfer instruction;The resource transfers instruction, comprising: the practical virtual terminal number of target;
Resource transfers instruction sending unit, and the resource is transferred instruction for the resource pool proxy server, sends To the target, association turns server;
Resource return unit, for the target, association turns server to the resource pool proxy server, returns to the money Transfer the corresponding resource of instruction in source;
The resource forwarding module, comprising:
The resource is transferred the corresponding money of instruction for the resource pool proxy server by the first retransmission unit of resource Source is forwarded to the Subscriber.
Optionally, the system also includes:
It is corresponding to turn server for all associations of resource pool proxy server subscription for all resource subscription modules Resource turns the corresponding resource of server to obtain all associations;
The source obtaining module, comprising:
Resource lookup unit turns the corresponding money of server in all associations for the resource pool proxy server In source, lookup obtains the target association and turns the corresponding resource of server;
The resource forwarding module, comprising:
Target association is turned the corresponding money of server for the resource pool proxy server by the second retransmission unit of resource Source is forwarded to the Subscriber.
Optionally, the system also includes:
Resource updates instruction sending module turns server for the association and sends resource more to institute's resource pool proxy server New command;
Resource updates module is instructed for the resource pool proxy server based on the resource updates, described all The association turns in the corresponding resource of server, updates the association and turns the corresponding resource of server.
Optionally, the resource subscription command reception module, comprising:
Resource subscription instruction receiving unit is based on view networking protocol for the resource pool proxy server, described in reception The resource subscription instruction that resource subscription server is sent;
The resource forwarding module, comprising:
The resource is transferred the corresponding money of instruction for the resource pool proxy server by resource forwarding third unit Source is based on the view networking protocol, is forwarded to the Subscriber.
A kind of equipment is also provided according to the third aspect of the invention we, comprising:
One or more processors;With
One or more computer readable storage mediums of instruction are stored thereon with, when by one or more of processors When execution, so that the equipment executes foregoing one or more resource acquiring methods.
One or more computer readable storage mediums are also provided according to the fourth aspect of the invention, are stored thereon with finger It enables, when executed by one or more processors, so that the processor executes foregoing one or more resource acquisitions Method.
The embodiment of the present invention includes following advantages: the method be applied to view networking, it is described view network include: at least one Resource subscription server, resource pool proxy server, at least one association turn server;The described method includes: the resource pool generation Reason server is that each association turns server one Agent virtual termination number of setting;Each association turns server with one A practical virtual terminal number;The resource pool proxy server is stored with the Agent virtual termination number and the practical void The corresponding relationship of quasi- termination number;The resource pool proxy server receives the resource subscription that the resource subscription server is sent Instruction;The resource subscription instruction, comprising: target proxy virtual terminal number;Described in the resource pool proxy server parsing Resource subscription instruction obtains the resource subscription and instructs corresponding target proxy virtual terminal number;The resource pool agency clothes Device be engaged according to the corresponding relationship, determines the practical virtual terminal number of the corresponding target of the target proxy virtual terminal number; The resource pool proxy server is assisted based on the corresponding target of the practical virtual terminal number of the target turns server, described in acquisition Resource subscription instructs corresponding resource;The resource subscription is instructed corresponding resource, forwarding by the resource pool proxy server To the Subscriber.Since the identity of resource subscription server is typically more complicated, in the prior art, resource subscription service Device turns server with association and is directly communicated, and can turn server to association and bring more insecurity factor.In the application, resource pool generation Reason server is that each association turns server one Agent virtual termination number of setting, and it is practical empty with one that each association turns server Quasi- termination number, resource pool proxy server are stored with Agent virtual termination number pass corresponding with practical virtual terminal number System, resource subscription server turn to be communicated between server by resource pool proxy server with association, that is, turn clothes with association Business device direct communication is resource pool proxy server, and resource pool proxy server turns the agency of server as each association, Security performance Relative resource Subscriber has a safety feature, and therefore, can promote the peace that association turns server to a certain extent Quan Xing.
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 structural schematic diagram of view networking of the embodiment of the present invention;
Fig. 6 is a kind of step flow chart of resource acquiring method of the invention;
Fig. 7 is a kind of step flow chart for obtaining the resource subscription and instructing corresponding resource of the invention;
Fig. 8 is the step flow chart of another resource acquiring method of the invention;
Fig. 9 is a kind of structural block diagram of resource acquisition system of the embodiment of the present invention;
Figure 10 is the structural block diagram of another resource acquisition system of the embodiment of the present 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 destination 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, if there is Bao Ze is according to the view of packet networking purpose 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.
2, networking data package definition is regarded
2.1 accessing network data package definition
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
It is a kind of structural schematic diagram of view networking of the embodiment of the present invention, this may include at least one depending on networking referring to Fig. 5 A resource subscription server 501, resource pool proxy server 502, at least one association turn server 503.Resource subscription server 501 quantity assists the quantity for turning server 503 to be not especially limited in embodiments of the present invention to this.
In embodiments of the present invention, as shown in figure 5, resource pool proxy server 502 turns server 503 as each association Agency, is communicated with resource subscription server 501.
In embodiments of the present invention, resource subscription server 501 can to turn server corresponding can to subscribe to each association Depending on the server etc. of networked resources.Such as, resource subscription server 501 can be streaming media server etc..
In embodiments of the present invention, resource subscription server 501, resource pool proxy server 502, association turn server 503 Between can be by being communicated depending on networking protocol or Internet protocol.In embodiments of the present invention, this is not especially limited.
It is a kind of step flow chart of resource acquiring method of the invention, referring to figure 5 and figure 6, this method can referring to Fig. 6 To be applied in view networking, this may include: at least one resource subscription server 501, resource pool proxy server depending on networking 502, at least one association turns server 503, and resource pool proxy server 502 is each agent for assisting and turning server 503.The party Method can specifically include step 601-606:
Step 601: the resource pool proxy server is that each association turns server one Agent virtual terminal of setting Number;Each association turns server with a practical virtual terminal number;The resource pool proxy server storage is State the corresponding relationship of Agent virtual termination number Yu the practical virtual terminal number.
In embodiments of the present invention, the most each assist of resource pool proxy server 502 turns the agency of server 503, can be with Turn server 503 for each association and an Agent virtual termination number is set.The Agent virtual termination number can be used in resource One association of unique identification turns server in pond proxy server 502.The Agent virtual termination number can be MAC Address etc..? In the embodiment of the present invention, this is not especially limited.
In embodiments of the present invention, resource may include: view networked resources.Such as, depending on audio and video resources of networking etc., the money Source can also include directory information, the institutional framework etc. of view networked resources.In embodiments of the present invention, this is not limited specifically It is fixed.
In embodiments of the present invention, each association turns server 503 and all has a practical virtual terminal number.This is practical empty Quasi- termination number can be used for the unique identification association and turn server.The practical virtual terminal number can be the assist server MAC Address etc..In embodiments of the present invention, this is not especially limited.
In embodiments of the present invention, resource pool proxy server 502 turns the agent of server 503, money as each association Source pond proxy server 502 is stored with each pair assisted and turn the Agent virtual termination number and practical virtual terminal number of server It should be related to, and then corresponding practical virtual terminal number pair accurately can easily be found by above-mentioned Agent virtual termination number The association answered turns server.
For example, referring to shown in Fig. 5, if resource pool proxy server 502 is the Agent virtual terminal that association turns the setting of server 1 Number are as follows: 11, if association turns the practical virtual terminal number that server 1 has are as follows: and 21, then, resource pool proxy server 502 can be with It is stored with association and turns the Agent virtual termination number 11 of server 1 and the corresponding relationship of practical virtual terminal number 21, and then pass through The corresponding relationship can quickly and accurately determine that the practical corresponding association of Agent virtual termination number 11 turns server 1.
Step 602: the resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent; The resource subscription instruction, comprising: target proxy virtual terminal number.
In embodiments of the present invention, resource subscription server 501 can be for subscription view networked resources or view networking money Source directory, the server for regarding networked resources structure etc..
In embodiments of the present invention, resource pool proxy server 502 can receive the money of the transmission of resource subscription server 501 Subscribe to instruction in source.Resource subscription instruction, may include: target proxy virtual terminal number.That is, resource subscription server 501 It is instructed by above-mentioned resource subscription, announcing resource pond proxy server 501, needs to subscribe to that association and turn the corresponding money of server Source.
For example, referring to Fig. 5, if resource pool proxy server 502 receives the resource subscription of the transmission of resource subscription server 1 Instruction, if the resource subscription instructs the Agent virtual termination number for including are as follows: 11, then Agent virtual termination number 11, as mesh Mark Agent virtual termination number.
In embodiments of the present invention, resource pool proxy server 502 can be connect based on view networking protocol or Internet protocol Receive the resource subscription instruction that resource subscription server 501 is sent.In embodiments of the present invention, this is not especially limited.
In embodiments of the present invention, optionally, the resource pool proxy server receives the resource subscription server hair The resource subscription sent instructs, and may include:
The resource pool proxy server is based on view networking protocol, receives the resource that the resource subscription server is sent and orders Read instruction.
Specifically, resource pool proxy server 502 can be based on view networking association since view networking has biggish bandwidth etc. View receives the resource subscription instruction that resource subscription server 501 is sent, and then resource pool proxy server 502 can be rapidly The resource subscription instruction that resource subscription server 501 is sent is received, and then promotes the efficiency of resource acquisition.
Step 603: the resource pool proxy server parses the resource subscription instruction, obtains the resource subscription instruction Corresponding target proxy virtual terminal number;
In embodiments of the present invention, resource pool proxy server 502 can parse above-mentioned resource subscription instruction, obtain the money Source, which is subscribed to, instructs corresponding target proxy virtual terminal number.
Specifically, resource pool proxy server 502 can parse above-mentioned resource subscription instruction based on default resolution rules, It obtains the resource subscription and instructs corresponding target proxy virtual terminal number.Above-mentioned default resolution rules can be instructed with the subscription Create-rule it is corresponding, then can quickly and easily be analyzed and acquired by the target proxy virtual terminal number.
Such as, during generating resource subscription instruction, resource subscription instruction can have relatively-stationary format, Such as, position of the target proxy virtual terminal number in resource subscription instruction can be relatively fixed, and then directly extracts this The information of relative position in resource subscription instruction, it can obtain the destination virtual termination number etc..For example, being directed to above-mentioned example Son, then parse resource subscription instruction, and the target proxy virtual terminal number of acquisition is are as follows: Agent virtual termination number 11.
Step 604: the resource pool proxy server determines the target proxy virtual terminal according to the corresponding relationship The practical virtual terminal number of the corresponding target of number.
In embodiments of the present invention, resource pool proxy server 502 determines above-mentioned target proxy according to above-mentioned corresponding relationship The practical virtual terminal number of the corresponding target of virtual terminal number.
For example, being directed to above-mentioned example, resource pool proxy server 502 determines above-mentioned target generation according to above-mentioned corresponding relationship The practical virtual terminal number of the corresponding target of virtual terminal number 11 is managed, can be practical virtual terminal number 21.
Step 605: the resource pool proxy server is based on the corresponding target association of the practical virtual terminal number of the target Turn server, obtains the resource subscription and instruct corresponding resource.
In embodiments of the present invention, resource pool proxy server 502 turns the agent of server as each association, can be with base In the practical virtual terminal number of above-mentioned target, corresponding target association turns server, obtains above-mentioned resource subscription and instructs corresponding money Source.
For example, being directed to above-mentioned example, then resource pool proxy server 502 turns the agent of server as each association, can To turn server 1 based on above-mentioned target practical virtual terminal number 21 corresponding target association, above-mentioned resource subscription instruction pair is obtained The resource answered.
In embodiments of the present invention, referring to shown in Fig. 7, Fig. 7 is a kind of acquisition of the invention resource subscription instruction pair The step flow chart for the resource answered, optionally, the resource pool proxy server are based on the practical virtual terminal number of the target Corresponding target association turns server, obtains the resource subscription and instructs corresponding resource, may include:
Sub-step A1: the resource pool proxy server generates the resource subscription and corresponding resource is instructed to transfer instruction; The resource transfers instruction, comprising: the practical virtual terminal number of target.
Sub-step A2: the resource is transferred instruction by the resource pool proxy server, is sent to the target association and is turned clothes Business device.
Sub-step A3: the target association turns server to the resource pool proxy server, returns to the resource and transfers finger Enable corresponding resource.
Corresponding resource is instructed to transfer instruction specifically, above-mentioned resource subscription can be generated in resource pool proxy server 502, The resource transfers instruction, may include: the practical virtual terminal number of above-mentioned target.Then, resource pool proxy server 502 can be with Above-mentioned resource is transferred into instruction, the corresponding target association of the practical virtual terminal number of above-mentioned target is sent to and turns server.By target Association turns server to resource pool proxy server 502, returns to above-mentioned resource and transfers the corresponding resource of instruction.
For example, being directed to above-mentioned example, resource pool proxy server 502 can be generated above-mentioned resource subscription and instruct corresponding money Instruction is transferred in source, which transfers instruction, may include: the practical virtual terminal number 21 of above-mentioned target.Then, resource pool is acted on behalf of Above-mentioned resource can be transferred instruction by server 502, be sent to above-mentioned target practical virtual terminal number 21 corresponding target association Turn server 1.Server 1 is turned to resource pool proxy server 502 from target association, above-mentioned resource is returned and transfers the corresponding money of instruction Source.
In embodiments of the present invention, resource pool server 502 receive resource subscription side transmission resource subscription instruction after, Turn to remove calling resource in server 503 from association in real time, can guarantee that the resource got is more real-time resource.
In embodiments of the present invention, resource pool proxy server 502 can transfer finger based on view networking protocol, above-mentioned resource It enables, is sent to target association and turns server.Target association, which turns server, can be based on view networking protocol to resource pool proxy server 502, it returns to resource and transfers the corresponding resource of instruction.Since view networking has biggish bandwidth, and then can be rapidly from target Association turns server and gets above-mentioned resource, and above-mentioned resource rapidly can be back to corresponding resource subscription server.
Step 606: the resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to described order Read server.
In embodiments of the present invention, above-mentioned resource subscription can be instructed corresponding resource by resource pool proxy server 502, It is forwarded to above-mentioned Subscriber.
For example, being directed to above-mentioned example, above-mentioned resource subscription can be instructed corresponding money by resource pool proxy server 502 Source is forwarded to above-mentioned Subscriber 1.
Resource pool proxy server 502 can be instructed above-mentioned resource subscription based on view networking protocol or Internet protocol Corresponding resource is forwarded to above-mentioned Subscriber 501.
In embodiments of the present invention, optionally, the resource pool proxy server instructs the resource subscription corresponding Resource is forwarded to the Subscriber, may include:
The resource is transferred the corresponding resource of instruction by the resource pool proxy server, is based on the view networking protocol, It is forwarded to the Subscriber.
Specifically, resource pool proxy server 502 can be based on view networking association since view networking has biggish bandwidth etc. Above-mentioned resource is transferred the corresponding resource of instruction, is forwarded to above-mentioned Subscriber 501, and then promote the effect of resource acquisition by view Rate.
In embodiments of the present invention, the resource subscription is instructed corresponding resource by the resource pool proxy server, is turned It is sent to the Subscriber, may include:
The resource is transferred the corresponding resource of instruction by the resource pool proxy server, is forwarded to the subscription service Device.
Specifically, it is that above-mentioned resource subscription instructs corresponding resource, resource that above-mentioned resource, which transfers the corresponding resource of instruction, Above-mentioned resource can be transferred the corresponding resource of instruction by pond proxy server 502, be forwarded to above-mentioned Subscriber.
In the prior art, resource subscription server 501 turns server 503 with association and is directly communicated, and can turn service to association Device 503 brings more insecurity factor.In particular, association, which turns the acquisition of server 503, there are a fairly large number of view networked resources, and assists and turn Server 503 usually has connection relationship, resource subscription server 501 with the multiple resource acquisition terminals for providing view networked resources Turn server with association directly to be communicated, server 503 and its corresponding resource and resource acquisition terminal etc. can be turned to association, brought More insecurity factor.In the application, resource pool proxy server 502 is that each association turns one agency's void of the setting of server 501 Quasi- termination number, each association turn server 502 with a practical virtual terminal number, and resource pool proxy server 502 stores There is the corresponding relationship of Agent virtual termination number Yu practical virtual terminal number, resource subscription server 501 and association turn server It is communicated between 503 by resource pool proxy server 503, that is, turn 503 direct communication of server with association is resource Pond proxy server 502, resource pool proxy server 502 turn the agency of server 503, resource pool agency service as each association 502 identity of device is single, and security performance Relative resource Subscriber 501 has a safety feature, therefore, can be to a certain extent Promote the safety that association turns server 503.
The embodiment of the present invention includes following advantages: the method be applied to view networking, it is described view network include: at least one Resource subscription server, resource pool proxy server, at least one association turn server;The described method includes: the resource pool generation Reason server is that each association turns server one Agent virtual termination number of setting;Each association turns server with one A practical virtual terminal number;The resource pool proxy server is stored with the Agent virtual termination number and the practical void The corresponding relationship of quasi- termination number;The resource pool proxy server receives the resource subscription that the resource subscription server is sent Instruction;The resource subscription instruction, comprising: target proxy virtual terminal number;Described in the resource pool proxy server parsing Resource subscription instruction obtains the resource subscription and instructs corresponding target proxy virtual terminal number;The resource pool agency clothes Device be engaged according to the corresponding relationship, determines the practical virtual terminal number of the corresponding target of the target proxy virtual terminal number; The resource pool proxy server is assisted based on the corresponding target of the practical virtual terminal number of the target turns server, described in acquisition Resource subscription instructs corresponding resource;The resource subscription is instructed corresponding resource, forwarding by the resource pool proxy server To the Subscriber.Since the identity of resource subscription server is typically more complicated, in the prior art, resource subscription service Device turns server with association and is directly communicated, and can turn server to association and bring more insecurity factor.In the application, resource pool generation Reason server is that each association turns server one Agent virtual termination number of setting, and it is practical empty with one that each association turns server Quasi- termination number, resource pool proxy server are stored with Agent virtual termination number pass corresponding with practical virtual terminal number System, resource subscription server turn to be communicated between server by resource pool proxy server with association, that is, turn clothes with association Business device direct communication is resource pool proxy server, and resource pool proxy server turns the agency of server as each association, Security performance Relative resource Subscriber has a safety feature, and therefore, can promote the peace that association turns server to a certain extent Quan Xing.
It is the step flow chart of another resource acquiring method of the invention, this method can be applied to above-mentioned referring to Fig. 8 Depending on about the associated description of view networking, being referred to above-mentioned related record and Fig. 5 etc. in networking, in order to avoid repeating, this Place repeats no more.It can specifically include step 801-807:
Step 801: the resource pool proxy server is that each association turns server one Agent virtual terminal of setting Number;Each association turns server with a practical virtual terminal number;The resource pool proxy server storage is State the corresponding relationship of Agent virtual termination number Yu the practical virtual terminal number.
Step 802: the resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent; The resource subscription instruction, comprising: target proxy virtual terminal number.
Step 803: the resource pool proxy server parses the resource subscription instruction, obtains the resource subscription instruction Corresponding target proxy virtual terminal number.
Step 804: the resource pool proxy server determines the target proxy virtual terminal according to the corresponding relationship The practical virtual terminal number of the corresponding target of number.
In embodiments of the present invention, above-mentioned steps 801-804 is referred to the related record of above-mentioned steps 601-604, is It avoids repeating, details are not described herein again.
Step 805: the resource pool proxy server subscribes to all associations and turns the corresponding resource of server, to obtain It states all associations and turns the corresponding resource of server.
In embodiments of the present invention, resource pool proxy server 502 can also serve as it is all association turn ordering for server 503 The side of readding subscribes to all associations and turns the corresponding resource of server 503, and then obtains all associations and turn the corresponding resource of server 503.
For example, referring to shown in Fig. 5, resource pool proxy server 502 can also serve as all associations and turn ordering for server 503 The side of readding, subscription association turn server 1 to association and turn the corresponding resource of server p, and then obtain all associations and turn the corresponding money of server 503 Source.
In embodiments of the present invention, optionally, all associations of the resource pool proxy server subscription turn server pair It can also include: that the association turns server to the transmission resource updates instruction of institute's resource pool proxy server after the resource answered;Institute It states resource pool proxy server to instruct based on the resource updates, turn in the corresponding resource of server in all associations, It updates the association and turns the corresponding resource of server.
Specifically, association turns the resource in server 503 in the case where changing, in order to guarantee resource pool agency service Resource and association in device 502 turn the synchronism of resource in server 503, and association turns server 503 can be to resource pool agency service Device 502 sends resource updates instruction, and resource updates instruction may include: the resource etc. for needing to update, resource pool agency service Device 502 can be instructed based on above-mentioned resource updates, turn to update above-mentioned association in the corresponding resource of server 503 in above-mentioned all associations Turn the corresponding resource of server, and then the real-time to guarantee resource in resource pool server 502, and then can be subscription service Device provides more real-time resource.
For example, referring to Fig. 5, the subscription acquisition of resource pool proxy server 502 association turns server 1 to association and turns server p correspondence Resource.If the resource that turns in server 1 of association is updated, in order to guarantee in resource pool proxy server 502 resource with Association turns the synchronism of resource in server 1, and association turns server 1 can refer to the transmission resource updates of resource pool proxy server 502 It enables, resource updates instruction can be with are as follows: by the resource updates on March 10th, 2019 be resource packet A, then, resource pool agency service Device 502 can be instructed based on above-mentioned resource updates, turn in the corresponding resource of server 503 in above-mentioned all associations, association is turned service The resource updates in the 10 days March in 2019 of device 1 are resource packet A, and then to guarantee the real-time of resource in resource pool server 502 Property, and then more real-time resource can be provided for Subscriber.
Step 806: the resource pool proxy server turns in the corresponding resource of server in all associations, searches It obtains the target association and turns the corresponding resource of server.
In embodiments of the present invention, it is corresponding can to turn server 503 in above-mentioned all associations for resource pool proxy server 502 In resource, according to the practical virtual terminal number of above-mentioned target, lookup obtains above-mentioned target association and turns the corresponding resource of server.
For example, being directed to above-mentioned example, resource pool proxy server subscribes to all associations of acquisition and turns the corresponding money of server 503 Source.Then according to the practical virtual terminal number 21 of target, turn to search in the corresponding resource of server 503 in above-mentioned all associations To target, association turns the corresponding resource of server 1.
In embodiments of the present invention, resource pool server 502 is subscribed in advance gets all moneys assisted and turn server 503 Source, and then after receiving resource subscription instruction, it can not have to that association is gone to turn to remove calling resource in server 503 again, and then save Step, and then can be promoted to resource subscription server 501 and return to the efficiency that resource subscription instructs corresponding resource.
In embodiments of the present invention, if resource has update, resource pool proxy server 502 equally can be above-mentioned Updated all associations turn in the corresponding resource of server 503, and according to the practical virtual terminal number of above-mentioned target, lookup is obtained It states target association and turns the corresponding resource of server, and then provide real-time performance good resource for Subscriber 501.
Step 807: target association is turned the corresponding resource of server by the resource pool proxy server, is forwarded to described Subscriber.
In embodiments of the present invention, above-mentioned target association turns the corresponding resource of server, and as resource subscription instruction is corresponding Resource, resource pool proxy server 502, which can assist above-mentioned target, turns the corresponding resource of server, is forwarded to above-mentioned subscription service Device.
For example, being directed to above-mentioned example, resource pool proxy server 502 turns the corresponding money of server 503 in above-mentioned all associations In source, lookup obtains target association and turns the corresponding resource of server 1, and target association is turned the corresponding resource forwarding of server 1 to subscription Server 1.
In embodiments of the present invention, the method be applied to view networking, it is described view network include: at least one resource subscription Server, resource pool proxy server, at least one association turn server;The described method includes: the resource pool proxy server Turn server for each association and one Agent virtual termination number is set;It is practical empty with one that each association turns server Quasi- termination number;The resource pool proxy server is stored with the Agent virtual termination number and the practical virtual terminal number The corresponding relationship of code;The resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent;Institute State resource subscription instruction, comprising: target proxy virtual terminal number;The resource pool proxy server parses the resource subscription Instruction obtains the resource subscription and instructs corresponding target proxy virtual terminal number;The resource pool proxy server according to The corresponding relationship determines the practical virtual terminal number of the corresponding target of the target proxy virtual terminal number;The resource Pond proxy server is based on the corresponding target association of the practical virtual terminal number of the target and turns server, obtains the resource subscription Instruct corresponding resource;The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to described order Read server.Since the identity of resource subscription server is typically more complicated, in the prior art, resource subscription server and association turn Server is directly communicated, and can be turned server to association and be brought more insecurity factor.In the application, resource pool proxy server Turn server for each association and one Agent virtual termination number is set, each association turns server with a practical virtual terminal number Code, resource pool proxy server are stored with the corresponding relationship of Agent virtual termination number Yu practical virtual terminal number, and resource is ordered It reads server and turns to be communicated between server by resource pool proxy server with association, that is, it is direct to turn server with association Communication is resource pool proxy server, and resource pool proxy server turns the agency of server, security performance as each association Relative resource Subscriber has a safety feature, and therefore, can promote the safety that association turns server to a certain extent.
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, certain steps can use other sequences or carry out 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, while can be cross-referenced between each embodiment.
It is a kind of structural block diagram of resource acquisition system of the embodiment of the present invention, the system 900 is applied to referring to Fig. 9 Depending on networking, it is described view networking include: at least one resource subscription server, resource pool proxy server, at least one association turn take Business device;For the description of view networking, it is referred to the above-mentioned related record about view networking, in order to avoid repeating, herein It repeats no more.The system may include:
Agent virtual termination number setup module 901 is that each association turns clothes for the resource pool proxy server An Agent virtual termination number is arranged in business device;Each association turns server with a practical virtual terminal number;It is described Resource pool proxy server is stored with the corresponding relationship of the Agent virtual termination number Yu the practical virtual terminal number;
Resource subscription command reception module 902 receives the resource subscription service for the resource pool proxy server The resource subscription instruction that device is sent;The resource subscription instruction, comprising: target proxy virtual terminal number;
Target proxy virtual terminal number obtains module 903, parses the resource for the resource pool proxy server Instruction is subscribed to, the resource subscription is obtained and instructs corresponding target proxy virtual terminal number;
The practical virtual terminal number determining module 904 of target, for the resource pool proxy server according to the correspondence Relationship determines the practical virtual terminal number of the corresponding target of the target proxy virtual terminal number;
Source obtaining module 906 is based on the practical virtual terminal number of the target for the resource pool proxy server Corresponding target association turns server, obtains the resource subscription and instructs corresponding resource;
The resource subscription is instructed corresponding resource for the resource pool proxy server by resource forwarding module 907, It is forwarded to the Subscriber.
Optionally, on the basis of above-mentioned Fig. 9, referring to Fig.1 shown in 0, the source obtaining module 906 may include:
Resource transfers instruction generation unit, generates the resource subscription instruction for the resource pool proxy server and corresponds to Resource transfer instruction;The resource transfers instruction, comprising: the practical virtual terminal number of target;
Resource transfers instruction sending unit, and the resource is transferred instruction for the resource pool proxy server, sends To the target, association turns server;
Resource return unit, for the target, association turns server to the resource pool proxy server, returns to the money Transfer the corresponding resource of instruction in source;
The resource forwarding module 907 may include:
The resource is transferred the corresponding money of instruction for the resource pool proxy server by the first retransmission unit of resource Source is forwarded to the Subscriber.
Optionally, the system can also include:
All resource subscription modules 905 subscribe to all associations for the resource pool proxy server and turn server pair The resource answered turns the corresponding resource of server to obtain all associations;
The source obtaining module 906 may include:
Resource lookup unit 9061 turns server in all associations for the resource pool proxy server and corresponds to Resource in, lookup obtains target association and turns the corresponding resource of server;
The resource forwarding module 907 may include:
Target association is turned server for the resource pool proxy server and corresponded to by the second retransmission unit of resource 9071 Resource, be forwarded to the Subscriber.
Optionally, the system can also include:
Resource updates instruction sending module turns server for the association and sends resource more to institute's resource pool proxy server New command;
Resource updates module is instructed for the resource pool proxy server based on the resource updates, described all The association turns in the corresponding resource of server, updates the association and turns the corresponding resource of server.
Optionally, the resource subscription command reception module 902 may include:
Resource subscription instruction receiving unit is based on view networking protocol for the resource pool proxy server, described in reception The resource subscription instruction that resource subscription server is sent;
The resource forwarding module 907 may include:
The resource is transferred the corresponding money of instruction for the resource pool proxy server by resource forwarding third unit Source is based on the view networking protocol, is forwarded to the Subscriber.
For system embodiments, 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 method be applied to view networking, it is described view networking include: at least one resource subscription server, resource pool act on behalf of Server, at least one association turn server;The described method includes: the resource pool proxy server is that each association turns service An Agent virtual termination number is arranged in device;Each association turns server with a practical virtual terminal number;The money Source pond proxy server is stored with the corresponding relationship of the Agent virtual termination number Yu the practical virtual terminal number;It is described Resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent;The resource subscription instruction, packet It includes: target proxy virtual terminal number;The resource pool proxy server parses the resource subscription instruction, obtains the resource It subscribes to and instructs corresponding target proxy virtual terminal number;The resource pool proxy server is determined according to the corresponding relationship The corresponding practical virtual terminal number of target of the target proxy virtual terminal number;The resource pool proxy server is based on institute It states the corresponding target association of the practical virtual terminal number of target and turns server, obtain the resource subscription and instruct corresponding resource;Institute It states resource pool proxy server and the resource subscription is instructed into corresponding resource, be forwarded to the Subscriber.Due to resource The identity of Subscriber is typically more complicated, and in the prior art, resource subscription server turns server with association and directly led to Letter, can turn server to association and bring more insecurity factor.In the application, resource pool proxy server is that each association turns server One Agent virtual termination number is set, and each association turns server with a practical virtual terminal number, resource pool agency's clothes Business device is stored with the corresponding relationship of Agent virtual termination number Yu practical virtual terminal number, and resource subscription server and association turn clothes It is communicated between business device by resource pool proxy server, that is, with assisting turn server direct communication be resource pool generation Server is managed, resource pool proxy server turns the agency of server, security performance Relative resource subscription service as each association Device has a safety feature, and therefore, can promote the safety that association turns server to a certain extent.
The embodiment of the present application also provides a kind of equipment, comprising:
One or more processors;With
One or more computer readable storage mediums of instruction are stored thereon with, when by one or more of processors When execution, so that the equipment executes one or more resource acquiring methods described in the embodiment of the present application.
The embodiment of the present application also provides one or more computer readable storage mediums, are stored thereon with instruction, when by When one or more processors execute, so that the processor executes one or more resource acquisitions described in the embodiment of the present application Method.
For system, equipment, computer readable storage medium embodiment, due to itself and the basic phase of embodiment of the method Seemingly, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
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, system 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 system 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 instruction system 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, but also other elements including being not explicitly listed are included, or further include 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 resource acquiring method provided by the present invention, system, equipment and computer readable storage medium, into It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as limiting the invention.

Claims (10)

1. a kind of resource acquiring method, which is characterized in that the method be applied to view networking, it is described view network include: at least one A resource subscription server, resource pool proxy server, at least one association turn server;The described method includes:
The resource pool proxy server is that each association turns server one Agent virtual termination number of setting;It is each described Association turns server with a practical virtual terminal number;The resource pool proxy server is stored with the Agent virtual terminal The corresponding relationship of number and the practical virtual terminal number;
The resource pool proxy server receives the resource subscription instruction that the resource subscription server is sent;The resource subscription Instruction, comprising: target proxy virtual terminal number;
The resource pool proxy server parses the resource subscription instruction, obtains the resource subscription and instructs corresponding target generation Manage virtual terminal number;
The resource pool proxy server determines the corresponding mesh of the target proxy virtual terminal number according to the corresponding relationship Mark practical virtual terminal number;
The resource pool proxy server is based on the corresponding target association of the practical virtual terminal number of the target and turns server, obtains The resource subscription instructs corresponding resource;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the Subscriber.
2. the method according to claim 1, wherein the resource pool proxy server is based on the target reality The corresponding target association of virtual terminal number turns server, obtains the resource subscription and instructs corresponding resource, comprising:
The resource pool proxy server generates the resource subscription and corresponding resource is instructed to transfer instruction;The resource transfers finger It enables, comprising: the practical virtual terminal number of target;
The resource is transferred instruction by the resource pool proxy server, is sent to the target association and is turned server;
The target association turns server to the resource pool proxy server, returns to the resource and transfers the corresponding resource of instruction;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the Subscriber, is wrapped It includes:
The resource is transferred the corresponding resource of instruction by the resource pool proxy server, is forwarded to the Subscriber.
3. the method according to claim 1, wherein the resource pool proxy server is based on the target reality Virtual terminal number corresponding target association turns server, obtains before the resource subscription instructs corresponding resource, further includes:
The resource pool proxy server subscribes to all associations and turns the corresponding resource of server, to obtain all associations Turn the corresponding resource of server;
The resource pool proxy server is based on the corresponding target association of the practical virtual terminal number of the target and turns server, obtains The resource subscription instructs corresponding resource, comprising:
The resource pool proxy server turns in the corresponding resource of server in all associations, and lookup obtains the target Association turns the corresponding resource of server;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the Subscriber, is wrapped It includes:
Target association is turned the corresponding resource of server by the resource pool proxy server, is forwarded to the Subscriber.
4. according to the method described in claim 3, it is characterized in that, the resource pool proxy server subscribes to all associations turn After the corresponding resource of server, further includes:
The association turns server and sends resource updates instruction to institute's resource pool proxy server;
The resource pool proxy server is instructed based on the resource updates, turns the corresponding money of server in all associations In source, updates the association and turn the corresponding resource of server.
5. the method according to claim 1, wherein the resource pool proxy server receives the resource subscription The resource subscription instruction that server is sent, comprising:
The resource pool proxy server is based on view networking protocol, receives the resource subscription that the resource subscription server is sent and refers to It enables;
The resource subscription is instructed corresponding resource by the resource pool proxy server, is forwarded to the Subscriber, is wrapped It includes:
The resource is transferred the corresponding resource of instruction by the resource pool proxy server, is based on the view networking protocol, forwarding To the Subscriber.
6. a kind of resource acquisition system, which is characterized in that the system be applied to view networking, it is described view network include: at least one A resource subscription server, resource pool proxy server, at least one association turn server;The system comprises:
Agent virtual termination number setup module is that each association turns server setting for the resource pool proxy server One Agent virtual termination number;Each association turns server with a practical virtual terminal number;The resource pool generation Reason server is stored with the corresponding relationship of the Agent virtual termination number Yu the practical virtual terminal number;
Resource subscription command reception module receives what the resource subscription server was sent for the resource pool proxy server Resource subscription instruction;The resource subscription instruction, comprising: target proxy virtual terminal number;
Target proxy virtual terminal number obtains module, parses the resource subscription for the resource pool proxy server and refers to It enables, obtains the resource subscription and instruct corresponding target proxy virtual terminal number;
The practical virtual terminal number determining module of target, for the resource pool proxy server according to the corresponding relationship, really Determine the corresponding practical virtual terminal number of target of the target proxy virtual terminal number;
Source obtaining module is based on the corresponding mesh of the practical virtual terminal number of the target for the resource pool proxy server Mark association turns server, obtains the resource subscription and instructs corresponding resource;
The resource subscription is instructed corresponding resource for the resource pool proxy server, is forwarded to by resource forwarding module The Subscriber.
7. system according to claim 6, which is characterized in that the source obtaining module, comprising:
Resource transfers instruction generation unit, generates the resource subscription for the resource pool proxy server and instructs corresponding money Transfer instruction in source;The resource transfers instruction, comprising: the practical virtual terminal number of target;
Resource transfers instruction sending unit, and the resource is transferred instruction for the resource pool proxy server, is sent to institute It states target association and turns server;
Resource return unit, for the target, association turns server to the resource pool proxy server, returns to the resource tune The corresponding resource of instruction fetch;
The resource forwarding module, comprising:
The resource is transferred the corresponding resource of instruction for the resource pool proxy server, turned by the first retransmission unit of resource It is sent to the Subscriber.
8. system according to claim 6, which is characterized in that further include:
All resource subscription modules subscribe to all associations for the resource pool proxy server and turn the corresponding money of server Source turns the corresponding resource of server to obtain all associations;
The source obtaining module, comprising:
Resource lookup unit turns the corresponding resource of server in all associations for the resource pool proxy server In, lookup obtains the target association and turns the corresponding resource of server;
The resource forwarding module, comprising:
Target association is turned the corresponding resource of server for the resource pool proxy server by the second retransmission unit of resource, It is forwarded to the Subscriber.
9. a kind of equipment characterized by comprising
One or more processors;With
One or more computer readable storage mediums of instruction are stored thereon with, are executed when by one or more of processors When, so that the equipment executes one or more resource acquiring methods as claimed in claims 1-5.
10. one or more computer readable storage mediums, which is characterized in that instruction is stored thereon with, when by one or more When processor executes, so that the processor executes one or more resource acquiring methods as claimed in claims 1-5.
CN201910229609.9A 2019-03-25 2019-03-25 Resource acquisition method, system, device and computer readable storage medium Active CN110120937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910229609.9A CN110120937B (en) 2019-03-25 2019-03-25 Resource acquisition method, system, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910229609.9A CN110120937B (en) 2019-03-25 2019-03-25 Resource acquisition method, system, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110120937A true CN110120937A (en) 2019-08-13
CN110120937B CN110120937B (en) 2021-11-16

Family

ID=67520621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910229609.9A Active CN110120937B (en) 2019-03-25 2019-03-25 Resource acquisition method, system, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110120937B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314462A (en) * 2020-02-14 2020-06-19 京东数字科技控股有限公司 Resource processing method, device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
US20140222981A1 (en) * 2006-05-03 2014-08-07 Comcast Cable Holdings, Llc Method of provisioning network elements
US9479607B2 (en) * 2012-09-19 2016-10-25 Oki Electric Industry Co., Ltd. Content caching and delivering system with traffic of repetitively requested content reduced
CN107481023A (en) * 2017-08-24 2017-12-15 济南中维世纪科技有限公司 The method that monitoring device limits using area
CN108234816A (en) * 2016-12-15 2018-06-29 北京视联动力国际信息技术有限公司 The method and device of resource information real-time synchronization is monitored between a kind of monitoring device
CN108600848A (en) * 2018-03-15 2018-09-28 聚好看科技股份有限公司 Smart television and the method for showing content on a user interface
CN108881814A (en) * 2017-08-01 2018-11-23 北京视联动力国际信息技术有限公司 The method, apparatus and interactive system communicated depending on networked terminals with IP Camera
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN108965372A (en) * 2017-12-20 2018-12-07 北京视联动力国际信息技术有限公司 A kind of service scheduling method and device
CN109451264A (en) * 2018-10-23 2019-03-08 视联动力信息技术股份有限公司 A kind of method and system of monitoring device membership

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140222981A1 (en) * 2006-05-03 2014-08-07 Comcast Cable Holdings, Llc Method of provisioning network elements
US9479607B2 (en) * 2012-09-19 2016-10-25 Oki Electric Industry Co., Ltd. Content caching and delivering system with traffic of repetitively requested content reduced
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
CN108234816A (en) * 2016-12-15 2018-06-29 北京视联动力国际信息技术有限公司 The method and device of resource information real-time synchronization is monitored between a kind of monitoring device
CN108881814A (en) * 2017-08-01 2018-11-23 北京视联动力国际信息技术有限公司 The method, apparatus and interactive system communicated depending on networked terminals with IP Camera
CN107481023A (en) * 2017-08-24 2017-12-15 济南中维世纪科技有限公司 The method that monitoring device limits using area
CN108965372A (en) * 2017-12-20 2018-12-07 北京视联动力国际信息技术有限公司 A kind of service scheduling method and device
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN108600848A (en) * 2018-03-15 2018-09-28 聚好看科技股份有限公司 Smart television and the method for showing content on a user interface
CN109451264A (en) * 2018-10-23 2019-03-08 视联动力信息技术股份有限公司 A kind of method and system of monitoring device membership

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
秦超: ""实时视频传输的代理服务器技术"", 《硅谷》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314462A (en) * 2020-02-14 2020-06-19 京东数字科技控股有限公司 Resource processing method, device and storage medium

Also Published As

Publication number Publication date
CN110120937B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN108965224A (en) A kind of method and apparatus of video on demand
CN109996086A (en) A kind of view networking service method for inquiring status and device
CN110198345A (en) A kind of data request method, system and device and storage medium
CN108307212B (en) A kind of file order method and device
CN108989837A (en) A kind of method and apparatus of picture interception
CN110475090A (en) A kind of method and system of Conference control
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN108809922B (en) A kind of audio fault handling method, conference dispatching end and view networked terminals
CN109743550A (en) A kind of method and apparatus of monitoring data tune stream
CN109766753A (en) A kind of finger print information acquisition methods and device
CN109284265A (en) A kind of date storage method and system
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN109729184A (en) A kind of method and apparatus of view networking service processing
CN109347844A (en) A kind of method and device of equipment access internet
CN110505211A (en) A kind of data interactive method and device based on view networking
CN109525635A (en) A kind of acquisition methods and system of memory usage
CN109617766A (en) A kind of heartbeat treating method and apparatus
CN109819133A (en) A kind of photo acquisition methods and device based on view networking
CN109698790A (en) A kind of storage method and system regarding networking data
CN109769012A (en) A kind of access method and device of Web server
CN109743360A (en) A kind of information processing method and device
CN109698859A (en) A kind of date storage method and device based on view networking
CN110049069A (en) A kind of data capture method and device
CN108881140A (en) A kind of document down loading method and device based on view networking

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
GR01 Patent grant
GR01 Patent grant