CN109194914B - Method and device for processing equipment information - Google Patents

Method and device for processing equipment information Download PDF

Info

Publication number
CN109194914B
CN109194914B CN201811033317.XA CN201811033317A CN109194914B CN 109194914 B CN109194914 B CN 109194914B CN 201811033317 A CN201811033317 A CN 201811033317A CN 109194914 B CN109194914 B CN 109194914B
Authority
CN
China
Prior art keywords
information
equipment
monitoring
item
value corresponding
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.)
Active
Application number
CN201811033317.XA
Other languages
Chinese (zh)
Other versions
CN109194914A (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 CN201811033317.XA priority Critical patent/CN109194914B/en
Publication of CN109194914A publication Critical patent/CN109194914A/en
Application granted granted Critical
Publication of CN109194914B publication Critical patent/CN109194914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Multimedia (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method and a device for processing equipment information, wherein the method is applied to a monitoring management server and comprises the following steps: acquiring first equipment information of monitoring equipment from the monitoring platform; searching second equipment information of the monitoring equipment in the video network; and integrating the first equipment information and the second equipment information into target equipment information of the monitoring equipment. The method and the system realize interconnection and intercommunication and data sharing among different network domains, improve the fusion capacity and the processing capacity of the monitoring management server to equipment information, reduce the probability of conflict when monitoring services are coordinated, reduce the frequency of manual correction and improve the simplicity and convenience of operation.

Description

Method and device for processing equipment information
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for processing device information.
Background
The video networking is a real-time network, can realize the real-time transmission of the high definition video of the whole network that the present internet can not realize, push numerous internet applications to high definition video, high definition is face-to-face.
The integration of monitoring data of a plurality of third-party monitoring platforms is realized in the video network.
For the same monitoring equipment, equipment information can be maintained in the video network, equipment information can also be maintained in a monitoring platform of a third party, and information between the equipment information and the monitoring platform is different, so that conflict is easy to occur when monitoring service is coordinated, manual correction is needed, and the operation is complicated.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a device information processing method and apparatus that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a method for processing device information, where a plurality of hierarchically distributed autonomous clouds are distributed in a video network, each autonomous cloud is provided with a monitoring management server, and a monitoring platform of a third party accesses the monitoring management server, where the method is applied to the monitoring management server, and includes:
acquiring first equipment information of monitoring equipment from the monitoring platform;
searching second equipment information of the monitoring equipment in the video network;
and integrating the first equipment information and the second equipment information into target equipment information of the monitoring equipment.
Optionally, the obtaining first device information of the monitoring device from the monitoring platform includes:
querying a database view from the monitoring platform;
and acquiring first equipment information of the monitoring equipment from the monitoring platform according to the database view.
Optionally, the obtaining first device information of the monitoring device from the monitoring platform according to the database view includes:
judging whether the remaining first device information exists or not based on the database view;
if yes, selecting first equipment information with a specified length from the remaining first equipment information;
acquiring an equipment file from a monitoring platform, wherein the equipment file is generated by packaging first equipment information with specified length, and returning to execute the step of judging whether the residual first equipment information exists based on the database view;
if not, determining that the first equipment information of the monitoring equipment is obtained from the monitoring platform.
Optionally, the first device information includes an information item and an information value, and the second device information includes an information item and an information value;
the integrating the first device information and the second device information into the target device information of the monitoring device includes:
if the first device information and the second device information have the same information item, merging an information value corresponding to the information item in the first device information with an information value corresponding to the information item in the second device information to obtain merged information;
adding the information item to target device information of the monitoring device;
and setting the merging information as the information value corresponding to the information item.
Optionally, the merging the information value corresponding to the information item in the first device information with the information value corresponding to the information item in the second device information to obtain merged information includes:
if the information value corresponding to the information item in the first device information is the same in content and expression as the information value corresponding to the information item in the second device information, setting the information value as merging information;
if the information value corresponding to the information item in the first device information is the same in content and different in expression from the information value corresponding to the information item in the second device information, setting the priority of the information value corresponding to the information item in the first device information to be lower than the priority of the information value corresponding to the information item in the second device information in the merged information;
if the information value corresponding to the information item in the first device information is different from the information value corresponding to the information item in the second device information in content, setting the priority of the information value corresponding to the information item in the first device information to be lower than the priority of the information value corresponding to the information item in the second device information in the merged information.
Optionally, the first device information includes an information item and an information value, and the second device information includes an information item and an information value;
the integrating the first device information and the second device information into the target device information of the monitoring device includes:
if a certain information item in the first device information is different from all information items in the second device information, setting the information item and the information value thereof in the first device information as an information item and an information value thereof in target device information of the monitoring device;
and if a certain information item in the second equipment information is different from all information items in the first equipment information, setting the information item and the information value thereof in the second equipment information as the information item and the information value thereof in the target equipment information of the monitoring equipment.
According to another aspect of the present invention, there is provided an apparatus for processing device information, where a plurality of hierarchically distributed autonomous clouds are distributed in a video network, each autonomous cloud is provided with a monitoring management server, and a monitoring platform of a third party accesses the monitoring management server, and the apparatus is applied to the monitoring management server, and includes:
the first equipment information acquisition module is used for acquiring first equipment information of the monitoring equipment from the monitoring platform;
the second equipment information searching module is used for searching second equipment information of the monitoring equipment in the video network;
and the equipment information integration module is used for integrating the first equipment information and the second equipment information into target equipment information of the monitoring equipment.
Optionally, the first device information obtaining module includes:
the database view query submodule is used for querying a database view from the monitoring platform;
and the database view acquisition submodule is used for acquiring first equipment information of the monitoring equipment from the monitoring platform according to the database view.
Optionally, the database view acquisition sub-module includes:
the residual judgment submodule is used for judging whether residual first equipment information exists or not based on the database view; if yes, calling an information selection sub-module, and if not, calling an acquisition completion sub-module;
the information selection submodule is used for selecting the first equipment information with the specified length from the rest first equipment information;
the device file obtaining submodule is used for obtaining a device file from the monitoring platform, the device file is generated by packaging first device information with a specified length, and the device file returns to call the residual judging submodule;
and determining that the first equipment information of the monitoring equipment is acquired from the monitoring platform.
Optionally, the first device information includes an information item and an information value, and the second device information includes an information item and an information value;
the device information integration module includes:
an information value merging submodule, configured to merge an information value corresponding to the information item in the first device information with an information value corresponding to the information item in the second device information to obtain merged information if the first device information and the second device information have the same information item;
an information item adding submodule for adding the information item to target device information of the monitoring device;
and the information value setting submodule is used for setting the merging information as the information value corresponding to the information item.
Optionally, the information value merging sub-module includes:
the same processing unit is used for setting the information value as merging information if the information value corresponding to the information item in the first device information has the same content and expression as the information value corresponding to the information item in the second device information;
a first priority setting unit, configured to set, in merged information, a priority of an information value corresponding to the information item in the first device information lower than a priority of an information value corresponding to the information item in the second device information if the information value corresponding to the information item in the first device information and the information value corresponding to the information item in the second device information have the same content and are different in expression;
a second priority setting unit, configured to set, in the merged information, a priority of an information value corresponding to the information item in the first device information lower than a priority of an information value corresponding to the information item in the second device information if the information value corresponding to the information item in the first device information is different from the information value corresponding to the information item in the second device information in content.
Optionally, the first device information includes an information item and an information value, and the second device information includes an information item and an information value;
the device information integration module includes:
a first difference processing sub-module, configured to set an information item and an information value thereof in the first device information as an information item and an information value thereof in target device information of the monitoring device, if a certain information item in the first device information is different from all information items in the second device information;
and the second difference processing submodule is used for setting an information item and an information value thereof in the second equipment information as an information item and an information value thereof in the target equipment information of the monitoring equipment if a certain information item in the second equipment information is different from all information items in the first equipment information.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a plurality of autonomous clouds distributed in a hierarchical manner are distributed in a video network, a monitoring management server is arranged in each autonomous cloud, a monitoring platform of a third party is accessed to the monitoring management server, the monitoring management server acquires first equipment information of monitoring equipment from the monitoring platform, second equipment information of the monitoring equipment is searched in the video network, and the first equipment information and the second equipment information are integrated into target equipment information of the monitoring equipment, so that interconnection and intercommunication and data sharing among different network domains are realized, the fusion capacity and the processing capacity of the monitoring management server on the equipment information are improved, the probability of conflict during the coordination of monitoring services is reduced, the frequency of manual correction is reduced, and the simplicity and convenience of operation are improved.
Drawings
FIG. 1 is a schematic diagram of an autonomous network according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an autonomous cloud in accordance with an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for processing device information according to an embodiment of the present invention;
fig. 4 is a block diagram of a device information processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
To enable those skilled in the art to better understand the embodiments of the present invention, the following description refers to an autonomous network in a video network:
topological structure of autonomous network
Referring to fig. 1, a schematic structural diagram of an autonomous network according to an embodiment of the present invention is shown.
As shown in fig. 1, the autonomous network is a distributed centralized control network, and includes a plurality of autonomous clouds distributed in layers, that is, the overall network structure of the autonomous network is formed by connecting a plurality of substructures called autonomous clouds, and the autonomous clouds exhibit a hierarchical structure when connected with each other.
Each autonomous cloud can be connected with one or more next-layer autonomous clouds from the top-layer autonomous cloud, the lower-layer autonomous clouds are connected with the next-layer autonomous clouds until the lowest-layer autonomous cloud, and all the autonomous clouds are connected layer by layer in the mode to form an autonomous network.
Obviously, the hierarchical structure is a tree structure, each autonomous cloud is a node in the tree, and the whole autonomous network is a tree formed by a plurality of autonomous clouds serving as nodes.
As shown in fig. 1, the autonomous network includes four layers, an autonomous cloud in a fourth layer (L4) connecting autonomous clouds in a plurality of third layers (L3), an autonomous cloud in a third layer (L3) connecting autonomous clouds in a plurality of second layers (L2), and an autonomous cloud in a second layer (L2) connecting autonomous clouds in one or more first layers (L1).
Referring to fig. 2, a schematic structural diagram of an autonomous cloud according to an embodiment of the present invention is shown.
As shown in fig. 2, the autonomous cloud is a basic substructure in the autonomous network structure, and is also a structural unit that enables the autonomous network to operate normally.
Under the condition that one autonomous cloud is configured correctly, the function of the autonomous network can be independently realized in the autonomous cloud.
When the autonomous cloud cannot be connected with the upper and lower autonomous clouds due to communication faults, the service in the autonomous network can still be realized in a single autonomous cloud, which is also the source of the name of the autonomous cloud (autonomous operation).
When the autonomous clouds can normally communicate with the autonomous clouds on the upper and lower layers, the autonomous clouds form an autonomous network with a larger range, and a service crossing the autonomous clouds can be realized.
In a specific implementation, each autonomous cloud includes a master control server, a micro cloud server, a terminal, and a switching network.
1. Master control server (also known as autonomy server)
The main control server is a centralized control node of the autonomous cloud, and the realized functions mainly comprise management of equipment in the autonomous cloud, realization of services inside and across the autonomous clouds, management communication of the autonomous network to realize higher-level management and the like.
In each autonomous cloud, the master control server and the micro cloud servers are accessed to a switching network, namely the master control server can be connected with a plurality of micro cloud servers through the same switching network, the switching network and the devices connected with the switching network jointly form the master control micro cloud of the autonomous cloud, the number of the master control micro clouds in the autonomous cloud is one, and the devices in the master control micro clouds can be connected in various topological types such as tree type, star type, full switching and the like.
Generally, a device in an autonomous network first needs to register on a master control server, and then accesses the autonomous network through a network access process, and a device which is not registered cannot access the network and cannot obtain a service provided by the autonomous network.
2. Micro cloud server
The micro cloud server is an exchange core of the autonomous cloud, and in most cases, communication data sent by equipment in the autonomous network is forwarded to a final destination through the micro cloud server.
Further, the micro cloud server comprises a boundary router, a terminal sub-control server and a boundary sub-control server.
2.1 sub-control server
The terminal sub-control server and the boundary sub-control server are also called sub-control servers, and the sub-control servers are data forwarding nodes of the autonomous cloud and are provided with an uplink interface and a downlink interface. The uplink interface is used for being connected to a main control micro cloud of the autonomous cloud, the downlink interface can be connected with a terminal or a boundary router in other autonomous clouds through the same exchange network, and the exchange network and equipment connected with the exchange network form a sub-control micro cloud of the autonomous cloud.
The terminal sub-control server and the terminal are accessed into another switching network, and the corresponding sub-control micro-cloud is also called as the terminal sub-control micro-cloud.
The boundary sub-control server and the boundary router are connected to another switching network, and the corresponding sub-control micro-cloud is also called as the boundary sub-control micro-cloud.
Each sub-control server in the master control micro-cloud can correspond to one sub-control micro-cloud, and the sub-control micro-cloud and the master control micro-cloud are connected by multiplexing the same sub-control server.
The sub-control server is also an auxiliary control node of the autonomous cloud, and can simply manage other devices in the sub-control micro-cloud and share part of functions of the main control server.
It should be noted that the terminal sub-control server and the boundary sub-control server are role differentiation, and one server may be an independent terminal sub-control server, an independent boundary sub-control server, or both a terminal sub-control server and a boundary sub-control server.
2.2, border routers
The boundary router is also a data forwarding node of the autonomous cloud, can be simultaneously connected to two layers of autonomous clouds, and can realize data forwarding across the autonomous clouds.
The boundary router is provided with an uplink interface and a downlink interface, the downlink interface is used for being connected to a main control micro cloud of one autonomous cloud, and the uplink interface is used for being connected to a sub-control micro cloud of another autonomous cloud.
At the moment, two adjacent layers of autonomous clouds are connected by multiplexing the same boundary router, after the autonomous clouds are connected, the autonomous clouds connected through the downlink interface are called lower-layer autonomous clouds, and the autonomous clouds connected through the uplink interface are called upper-layer autonomous clouds.
After a plurality of autonomous clouds are interconnected by the boundary routers in this way, a distributed network distributed according to layers is formed.
3. Terminal device
A terminal is a device that provides services to users in an autonomous network, such as a set-top box, a streaming media gateway, a code board, a memory, a media compositor, etc.
4. Switching network
Switching networks are used to provide underlying network communication capabilities to autonomous networks so that devices connected to the same switching network can communicate with each other.
In one example, the switching network is an ethernet network, i.e., devices may communicate based on a standard ethernet protocol.
According to the actual situation of the ethernet, after the device accesses the master control clout or the slave control clout, various topologies can be formed, such as full-connected, star-shaped, tree-shaped, and so on.
The communication process between devices differs in different topologies.
Definition of data packets of autonomous network
The data packet of the autonomous network mainly comprises the following parts: ethernet header, autonomous network header, payload (pdu), CRC.
The ethernet header can be further divided into: the Destination MAC Address (DMAC), the Source MAC Address (SMAC), the Ethernet Type (ETYPE), and a VLAN header (VLAN) may be included in the ethernet header as necessary.
The autonomous network header can be further divided into: packet type (VTYPE), Reserved byte (Reserved), destination autonomous network address (DA), and source autonomous network address (SA).
The specific format of the VLAN-less header is shown in the following table:
DMAC SMAC ETYPE VTYPE Reserved DA SA Reserved Payload CRC
the specific format of the VLAN header is shown in the following table:
DMAC SMAC VLAN ETYPE VTYPE Reserved DA SA Reserved Payload CRC
wherein:
the Destination MAC Address (DMAC) may consist of 6 bytes, indicating the MAC address of the network interface of the device receiving the packet;
the Source MAC Address (SMAC) may consist of 6 bytes, indicating the MAC address of the network interface of the device sending the packet;
the Ethernet Type (ETYPE) may consist of 2 bytes, representing the frame type of the ethernet;
the VLAN header may be composed of 4 bytes, indicating VLAN information used when transmitting packets using a VLAN;
the packet type (VTYPE) may be 1 byte, and represents the type of the packet (e.g., a connection packet, a unicast packet, a multicast packet, etc.);
reserved bytes may consist of 1 byte, typically set to 0;
the destination autonomous network address (DA) may consist of 8 bytes, indicating the address in the autonomous network of the receiver receiving the packet, the meaning of which is determined by the packet type;
the source autonomous network address (SA) may consist of 8 bytes, indicating the address in the autonomous network of the recipient sending the packet, the meaning of which is determined by the packet type;
the Payload stores the PDU of the autonomous network, and the length of the PDU is related to the type of the data packet. For example, the multicast packet may be 288 or 1056 bytes in length, and the connection packet and the unicast packet may be 64, 288 or 1056 bytes in length.
Of course, Payload is not limited to the above 3 lengths, and other lengths may be used, which is not limited by the embodiment of the present invention.
The CRC may consist of 4 bytes, which is calculated in accordance with the standard ethernet CRC algorithm.
Referring to fig. 3, a flowchart illustrating steps of a method for processing device information according to an embodiment of the present invention is shown, where a plurality of hierarchically distributed autonomous clouds are distributed in a video network, each of the autonomous clouds is provided with a monitoring management server, and a monitoring platform of a third party accesses the monitoring management server, where the method is applied to the monitoring management server, and specifically may include the following steps:
step 301, obtaining first device information of a monitoring device from the monitoring platform.
In a specific implementation, an API (Application Programming Interface) Interface for providing data to a monitoring management server in a video network is provided by a monitoring platform of a third party, a reading right of a database is opened for the monitoring management server, and the monitoring management server can call the API Interface to actively read first device information of a monitoring device, such as a device identifier, a device name, a device model, longitude and latitude, a governed monitoring platform, and the like, from the database in the monitoring platform of the third party.
The third-party monitoring platform can be a computing cluster independent of the video network and can form an independent local area network.
In one example, the monitoring platform of the third party may be a public security monitoring platform, and in this case, the first device information of the monitoring device is also referred to as one-file-one-file information.
Because the monitoring equipment is kept used for monitoring in the monitoring platform of the third party, the first equipment information of the monitoring equipment can be continuously updated, and therefore, in order to keep the accuracy of the equipment information in the video network, the monitoring management server can read the first equipment information of the monitoring equipment from the database in the monitoring platform of the third party at intervals.
In addition, in order to reduce the occupation of resources such as bandwidth and I/O (input/output) and ensure the normal operation of other services of the video network, the monitoring management server may read the first device information of the monitoring device from a database in the monitoring platform of the third party at a spatial time (e.g., early morning time).
In one embodiment, the autonomous clouds (including the monitoring management server) and the monitoring platforms of the third parties may be deployed according to administrative regions, for example, one level of each of the autonomous clouds and the monitoring platforms may be deployed in administrative regions such as provinces, cities, counties, etc., the provincial autonomous clouds (including the monitoring management server) are connected to the provincial monitoring platforms, the city autonomous clouds (including the monitoring management server) are connected to the city monitoring platforms, and the county autonomous clouds (including the monitoring management server) are connected to the county monitoring platforms.
The monitoring equipment in the county-level monitoring platform acquires monitoring data, uploads the monitoring data to the city-level monitoring platform and is aggregated with the monitoring data acquired by the monitoring equipment in the city-level monitoring platform, and the city-level monitoring platform uploads the monitoring data to the province-level monitoring platform and is aggregated with the monitoring data acquired by the monitoring equipment in the province-level monitoring platform.
In this embodiment, the level of the monitoring platform providing the monitoring data is the same as the level of the autonomous cloud (including the monitoring management server) acquiring the monitoring data, and is generally the highest level.
For example, a monitoring platform at provincial level provides monitoring data, and an autonomous cloud (including a monitoring management server) at provincial level acquires the monitoring data.
In one embodiment of the present invention, step 301 may include the following sub-steps:
substep S11, querying the database view from the monitoring platform.
And a substep S12, obtaining first device information of the monitoring device from the monitoring platform according to the database view.
In an embodiment of the invention, a monitoring platform provides a database view of a database.
The database view is a virtual table, a table derived from one or several base tables in the database.
The operations on the database view are, like the other tables, actually changing the data in the base table when the data is modified through the database view; conversely, changes to the base table data are automatically reflected in the database view generated by the base table.
The monitoring management server can operate a database in the monitoring platform based on the database view, and acquire first device information of the monitoring device from the monitoring platform.
In one example of the embodiment of the present invention, the sub-step S12 may further include the following sub-steps:
substep S121, determining whether there is remaining first device information based on the database view; if yes, go to substep S122, otherwise go to substep S124.
And a substep S122 of selecting first device information of a designated length from the remaining first device information.
And a substep S123 of obtaining the device file from the monitoring platform and returning to execute the substep S121.
And a substep S124 of determining that the acquisition of the first device information of the monitoring device from the monitoring platform is completed.
In this example, the monitoring management server may obtain device files in batches in order that data may be transferred quickly and securely between different network domains.
The device file is generated by packaging first device information with a specified length.
Specifically, the monitoring management server selects, at each operation, first device information of a specified length, which may contain first device information of a plurality of monitoring devices, from the currently remaining first device information based on the database view.
And the monitoring platform packages the first equipment information with the specified length into an equipment file and transmits the equipment file to the monitoring management server, and the monitoring management server unpacks the first equipment information with the specified length from the equipment file.
And repeating the operation of the monitoring management server until the required first equipment information is acquired from the monitoring platform.
Step 302, searching second device information of the monitoring device in the video network.
The monitoring management server searches the database for second device information stored for the same monitoring device, such as device identification, device name, device model, longitude and latitude, administrative region, and the like.
Step 303, integrating the first device information and the second device information into target device information of the monitoring device.
The monitoring management server searches for the first device information and the second device information of the same monitoring device through a device identifier (such as a national standard code), so that the first device information and the second device information are integrated into new target device information and stored in a new table of the database.
In a specific implementation, the first device information includes an information item and an information value, and the second device information includes an information item and an information value.
For example, for a monitoring device deployed in Guangzhou city, the information items are latitude and longitude, and the information values are 113 ° 17 'for east longitude and 23 ° 8' for north latitude.
In one embodiment of the present invention, step 303 may comprise the sub-steps of:
and a substep S21, if the first device information and the second device information have the same information item, merging an information value corresponding to the information item in the first device information and an information value corresponding to the information item in the second device information to obtain merged information.
Sub-step S22, adding the information item to the target device information of the monitoring device.
And a substep S23 of setting the merging information to the information value corresponding to the information item.
In the embodiment of the present invention, the first device information and the second device information of the same monitoring device are compared, and if the first device information and the second device information have the same information item, the information values of the first device information and the second device information may be merged, and the merged data is merged information.
The information item is added to the new target apparatus information, and the merge information is set to a new information value.
In one case, if the information value corresponding to the information item in the first device information has the same content and the same expression as the information value corresponding to the information item in the second device information, the information value is set as the merged information.
In this case, the information items of the first device information and the second device information are the same, and the information values are also the same, that is, the first device information and the second device information are the same, and at this time, the directability information value is set as the merge information.
In another case, if the information value corresponding to the information item in the first device information is the same in content and different in expression from the information value corresponding to the information item in the second device information, the priority of the information value corresponding to the information item in the first device information is set to be lower than the priority of the information value corresponding to the information item in the second device information in the merged information.
In this case, the information items of the first device information and the second device information are the same, and the information values are expressed differently but substantially the same, for example, the first device information may be expressed in chinese and the second device information may be expressed in english for the same device model.
At this time, the information value corresponding to the information item in the first device information and the information value corresponding to the information item in the second device information may be simultaneously retained in the merged information.
In addition, since the information value corresponding to the information item in the second device information is already used in the video network, the priority of the information value corresponding to the information item in the first device information can be set to be lower than the priority of the information value corresponding to the information item in the second device information, so that the information value corresponding to the information item in the second device information is preferentially used in the monitoring service, and the information value corresponding to the information item in the first device information can be used when a user instructs to switch or an abnormality occurs in the information value corresponding to the information item in the second device information.
In still another case, if the information value corresponding to the information item in the first device information is different in content from the information value corresponding to the information item in the second device information, the priority of the information value corresponding to the information item in the first device information is set to be lower than the priority of the information value corresponding to the information item in the second device information in the merged information.
In this case, the information items of the first device information and the second device information are the same, and the information values are different, for example, the latitude and longitude of the first device information is different from that of the second device information.
At this time, the information value corresponding to the information item in the first device information and the information value corresponding to the information item in the second device information may be simultaneously retained in the merged information.
In addition, since the reliability of the information value corresponding to the information item in the second device information is higher than that of the information value corresponding to the information item in the first device information, the priority of the information value corresponding to the information item in the first device information can be set to be lower than that of the information value corresponding to the information item in the second device information, so that the information value corresponding to the information item in the second device information is preferentially used in the monitoring service, and the information value corresponding to the information item in the first device information can be used when a user instructs to perform switching or an abnormality occurs in the information value corresponding to the information item in the second device information.
In another embodiment of the present invention, step 303 may comprise the sub-steps of:
and a substep S31, setting an information item and an information value thereof in the first device information as an information item and an information value thereof in the target device information of the monitoring device if a certain information item in the first device information is not identical to all information items in the second device information.
And a substep S32, setting an information item and an information value thereof in the second device information as an information item and an information value thereof in the target device information of the monitoring device if a certain information item in the second device information is not identical to all information items in the first device information.
In the embodiment of the invention, the first device information and the second device information of the same monitoring device are compared.
If a certain information item in the first device information is different from all information items in the second device information, that is, the first device information has data missing from the second device information, such as a policed monitoring platform, the information item and the information value matched with the first device information can be directly set as the information item and the information value in the new target device information.
In addition, if a certain information item in the second device information is different from all information items in the first device information, that is, there is data missing in the first device information in the second device information, such as an administrative area, the information item and the information value matched with the second device information may be directly set as the information item and the information value in the new target device information.
In the embodiment of the invention, a plurality of autonomous clouds distributed in a hierarchical manner are distributed in a video network, a monitoring management server is arranged in each autonomous cloud, a monitoring platform of a third party is accessed to the monitoring management server, the monitoring management server acquires first equipment information of monitoring equipment from the monitoring platform, second equipment information of the monitoring equipment is searched in the video network, and the first equipment information and the second equipment information are integrated into target equipment information of the monitoring equipment, so that interconnection and intercommunication and data sharing among different network domains are realized, the fusion capacity and the processing capacity of the monitoring management server on the equipment information are improved, the probability of conflict during the coordination of monitoring services is reduced, the frequency of manual correction is reduced, and the simplicity and convenience of operation are improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a device for processing device information according to an embodiment of the present invention is shown, where a plurality of hierarchically distributed autonomous clouds are distributed in a video network, each autonomous cloud is provided with a monitoring management server, a monitoring platform of a third party accesses the monitoring management server, and the device is applied to the monitoring management server, and may specifically include the following modules:
a first device information obtaining module 401, configured to obtain first device information of a monitoring device from the monitoring platform;
a second device information searching module 402, configured to search for second device information of the monitoring device in the video network;
an equipment information integration module 403, configured to integrate the first equipment information and the second equipment information into target equipment information of the monitoring equipment.
In an embodiment of the present invention, the first device information acquiring module 401 includes:
the database view query submodule is used for querying a database view from the monitoring platform;
and the database view acquisition submodule is used for acquiring first equipment information of the monitoring equipment from the monitoring platform according to the database view.
In an embodiment of the present invention, the database view acquisition sub-module includes:
the residual judgment submodule is used for judging whether residual first equipment information exists or not based on the database view; if yes, calling an information selection sub-module, and if not, calling an acquisition completion sub-module;
the information selection submodule is used for selecting the first equipment information with the specified length from the rest first equipment information;
the device file obtaining submodule is used for obtaining a device file from the monitoring platform, the device file is generated by packaging first device information with a specified length, and the device file returns to call the residual judging submodule;
and determining that the first equipment information of the monitoring equipment is acquired from the monitoring platform.
In one embodiment of the present invention, the first device information includes an information item and an information value, and the second device information includes an information item and an information value;
the device information integration module 403 includes:
an information value merging submodule, configured to merge an information value corresponding to the information item in the first device information with an information value corresponding to the information item in the second device information to obtain merged information if the first device information and the second device information have the same information item;
an information item adding submodule for adding the information item to target device information of the monitoring device;
and the information value setting submodule is used for setting the merging information as the information value corresponding to the information item.
In an embodiment of the present invention, the information value merging sub-module includes:
the same processing unit is used for setting the information value as merging information if the information value corresponding to the information item in the first device information has the same content and expression as the information value corresponding to the information item in the second device information;
a first priority setting unit, configured to set, in merged information, a priority of an information value corresponding to the information item in the first device information lower than a priority of an information value corresponding to the information item in the second device information if the information value corresponding to the information item in the first device information and the information value corresponding to the information item in the second device information have the same content and are different in expression;
a second priority setting unit, configured to set, in the merged information, a priority of an information value corresponding to the information item in the first device information lower than a priority of an information value corresponding to the information item in the second device information if the information value corresponding to the information item in the first device information is different from the information value corresponding to the information item in the second device information in content.
In another embodiment of the present invention, the first device information includes an information item and an information value, and the second device information includes an information item and an information value;
the device information integration module 403 includes:
a first difference processing sub-module, configured to set an information item and an information value thereof in the first device information as an information item and an information value thereof in target device information of the monitoring device, if a certain information item in the first device information is different from all information items in the second device information;
and the second difference processing submodule is used for setting an information item and an information value thereof in the second equipment information as an information item and an information value thereof in the target equipment information of the monitoring equipment if a certain information item in the second equipment information is different from all information items in the first equipment information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In the embodiment of the invention, a plurality of autonomous clouds distributed in a hierarchical manner are distributed in a video network, a monitoring management server is arranged in each autonomous cloud, a monitoring platform of a third party is accessed to the monitoring management server, the monitoring management server acquires first equipment information of monitoring equipment from the monitoring platform, second equipment information of the monitoring equipment is searched in the video network, and the first equipment information and the second equipment information are integrated into target equipment information of the monitoring equipment, so that interconnection and intercommunication and data sharing among different network domains are realized, the fusion capacity and the processing capacity of the monitoring management server on the equipment information are improved, the probability of conflict during the coordination of monitoring services is reduced, the frequency of manual correction is reduced, and the simplicity and convenience of operation are improved.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a device information processing method and a device for processing device information, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (7)

1. A method for processing equipment information is characterized in that a plurality of hierarchically distributed autonomous clouds are distributed in a video network, a monitoring management server is arranged in each autonomous cloud, a monitoring platform of a third party is accessed to the monitoring management server, and the method is applied to the monitoring management server and comprises the following steps:
acquiring first equipment information of monitoring equipment from the monitoring platform;
searching second equipment information of the monitoring equipment in the video network;
integrating the first device information and the second device information into target device information of the monitoring device;
wherein the first device information comprises an information item and an information value, and the second device information comprises an information item and an information value;
the integrating the first device information and the second device information into the target device information of the monitoring device includes:
if the first device information and the second device information have the same information item, merging an information value corresponding to the information item in the first device information with an information value corresponding to the information item in the second device information to obtain merged information;
adding the information item to target device information of the monitoring device;
setting the merging information as an information value corresponding to the information item;
the merging the information value corresponding to the information item in the first device information with the information value corresponding to the information item in the second device information to obtain merged information includes:
if the information value corresponding to the information item in the first device information is the same in content and expression as the information value corresponding to the information item in the second device information, setting the information value as merging information;
if the information value corresponding to the information item in the first device information is the same in content and different in expression from the information value corresponding to the information item in the second device information, setting the priority of the information value corresponding to the information item in the first device information to be lower than the priority of the information value corresponding to the information item in the second device information in the merged information;
if the information value corresponding to the information item in the first device information is different from the information value corresponding to the information item in the second device information in content, setting the priority of the information value corresponding to the information item in the first device information to be lower than the priority of the information value corresponding to the information item in the second device information in the merged information.
2. The method of claim 1, wherein the obtaining first device information of a monitoring device from the monitoring platform comprises:
querying a database view from the monitoring platform;
and acquiring first equipment information of the monitoring equipment from the monitoring platform according to the database view.
3. The method of claim 2, wherein obtaining first device information of a monitoring device from a monitoring platform according to the database view comprises:
judging whether the remaining first device information exists or not based on the database view;
if yes, selecting first equipment information with a specified length from the remaining first equipment information;
acquiring an equipment file from a monitoring platform, wherein the equipment file is generated by packaging first equipment information with specified length, and returning to execute the step of judging whether the residual first equipment information exists based on the database view;
if not, determining that the first equipment information of the monitoring equipment is obtained from the monitoring platform.
4. The method according to any of claims 1-3, wherein the first device information comprises information items and information values, and the second device information comprises information items and information values;
the integrating the first device information and the second device information into the target device information of the monitoring device includes:
if a certain information item in the first device information is different from all information items in the second device information, setting the information item and the information value thereof in the first device information as an information item and an information value thereof in target device information of the monitoring device;
and if a certain information item in the second equipment information is different from all information items in the first equipment information, setting the information item and the information value thereof in the second equipment information as the information item and the information value thereof in the target equipment information of the monitoring equipment.
5. The utility model provides a processing apparatus of equipment information, its characterized in that distributes the autonomous cloud of a plurality of hierarchical distributions in the video networking, be provided with the control management server in the autonomous cloud, the control platform of third party inserts the control management server, the device is used the control management server includes:
the first equipment information acquisition module is used for acquiring first equipment information of the monitoring equipment from the monitoring platform;
the second equipment information searching module is used for searching second equipment information of the monitoring equipment in the video network;
the equipment information integration module is used for integrating the first equipment information and the second equipment information into target equipment information of the monitoring equipment;
wherein the first device information comprises an information item and an information value, and the second device information comprises an information item and an information value;
the device information integration module includes:
an information value merging submodule, configured to merge an information value corresponding to the information item in the first device information with an information value corresponding to the information item in the second device information to obtain merged information if the first device information and the second device information have the same information item;
an information item adding submodule for adding the information item to target device information of the monitoring device;
the information value setting submodule is used for setting the merging information as the information value corresponding to the information item;
the information value merging submodule comprises:
the same processing unit is used for setting the information value as merging information if the information value corresponding to the information item in the first device information has the same content and expression as the information value corresponding to the information item in the second device information;
a first priority setting unit, configured to set, in merged information, a priority of an information value corresponding to the information item in the first device information lower than a priority of an information value corresponding to the information item in the second device information if the information value corresponding to the information item in the first device information and the information value corresponding to the information item in the second device information have the same content and are different in expression;
a second priority setting unit, configured to set, in the merged information, a priority of an information value corresponding to the information item in the first device information lower than a priority of an information value corresponding to the information item in the second device information if the information value corresponding to the information item in the first device information is different from the information value corresponding to the information item in the second device information in content.
6. The apparatus of claim 5, wherein the first device information obtaining module comprises:
the database view query submodule is used for querying a database view from the monitoring platform;
and the database view acquisition submodule is used for acquiring first equipment information of the monitoring equipment from the monitoring platform according to the database view.
7. The apparatus of claim 6, wherein the database view acquisition sub-module comprises:
the residual judgment submodule is used for judging whether residual first equipment information exists or not based on the database view; if yes, calling an information selection sub-module, and if not, calling an acquisition completion sub-module;
the information selection submodule is used for selecting the first equipment information with the specified length from the rest first equipment information;
the device file obtaining submodule is used for obtaining a device file from the monitoring platform, the device file is generated by packaging first device information with a specified length, and the device file returns to call the residual judging submodule;
and determining that the first equipment information of the monitoring equipment is acquired from the monitoring platform.
CN201811033317.XA 2018-09-05 2018-09-05 Method and device for processing equipment information Active CN109194914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811033317.XA CN109194914B (en) 2018-09-05 2018-09-05 Method and device for processing equipment information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811033317.XA CN109194914B (en) 2018-09-05 2018-09-05 Method and device for processing equipment information

Publications (2)

Publication Number Publication Date
CN109194914A CN109194914A (en) 2019-01-11
CN109194914B true CN109194914B (en) 2021-01-22

Family

ID=64914654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811033317.XA Active CN109194914B (en) 2018-09-05 2018-09-05 Method and device for processing equipment information

Country Status (1)

Country Link
CN (1) CN109194914B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166363B (en) * 2019-05-06 2020-12-11 视联动力信息技术股份有限公司 Multicast link monitoring method and device
CN110474781B (en) * 2019-08-29 2021-09-28 视联动力信息技术股份有限公司 Method and device for forwarding multicast data
CN111030840A (en) * 2019-11-06 2020-04-17 视联动力信息技术股份有限公司 Method and device for generating topological graph, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7444437B2 (en) * 2003-01-14 2008-10-28 Fujitsu Limited Input/output device and method of setting up identification information in input/output device
CN102143202A (en) * 2010-11-23 2011-08-03 北京三博中自科技有限公司 Information integration method and information integration system for industrial production equipment
CN103020051A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Data transferring method for plug-in equipment
US8451464B2 (en) * 2008-06-25 2013-05-28 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and storage medium
CN104424065A (en) * 2013-09-10 2015-03-18 腾讯科技(深圳)有限公司 Method and device for detecting storage space volume of mobile phone
CN105227908A (en) * 2015-09-02 2016-01-06 武汉兴图新科电子股份有限公司 A kind of In-vehicle networking video directing system and method
CN105354631A (en) * 2015-10-21 2016-02-24 国网浙江建德市供电公司 Optimization method for information assets device management of electrical power enterprise

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7444437B2 (en) * 2003-01-14 2008-10-28 Fujitsu Limited Input/output device and method of setting up identification information in input/output device
US8451464B2 (en) * 2008-06-25 2013-05-28 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and storage medium
CN102143202A (en) * 2010-11-23 2011-08-03 北京三博中自科技有限公司 Information integration method and information integration system for industrial production equipment
CN103020051A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Data transferring method for plug-in equipment
CN104424065A (en) * 2013-09-10 2015-03-18 腾讯科技(深圳)有限公司 Method and device for detecting storage space volume of mobile phone
CN105227908A (en) * 2015-09-02 2016-01-06 武汉兴图新科电子股份有限公司 A kind of In-vehicle networking video directing system and method
CN105354631A (en) * 2015-10-21 2016-02-24 国网浙江建德市供电公司 Optimization method for information assets device management of electrical power enterprise

Also Published As

Publication number Publication date
CN109194914A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109391614B (en) Method and device for calling monitoring data based on video network
US11463313B2 (en) Topology-aware controller associations in software-defined networks
EP2989749B1 (en) Network resource monitoring
US7672314B2 (en) Scaling VLANs in a data network
US8892708B2 (en) Placement of service delivery locations of a distributed computing service based on logical topology
CN111612466B (en) Consensus and resource transmission method, device and storage medium
JP2021530912A (en) Network slice control method and device, computer readable storage medium
CN109194914B (en) Method and device for processing equipment information
US10554500B2 (en) Modeling access networks as trees in software-defined network controllers
CN115004656B (en) Message sending method, device and system
WO2022110535A1 (en) Packet sending method, device, and system
CN104144143B (en) Method and control device that network is set up
WO2016107134A1 (en) Service chain route management system and usage method therefor
CN110650092B (en) Data processing method and device
CN110875889B (en) Method and device for acquiring path
US20140317272A1 (en) Method of collecting information, content network management system, and node apparatus using management interface in content network based on information-centric networking
CN114513447A (en) SD-WAN (secure digital-to-Wide area network) service issuing system, method, device and network equipment
CN115865844B (en) Virtual-real combined dynamic flow scheduling method and device based on SDN (software defined network) and NDN (non-dynamic network)
CN110740287B (en) Data processing method and device for autonomous network
CN116996585A (en) Multicast communication method, device, system, computer equipment and storage medium
WO2020233217A1 (en) Method and device for creating transmission network sub-slice, and system and storage medium
CN110730154B (en) Service processing method and device for video network
CN113765803A (en) Route publishing method and device and network equipment
CN102420832A (en) Network interaction engine applied to cloud environment and realization method
CN116980293A (en) Virtual network management method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant