CN113194117A - Data processing method and device based on video network - Google Patents

Data processing method and device based on video network Download PDF

Info

Publication number
CN113194117A
CN113194117A CN202110303357.7A CN202110303357A CN113194117A CN 113194117 A CN113194117 A CN 113194117A CN 202110303357 A CN202110303357 A CN 202110303357A CN 113194117 A CN113194117 A CN 113194117A
Authority
CN
China
Prior art keywords
monitoring
data
information
storage
fragmentation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110303357.7A
Other languages
Chinese (zh)
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.)
Hainan Shilian Communication Technology Co ltd
Original Assignee
Hainan Shilian Communication 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 Hainan Shilian Communication Technology Co ltd filed Critical Hainan Shilian Communication Technology Co ltd
Priority to CN202110303357.7A priority Critical patent/CN113194117A/en
Publication of CN113194117A publication Critical patent/CN113194117A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • 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

Abstract

The embodiment of the invention provides a data processing method and device based on a video network, which are applied to a central storage server, wherein the central storage server is connected with a plurality of data centers, and the method comprises the following steps: receiving a monitoring data acquisition request aiming at first monitoring equipment and sent by a video networking terminal; determining one or more pieces of first fragmentation storage information of the requested first monitoring data according to the monitoring data acquisition request, wherein the one or more pieces of first fragmentation storage information are used for indicating one or more first data centers which fragment and store the first monitoring data; and controlling the one or more first data centers to send the first monitoring data to the video networking terminal according to the one or more first fragment storage information. By the embodiment of the invention, the standardization of monitoring data storage is realized, the hard disk read-write speed of the monitoring data is improved, the storage capacity of the monitoring data can be expanded, and the standardized sharing of the monitoring data is realized.

Description

