CN109672856A - Resource synchronization method and device - Google Patents

Resource synchronization method and device Download PDF

Info

Publication number
CN109672856A
CN109672856A CN201811355548.2A CN201811355548A CN109672856A CN 109672856 A CN109672856 A CN 109672856A CN 201811355548 A CN201811355548 A CN 201811355548A CN 109672856 A CN109672856 A CN 109672856A
Authority
CN
China
Prior art keywords
networking
monitoring
dispatching platform
resource
level
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
CN201811355548.2A
Other languages
Chinese (zh)
Other versions
CN109672856B (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 CN201811355548.2A priority Critical patent/CN109672856B/en
Publication of CN109672856A publication Critical patent/CN109672856A/en
Application granted granted Critical
Publication of CN109672856B publication Critical patent/CN109672856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed circuit television systems, i.e. systems in which the signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/10Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network
    • H04L67/1095Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network for supporting replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes or user terminals or syncML

Abstract

The present invention provides a kind of resource synchronization method and devices, are applied in view networking.Include multiple view networking monitoring dispatching platforms in view networking, be set rank according to affiliated area depending on networking monitoring dispatching platform, and cascaded according to level relation from top to bottom, there is the information of multiple monitoring resources depending on record in networking monitoring dispatching platform.Wherein method includes: that view networking monitoring dispatching platform receives the resource subscription request sent based on view networking protocol with its cascade higher level's view networking monitoring dispatching platform;Whether the information depending on the monitoring resource of networking monitoring dispatching platform detection self record changes;It changes if detecting, is requested according to resource subscription, based on view networking protocol by the information of changed monitoring resource, report to higher level and regard networking monitoring dispatching platform.Present invention can ensure that higher level regards the accuracy for monitoring resource information in networking monitoring dispatching platform, synchronizing process executes automatically, synchronizes much sooner, promotes user experience.

Description

Resource synchronization method and device
Technical field
The present invention relates to view networking technology fields, fill more particularly to a kind of resource synchronization method and a kind of source synchronous It sets.
Background technique
In recent years, with computer, network and image procossing, the rapid development of transmission technology, Video Supervision Technique There is significant progress.Video monitoring is the important component of safety and protection system.Traditional monitoring system includes front end prison Control equipment, transmission cable, video monitoring platform.Video monitoring is intuitive with it, accurate, timely abundant with the information content and answers extensively For many occasions.
In practical applications, monitoring device may change for some reason, for example the quantity of monitoring device changes Change, operating status change of monitor device resources etc..And if the case where these monitoring devices change, cannot supervise in video in time It is updated in control platform, it will lead to the information inaccuracy of monitoring device in video monitoring platform.
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 synchronization method and a kind of corresponding source synchronous device to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of resource synchronization method, the method is applied to view It include multiple view networking monitoring dispatching platforms in view networking, the view networking monitoring dispatching platform is according to affiliated area in networking Domain is set rank, and is cascaded according to level relation from top to bottom, described to have depending on recording in networking monitoring dispatching platform The information of multiple monitoring resources, which comprises
The view networking monitoring dispatching platform, which is received, regards networking monitoring dispatching platform with its cascade higher level, based on view networking The resource subscription request that agreement is sent;
Whether the information of the monitoring resource depending on networking monitoring dispatching platform detection self record changes;
If described detect depending on networking monitoring dispatching platform changes, requested according to the resource subscription, based on view The information of changed monitoring resource is reported to the higher level and regards networking monitoring dispatching platform by networking protocol.
Preferably, described assist depending on networking monitoring scheduling at least one monitoring turns server and connect, the view networking monitoring The step of whether information of the monitoring resource of dispatching platform detection self record changes, comprising: the view networking monitoring tune If degree platform receives monitoring association connected to it and turns server based on reporting depending on networking protocol, changed monitoring resource Information, it is determined that the information of the monitoring resource of self record changes.
Preferably, whether the information of the monitoring resource depending on networking monitoring dispatching platform detection self record changes The step of, comprising: if described receive and its cascade junior's view networking monitoring dispatching platform base depending on networking monitoring dispatching platform In what is reported depending on networking protocol, the information of changed monitoring resource, it is determined that the information of the monitoring resource of self record is sent out Changing.
Preferably, the view networking monitoring dispatching platform, which is received, regards networking monitoring dispatching platform, base with its cascade higher level In the step of regarding the resource subscription request that networking protocol is sent, comprising: described receive depending on networking monitoring dispatching platform cascades with it Higher level regard networking monitoring dispatching platform, after cascading the view networking monitoring dispatching platform, based on view networking protocol transmission Resource subscription request;The view networking monitoring dispatching platform, which is received, regards networking monitoring dispatching platform with its cascade higher level, certainly Body from becoming after line offline, requested by the resource subscription sent based on view networking protocol;It is described to be connect depending on networking monitoring dispatching platform It receives and regards networking monitoring dispatching platform with its cascade higher level, detecting the view networking monitoring scheduling from becoming online offline Afterwards, the resource subscription request sent based on view networking protocol.
It preferably, further include view networked server in depending on networking, the resource subscription request includes that the higher level regards connection The mark of net monitoring and scheduling platform.It is described to be requested according to the resource subscription, view networking protocol is based on by changed monitoring The information of resource reports to the step of higher level regards networking monitoring dispatching platform, comprising: the view networking monitoring dispatching platform It obtains the higher level and regards networking monitoring dispatching platform depending on the mark of networking monitoring dispatching platform and the higher level pre-saved View networking address;The view networking monitoring dispatching platform is based on view networking protocol and the higher level is regarded networking monitoring dispatching platform Mark, the higher level regard networking monitoring dispatching platform view networking address and it is described it is changed monitoring resource letter Breath, is sent to the view networked server;So that the view networked server regards networking monitoring dispatching platform according to the higher level Mark and the higher level regard the view networking address of networking monitoring dispatching platform, based on becoming depending on networking protocol by described The information of the monitoring resource of change is sent to the higher level and regards networking monitoring dispatching platform.
On the other hand, the embodiment of the invention also discloses a kind of source synchronous device, described device is applied in view networking, It include multiple view networking monitoring dispatching platforms in view networking, it is described to be set depending on networking monitoring dispatching platform according to affiliated area Rank, and cascaded according to level relation from top to bottom, it is described to have multiple monitoring depending on record in networking monitoring dispatching platform The information of resource, it is described to include: depending on networking monitoring dispatching platform
Receiving module is regarded networking monitoring dispatching platform with its cascade higher level for receiving, is sent based on view networking protocol Resource subscription request;
Detection module, for detecting whether the information of monitoring resource of self record changes;
Reporting module changes if detecting for detection module, requests according to the resource subscription, based on view connection The information of changed monitoring resource is reported to the higher level and regards networking monitoring dispatching platform by fidonetFido.
Preferably, described assist depending on networking monitoring scheduling at least one monitoring turns server and connect, the detection module packet Include: first determines submodule, if turning server based on what is reported depending on networking protocol for receiving monitoring association connected to it, sends out The information of the monitoring resource for changing, it is determined that the information of the monitoring resource of self record changes.
Preferably, the detection module includes: second to determine submodule, if for receiving and its cascade junior view joins Net monitoring and scheduling platform depending on networking protocol based on reporting, the information of changed monitoring resource, it is determined that self record The information of monitoring resource changes.
Preferably, the receiving module includes: the first receiving submodule, regards networking prison with its cascade higher level for receiving Dispatching platform is controlled, after cascading the view networking monitoring dispatching platform, the resource subscription sent based on view networking protocol is requested;The Two receiving submodules regard networking monitoring dispatching platform with its cascade higher level for receiving, at itself from becoming after line offline, The resource subscription request sent based on view networking protocol;Third receiving submodule is networked for receiving to regard with its cascade higher level Monitoring and scheduling platform, detect it is described depending on networking monitoring dispatch from becoming after line offline, based on view networking protocol send Resource subscription request.
It preferably, further include view networked server in depending on networking, the resource subscription request includes that the higher level regards connection The mark of net monitoring and scheduling platform;The reporting module includes: acquisition submodule, regards networking monitoring tune for obtaining the higher level The mark of degree platform and the higher level pre-saved regard the view networking address of networking monitoring dispatching platform;Sending submodule, For the higher level to be regarded the mark of networking monitoring dispatching platform based on view networking protocol, the higher level regards networking monitoring scheduling and puts down The information of the view networking address of platform and the changed monitoring resource, is sent to the view networked server;With toilet State mark and higher level view networking monitoring scheduling that view networked server regards networking monitoring dispatching platform according to the higher level The view networking address of platform is regarded based on the information of the changed monitoring resource is sent to the higher level depending on networking protocol Networking monitoring dispatching platform.
In the embodiment of the present invention, be set rank according to affiliated area depending on networking monitoring dispatching platform, and according on to Under level relation cascaded, depending in networking monitoring dispatching platform record have it is multiple monitoring resources information.Depending on networking monitoring Dispatching platform, which is received, regards networking monitoring dispatching platform with its cascade higher level, is asked based on the resource subscription sent depending on networking protocol It asks;Whether the information depending on the monitoring resource of networking monitoring dispatching platform detection self record changes;Become if detecting Change, then requested according to resource subscription, based on view networking protocol by the information of changed monitoring resource, reports to higher level and regard connection Net monitoring and scheduling platform.It follows that the Union of Central Vision of embodiment of the present invention net monitoring and scheduling platform will can monitor resource in time Situation of change reports to higher level and regards networking monitoring dispatching platform, guarantees cascade the superior and the subordinate depending on supervising between networking monitoring dispatching platform The synchronization of resource information is controlled, therefore can guarantee that higher level regards the accuracy for monitoring resource information in networking monitoring dispatching platform, and And synchronizing process executes automatically, synchronizes much sooner, and then promotes user experience.
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 schematic diagram of equipment connection of the embodiment of the present invention one;
Fig. 6 is a kind of flow diagram of equipment interaction of the embodiment of the present invention one;
Fig. 7 is a kind of structural schematic diagram of view networking monitoring dispatching platform of the embodiment of the present invention one;
Fig. 8 is a kind of step flow chart of resource synchronization method of the embodiment of the present invention one;
Fig. 9 is a kind of structural block diagram of source synchronous device of the embodiment of the present invention two.
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.
1, view networked devices classification
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 access network data package definitions
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 data packets, 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.
Based on the above-mentioned characteristic of view networking, the source synchronous scheme of the embodiment of the present invention is proposed, it then follows regard the association of networking View much sooner, efficiently realizes the synchronization of the monitoring resource information between the superior and the subordinate's view networking monitoring dispatching platform.
Embodiment one
The resource synchronization method of the embodiment of the present invention can be applied in view networking.It may include multiple views in depending on networking Networking monitoring dispatching platform and multiple monitoring association turn server.It is each to be monitored at least one depending on networking monitoring dispatching platform Association turns server connection, and each monitoring association turns server can connect with multiple monitoring resources.
Monitoring association turns server and can be understood as gateway, and being responsible for (can also external (such as on internet) monitoring resource It is described as monitoring device) it is linked into view networking monitoring dispatching platform.Resource is monitored by the monitor video of acquisition based on corresponding Internet protocol is encoded, and monitoring association turns the monitoring of the internet protocol-based after the available monitoring resource code of server Data, monitoring association, which turns server, can be converted to the monitoring data of internet protocol-based the monitoring number based on view networking protocol According to, be sent to later view networking monitoring dispatching platform on, realize view networking in browse and control internet on monitoring resource.
Rank can be set according to affiliated area depending on networking monitoring dispatching platform, and according to level relation from top to bottom It is cascaded.For example, provincial view networking monitoring dispatching platform can be set according to affiliated area, city-level view networking monitoring scheduling is put down Platform, view networking monitoring dispatching platform at county level, township level view networking monitoring dispatching platform, etc..The provincial higher level for belonging to city-level, city-level Belong to higher level at county level, the higher level at county level for belonging to township level, therefore cascade result to be followed successively by provincial, city-level, at county level, township level. For example, for provincial view networking monitoring dispatching platform and city-level view networking monitoring dispatching platform, provincial view networking monitoring Dispatching platform regards networking monitoring dispatching platform relative to city-level and regards networking monitoring dispatching platform as higher level, and city-level regards networking monitoring tune Degree platform is relative to the provincial networking monitoring dispatching platform that regards as junior's view networking monitoring dispatching platform, etc..
When access monitors resource, higher level can be directly accessed monitoring association depending on networking monitoring dispatching platform and turn server, into And access the monitoring resource (being properly termed as directly adding resource) that monitoring association turns server connection;Access junior view can also be passed through Networking monitoring dispatching platform, and then access the prison that the junior turns server connection depending on the monitoring association that networking monitoring dispatching platform accesses Control resource (is properly termed as cascade addition resource).
Referring to Fig. 5, a kind of schematic diagram of equipment connection of the embodiment of the present invention one is shown.As shown in Figure 5, higher level regards connection Net monitoring and scheduling platform can be directly accessed 2 monitoring associations and turn server, and then accesses this 2 monitoring associations and turn server connection Monitor resource.Higher level can also access 2 junior's view networking monitoring dispatching platforms, each junior's view depending on networking monitoring dispatching platform Networking monitoring dispatching platform can access 2 monitoring associations and turn server, and then access the prison that this 2 monitoring associations turn server connection Control resource.Therefore higher level can regard networking monitoring dispatching platform, Jin Erjie by 2 juniors of access depending on networking monitoring dispatching platform Enter the monitoring resource that this 2 juniors turn server connection depending on 2 monitoring associations that networking monitoring dispatching platform is respectively connected to.Therefore on Grade has altogether depending on networking monitoring dispatching platform has accessed the monitoring resource that 6 monitoring associations turn server connection.It should be noted that figure The quantity of relevant device shown in 5 is only used for for example, being not intended as the limitation to specific number of devices.
Referring to Fig. 6, a kind of flow diagram of equipment interaction of the embodiment of the present invention one is shown.Equipment interaction flow can To include:
1, higher level turns server and carries out access monitoring (Monitoring depending on networking monitoring dispatching platform to monitoring association access).For example, higher level, which regards networking monitoring dispatching platform, is based on view networking V2V agreement, assisted via view networked server to monitoring Turn server and send access request, waits the reply to be monitored assisted and turn server.
2, monitoring association turns server based on view networking V2V agreement, regards networking monitoring tune via view networked server superior It spends platform and returns to access response (Access response).Monitoring association turns server and is successfully accessed higher level's view networking monitoring scheduling Platform.Higher level can recorde the information that monitoring association turns the monitoring resource of server connection depending on networking monitoring dispatching platform.
3, junior turns server and carries out access monitoring (Monitoring depending on networking monitoring dispatching platform to monitoring association access).For example, junior's view networking monitoring dispatching platform is based on view networking V2V agreement, assisted via view networked server to monitoring Turn server and send access request, waits the reply to be monitored assisted and turn server.
4, monitoring association turns server based on view networking V2V agreement, regards networking monitoring tune to junior via view networked server It spends platform and returns to access response (Access response).Monitoring association turns server and is successfully accessed junior's view networking monitoring scheduling Platform.Junior can recorde the information that monitoring association turns the monitoring resource of server connection depending on networking monitoring dispatching platform.
Above-mentioned steps 1, step 2, step 3, step 4 belong to the process of resource access.
5, OSS/Web is based on http agreement superior view networking monitoring dispatching platform and sends platform access request (Add Mserver)。
6, higher level regards networking monitoring dispatching platform and is based on view networking 8f85 agreement for platform access request (Add Mserver) It is sent to view networked server.View 8785 agreements of networking are based on by platform access request (Add Mserver) depending on networked server It is sent to junior's view networking monitoring dispatching platform.
7, junior's view networking monitoring dispatching platform is based on view networking 8f85 agreement and platform is accessed response (Add Response) it is sent to view networked server.View 8785 agreements of networking are based on depending on networked server, and platform is accessed into response (Add Response it) is sent to higher level and regards networking monitoring dispatching platform.
8, higher level regards networking monitoring dispatching platform and is based on http agreement to OSS/Web transmission platform access response (Add response).Junior is successfully accessed higher level depending on networking monitoring dispatching platform and regards networking monitoring dispatching platform.
9, higher level regards networking monitoring dispatching platform and is based on view networking 8f85 agreement for business card interchange information (card Exchange) it is sent to view networked server.View 8785 agreements of networking are based on by business card interchange information (card depending on networked server Exchange) it is sent to junior's view networking monitoring dispatching platform.It may include that higher level regards networking monitoring tune in business card interchange information Spend mark, the view networking address etc. of platform.
10, junior's view networking monitoring dispatching platform is based on view networking 8f85 agreement for business card interchange information (card Exchange) it is sent to view networked server.View 8785 agreements of networking are based on by business card interchange information (card depending on networked server Exchange it) is sent to higher level and regards networking monitoring dispatching platform.It may include junior's view networking monitoring tune in business card interchange information Spend mark, the view networking address etc. of platform.
11, junior view networking monitoring dispatching platform be based on view networking V2V agreement superior regard networking monitoring dispatching platform into Row information shares (information sharing), shares the information of monitoring resource.
12, the information for monitoring resource is sent to OSS/Web depending on networking monitoring dispatching platform and is shown (Show) by higher level. OSS/Web provides monitoring information and shows interface.
Referring to Fig. 7, a kind of structural schematic diagram of view networking monitoring dispatching platform of the embodiment of the present invention one is shown.By scheming 7 it is found that the embodiment of the present invention may include front-end interface, back-end services and database depending on networking monitoring dispatching platform.Wherein, Front-end interface can be Web client, OSS (Object Storage Service, object storage service) client etc., rear end Service can be Mserver etc..Front-end interface may include user input interface, monitoring information displaying interface etc..Back-end services It may include that business card exchanges processing service, cascaded message shared service etc..Database may include business card information database, resource Information database etc..Relevant information can be written in corresponding database by back-end services, and front-end interface can be from database Middle reading relevant information.For example, business card, which exchanges processing service, can regard cascade the superior and the subordinate the name of networking monitoring dispatching platform Piece interchange information is written to business card information database.Cascaded message shared service the information of shared monitoring resource can be written To resource information database, front-end interface can read the information of monitoring resource from resource information database, and be shown in money In the display interface of source.
Higher level is described above and regards networking monitoring dispatching platform, junior's view networking monitoring dispatching platform, the service of monitoring association turn The interactive process of the equipment such as device, view networked server.Resource synchronization method in the embodiment of the present invention relates generally to junior's view connection Net monitoring and scheduling platform and higher level regard the source synchronous process of networking monitoring dispatching platform.It will specifically introduce below.
Referring to Fig. 8, a kind of step flow chart of resource synchronization method of the embodiment of the present invention one is shown.
The resource synchronization method of the embodiment of the present invention may comprise steps of:
Step 801, it is received depending on networking monitoring dispatching platform and regards networking monitoring dispatching platform with its cascade higher level, based on view The resource subscription request that networking protocol is sent.
For cascade view networking monitoring dispatching platform, if the monitoring resource of junior's view networking monitoring dispatching platform access It changes, regards networking monitoring dispatching platform without situation of change is reported to higher level in time, then regard networking monitoring in higher level When dispatching platform calls the monitoring resource of junior's view networking monitoring dispatching platform, causes to call and malfunction.If passing through timing The money for monitor on the superior and the subordinate's view networking monitoring dispatching platform resource compares, then needs pair that personnel are responsible for timing specially Than increasing human input, and user experience is also excessively poor.The superior and the subordinate's view networking monitoring tune is proposed in the embodiment of the present invention The autosynchronous method of platform is spent, reduces human input, the user experience is improved.
For a view networking monitoring dispatching platform, if having with the view networking monitoring dispatching platform it is cascade on Grade view networking monitoring dispatching platform, then can be with depending on networking monitoring dispatching platform depending on the cascade higher level of networking monitoring dispatching platform with this Resource subscription request is sent to the view networking monitoring dispatching platform.
In one implementation, this can be with depending on networking monitoring dispatching platform depending on the cascade higher level of networking monitoring dispatching platform After cascading the view networking monitoring dispatching platform, resource subscription request is sent to the view networking monitoring dispatching platform.Also can Resource subscription request is sent after above-mentioned step 10 shown in fig. 6.
This can also be at itself by becoming offline depending on networking monitoring dispatching platform depending on the cascade higher level of networking monitoring dispatching platform To send resource subscription request to the view networking monitoring dispatching platform after line.When higher level's view networking monitoring dispatching platform is offline When, this can not report monitoring to provide to its cascade higher level depending on the cascade of networking monitoring dispatching platform depending on networking monitoring dispatching platform The situation of change in source;And when higher level depending on networking monitoring dispatching platform from becoming online offline when, the view networking monitoring dispatching platform Cascade can continue to the situation of change for reporting monitoring resource depending on networking monitoring dispatching platform with its cascade higher level.Therefore this kind In the case of, higher level can also send resource subscription request depending on networking monitoring dispatching platform to the view networking monitoring dispatching platform.
This can also join depending on the cascade higher level of networking monitoring dispatching platform depending on networking monitoring dispatching platform detecting the view Net monitoring and scheduling sends resource subscription request from becoming after line offline, to the view networking monitoring dispatching platform.When the view is networked When monitoring and scheduling platform offline, no normal direction and its cascade higher level report the variation for monitoring resource depending on networking monitoring dispatching platform Situation;And when this depending on networking monitoring dispatching platform from becoming online offline when, this can be after depending on the cascade of networking monitoring dispatching platform Continue to the situation of change for reporting monitoring resource depending on networking monitoring dispatching platform with its cascade higher level.Therefore in the case of this kind, on Grade can also send resource subscription request depending on networking monitoring dispatching platform to the view networking monitoring dispatching platform.
After two view networking monitoring dispatching platforms cascade, heartbeat message can be regularly sent between each other.Therefore the view The cascade higher level of networking monitoring dispatching platform regards networking monitoring dispatching platform, if receiving the view networking monitoring dispatching platform In the setting time started after the heartbeat message of transmission, the heartbeat of view networking monitoring dispatching platform transmission is not received again Message can then determine that this is dispatched depending on networking monitoring from becoming offline online;If offline in the view networking monitoring dispatching platform Afterwards, receive again the view networking monitoring dispatching platform transmission heartbeat message, then can determine the view networking monitoring scheduling by Become offline online.
When will be to the view networking monitoring depending on networking monitoring dispatching platform depending on the cascade higher level of networking monitoring dispatching platform with this When dispatching platform sends resource subscription request, it can be sent using following procedure: cascade with the view networking monitoring dispatching platform Higher level obtains the mark and the view networking monitoring dispatching platform of the view networking monitoring dispatching platform depending on networking monitoring dispatching platform View networking address;Networking monitoring dispatching platform, which is regarded, with the cascade higher level of the view networking monitoring dispatching platform is based on view networking protocol By the mark depending on networking monitoring dispatching platform, this asks depending on networking address and resource subscription depending on networking monitoring dispatching platform It asks, is sent to view networked server;It networks depending on networked server according to the mark of the view networking monitoring dispatching platform and the view The view networking address of monitoring and scheduling platform, based on depending on networking protocol by the resource subscription request be sent to the view networking monitoring tune Spend platform.
Therefore, step 801 may include: that view networking monitoring dispatching platform receives and its cascade higher level's view networking monitoring tune Platform is spent, after cascading the view networking monitoring dispatching platform, the resource subscription sent based on view networking protocol is requested;Depending on networking Monitoring and scheduling platform, which is received, to be based on its cascade higher level's view networking monitoring dispatching platform at itself from becoming after line offline The resource subscription request sent depending on networking protocol;It is received depending on networking monitoring dispatching platform and regards networking monitoring tune with its cascade higher level Platform is spent, is detecting that the view networking monitoring dispatches from becoming after line offline, is being ordered based on the resource sent depending on networking protocol Read request.
It may include that the cascade higher level's view networking monitoring scheduling of the view networking monitoring dispatching platform is flat in resource subscription request The information such as the mark of platform.This after receiving resource subscription request, can will send the resource depending on networking monitoring dispatching platform The higher level for subscribing to request is added to preset subscription depending on the mark of networking monitoring dispatching platform and reports in chained list, reports so as to subsequent It is used when monitoring the information of resource.
Step 802, whether the information depending on the monitoring resource of networking monitoring dispatching platform detection self record changes.
In view networking monitoring dispatching platform, the information of multiple monitoring resources can recorde.It is mentioned above, it is supervised depending on networking Control dispatching platform can turn server by access monitoring association, and then access the monitoring resource that monitoring association turns server connection; Its corresponding junior's view networking monitoring dispatching platform can also be accessed depending on networking monitoring dispatching platform, and then accesses junior view connection The monitoring association that net monitoring and scheduling platform is accessed turns the monitoring resource of server connection.Therefore, depending in networking monitoring dispatching platform In the information of the monitoring resource of record, may include this assists depending on the monitoring of networking monitoring dispatching platform access and turns what server connected The information of resource is monitored, can also include junior's view networking monitoring dispatching platform of view networking monitoring dispatching platform access, institute The monitoring association of access turns the information of the monitoring resource of server connection.
Therefore, in one case, if the step 802 may include: to receive to connect with it depending on networking monitoring dispatching platform The monitoring association connect turns server based on reporting depending on networking protocol, the information of changed monitoring resource, it is determined that itself remember The information of the monitoring resource of record changes.
The monitoring association depending on networking monitoring dispatching platform itself access is turned for server, monitoring association turns server Whether the monitoring resource that can detecte itself connection changes.If there is a change, then the monitoring association turn server can will The information reporting of changed monitoring resource is to the view networking monitoring dispatching platform.In the concrete realization, monitoring association turns service Device based on view networking protocol by it is changed monitoring resource Information encapsulation at view networking protocol data packet, and based on view networking Agreement will be sent to view networked server depending on networking protocol data packet;It is based on this again depending on networking protocol depending on joining depending on networked server FidonetFido data packet is sent to the view networking monitoring dispatching platform.
This receives monitoring association connected to it depending on networking monitoring dispatching platform and turns the changed prison that server reports Control resource information after, can by these it is changed monitoring resources information and self record monitoring resource information into Row compare, so as to update self record monitoring resource information, namely determine self record monitoring resource information occur Variation.Therefore in the case of this kind, the information of changed monitoring resource is to monitor association in the view networking monitoring dispatching platform Turn the information for the changed monitoring resource that server reports.
In another case, if the step 802 may include: received depending on networking monitoring dispatching platform it is cascade with it Junior depending on networking monitoring dispatching platform based on being reported depending on networking protocol, the information of changed monitoring resource, it is determined that from The information of the monitoring resource of body record changes.
For with the cascade junior's view networking monitoring dispatching platform of the view networking monitoring dispatching platform, junior view connection The monitoring association of net monitoring and scheduling platform access turns server and can detecte whether the monitoring resource that itself is connected changes.If It changes, then monitoring association, which turns server, can regard networking prison for information reporting to junior of changed monitoring resource Control dispatching platform.The junior regards networking monitoring dispatching platform and information reporting to the view of changed monitoring resource is networked again Monitoring and scheduling platform.In the concrete realization, the junior depending on networking monitoring dispatching platform be based on will be changed depending on networking protocol The Information encapsulation of resource is monitored into view networking protocol data packet, and is based on to be sent to depending on networking protocol data packet depending on networking protocol Depending on networked server;It is based on that this is sent to view networking prison depending on networking protocol data packet depending on networking protocol again depending on networked server Control dispatching platform.
This receives the generation reported with its cascade junior depending on networking monitoring dispatching platform depending on networking monitoring dispatching platform It, can be by the monitoring resource of the information of these changed monitoring resources and self record after the information of the monitoring resource of variation Information be compared, so as to update self record monitoring resource information, namely determine the monitoring resource of self record Information changes.Therefore in the case of this kind, this is depending on the information for monitoring resource changed in networking monitoring dispatching platform Information for the changed monitoring resource reported with its cascade junior depending on networking monitoring dispatching platform.
Wherein, the information of changed monitoring resource may include changed type, the title for monitoring resource, mark Knowledge, geographical location etc..Wherein, changed type may include increase, delete, state change (including from become online from Line, from becoming online offline), monitoring resource title variation, mark variation, geographical location variation, etc..
Step 803, it changes, is requested according to the resource subscription, base if being detected depending on networking monitoring dispatching platform In view networking protocol by the information of changed monitoring resource, reports to the higher level and regard networking monitoring dispatching platform.
It, can foundation if detecting that the information of the monitoring resource of self record changes depending on networking monitoring dispatching platform The information of changed monitoring resource is reported to and regards networking monitoring scheduling with its cascade higher level by the resource subscription request Platform.
In the embodiment of the present invention, it can be reported from preset subscription depending on networking monitoring dispatching platform and search transmission money in chained list The higher level that request is subscribed in source regards the mark of networking monitoring dispatching platform, and determines that the target higher level sent regards networking according to the mark Monitoring and scheduling platform.
The step 803 may include: to obtain the higher level depending on networking monitoring dispatching platform to regard networking monitoring dispatching platform The higher level for identifying and pre-saving regards the view networking address of networking monitoring dispatching platform;It is based on depending on networking monitoring dispatching platform The higher level is regarded into the mark of networking monitoring dispatching platform depending on networking protocol, the view of higher level view networking monitoring dispatching platform joins The information of net address and the changed monitoring resource, is sent to the view networked server;Depending on networked server according to The mark of networking monitoring dispatching platform and the view networking ground of higher level view networking monitoring dispatching platform are regarded according to the higher level Location, it is flat based on the information of the changed monitoring resource is sent to higher level's view networking monitoring scheduling depending on networking protocol Platform.
After the higher level receives the information of changed monitoring resource depending on networking monitoring dispatching platform, these can be sent out The information of the monitoring resource of the information and self record of the monitoring resource for changing is compared, to update the prison of self record The information for controlling resource, to realize source synchronous.
The Union of Central Vision of embodiment of the present invention net monitoring and scheduling platform can in time report to the situation of change for monitoring resource Grade view networking monitoring dispatching platform guarantees to monitor the same of resource information between cascade the superior and the subordinate's view networking monitoring dispatching platform Step, therefore can guarantee that higher level regards the accuracy that resource information is monitored in networking monitoring dispatching platform, and synchronizing process is automatic It executes, synchronizes much sooner, and then promote user experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Embodiment two
Referring to Fig. 9, a kind of structural block diagram of source synchronous device of the embodiment of the present invention two is shown.The embodiment of the present invention Source synchronous device can be applied to view networking in, view networking in include multiple view networking monitoring dispatching platforms, the view Networking monitoring dispatching platform is set rank according to affiliated area, and is cascaded according to level relation from top to bottom, described There is the information of multiple monitoring resources depending on record in networking monitoring dispatching platform.
The source synchronous device of the embodiment of the present invention may include the following module being located in view networking monitoring dispatching platform:
It is described to include: depending on networking monitoring dispatching platform
Receiving module 901 regards networking monitoring dispatching platform with its cascade higher level for receiving, based on view networking protocol hair The resource subscription request sent;
Detection module 902, for detecting whether the information of monitoring resource of self record changes;
Reporting module 903, changes if detecting for detection module, requests, is based on according to the resource subscription Depending on networking protocol by the information of changed monitoring resource, reports to the higher level and regard networking monitoring dispatching platform.
In a preferred embodiment, described assist depending on networking monitoring scheduling at least one monitoring turns server and connect, The detection module includes: the first determining submodule, if turning server based on view connection for receiving monitoring association connected to it What fidonetFido reported, the information of changed monitoring resource, it is determined that the information of the monitoring resource of self record changes.
In a preferred embodiment, the detection module include: second determine submodule, if for receive and its Cascade junior depending on networking monitoring dispatching platform based on being reported depending on networking protocol, the information of changed monitoring resource, then Determine that the information of the monitoring resource of self record changes.
In a preferred embodiment, the receiving module includes: the first receiving submodule, is cascaded for receiving with it Higher level regard networking monitoring dispatching platform, after cascading the view networking monitoring dispatching platform, based on view networking protocol transmission Resource subscription request;Second receiving submodule regards networking monitoring dispatching platform with its cascade higher level for receiving, itself by Become after line offline, the resource subscription request sent based on view networking protocol;Third receiving submodule, for receiving and its grade The higher level of connection regards networking monitoring dispatching platform, is detecting the view networking monitoring scheduling from becoming after line offline, based on regarding The resource subscription request that networking protocol is sent.
It in a preferred embodiment, further include view networked server, the resource subscription request packet in depending on networking Include the mark that the higher level regards networking monitoring dispatching platform;The reporting module includes: acquisition submodule, described for obtaining Grade is depending on the mark of networking monitoring dispatching platform and the view networking ground of the higher level view networking monitoring dispatching platform pre-saved Location;Sending submodule, for the higher level to be regarded the mark of networking monitoring dispatching platform based on view networking protocol, the higher level regards The information of the view networking address of networking monitoring dispatching platform and the changed monitoring resource, is sent to the view connection Network server.So as to it is described view networked server according to the higher level regard networking monitoring dispatching platform mark and it is described on Grade view networking monitoring dispatching platform view networking address, based on view networking protocol by it is described it is changed monitoring resource information It is sent to the higher level and regards networking monitoring dispatching platform.
The Union of Central Vision of embodiment of the present invention net monitoring and scheduling platform can in time report to the situation of change for monitoring resource Grade view networking monitoring dispatching platform guarantees to monitor the same of resource information between cascade the superior and the subordinate's view networking monitoring dispatching platform Step, therefore can guarantee that higher level regards the accuracy that resource information is monitored in networking monitoring dispatching platform, and synchronizing process is automatic It executes, synchronizes much sooner, and then promote user experience.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of resource synchronization method provided by the present invention and a kind of source synchronous device, detailed Jie has been carried out It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of resource synchronization method, which is characterized in that the method is applied in view networking, includes multiple views in view networking Networking monitoring dispatching platform, it is described to be set rank according to affiliated area depending on networking monitoring dispatching platform, and according to from top to bottom Level relation cascaded, it is described depending in networking monitoring dispatching platform record have it is multiple monitoring resources information, the method Include:
The view networking monitoring dispatching platform, which is received, regards networking monitoring dispatching platform with its cascade higher level, based on view networking protocol The resource subscription of transmission is requested;
Whether the information of the monitoring resource depending on networking monitoring dispatching platform detection self record changes;
If described detect depending on networking monitoring dispatching platform changes, requested according to the resource subscription, based on view networking The information of changed monitoring resource is reported to the higher level and regards networking monitoring dispatching platform by agreement.
2. the method according to claim 1, wherein view networking monitoring scheduling turns at least one monitoring association Server connection, the whether changed step of information of the monitoring resource of the view networking monitoring dispatching platform detection self record Suddenly, comprising:
If it is described depending on networking monitoring dispatching platform receive monitoring connected to it association and turn server be based on reporting depending on networking protocol , the information of changed monitoring resource, it is determined that the information of the monitoring resource of self record changes.
3. the method according to claim 1, wherein the view networking monitoring dispatching platform detects self record The step of whether information of monitoring resource changes, comprising:
If described receive depending on networking monitoring dispatching platform is based on view networking with its cascade junior's view networking monitoring dispatching platform What agreement reported, the information of changed monitoring resource, it is determined that the information of the monitoring resource of self record changes.
4. the method according to claim 1, wherein view networking monitoring dispatching platform reception is cascade with it The step of higher level regards networking monitoring dispatching platform, is requested based on the resource subscription that view networking protocol is sent, comprising:
The view networking monitoring dispatching platform, which is received, regards networking monitoring dispatching platform with its cascade higher level, is cascading the view connection After net monitoring and scheduling platform, the resource subscription sent based on view networking protocol is requested;
The view networking monitoring dispatching platform, which is received, regards networking monitoring dispatching platform with its cascade higher level, at itself by becoming offline For the resource subscription request after line, sent based on view networking protocol;
The view networking monitoring dispatching platform, which is received, regards networking monitoring dispatching platform with its cascade higher level, is detecting the view Networking monitoring dispatches the resource subscription request from becoming after line offline, sent based on view networking protocol.
5. the method according to claim 1, wherein further including view networked server, the money in depending on networking It includes the mark that the higher level regards networking monitoring dispatching platform that request is subscribed in source;
It is described to be requested according to the resource subscription, based on view networking protocol by the information of changed monitoring resource, report to The higher level regards the step of networking monitoring dispatching platform, comprising:
It is described to obtain the higher level depending on the mark of networking monitoring dispatching platform depending on networking monitoring dispatching platform and pre-save The higher level regards the view networking address of networking monitoring dispatching platform;
The higher level is regarded mark, the institute of networking monitoring dispatching platform based on view networking protocol by the view networking monitoring dispatching platform It states higher level and regards the view networking address of networking monitoring dispatching platform and the information of the changed monitoring resource, be sent to The view networked server;
So that the view networked server regards connection according to the mark of higher level view networking monitoring dispatching platform and the higher level The view networking address of net monitoring and scheduling platform, based on depending on networking protocol by it is described it is changed monitoring resource information be sent to The higher level regards networking monitoring dispatching platform.
6. a kind of source synchronous device, which is characterized in that described device is applied in view networking, includes multiple views in view networking Networking monitoring dispatching platform, it is described to be set rank according to affiliated area depending on networking monitoring dispatching platform, and according to from top to bottom Level relation cascaded, the information for having multiple monitoring resources depending on record in networking monitoring dispatching platform, the view joins Net monitoring and scheduling platform includes:
Receiving module regards networking monitoring dispatching platform with its cascade higher level for receiving, the money sent based on view networking protocol Subscribe to request in source;
Detection module, for detecting whether the information of monitoring resource of self record changes;
Reporting module changes if detecting for detection module, requests according to the resource subscription, based on view networking association The information of changed monitoring resource is reported to the higher level and regards networking monitoring dispatching platform by view.
7. device according to claim 6, which is characterized in that the view networking monitoring scheduling turns at least one monitoring association Server connection, the detection module include:
First determines submodule, if turning server based on reporting depending on networking protocol for receiving monitoring association connected to it, The information of changed monitoring resource, it is determined that the information of the monitoring resource of self record changes.
8. device according to claim 6, which is characterized in that the detection module includes:
Second determines submodule, if being based on view networking protocol with its cascade junior's view networking monitoring dispatching platform for receiving It reports, the information of changed monitoring resource, it is determined that the information of the monitoring resource of self record changes.
9. device according to claim 6, which is characterized in that the receiving module includes:
First receiving submodule regards networking monitoring dispatching platform with its cascade higher level for receiving, and is cascading the view networking After monitoring and scheduling platform, the resource subscription sent based on view networking protocol is requested;
Second receiving submodule regards networking monitoring dispatching platform with its cascade higher level for receiving, at itself from becoming offline After line, the resource subscription sent based on view networking protocol is requested;
Third receiving submodule regards networking monitoring dispatching platform with its cascade higher level for receiving, and is detecting the view connection Net monitoring and scheduling from becoming after line offline, requested by the resource subscription sent based on view networking protocol.
10. device according to claim 6, which is characterized in that further include view networked server, the money in depending on networking It includes the mark that the higher level regards networking monitoring dispatching platform that request is subscribed in source;
The reporting module includes:
Acquisition submodule, for obtaining the higher level depending on the mark of networking monitoring dispatching platform and pre-saving described The view networking address of grade view networking monitoring dispatching platform;
Sending submodule, for the higher level to be regarded the mark of networking monitoring dispatching platform, the higher level based on view networking protocol Depending on the view networking address of networking monitoring dispatching platform and the information of the changed monitoring resource, it is sent to the view Networked server;
So that the view networked server regards connection according to the mark of higher level view networking monitoring dispatching platform and the higher level The view networking address of net monitoring and scheduling platform, based on depending on networking protocol by it is described it is changed monitoring resource information be sent to The higher level regards networking monitoring dispatching platform.
CN201811355548.2A 2018-11-14 2018-11-14 Resource synchronization method and device Active CN109672856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811355548.2A CN109672856B (en) 2018-11-14 2018-11-14 Resource synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811355548.2A CN109672856B (en) 2018-11-14 2018-11-14 Resource synchronization method and device

Publications (2)

Publication Number Publication Date
CN109672856A true CN109672856A (en) 2019-04-23
CN109672856B CN109672856B (en) 2021-02-09

Family

ID=66142736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811355548.2A Active CN109672856B (en) 2018-11-14 2018-11-14 Resource synchronization method and device

Country Status (1)

Country Link
CN (1) CN109672856B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225083A (en) * 2019-05-06 2019-09-10 视联动力信息技术股份有限公司 Data push method and device based on view networking
CN110247790A (en) * 2019-05-10 2019-09-17 视联动力信息技术股份有限公司 Upgrading control system
CN110263211A (en) * 2019-05-06 2019-09-20 视联动力信息技术股份有限公司 Resource synchronization method and device
CN110362628A (en) * 2019-06-20 2019-10-22 视联动力信息技术股份有限公司 A kind of synchronous method and device cascading file
CN110381029A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of monitoring resource synchronization method and device
CN110401565A (en) * 2019-07-09 2019-11-01 视联动力信息技术股份有限公司 A kind of method and device alerted offline
CN110557608A (en) * 2019-07-29 2019-12-10 视联动力信息技术股份有限公司 resource monitoring method, device and computer readable storage medium
CN110602072A (en) * 2019-08-30 2019-12-20 视联动力信息技术股份有限公司 Virtual disk access method and device
CN110808853A (en) * 2019-10-24 2020-02-18 浙江大华技术股份有限公司 Cloud computing product-oriented unified operation and maintenance method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048424A1 (en) * 2012-12-05 2017-02-16 Magna Electronics Inc. Vehicle vision system utilizing camera synchronization
CN106953905A (en) * 2017-03-14 2017-07-14 浙江宇视科技有限公司 Catalogue sharing method and device between domain
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
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
CN108234396A (en) * 2016-12-14 2018-06-29 北京视联动力国际信息技术有限公司 A kind of method and device of monitoring device status information real-time synchronization

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048424A1 (en) * 2012-12-05 2017-02-16 Magna Electronics Inc. Vehicle vision system utilizing camera synchronization
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108234396A (en) * 2016-12-14 2018-06-29 北京视联动力国际信息技术有限公司 A kind of method and device of monitoring device status information real-time synchronization
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
CN106953905A (en) * 2017-03-14 2017-07-14 浙江宇视科技有限公司 Catalogue sharing method and device between domain

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225083A (en) * 2019-05-06 2019-09-10 视联动力信息技术股份有限公司 Data push method and device based on view networking
CN110263211A (en) * 2019-05-06 2019-09-20 视联动力信息技术股份有限公司 Resource synchronization method and device
CN110263211B (en) * 2019-05-06 2021-09-21 视联动力信息技术股份有限公司 Resource synchronization method and device
CN110247790A (en) * 2019-05-10 2019-09-17 视联动力信息技术股份有限公司 Upgrading control system
CN110362628A (en) * 2019-06-20 2019-10-22 视联动力信息技术股份有限公司 A kind of synchronous method and device cascading file
CN110381029B (en) * 2019-06-20 2022-03-01 视联动力信息技术股份有限公司 Monitoring resource synchronization method and device
CN110381029A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of monitoring resource synchronization method and device
CN110401565A (en) * 2019-07-09 2019-11-01 视联动力信息技术股份有限公司 A kind of method and device alerted offline
CN110557608A (en) * 2019-07-29 2019-12-10 视联动力信息技术股份有限公司 resource monitoring method, device and computer readable storage medium
CN110557608B (en) * 2019-07-29 2020-12-11 视联动力信息技术股份有限公司 Resource monitoring method, device and computer readable storage medium
CN110602072A (en) * 2019-08-30 2019-12-20 视联动力信息技术股份有限公司 Virtual disk access method and device
CN110808853A (en) * 2019-10-24 2020-02-18 浙江大华技术股份有限公司 Cloud computing product-oriented unified operation and maintenance method

Also Published As

Publication number Publication date
CN109672856B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN108234816B (en) The method and device of resource information real-time synchronization is monitored between a kind of monitoring device
CN108234396B (en) A kind of method and device of monitoring device status information real-time synchronization
CN108075920B (en) A kind of management method and system regarding networked terminals
CN109672856A (en) Resource synchronization method and device
CN108965372A (en) A kind of service scheduling method and device
CN109348171A (en) A kind of view networking monitoring video acquiring method and device
CN109617956A (en) A kind of data processing method and device
CN109889780A (en) Method of data synchronization and device
CN109743595A (en) Terminal data synchronous method and device
CN109660753A (en) Resource synchronization method and device
CN109802952A (en) Monitoring data synchronous method and device
CN109743524A (en) A kind of data processing method that view is networked and a kind of view networked system
CN109218093A (en) A kind of method and system obtaining alarm
CN109672857A (en) Monitor the treating method and apparatus of resource
CN109284265A (en) A kind of date storage method and system
CN110475090A (en) A kind of method and system of Conference control
CN110392126A (en) A kind of communication means and device
CN110134892A (en) A kind of loading method and system monitoring the Resources list
CN109151490A (en) A kind of data processing method and device of view networking
CN109151061A (en) A kind of date storage method and device
CN110519554A (en) Monitor and detection method and apparatus
CN110493311A (en) A kind of method for processing business and device
CN110263030A (en) Data capture method and device based on view networking
CN110381029A (en) A kind of monitoring resource synchronization method and device
CN110224988A (en) A kind of processing method of image data, system and device and storage medium

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