Data processing method and device based on video network
Technical Field
The invention relates to the technical field of video networking, in particular to a data processing method and device based on video networking.
Background
At present, a video monitoring technology is an important component of the internet of things technology and is a main means for sensing security. The surveillance video storage system has higher requirements on file storage capacity and file reading and writing speed, but the existing surveillance video storage system lacks deep application, and how to efficiently extract video information and realize large-scale surveillance video recording is a problem which is urgently needed to be solved at present.
Disclosure of Invention
In view of the above, it is proposed to provide a method and apparatus for video-networking based data processing that overcomes or at least partially solves the above mentioned problems, comprising:
a method for data processing based on video network is applied to a central storage server, the central storage server is connected with a plurality of data centers, and the method comprises the following steps:
receiving a monitoring data acquisition request aiming at first monitoring equipment and sent by a video networking terminal;
determining one or more pieces of first fragmentation storage information of the requested first monitoring data according to the monitoring data acquisition request, wherein the one or more pieces of first fragmentation storage information are used for indicating one or more first data centers which fragment and store the first monitoring data;
and controlling the one or more first data centers to send the first monitoring data to the video networking terminal according to the one or more first fragment storage information.
Optionally, the first monitoring data includes first shard data stored in the one or more first data centers, and the controlling the one or more first data centers to send the first monitoring data to the video network terminal according to the one or more first shard storage information includes:
determining first sharded data stored in the one or more first data centers according to the one or more first sharded storage information;
and controlling the one or more first data centers to send the first fragment data to the video networking terminal.
Optionally, the monitoring data obtaining request at least includes: an identity of the first monitoring device.
Optionally, the monitoring data obtaining request further includes: first time period information for screening one or more first sharded storage information of the requested first monitoring data, the method further comprising:
determining one or more candidate fragment storage information according to the identifier of the first monitoring device;
determining candidate fragment time period information corresponding to the candidate fragment storage information;
and determining candidate fragmentation time period information matched with the first time period information as first fragmentation time period information, and determining one or more first fragmentation storage information from the one or more candidate fragmentation storage information according to the first fragmentation time period information.
A data processing method based on video network is applied to a central storage server, the central storage server is connected with a plurality of data centers and a plurality of monitoring access servers, each monitoring access server is connected with a plurality of monitoring devices, and the method comprises the following steps:
acquiring monitoring demand information aiming at second monitoring equipment;
determining a data center list according to the monitoring demand information; wherein the list of data centers includes an identification of one or more second data centers;
and controlling a second monitoring access server connected with the second monitoring equipment to store second monitoring data fragments corresponding to the monitoring demand information to the one or more second data centers according to the monitoring demand information and the data center list.
Optionally, the method further comprises:
receiving second fragmentation storage information sent by one or more second data centers, and establishing a corresponding relation between the identifier of the second monitoring equipment and the second fragmentation storage information; wherein the second shard storage information is used to indicate one or more second data centers sharded to store the second monitoring data.
Optionally, the second monitoring data includes second shard data stored in the one or more second data centers, the second monitoring access server is configured to process the second monitoring data shards into one or more second shard data, and store the one or more second shard data to the one or more second data centers, where each second shard data has second shard time period information, and the method further includes:
and establishing a corresponding relation among the identifier of the second monitoring device, second fragmentation time period information corresponding to the second fragmentation data and second fragmentation storage information.
Optionally, the method further comprises:
and acquiring the identifier of the second monitoring equipment from the monitoring demand information.
Optionally, the method further comprises:
acquiring second time period information from the monitoring demand information; the second time period information is used for indicating a time period for monitoring by the second monitoring device.
An apparatus for data processing based on video network, applied to a central storage server, the central storage server being connected with a plurality of data centers, the apparatus comprising:
the monitoring data acquisition request receiving module is used for receiving a monitoring data acquisition request aiming at the first monitoring equipment and sent by the video networking terminal;
a first fragmentation storage information determining module, configured to determine, according to the monitoring data acquisition request, one or more first fragmentation storage information of the requested first monitoring data, where the one or more first fragmentation storage information is used to indicate one or more first data centers that fragment-store the first monitoring data;
and the first monitoring data sending module is used for controlling the one or more first data centers to send the first monitoring data to the video network terminal according to the one or more first fragment storage information.
An apparatus for data processing based on video network, applied to a central storage server, the central storage server is connected with a plurality of data centers and a plurality of monitoring access servers, each monitoring access server is connected with a plurality of monitoring devices, the apparatus comprises:
the monitoring demand information acquisition module is used for acquiring monitoring demand information aiming at the second monitoring equipment;
the data center list determining module is used for determining a data center list according to the monitoring demand information; wherein the list of data centers includes an identification of one or more second data centers;
and the fragment storage module is used for controlling a second monitoring access server connected with the second monitoring equipment to store second monitoring data fragments corresponding to the monitoring demand information to the one or more second data centers according to the monitoring demand information and the data center list.
An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing a method of video-networking based data processing as described above.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements a method of visual networking-based data processing as described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, by receiving the monitoring data acquisition request aiming at the first monitoring equipment sent by the video network terminal, then, according to the monitoring data acquisition request, one or more first shard storage information of the requested first monitoring data is determined, the one or more first shard storage information is used for indicating one or more first data centers which sharely store the first monitoring data, and then according to one or more first fragment storage information, one or more first data centers are controlled to send first monitoring data to the video network terminal, so that the standardization of monitoring data storage is realized, and by receiving a monitoring data acquisition request aiming at the monitoring equipment, and then the data center is controlled to send the monitoring data, the hard disk reading and writing speed of the monitoring data is improved, the storage capacity of the monitoring data can be expanded, and the monitoring data is standardized and shared.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic networking diagram of a video network according to an embodiment of the present invention;
fig. 2 is a schematic hardware structure diagram of a node server according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of an access switch according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of an ethernet protocol conversion gateway according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of a method for data processing over a video network according to an embodiment of the present invention;
FIG. 6 is a flow chart of steps in another method for video-networking based data processing, according to an embodiment of the invention;
fig. 7 is a schematic diagram of an example of monitoring data transmission according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus for data processing based on a video network according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another apparatus for data processing based on a video network 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. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network technology (network technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server technology (Servertechnology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
1. Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Referring to fig. 5, a flowchart illustrating steps of a method for data processing based on a video network according to an embodiment of the present invention is shown, where the method may employ a central storage server, and the central storage server may be connected to a plurality of data centers, and specifically may include the following steps:
step 501, receiving a monitoring data acquisition request aiming at a first monitoring device sent by a video network terminal;
the first monitoring device may be a monitoring device that is to read monitoring data, for example, may acquire monitoring video data for a monitoring camera.
In the process of reading the monitoring data, the central storage server may receive a monitoring data acquisition request for the first monitoring device sent by the video network terminal, so as to further read the monitoring data according to the monitoring data acquisition request.
The central storage server can be connected with a plurality of data centers and a plurality of monitoring access servers, each monitoring access server can be connected with a plurality of monitoring devices, when monitoring video data are required to be read for checking, the video network terminal can acquire a monitoring list from the monitoring access servers, the monitoring list can comprise a plurality of monitoring device IDs, then the monitoring devices of the monitoring video data to be read can be determined from the monitoring devices according to the monitoring list, and then the video network terminal can send monitoring data acquisition requests to the central storage server aiming at the monitoring devices of the monitoring video data to be read so as to read the monitoring video data for checking.
Step 502, according to the monitoring data obtaining request, determining one or more first shard storage information of the requested first monitoring data, where the one or more first shard storage information is used to indicate one or more first data centers that sharely store the first monitoring data;
the first monitoring data may be monitoring data to be read, for example, monitoring video data of a monitoring camera may be read; the first monitoring data can be stored in one or more first data centers in a pre-slicing mode.
As an example, the first sharded storage information may be storage path information stored for shards of the first monitoring data, which may be used to indicate one or more first data centers that the shards store the first monitoring data.
After receiving the monitoring data obtaining request, determining one or more first shard storage information of the requested first monitoring data according to the monitoring data obtaining request, where the one or more first shard storage information may be used to indicate one or more first data centers in which the shards store the first monitoring data, and further, obtaining data from the one or more first data centers in which the shards store the first monitoring data according to the one or more first shard storage information.
For example, the first monitoring data may be stored in advance in a fragmented manner in one or more first data centers, and for the first monitoring data, one or more first fragmented storage information may be corresponded, which may be used to instruct the one or more first data centers that fragment-store the first monitoring data, and further, the first monitoring data may be further acquired by determining the one or more first fragmented storage information of the requested first monitoring data, that is, the storage path information for the first monitoring data.
In an example, the first sharded storage information may include storage data center IDs of one or more first data centers that sharely store the first monitoring data, and specific storage paths in the data centers, so that the stored monitoring data to be read may be acquired from the one or more first data centers.
Step 503, controlling the one or more first data centers to send the first monitoring data to the video network terminal according to the one or more first fragment storage information.
After the one or more pieces of first fragmentation storage information are obtained, one or more first data centers for fragmentally storing the first monitoring data to be read can be determined according to the one or more pieces of first fragmentation storage information of the requested first monitoring data, and then the one or more data centers can be controlled to send the first monitoring data to be read to the video networking terminal.
Specifically, the central storage server may receive a monitoring data acquisition request sent by the video networking terminal, and then may determine one or more data centers in which to-be-read monitoring data is stored in a fragmented manner according to the monitoring data acquisition request, and further, the central storage server may send information of the video networking terminal to the one or more data centers, so that the one or more data centers send the stored to-be-read monitoring data to the video networking terminal.
In an embodiment of the present invention, the first monitoring data may include first shard data stored in one or more first data centers, and step 503 may include the following sub-steps:
substep 11, determining first sliced data stored in the one or more first data centers according to the one or more first sliced storage information;
the first monitoring data may include first sharded data stored in one or more first data centers, and the first sharded data may be one or more sharded data for the first monitoring data.
After the one or more pieces of first fragmentation storage information are obtained, one or more first data centers where the fragments store the first monitoring data to be read can be determined according to the one or more pieces of first fragmentation storage information of the requested first monitoring data, and then the first fragmentation data stored in the one or more first data centers can be determined.
In an example, the first shard storage information may be storage path information of the first shard data for the first monitoring data, for example, a storage path of the shard data may be determined according to the shard storage information, and the shard storage information may include a storage data center ID for the shard data and a specific storage path in the data center.
In an embodiment of the present invention, the monitoring data obtaining request may include at least an identifier of the first monitoring device.
In an embodiment of the present invention, the monitoring data obtaining request may further include first time period information, and the method may further include the following steps:
determining one or more candidate fragment storage information according to the identifier of the first monitoring device; determining candidate fragment time period information corresponding to the candidate fragment storage information; and determining candidate fragmentation time period information matched with the first time period information as first fragmentation time period information, and determining one or more first fragmentation storage information from the one or more candidate fragmentation storage information according to the first fragmentation time period information.
As an example, the monitoring data obtaining request may include an identifier of the first monitoring device and first time period information, for example, a monitoring device ID of the monitoring video data to be read and time period information of the monitoring video data to be read may be included.
After receiving the monitoring data acquisition request, the identifier of the first monitoring device may be acquired from the monitoring data acquisition request, and then one or more candidate piece storage information may be determined according to the identifier of the first monitoring device, where the candidate piece storage information may be all piece storage information for the first monitoring device, and then candidate piece time period information corresponding to the candidate piece storage information may be determined, that is, each piece storage information may correspond to time period information for stored piece data.
And then, the candidate fragmentation time period information matched with the first time period information can be determined to be the first fragmentation time period information, and one or more first fragmentation storage information can be determined from one or more candidate fragmentation storage information according to the first fragmentation time period information, so as to further obtain the monitoring data according to the first fragmentation storage information.
In an example, the video network terminal may send time period information of the monitoring video data to be read and monitoring device information to the central storage server, and then the central storage server may obtain a monitoring video data storage list corresponding to the monitoring device according to the monitoring device information, where the monitoring video data storage list may include fragment storage information of all fragment data for the monitoring device.
In yet another example, the first fragment period information may be one or more fragment period information for the first period information, for example, since the to-be-read surveillance video data may include one or more fragment data, the period information of the to-be-read surveillance video data may correspond to the one or more fragment period information.
And a substep 12, controlling the one or more first data centers to send first fragmented data corresponding to the first fragmented storage information to the terminal of the internet of view.
After the first fragment data is obtained, one or more first data centers may be controlled to send the first fragment data corresponding to the first fragment storage information to the video networking terminal, for example, the first fragment data corresponding to the first fragment storage information may be sent to the video networking terminal through one or more data centers storing the first monitoring data to be read, that is, the monitoring data to be read corresponding to the monitoring data acquisition request may be sent to the video networking terminal.
Specifically, the central storage server may send the storage path information of the monitored video data to be read and the video networking terminal information for viewing the monitored video data to one or more data centers, and then the one or more data centers may find the storage path of the fragment data for the monitored video data through the storage path information of the monitored video data to be read, so as to further send the fragment data for the monitored video data to the video networking terminal.
In an example, one or more data rooms may be preset in a data center, the data room may include one or more data racks, each data rack may include at least three data hosts, each data host may include at least one data hard disk, the data center may find fragmented data for the monitoring video data through storage path information of the monitoring video data to be read, the fragmented data is stored on a hard disk of a host in a certain rack of a certain machine room in practice, and a monitoring data storage process for the first monitoring device may refer to the following description, which is not repeated here.
In the embodiment of the invention, by receiving the monitoring data acquisition request aiming at the first monitoring equipment sent by the video network terminal, then, according to the monitoring data acquisition request, one or more first shard storage information of the requested first monitoring data is determined, the one or more first shard storage information is used for indicating one or more first data centers which sharely store the first monitoring data, and then controlling one or more first data centers to send first monitoring data corresponding to the monitoring data acquisition request to the video network terminal according to the one or more first fragment storage information, thereby realizing the standardization of monitoring data storage, receiving the monitoring data acquisition request aiming at the monitoring equipment, and then the data center is controlled to send the monitoring data, the hard disk reading and writing speed of the monitoring data is improved, the storage capacity of the monitoring data can be expanded, and the monitoring data is standardized and shared.
Referring to fig. 6, a flowchart illustrating steps of another data processing method according to an embodiment of the present invention is shown, where the method may be applied to a central storage server, where the central storage server may connect to multiple data centers and multiple monitoring access servers, and each monitoring access server may connect to multiple monitoring devices, where the method specifically includes the following steps:
601, acquiring monitoring demand information for second monitoring equipment;
in an embodiment of the present invention, the method further includes the following steps:
and acquiring the identifier of the second monitoring equipment from the monitoring demand information.
In an embodiment of the present invention, the method further includes the following steps:
acquiring second time period information from the monitoring demand information; the second time period information is used for indicating a time period for monitoring by the second monitoring device.
The second monitoring device may be a monitoring device that is to store monitoring data, for example, monitoring video data corresponding to the monitoring camera may be stored.
As an example, the monitoring requirement information may include an identifier of the second monitoring device, and second time period information, for example, a monitoring device ID of the monitoring video data to be stored and time period information of the monitoring video data to be stored may be included.
In the monitoring data storage process, the central storage server may acquire monitoring requirement information for the second monitoring device, so as to further perform monitoring data storage according to the monitoring requirement information.
The central storage server may be connected to a plurality of data centers and a plurality of monitoring access servers, each monitoring access server may be connected to a plurality of monitoring devices, one or more data rooms may be preset in the data centers, each data room may include one or more data racks, each data rack may include at least three data hosts, and each data host may include at least one data hard disk.
In an example, a central storage server, a data center and a monitoring access server which are pre-deployed in the video network can perform network access authentication to a network management server in the video network.
Step 602, determining a data center list according to the monitoring requirement information; wherein the list of data centers includes an identification of one or more second data centers;
the second data center may be a data center that stores monitoring data corresponding to the monitoring demand information.
After the monitoring requirement information is obtained, a data center list may be determined according to the monitoring requirement information, where the data center list may include one or more identifiers of the second data center, so as to further perform monitoring data storage through the second data center.
In practical application, the central storage server may obtain monitoring device information connected to the monitoring access server through all monitoring access servers in the video network, where the monitoring device information may include monitoring device IDs, monitoring camera channel information, and the like, and then a central storage server administrator may formulate a monitoring video recording plan, where the monitoring video recording plan may include time period information for storing monitoring video data, and when the monitoring video recording plan is executed, the central storage server may calculate an optimal data center list according to the monitoring video data information to be stored and the data center information, where the optimal data center list may include one or more data center IDs.
Step 603, according to the monitoring demand information and the data center list, controlling a second monitoring access server connected to the second monitoring device to store a second monitoring data fragment corresponding to the monitoring demand information to the one or more second data centers.
As an example, the second monitoring data may be monitoring data to be stored, for example, monitoring video data of a monitoring camera may be stored.
After the data center list is determined, one or more data centers of the monitoring data to be stored can be determined according to the monitoring demand information and the data center list, and then a second monitoring access server connected with second monitoring equipment can be controlled to store second monitoring data corresponding to the monitoring demand information to the one or more second data centers.
In practical application, the central storage server may send the calculated optimal data center list, the monitoring device ID for performing the recording of the monitoring video data, and the monitoring video recording plan to one or more monitoring access servers, and the one or more monitoring access servers may obtain the monitoring video data from the monitoring device for performing the recording of the monitoring video data according to the monitoring device ID for performing the recording of the monitoring video data and the monitoring video recording plan, so as to further store the monitoring video data.
In an embodiment of the present invention, the method may further include the following steps:
receiving second fragmentation storage information sent by one or more second data centers, and establishing a corresponding relation between the identifier of the second monitoring equipment and the second fragmentation storage information; wherein the second shard storage information is used to indicate one or more second data centers sharded to store the second monitoring data.
As an example, the second sharded storage information may be storage path information stored for shards of the second monitoring data, which may be used to indicate one or more second data centers that the shards store the second monitoring data.
After the second monitoring data is stored in the one or more second data centers in a fragmented manner, second fragmentation storage information sent by the one or more second data centers may be received, and a corresponding relationship between an identifier of the second monitoring device and the second fragmentation storage information may be established, where the second fragmentation storage information may be used to indicate the one or more second data centers in which the second monitoring data is stored in a fragmented manner.
In an embodiment of the present invention, the second monitoring data may include second shard data stored in one or more second data centers, the second monitoring access server may be configured to process the second monitoring data shards into one or more second shard data, and store the one or more second shard data to the one or more second data centers, where each second shard data may have second shard time period information, and the method may further include the following steps:
and establishing a corresponding relation among the identifier of the second monitoring device, second fragmentation time period information corresponding to the second fragmentation data and second fragmentation storage information.
Wherein the second fragmentation data may be one or more fragmentation data for the second monitoring data; the second shard storage information may be storage information corresponding to one or more second shard data, for example, the shard storage information may include a storage data center ID for the shard data and a specific storage path in the data center.
As an example, the second fragmentation time period information may be one or more fragmentation time period information for the second time period information, for example, since the to-be-stored monitoring video data may include one or more fragmentation data, the time period information of the to-be-stored monitoring video data may correspond to the one or more fragmentation time period information.
In a specific implementation, the second monitoring data may be fragmented by the second monitoring access server into one or more second fragmented data, and may be stored in one or more second data centers, that is, the second monitoring data may include the second fragmented data stored in the one or more second data centers, and each second fragmented data may have second fragmentation time period information.
Then, the central storage server may receive second fragmentation storage information sent by one or more second data centers, and may further establish a correspondence between an identifier of the second monitoring device, second fragmentation time period information corresponding to the second fragmentation data, and the second fragmentation storage information, so as to complete a storage process for the second monitoring video data. The monitoring data reading process for the second monitoring device may refer to the above description and is not repeated here.
For example, after the monitoring access server obtains the monitoring video data from the monitoring device executing the recording of the monitoring video data, the monitoring access server may perform data fragmentation processing on the monitoring video data, may divide the monitoring video data into fragment data of different frame types, and may further transmit the fragmented data subjected to fragmentation processing to one or more data centers in a load balancing manner according to the data center list, so as to store the monitoring video data.
The data center can determine a main storage hard disk and spare storage hard disks on two different storage hosts according to the machine room data throughput, the rack data throughput, the host data throughput and the hard disk read-write capacity of the data center aiming at the received fragmented data, and then the data center can write the fragmented data into the main storage hard disk and can write the fragmented data into the spare storage hard disks.
After the data center completes the writing process of the fragment data, the fragment storage information corresponding to the fragment data can be sent to the monitoring access server, then the monitoring access server can forward the fragment storage information to the central storage server, and then the central storage server can store the fragment storage information of the same monitoring device into the monitoring video file corresponding to the monitoring device, so that the storage of the data in the star system area is realized for the monitoring video data, the unlimited expansion of the storage capacity of the monitoring data can be realized, the path number of recording the monitoring video data at the same time is increased, and the hard disk reading and writing speed of the monitoring video data is also increased.
In the embodiment of the invention, the monitoring demand information aiming at the second monitoring equipment is acquired, the data center list is determined according to the monitoring demand information, the data center list comprises one or more second data center identifications, then the second monitoring access server connected with the second monitoring equipment is controlled to store the second monitoring data corresponding to the monitoring demand information to one or more second data centers in a fragmentation mode according to the monitoring demand information and the data center list, the standardization of monitoring data storage is realized, the data center list is determined by acquiring the monitoring demand information aiming at the monitoring equipment, and then the monitoring data is stored to the data centers, so that the storage capacity of the monitoring data can be expanded, the hard disk reading and writing speed of the monitoring data is improved, and the standardized sharing of the monitoring data is achieved.
In order to enable those skilled in the art to better understand the above steps, the following description is provided for the embodiment of the present invention with reference to fig. 7, but it should be understood that the embodiment of the present invention is not limited thereto.
1. A central storage server can be deployed in the video network, and a plurality of data center storage domains can be deployed in the video network; the monitoring device may be connected to a monitoring access server;
2. all the video network equipment (such as a central storage server, a data center and a monitoring access server) deployed in the video network can perform network access authentication to a network management server;
3. in the process of storing the monitoring video data, a monitoring video plan can be made through a central storage server;
4. the central storage server can obtain an optimal data center list;
5. the central storage server may send the optimal data center list (i.e., the data center list) and the surveillance video schedule to one or more surveillance access servers;
6. the monitoring access server can pull the monitoring video data (namely, the second monitoring data) to one or more monitoring devices (namely, the second monitoring devices) according to the monitoring video plan;
7. the monitoring access server can perform data fragmentation processing on the received monitoring video data;
8. the monitoring access server may send the sharded data (i.e., the second sharded data) to one or more data centers (i.e., the second data center);
9. the data center can determine a main storage hard disk and two spare storage hard disks according to the data throughput of the machine room, the data throughput of the rack, the data throughput of the host and the read-write capability of the hard disks aiming at the received fragmented data;
10. the data center can write the fragmented data into the main storage hard disk and the standby storage hard disk;
11. after the fragmented data is written, the data center can send fragmented storage information (namely, second fragmented storage information) corresponding to the fragmented data to the monitoring access server;
12. the monitoring access server can forward the fragment storage information to the central storage server;
13. the central storage server can store the fragment storage information of the same monitoring device into a monitoring video file (namely, the corresponding relation between the identifier of the second monitoring device and the second fragment storage information is established);
14. in the process of reading the monitoring video data, the video network terminal can acquire a monitoring list aiming at the monitoring equipment through the monitoring access server;
15. the video network terminal can send the time period information of the monitoring video data to be read and the monitoring equipment information (namely the monitoring data acquisition request) of the monitoring video data to be read to the central storage server;
16. the central storage server can obtain a monitoring video data storage file list according to the received monitoring video data information to be read.
17. The central storage server can send storage information (namely first fragmentation storage information) of the monitoring video data (namely first monitoring data) to be read and video networking terminal information for checking the monitoring video data to the data center;
18. the data center (namely, the first data center) can determine a storage path of the monitoring video data through the storage information of the monitoring video data to be read;
19. the data center can send the monitoring video data to be read to the video networking terminal;
20. the video network terminal can display the video after receiving the monitoring video data to be read sent by the data center, so that the monitoring video data can be checked.
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. 8, a schematic structural diagram of an apparatus for data processing based on a video network according to an embodiment of the present invention is shown, where the apparatus may be applied to a central storage server, and the central storage server may connect to multiple data centers, and specifically may include the following modules:
a monitoring data obtaining request receiving module 801, configured to receive a monitoring data obtaining request for a first monitoring device sent by a video networking terminal;
a first fragmentation storage information determining module 802, configured to determine, according to the monitoring data acquisition request, one or more first fragmentation storage information of the requested first monitoring data, where the one or more first fragmentation storage information is used to indicate one or more first data centers that fragment-store the first monitoring data;
a first monitoring data sending module 803, configured to control the one or more first data centers to send the first monitoring data to the video network terminal according to the one or more first shard storage information.
In an embodiment of the present invention, the first monitoring data includes first fragmented data stored in one or more first data centers, and the first monitoring data sending module 803 includes:
a first shard data determining submodule, configured to determine first shard data stored in the one or more first data centers according to the one or more first shard storage information;
and the first fragment data sending submodule is used for controlling the one or more first data centers to send first fragment data corresponding to the first fragment storage information to the video network terminal.
In an embodiment of the present invention, the monitoring data obtaining request at least includes: an identity of the first monitoring device.
In an embodiment of the present invention, the monitoring data obtaining request further includes: first time period information for screening one or more first sharded storage information of the requested first monitoring data, further comprising:
a candidate slice storage information determining module, configured to determine one or more candidate slice storage information according to the identifier of the first monitoring device;
a candidate slice time period information determining module, configured to determine candidate slice time period information corresponding to the candidate slice storage information;
and the first fragmentation storage information obtaining module is used for determining candidate fragmentation time period information matched with the first time period information as first fragmentation time period information, and determining one or more first fragmentation storage information from the one or more candidate fragmentation storage information according to the first fragmentation time period information.
In the embodiment of the invention, by receiving the monitoring data acquisition request aiming at the first monitoring equipment sent by the video network terminal, then, according to the monitoring data acquisition request, one or more first shard storage information of the requested first monitoring data is determined, the one or more first shard storage information is used for indicating one or more first data centers which sharely store the first monitoring data, and then according to one or more first fragment storage information, one or more first data centers are controlled to send first monitoring data to the video network terminal, so that the standardization of monitoring data storage is realized, and by receiving a monitoring data acquisition request aiming at the monitoring equipment, and then the data center is controlled to send the monitoring data, the hard disk reading and writing speed of the monitoring data is improved, the storage capacity of the monitoring data can be expanded, and the monitoring data is standardized and shared.
Referring to fig. 9, a schematic structural diagram of an apparatus for data processing based on a video network according to an embodiment of the present invention is shown, where the apparatus may be applied to a central storage server, where the central storage server may connect a plurality of data centers and a plurality of monitoring access servers, and each monitoring access server may connect a plurality of monitoring devices, and specifically may include the following modules:
a monitoring requirement information obtaining module 901, configured to obtain monitoring requirement information for the second monitoring device;
a data center list determining module 902, configured to determine a data center list according to the monitoring requirement information; wherein the list of data centers includes an identification of one or more second data centers;
and a fragment storage module 903, configured to control, according to the monitoring requirement information and the data center list, a second monitoring access server connected to the second monitoring device to store a second monitoring data fragment corresponding to the monitoring requirement information to the one or more second data centers.
In an embodiment of the present invention, the method further includes:
the second fragmentation storage information receiving module is used for receiving second fragmentation storage information sent by one or more second data centers and establishing a corresponding relation between the identifier of the second monitoring equipment and the second fragmentation storage information; wherein the second shard storage information is used to indicate one or more second data centers sharded to store the second monitoring data.
In an embodiment of the present invention, the second monitoring data includes second shard data stored in the one or more second data centers, the second monitoring access server is configured to fragment the second monitoring data into one or more second shard data, and store the one or more second shard data in the one or more second data centers, where each second shard data has second shard time period information, and the method further includes:
and the corresponding relation establishing module is used for establishing the corresponding relation among the identifier of the second monitoring device, the second fragmentation time period information corresponding to the second fragmentation data and the second fragmentation storage information. In an embodiment of the present invention, the method further includes:
and the second monitoring equipment identifier acquisition module is used for acquiring the identifier of the second monitoring equipment from the monitoring demand information.
In an embodiment of the present invention, the method further includes:
the second time period information acquisition module is used for acquiring second time period information from the monitoring demand information; the second time period information is used for indicating a time period for monitoring by the second monitoring device.
In the embodiment of the invention, the monitoring demand information aiming at the second monitoring equipment is acquired, the data center list is determined according to the monitoring demand information, the data center list comprises one or more second data center identifications, then the second monitoring access server connected with the second monitoring equipment is controlled to store the second monitoring data corresponding to the monitoring demand information to one or more second data centers in a fragmentation mode according to the monitoring demand information and the data center list, the standardization of monitoring data storage is realized, the data center list is determined by acquiring the monitoring demand information aiming at the monitoring equipment, and then the monitoring data is stored to the data centers, so that the storage capacity of the monitoring data can be expanded, the hard disk reading and writing speed of the monitoring data is improved, and the standardized sharing of the monitoring data is achieved.
An embodiment of the present invention also provides an electronic device, which may include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method for data processing based on the video network.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for processing data based on the video network is implemented.
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.
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 method and the device for data processing based on the video network are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the 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 (13)

1. A method for data processing based on video networking is applied to a central storage server, the central storage server is connected with a plurality of data centers, and the method comprises the following steps:
receiving a monitoring data acquisition request aiming at first monitoring equipment and sent by a video networking terminal;
determining one or more pieces of first fragmentation storage information of the requested first monitoring data according to the monitoring data acquisition request, wherein the one or more pieces of first fragmentation storage information are used for indicating one or more first data centers which fragment and store the first monitoring data;
and controlling the one or more first data centers to send the first monitoring data to the video networking terminal according to the one or more first fragment storage information.
2. The method of claim 1, wherein the first monitoring data comprises first shard data stored in the one or more first data centers, and wherein controlling the one or more first data centers to send the first monitoring data to the video networking terminal according to the one or more first shard stored information comprises:
determining first sharded data stored in the one or more first data centers according to the one or more first sharded storage information;
and controlling the one or more first data centers to send the first fragment data to the video networking terminal.
3. The method of claim 2, wherein the monitoring data acquisition request comprises at least: an identity of the first monitoring device.
4. The method of claim 3, wherein monitoring the data acquisition request further comprises: first time period information for screening one or more first sharded storage information of the requested first monitoring data, the method further comprising:
determining one or more candidate fragment storage information according to the identifier of the first monitoring device;
determining candidate fragment time period information corresponding to the candidate fragment storage information;
and determining candidate fragmentation time period information matched with the first time period information as first fragmentation time period information, and determining one or more first fragmentation storage information from the one or more candidate fragmentation storage information according to the first fragmentation time period information.
5. A data processing method based on video networking is applied to a central storage server, the central storage server is connected with a plurality of data centers and a plurality of monitoring access servers, each monitoring access server is connected with a plurality of monitoring devices, and the method comprises the following steps:
acquiring monitoring demand information aiming at second monitoring equipment;
determining a data center list according to the monitoring demand information; wherein the list of data centers includes an identification of one or more second data centers;
and controlling a second monitoring access server connected with the second monitoring equipment to store second monitoring data fragments corresponding to the monitoring demand information to the one or more second data centers according to the monitoring demand information and the data center list.
6. The method of claim 5, further comprising:
receiving second fragmentation storage information sent by one or more second data centers, and establishing a corresponding relation between the identifier of the second monitoring equipment and the second fragmentation storage information; wherein the second shard storage information is used to indicate one or more second data centers sharded to store the second monitoring data.
7. The method according to claim 5 or 6, wherein the second monitoring data includes second shard data stored in the one or more second data centers, the second monitoring access server is configured to process the second monitoring data shards into one or more second shard data and store the one or more second shard data to the one or more second data centers, each second shard data has second shard time period information, and the method further includes:
and establishing a corresponding relation among the identifier of the second monitoring device, second fragmentation time period information corresponding to the second fragmentation data and second fragmentation storage information.
8. The method of claim 7, further comprising:
and acquiring the identifier of the second monitoring equipment from the monitoring demand information.
9. The method of claim 7, further comprising:
acquiring second time period information from the monitoring demand information; the second time period information is used for indicating a time period for monitoring by the second monitoring device.
10. An apparatus for data processing based on video networking, which is applied to a central storage server, wherein the central storage server is connected with a plurality of data centers, the apparatus comprises:
the monitoring data acquisition request receiving module is used for receiving a monitoring data acquisition request aiming at the first monitoring equipment and sent by the video networking terminal;
a first fragmentation storage information determining module, configured to determine, according to the monitoring data acquisition request, one or more first fragmentation storage information of the requested first monitoring data, where the one or more first fragmentation storage information is used to indicate one or more first data centers that fragment-store the first monitoring data;
and the first monitoring data sending module is used for controlling the one or more first data centers to send the first monitoring data to the video network terminal according to the one or more first fragment storage information.
11. An apparatus for data processing based on video networking, applied to a central storage server, the central storage server being connected to a plurality of data centers and a plurality of monitoring access servers, each monitoring access server being connected to a plurality of monitoring devices, the apparatus comprising:
the monitoring demand information acquisition module is used for acquiring monitoring demand information aiming at the second monitoring equipment;
the data center list determining module is used for determining a data center list according to the monitoring demand information; wherein the list of data centers includes an identification of one or more second data centers;
and the fragment storage module is used for controlling a second monitoring access server connected with the second monitoring equipment to store second monitoring data fragments corresponding to the monitoring demand information to the one or more second data centers according to the monitoring demand information and the data center list.
12. An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the method of visual network-based data processing according to any one of claims 1 to 9.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of visual networking-based data processing according to any one of claims 1 to 9.
CN202110303357.7A 2021-03-22 2021-03-22 Data processing method and device based on video network Pending CN113194117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110303357.7A CN113194117A (en) 2021-03-22 2021-03-22 Data processing method and device based on video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110303357.7A CN113194117A (en) 2021-03-22 2021-03-22 Data processing method and device based on video network

Publications (1)

Publication Number Publication Date
CN113194117A true CN113194117A (en) 2021-07-30

Family

ID=76973581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110303357.7A Pending CN113194117A (en) 2021-03-22 2021-03-22 Data processing method and device based on video network

Country Status (1)

Country Link
CN (1) CN113194117A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581216A (en) * 2012-07-20 2014-02-12 中国电信股份有限公司 Fragmentation data storage method, device and system
CN103634361A (en) * 2012-08-28 2014-03-12 腾讯科技(深圳)有限公司 Method and apparatus for downloading file
CN107704336A (en) * 2017-09-28 2018-02-16 华为技术有限公司 A kind of date storage method and device
CN109558444A (en) * 2018-11-29 2019-04-02 苏州思必驰信息科技有限公司 Data retrieval method and device
CN110113564A (en) * 2019-03-25 2019-08-09 视联动力信息技术股份有限公司 A kind of data capture method and view networked system
CN110121059A (en) * 2019-05-08 2019-08-13 视联动力信息技术股份有限公司 Monitor video processing method, device and storage medium
CN112231398A (en) * 2020-09-25 2021-01-15 北京金山云网络技术有限公司 Data storage method, device, equipment and storage medium
CN112527492A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Data storage method and device in distributed storage system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581216A (en) * 2012-07-20 2014-02-12 中国电信股份有限公司 Fragmentation data storage method, device and system
CN103634361A (en) * 2012-08-28 2014-03-12 腾讯科技(深圳)有限公司 Method and apparatus for downloading file
CN107704336A (en) * 2017-09-28 2018-02-16 华为技术有限公司 A kind of date storage method and device
CN109558444A (en) * 2018-11-29 2019-04-02 苏州思必驰信息科技有限公司 Data retrieval method and device
CN110113564A (en) * 2019-03-25 2019-08-09 视联动力信息技术股份有限公司 A kind of data capture method and view networked system
CN110121059A (en) * 2019-05-08 2019-08-13 视联动力信息技术股份有限公司 Monitor video processing method, device and storage medium
CN112527492A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Data storage method and device in distributed storage system
CN112231398A (en) * 2020-09-25 2021-01-15 北京金山云网络技术有限公司 Data storage method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108965224B (en) Video-on-demand method and device
CN111193788A (en) Audio and video stream load balancing method and device
CN109617956B (en) Data processing method and device
CN109788247B (en) Method and device for identifying monitoring instruction
CN108965227B (en) Data processing method and video networking conference server
CN110224988B (en) Image data processing method, system and device and storage medium
CN109743555B (en) Information processing method and system based on video network
CN109743284B (en) Video processing method and system based on video network
CN108989850B (en) Video playing control method and control system
CN110022500B (en) Packet loss processing method and device
CN110493149B (en) Message processing method and device
CN110289974B (en) Data stream processing method, system and device and storage medium
CN109698953B (en) State detection method and system for video network monitoring equipment
CN109474661B (en) Method and system for processing network request event
CN108965219B (en) Data processing method and device based on video network
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110096854B (en) Resource permission sharing method and device and readable storage medium
CN110139060B (en) Video conference method and device
CN109688073B (en) Data processing method and system based on video network
CN110401846B (en) Data access method, device, system, equipment and medium based on video network
CN110557687B (en) Multicast data packet processing method, device and storage medium
CN110166840B (en) Service processing method, system and device
CN110266768B (en) Data transmission method and system
CN110267110B (en) Concurrent on-demand processing method and system based on video network
CN109859824B (en) Pathological image remote display method and device

Legal Events

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