[go: up one dir, main page]

WO2018166415A1 - Système de stockage en nuage, procédé et système de stockage de données multimédias - Google Patents

Système de stockage en nuage, procédé et système de stockage de données multimédias Download PDF

Info

Publication number
WO2018166415A1
WO2018166415A1 PCT/CN2018/078685 CN2018078685W WO2018166415A1 WO 2018166415 A1 WO2018166415 A1 WO 2018166415A1 CN 2018078685 W CN2018078685 W CN 2018078685W WO 2018166415 A1 WO2018166415 A1 WO 2018166415A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
media data
collection device
image collection
network address
Prior art date
Application number
PCT/CN2018/078685
Other languages
English (en)
Chinese (zh)
Inventor
李丹旺
王伟
林起芊
汪渭春
Original Assignee
杭州海康威视数字技术股份有限公司
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 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2018166415A1 publication Critical patent/WO2018166415A1/fr

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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1061Peer-to-peer [P2P] networks using node-based peer discovery mechanisms
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present application relates to the field of video surveillance technologies, and in particular, to a cloud storage system, a media data storage method, and a system.
  • the media data collected by the device includes but is not limited to pictures.
  • the specific media data storage process is: after the image collection device registers with the platform server responsible for managing the image collection device, the platform server actively collects the media data collected by the image collection device, and then the platform server stores the data to the cloud.
  • the system requests the storage resource, and after requesting the storage resource, writes the media data collected from the image collection device to the cloud storage system, thereby completing the storage of the media data.
  • the media data storage process requires the platform server to perform the transfer
  • the media data storage process is in two stages (ie, the platform server collects the media data from the image collection device, and the platform server writes the collected media data to the cloud storage system). All of them need to occupy network bandwidth resources, which leads to more consumption of network bandwidth resources.
  • the uploading efficiency is undoubtedly low.
  • the purpose of the embodiments of the present application is to provide a cloud storage system, a media data storage method, and a system, to reduce network bandwidth resource consumption and improve media data upload efficiency.
  • the specific technical solutions are as follows:
  • the embodiment of the present application provides a media data storage method, which is applied to an image collection device, where the first network address is pre-stored in the image collection device, and the first network address is an external access of the cloud storage system. Address; the method includes:
  • the cloud storage system And requesting, by the cloud storage system, a second network address, where the second network address is a network address of the target storage node, where the target storage node is: the cloud storage system is a storage node allocated by the image collection device for storing media data of the image collection device;
  • the target media data to be stored is uploaded to the cloud storage system based on the second network address; wherein the target media data is stored in the cloud storage system.
  • the target storage node After the second network address is obtained, the target media data to be stored is uploaded to the cloud storage system based on the second network address; wherein the target media data is stored in the cloud storage system.
  • the target storage node After the second network address is obtained, the target media data to be stored is uploaded to the cloud storage system based on the second network address; wherein the target media data is stored in the cloud storage system.
  • the embodiment of the present application provides a media data storage method, which is applied to a cloud storage system, where the method includes:
  • the image collection device uploads target media data to be stored to the cloud based on the second network address a storage system, wherein the second network address is a network address of the target storage node, and the target storage node is: the cloud storage system is allocated by the image collection device for storing the image collection device. a storage node for media data;
  • the embodiment of the present application provides a media data storage system, including: an image collection device and a cloud storage system, where the image collection device pre-stores a first network address, where the first network address is cloud storage.
  • the external access address of the system including:
  • the image collection device is configured to send, according to the first network address, a storage node allocation request to the cloud storage system, obtain a second network address fed back by the cloud storage system, and obtain the second network address. And uploading the target media data to be stored to the cloud storage system, where the second network address is a network address of the target storage node, and the target storage node is: a storage node allocated by the cloud storage system to the image collection device for storing media data of the image collection device;
  • the cloud storage system is configured to receive a storage node allocation request sent by the image collection device, and feed back the second network address to the image collection device; and store the target media data uploaded by the image collection device; The target media data is stored in the target storage node in the cloud storage system.
  • an embodiment of the present application further provides an image collection device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, the processor and the The memory is disposed on the circuit board; the power supply circuit is configured to supply power to each circuit or device; the memory is used to store executable program code; and the processor executes the first aspect of the embodiment of the present application by running executable program code stored in the memory The media data storage method provided.
  • the embodiment of the present application further provides a cloud storage system, including: a management node and a storage node;
  • the management node is configured to receive a storage node allocation request sent by the image collection device, and feed back a second network address to the image collection device, so that: after obtaining the second network address, the image collection device is based on the Transmitting the target media data to be stored to the cloud storage system, where the storage node allocation request is sent by the image collection device based on the first network address stored in itself,
  • the first network address is an external access address of the management node
  • the second network address is a network address of the target storage node
  • the target storage node is: the cloud storage system is allocated by the image collection device, a storage node for storing media data of the image capture device;
  • the target storage node is configured to store the target media data uploaded by the image collection device.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the first aspect of the embodiment of the present application is implemented.
  • the provided media data storage method steps
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the second aspect of the embodiment of the present application is implemented.
  • the provided media data storage method steps
  • the image collection device actively requests the cloud storage system to obtain the second network address of the target storage node, and after obtaining the second network address, stores the media data based on the second network address.
  • Target storage node stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • FIG. 1 is a flowchart of a method for storing media data according to a first aspect of the present application
  • FIG. 2 is another flowchart of a method for storing media data according to a first aspect of the present application
  • FIG. 3 is still another flowchart of a method for storing media data according to a first aspect of the present application
  • FIG. 4 is a flowchart of a method for storing media data according to a second aspect of the embodiments of the present application.
  • FIG. 5 is another flowchart of a method for storing media data according to a second aspect of the present application.
  • FIG. 6 is still another flowchart of a method for storing media data according to a second aspect of the present application.
  • FIG. 7 is a schematic diagram of storage manners of media data and intelligent data in an embodiment of the present application.
  • FIG. 8 is a sequence diagram of a media data storage method according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a media data storage system according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an application example of a media data storage system according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of an image collection device according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a cloud storage system according to an embodiment of the present disclosure.
  • the embodiment of the present application provides a media data storage method from the perspective of an image capture device.
  • the image capturing device refers specifically to a device having an image capturing function.
  • the image capturing device may be a capture camera or a network camera, of course, but is not limited thereto.
  • the capture machine specifically refers to a photographic equipment that can be started in an instant, completes the photography parameter setting and performs high-speed shooting, and the lens is mostly a fixed focus lens or a medium focal length lens with a small zoom range.
  • the media data collected by the image collection device may include, but is not limited to, a picture.
  • the media data collected by the image collection device is stored by the cloud storage system, and in the storage process, the image collection device directly saves the media data to the cloud storage.
  • media data is not transferred through any relay device during the media data storage process.
  • the image collection device pre-stores a first network address, where the first network address is an external access address of the cloud storage system.
  • the cloud storage system can include at least one management node and at least one storage node, wherein the management node is used to manage the storage node, and the storage node is used to store data, wherein the specific physical form of the storage node can be Server form.
  • the first network address may be an IP address and a port.
  • the cloud storage system may have a plurality of nodes.
  • the first network address may be a virtual network address or an actual network address of a node that provides external access in the cloud storage system.
  • the first network address may be saved in the configuration file of the image collection device through the WEB configuration of the image capture device; of course, the image capture device may be directly logged in to the image capture device, and the configuration file of the image capture device may be manually modified. Record the first network address.
  • a cloud storage system usually provides services to a plurality of nodes through a cluster.
  • the first network address is a virtual network address
  • the virtual network address can be provided by using a cluster technology.
  • a cluster consisting of three servers A, B, and C; assuming that the actual IP of server A is 192.168.1.10, the actual IP of server B is 192.168.1.11, and the actual IP of server C is 10.192.1.12, then Through the clustering technology, a virtual IP and port are provided to provide external services.
  • the virtual IP is 10.192.1.100 and the port is 6021.
  • the image collecting device only needs to configure the virtual IP and port through the WEB of the image capturing device to configure the image.
  • the capture device can be saved, and the image capture device reads from the configuration file when the virtual IP and port are needed; of course, the virtual IP and port can be configured without the image capture device WEB setting, but can be directly backstage. Log in to the image capture device and manually modify the profile of the image capture device to record the virtual IP and port.
  • a media data storage method provided by an embodiment of the present application is applied to an image collection device, and the method may include the following steps:
  • the second network address is requested by the cloud storage system according to the first network address, where the second network address is a network address of the target storage node, where the target storage node is allocated by the cloud storage system to the image collection device.
  • the image collection device can store its own media data in the cloud storage system in real time or periodically, and since the image acquisition device only stores the external access address of the cloud storage system, regardless of real-time or timing, Both need to first request the cloud storage system to allocate a target storage node for the image collection device.
  • the image collection device may send a storage node allocation request to the cloud storage system after establishing a communication connection with the cloud storage system based on the first network address;
  • the cloud storage system may select a target storage node from the storage node included in the cloud storage system, and feed back to the image collection device the actual network address of the target storage node, that is, the second network address, where the second network address Includes IP address and port.
  • the cloud storage system may select a target storage node by using a load balancing policy, which is of course not limited thereto.
  • the image storage device may upload the media data to the target storage node multiple times once the target storage node determines. Based on the idea of uploading data to the same node multiple times, the triggering time for requesting the second network address from the cloud storage system may be set according to the specific application, for example, the image capturing device starts up each time, or reaches a predetermined time. Point, and so on.
  • the image collection device may upload the target media data to be stored to the cloud storage system in real time or periodically based on the second network address, and the target media data is stored in the cloud.
  • the target storage node in the storage system may refer to that the image collection device performs storage immediately after collecting the media data; and the so-called timing storage may refer to that the image collection device does not immediately perform storage after collecting the media data, but achieves the reservation. At the time of the point, all media data that is not currently stored is stored. It should be noted that the target media data described in the embodiment of the present application is media data collected by the image collection device and to be stored.
  • the target storage node stores a specific storage format of the media data uploaded by the image collection device, which is not limited in the embodiment of the present application.
  • the image collection device actively requests the cloud storage system to obtain the second network address of the target storage node, and after obtaining the second network address, stores the media data based on the second network address.
  • Target storage node stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • the media data provided by the embodiment of the present application is provided in the first aspect.
  • the storage method may further include the steps of:
  • S103 Receive target storage information that is fed back by the cloud storage system, where the target storage information is information determined based on a storage location corresponding to the target media data.
  • S104 Save a target URL (Uniform Resource Locator) corresponding to the target media data to a platform server corresponding to the image collection device, where the target URL is information determined based on the target storage information.
  • a target URL Uniform Resource Locator
  • the cloud storage system may determine the target storage information based on the storage location corresponding to the target media data, and then target the target.
  • the storage information is fed back to the image collection device, so that the image collection device saves the target URL corresponding to the target media data to the platform server corresponding to the image collection device, so that the subsequent platform server or browser can access the target URL.
  • Target media data wherein the access manner may include: downloading, deleting, or locking.
  • the storage location corresponding to the target media data may be a disk identifier and a disk offset of the disk where the target media data is located, and an identifier of the target media data
  • the target storage information may be the target URL.
  • the storage location corresponding to the target media data may directly send the storage location to the platform server, and then generate, by the platform server, the target media data according to the storage location.
  • the target URL is saved and stored; of course, the image collection device may also generate a target URL corresponding to the target media data based on the storage location, and the image collection device sends the target URL to the platform server, so that the platform server directly stores the target URL.
  • Target URL the target URL
  • the target storage information is the target URL
  • the cloud storage system when the target storage information is the target URL, that is, the cloud storage system generates a target URL corresponding to the target media data based on the storage location corresponding to the target media data, so that the image collection device receives the target URL.
  • the target URL can be forwarded to the platform server, and the target URL is stored by the platform server.
  • the specific implementation manner of assembling the storage location corresponding to the target media data into the target URL is not limited herein, and the target URL may further include the first network address for effective access.
  • the target URL stored by the platform server, the browser as the access end or the platform server can access the target media data, and the media data storage method provided by the cloud storage system from the perspective of the specific access process The description is made in the embodiment.
  • the image collection device may have an intelligent analysis function, so that the image collection device can perform intelligent analysis on the media data, and then store the intelligent data obtained by the intelligent analysis together with the corresponding media data into the cloud storage system.
  • the cloud storage system corresponds to the intelligent data corresponding to the storage media data and the media data, thereby improving the richness of the data stored in the cloud storage system and the richness of the data accessible by the subsequent access terminals.
  • the step of uploading the target media data to be stored to the cloud storage system based on the second network address may include:
  • the target media data and the target smart data are stored in a target storage node in the cloud storage system
  • the target The intelligent data is data extracted by the image acquisition device from the target media data.
  • the data type of the intelligent data may include, but is not limited to, a license plate number, a vehicle color, a face modeling model data, a picture capture time information, a picture lane location information, and the like.
  • the target media data when the target media data is a picture including face information, the target intelligent data corresponding to the target media data may be at least one of face modeling model data and picture capture time information, wherein the face modeling data Specific content includes but is not limited to: face information.
  • the target media data is a picture including vehicle information
  • the target intelligent data corresponding to the target media data may be at least one of a license plate number, a vehicle color, a picture capture time information, and a picture lane geographical position information.
  • the image collection device may perform intelligent analysis on the media data, and save the smart data obtained by the intelligent analysis together with the URL of the corresponding media data to the image collection device.
  • the platform server corresponds to the intelligent data corresponding to the storage media data and the media data, so that the richness of the data stored by the platform server and the richness of the subsequently available data.
  • the step of saving the target URL corresponding to the target media data to the platform server corresponding to the image collection device may include:
  • the target URL corresponding to the target media data and the target smart data are saved to the platform server corresponding to the image collection device, wherein the target smart data is extracted by the image collection device from the target media data.
  • the method for storing media data provided by the first aspect of the present disclosure may further include the following steps:
  • the target multimedia data is retransmitted to the cloud storage system according to a predetermined retransmission policy.
  • the so-called target media data uploading failure may be: receiving an upload failure message fed back by the cloud storage system, or not receiving the target storage information fed back by the cloud storage system within a predetermined time period.
  • the image collecting device since the image collecting device is in passive uploading, when the target media data fails to upload, it can only wait for the next uploading opportunity, which may cause a backlog of media data, especially when the backend storage node fails.
  • the upload fails you cannot quickly switch to other back-end storage nodes. You can only wait until the next acquisition time to perform the switchover, which will undoubtedly cause the image collection device to accumulate too much media data.
  • the uploading since the image collection device actively uploads, when the target media data fails to upload, the uploading may be performed according to the predetermined retransmission policy to prevent the target media data from being backlogged.
  • the step of retransmitting the target multimedia data to the cloud storage system according to the predetermined retransmission policy may include:
  • the target multimedia data when the target media data fails to be uploaded, the target multimedia data may be uploaded to the cloud storage system based on the second network address to solve the network cause. The upload failed.
  • the step of retransmitting the target multimedia data to the cloud storage system according to the predetermined retransmission policy may include:
  • the cloud storage system may be requested to the new target storage node, and then the target media data is obtained based on the network address of the new target storage node. Re-upload to the cloud storage system to resolve upload failures due to network reasons and node failures.
  • the foregoing two specific implementation manners may be used in combination.
  • the first specific implementation manner described above when the first upload of the target media data fails, the first specific implementation manner described above may be adopted.
  • the retransmission mode is given, and when the target media data fails to be uploaded for the first time, the retransmission mode given by the second specific implementation manner described above may be adopted.
  • the upload failure message fed back by the cloud storage system if the upload failure message fed back by the cloud storage system is received, it is usually indicated that the cloud storage system receives the target media data but the data is incorrect. In this case, the first specific implementation may be adopted.
  • the cloud storage system may not receive the target media data due to network reasons, or may be unable to be caused by the target storage node failure.
  • the target media data is stored.
  • the retransmission can be implemented in combination with the first specific implementation manner and the second specific implementation manner to ensure data uploading efficiency.
  • a media data storage method provided by the first aspect of the embodiments of the present application is described below in conjunction with a specific embodiment.
  • the cloud storage system includes at least one management node and at least one storage node, wherein the management node is used to manage each storage node, and each storage node is used to store data.
  • the first network address is specifically configured as an external access address of the management node in the cloud storage system, where the specific format and specific configuration manner of the first network address are used.
  • the image capturing device may be a capture camera or a network camera, which is of course not limited thereto.
  • the media data collected by the image acquisition device may include, but is not limited to, a picture.
  • a media data storage method provided in the first aspect of the present application is applied to an image collection device, and the method may include the following steps:
  • the image collection device After establishing a tcp (Transmission Control Protocol) connection with the management node based on the first network address, the image collection device sends a first http (Hyper Text Transfer Protocol) for requesting the storage node to the management node.
  • a hypertext transfer protocol request message such that: the management node determines a target storage node corresponding to the image collection device, and after the target storage node determines, feeds back to the image collection device the first network address carrying the second network address Http reply message;
  • the image collection device may first detect whether a tcp connection is currently established with the management node, and detects that the management node is not currently established.
  • a tcp connection is established with the management node based on the first network address, and then, after the tcp connection is established, the request packet is sent to the management node.
  • the TCP/IP protocol provides a reliable connection service, and a three-way handshake is used to establish a connection. Therefore, the tcp connection established by the image collection device and the management node is a connection established by using a three-way handshake.
  • the specific implementation process of establishing a tcp connection by using a three-way handshake is not described here.
  • the TCP/IP protocol is short for Transmission Control Protocol/Internet Protocol, and the Chinese translation is called Transmission Control Protocol/Internet Protocol.
  • the image collection device may initiate an http request to the management node, that is, send a first http request message for requesting the storage node to the management node; After receiving the first http request message, the management node determines a target storage node corresponding to the image collection device, and after determining the target storage node, feeds back to the image collection device that the second network address is carried. An http reply message.
  • the management node may determine, from among the storage nodes, a target storage node corresponding to the image collection device.
  • the management node may adopt a load balancing policy when selecting the target storage node, which is not limited thereto.
  • the standards referenced by the load balancing policy include, but are not limited to, the storage space occupancy of the storage node, or , the current load of the storage node, and so on.
  • the first http request message may carry information such as an encoder ID of the image capturing device, a system time of the image capturing device, and the like. It can be understood that the system time of the image collection device can reflect the timeliness of the first http request message.
  • the management node receives the first http request message, the system can detect the first time through the system time in the first http request message. Whether an http request message has timed out, if it times out, it may not respond to the first http request message.
  • the cloud storage system since there are several storage nodes in the cloud storage system, and the cloud storage system is not only used to store media data of each image collection device, multiple virtual resource pools can be constructed, and each virtual resource pool is used. For storing specific types of data content.
  • the storage node in the cloud storage system may belong to at least one virtual resource pool, and the image collection device further stores target ID information of the target virtual resource pool, the target virtual resource pool. a virtual resource pool for storing media data of the image capture device;
  • the first http request message carries the target ID information
  • the step of determining, by the management node, the target storage node corresponding to the image collection device may include:
  • the management node extracts the target ID information from the first http request message
  • the management node may select a target storage node corresponding to the image collection device from the target virtual resource pool corresponding to the target ID information. It should be emphasized that the management node may select a target storage node by using a load balancing policy, which is of course not limited thereto.
  • the ID information of the virtual resource pool is unique in the cloud storage system.
  • the virtual resource pool and the storage node may belong to a many-to-many relationship, that is, one virtual resource pool may belong to multiple storage nodes, and different storage spaces of one storage node may belong to different virtual environments. Resource pool.
  • the virtual resource pool and the storage node may belong to a one-to-one correspondence, that is, one storage node may uniquely correspond to one virtual resource pool.
  • the virtual resource pool and the storage node may belong to a many-to-many relationship
  • the cloud storage system includes three storage nodes, and each storage node has a storage space of 500 G, wherein The storage look-ahead space of each storage node is divided into virtual resource pools.
  • the virtual resource pool A includes a storage space of 500G in the storage node 1, a storage space of 100G in the storage node 2, and a 100G in the storage node 3.
  • the virtual resource pool B includes a storage space of 400G in the storage node 2 and a storage space of 200G in the storage node 3, the virtual resource pool C includes a storage space of 200G in the storage node 3; and, the set data
  • the storage relationship is: the virtual resource pool A corresponds to the image collection device 1-100, the virtual resource pool B corresponds to the image collection device 101-200, and the virtual resource pool C corresponds to the image collection device 201-300.
  • the image acquisition device 100 is pre-configured with the external access address of the cloud storage system, that is, the first network address, and the ID information of the virtual resource pool A is pre-configured, and further, when the image is
  • the collection device 100 requests the target storage node from the management node
  • the first http request message sent to the management node carries the ID information of the virtual resource pool A
  • the management node receives the first http request message, according to the The load balancing policy selects a target storage node corresponding to the image capturing device 100 from the storage nodes 1-3 included in the virtual resource pool A.
  • the virtual resource pool and the storage node may belong to a one-to-one correspondence.
  • the cloud storage system includes 10 storage nodes, where the storage nodes 1-3 are divided into a virtual resource pool.
  • the resource pool is named virtual resource pool A; the storage node 4-6 is divided into a virtual resource pool, which is named virtual resource pool B; the storage node 7-10 is divided into a virtual resource pool.
  • the virtual resource pool is named as the virtual resource pool C; and the set data storage relationship is: the virtual resource pool A corresponds to the image collection device 1-100, and the virtual resource pool B corresponds to the image collection device 101-200.
  • the resource pool C corresponds to the image collection devices 201-300.
  • the image acquisition device 100 is pre-configured with the external access address of the cloud storage system, that is, the first network address, and the ID information of the virtual resource pool A is pre-configured, and further, when the image is
  • the collection device 100 requests the target storage node from the management node
  • the first http request message sent to the management node carries the ID information of the virtual resource pool A
  • the management node receives the first http request message, according to the The load balancing policy selects a target storage node corresponding to the image capturing device 100 from the storage nodes included in the virtual resource pool A.
  • the first http reply message may further carry the system time of the management node, where the system time of the management node can reflect the timeliness of the first http response message, and after the image collecting device receives the first http reply message, The first http reply message may be timed out by the system time in the first http reply message. If the timeout occurs, the first http reply message may be discarded, and the sending to the management node for requesting the storage node may be re-executed.
  • the first http request message step.
  • the image collecting device uploads media data to the target storage node
  • the image capturing device may first detect whether a tcp connection is currently established with the target storage node, and detects that the target storage node is not currently associated with the target storage node.
  • a tcp connection is established with the target storage node based on the second network address, and after the tcp connection is established, the media data is uploaded to the target storage node.
  • the second http request message may not only carry the target media data, but also may carry the encoder ID of the image collection device, the target ID information of the target virtual resource pool, the time stamp of the target media data, the system time of the image collection device, and the like. .
  • the encoder ID of the image collection device is used to identify the image collection device; and for the target ID information of the target resource pool, in the case where the virtual resource pool and the storage node belong to a many-to-many relationship, the target storage The node may determine, according to the target ID information of the target virtual resource pool, which storage space the target media data needs to be written; the time stamp of the target media data may be used to identify the target media data, and the system time of the image collection device may be verified. Whether the second http request message times out.
  • the TCP protocol provides a reliable connection service, and a three-way handshake is used to establish a connection. Therefore, the tcp connection established by the image collection device and the target storage node is a connection established by using a three-way handshake, where The specific implementation process of establishing a tcp connection by using a three-way handshake is not described here.
  • the image collection device can upload the target media data and the target smart data to be stored to the cloud storage system when the smart analysis function is provided.
  • the second http request message carries the target intelligent data. So that the target cloud storage system can correspondingly store the target media data and the target smart data.
  • the target smart data may be located at the end of the target media data, and the target smart data is identified by a specific identifier, so that the cloud storage system may identify the specific identifier based on the specific identifier.
  • Target intelligent data, and the target intelligent data is stored corresponding to the target media data.
  • S304 Receive a second http reply message fed back by the target storage node, where the second http reply message carries the target storage information.
  • the target storage information is information determined based on a storage location corresponding to the target media data.
  • the target storage node may determine the target storage information based on the storage location of the target media data, and then construct a second http reply message carrying the target storage information, and send the message to the image collection device.
  • the image collecting device may extract the target storage information from the second http reply message.
  • the target URL is the information determined based on the target storage information, and the relationship between the target URL and the target storage information may refer to the content of the foregoing embodiment, and details are not described herein.
  • the second http reply message may further include: timestamp information of the target media data, and further, the image collecting device may send the timestamp information of the target media data to the platform server, where the platform server stores the target media data. The correspondence between the timestamp information and the target URL.
  • the target intelligent data may be extracted from the target media data, and the target URL and the target smart data corresponding to the target media data are saved to a platform corresponding to the image collection device. server.
  • the target storage information is a storage location corresponding to the target media data
  • the image collection device may directly send the storage location and the target intelligent data to the platform server, and the platform server generates the storage location based on the storage location.
  • the image capturing device may also generate a target URL corresponding to the target media data based on the storage location, and the image collecting device
  • the target URL and the target intelligent data are sent to the platform server such that the platform server directly stores the target URL and the target smart data.
  • the target storage information is the target URL, that is, the cloud storage system generates a target URL corresponding to the target media data based on the storage location corresponding to the target media data, so that the image collection device receives the target URL.
  • the target URL and the target smart data may be sent to the platform server, and the target URL and the target smart data are correspondingly stored by the platform server.
  • the second http request message may be of a long connection type, that is, setting connection:keep-alive in the HTTP protocol, so that after the target media data is uploaded, the image capturing device does not need to close the tcp. Connection, the next time the media data is uploaded, the tcp connection is directly multiplexed.
  • the long and short connections of HTTP are essentially TCP long connections and short connections. That is, after the second network address is requested, when the target media data to be stored is uploaded for the first time, it is necessary to first establish a tcp connection with the target storage node based on the second network address, and further, after the tcp connection is established. The data is uploaded to the target storage node.
  • the solution stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • the embodiment of the present application provides a media data storage method from the perspective of a cloud storage system.
  • the cloud storage system may include at least one management node and at least one storage node, where the management node is used to manage the storage node, and the storage node is used to store data, wherein the specific physical form of the storage node may be Server form.
  • the cloud storage system may correspond to an external access address, that is, a first network address, and the first network address is pre-stored in the image collection device.
  • the first network address may be an IP address and a port number.
  • a media data storage method provided by an embodiment of the present application is applied to a cloud storage system, and the method may include the following steps:
  • S401 Receive a storage node allocation request sent by the image collection device, where the storage node allocation request is sent by the image collection device based on the first network address stored in itself;
  • the image collection device may send a storage node allocation request to the cloud storage system after establishing a communication connection with the cloud storage system based on the first network address;
  • the cloud storage system can receive the storage node allocation request, and then perform a subsequent node allocation process.
  • the image storage device may upload the media data to the target storage node multiple times once the target storage node determines.
  • the triggering time for requesting the second network address from the cloud storage system may be set according to the specific application, that is, the timing of sending the storage node allocation request to the cloud storage system, for example, :
  • the trigger timing can be started each time the image capture device is turned on, or reaches a predetermined time point, and so on.
  • the second network address is fed back to the image collection device, so that: after obtaining the second network address, the image collection device uploads the target media data to be stored to the cloud storage system based on the second network address;
  • the second network address is a network address of the target storage node, and the target storage node is a storage node allocated by the cloud storage system to the image collection device for storing media data of the image collection device;
  • the cloud storage system may select the target storage node from each storage node, and after the target storage node determines, feed back the second network address, that is, the target, to the image collection device.
  • the network address of the storage node may be used.
  • the image collection device may upload the target media data to be stored to the cloud storage system based on the second network address.
  • the cloud storage system may select a target storage node by using a load balancing policy, which is of course not limited thereto.
  • the image collection device may upload the target media data to be stored to the cloud storage system in real time or periodically based on the second network address, where the real-time storage and timing are performed.
  • the storage For the definition of the storage, reference may be made to the above embodiments, and details are not described herein.
  • the target media data uploaded by the image collection device is stored.
  • the target media data is stored in the target storage node in the cloud storage system.
  • the target storage node stores a specific storage format of the media data uploaded by the image collection device, which is not limited in the embodiment of the present application.
  • the solution stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • the image collection device may have an intelligent analysis function, so that the image collection device can perform intelligent analysis on the media data, and then store the intelligent data obtained by the intelligent analysis together with the corresponding media data into the cloud storage system. , thereby increasing the richness of data stored in the cloud storage system and the richness of data accessible by subsequent access terminals.
  • the image collection device uploads the target media data to be stored to the cloud storage system based on the second network address, and may include:
  • the image collection device uploads the target media data and the target smart data to be stored to the cloud storage system based on the second network address; wherein the target smart data is extracted by the image collection device from the target media data The data;
  • the step of storing the target media data uploaded by the image collection device comprises:
  • a media data storage method provided by the second aspect of the present application may further include the following steps:
  • S404 The target storage information is fed back to the image collection device, so that after the image collection device receives the target storage information, the target URL corresponding to the target media data is saved to the platform server corresponding to the image collection device.
  • the target storage information is information determined based on a storage location corresponding to the target media data, and the target URL is information determined based on the target storage information.
  • the cloud storage system may determine the target storage information based on the storage location corresponding to the target media data, and then The target storage information is fed back to the image collection device, so that the image collection device saves the target URL corresponding to the target media data to the platform server corresponding to the image collection device, so that the subsequent platform server or browser can access the target URL.
  • the target media data wherein the access manner may include: downloading, deleting, or locking.
  • the storage location corresponding to the target media data may be a disk identifier and a disk offset of the disk where the target media data is located, and an identifier of the media data, and the target storage information may be the target URL, or the target media.
  • the storage location corresponding to the data For the conversion relationship between the storage location of the target media data, the target storage information, and the target URL, refer to the foregoing embodiment, and details are not described herein.
  • a media data storage method provided by the second aspect of the embodiments of the present application is described below in conjunction with a specific embodiment.
  • the cloud storage system includes at least one management node and at least one storage node, wherein the management node is used to manage each storage node, and the management node may be a node independent of the storage node, or may be in a plurality of storage nodes.
  • a node that is, a storage node acts as both a storage node and a management node.
  • the first network address is specifically configured as an external access address of the management node in the cloud storage system, where the specific format and specific configuration manner of the first network address are used. The above embodiments are not described herein.
  • a media data storage method provided by the second embodiment of the present application is applied to a cloud storage system, and the method may include the following steps:
  • the tcp connection between the management node and the image collection device is: the image collection device requests the establishment of the management node based on the first network address.
  • the first http request message may carry information such as an encoder ID of the image capturing device, a system time of the image capturing device, and the like. It can be understood that the system time of the image collection device can reflect the timeliness of the first http request message.
  • the management node receives the first http request message, the system can detect the first time through the system time in the first http request message. Whether an http request message has timed out, if it times out, it may not respond to the first http request message.
  • the image collecting device actively establishes a tcp connection with the management node, and the timing of establishing a triggering time of the tcp connection, that is, the timing of requesting the second network address from the cloud storage system, refer to the foregoing solution provided from the perspective of the image collecting device. The content in this article will not be repeated here.
  • the TCP protocol provides a reliable connection service in the TCP/IP protocol, a three-way handshake is used to establish a connection.
  • the tcp connection established by the image collection device and the management node is a connection established by using a three-way handshake, wherein The three-way handshake establishes a specific implementation process of a tcp connection, and will not be described here.
  • the management node determines a target storage node corresponding to the image collection device.
  • the management node may determine, from among the storage nodes, a target storage node corresponding to the image collection device. In addition, the management node selects the target storage node, and may adopt a load balancing policy, where the standards referenced by the load balancing policy include, but are not limited to, the storage space occupancy of the storage node, or the current load of the storage node. Quantity, and so on.
  • the cloud storage system since there are several storage nodes in the cloud storage system, and the cloud storage system is not only used to store media data of each image collection device, multiple virtual resource pools can be constructed, and each virtual resource pool is used. For storing specific types of data content.
  • the storage node in the cloud storage system may belong to at least one virtual resource pool, and the image collection device further stores target ID information of the target virtual resource pool, the target virtual resource pool. a virtual resource pool for storing media data of the image capture device;
  • the first http request message carries the target ID information
  • the step of determining, by the management node, the target storage node corresponding to the image collection device comprises:
  • the management node extracts the target ID information from the first http request message
  • the ID information of the virtual resource pool is unique in the cloud storage system.
  • the virtual resource pool and the storage node may belong to a many-to-many relationship, that is, one virtual resource pool may belong to multiple storage nodes, and different storage spaces of one storage node may belong to different virtual environments. Resource pool.
  • the virtual resource pool and the storage node may belong to a one-to-one correspondence, that is, one storage node may uniquely correspond to one virtual resource pool.
  • the management node may select a target storage node corresponding to the image collection device from the target virtual resource pool corresponding to the target ID information. It should be noted that the management node may select a target storage node by using a load balancing policy, which is of course not limited thereto.
  • the management node After determining the target storage node, the management node feeds back, by the image collection device, a first http reply message carrying a second network address.
  • the second network address is a network address of the target storage node.
  • the first http reply message may further carry the system time of the management node, where the system time of the management node can reflect the timeliness of the first http response message, and after the image collecting device receives the first http reply message, The first http reply message may be timed out by the system time in the first http reply message. If the timeout occurs, the first http reply message may be discarded, and the sending to the management node for requesting the storage node may be re-executed.
  • the first http request message step.
  • the second http request message carries the target media data to be stored, and the tcp connection between the target storage node and the image collection device is: the image collection device requests to establish the target storage node based on the second network address.
  • the target storage node extracts the target media data from the second http request message, and stores the target media data.
  • the image collection device may construct a second http request message with the target media data to be stored, and then send the second http request message to the target storage node after the tcp connection is established;
  • the target storage node extracts the target media data from the second http request message, and stores the target media data.
  • the second http request message may not only carry the target media data, but also may carry the encoder ID of the image collection device, the target ID information of the target virtual resource pool, the time stamp of the target media data, the system time of the image collection device, and the like.
  • the encoder ID of the image collection device is used to identify the image collection device; and for the target ID information of the target resource pool, in the case where the virtual resource pool and the storage node belong to a many-to-many relationship, the target storage The node may determine, according to the target ID information of the target virtual resource pool, which storage space the target media data needs to be written; the time stamp of the target media data may be used to identify the target media data, and the system time of the image collection device may be verified.
  • the second http request message may also carry the target smart data, thereby making the target
  • the cloud storage system may correspondingly store the target media data and the target smart data.
  • the target smart data may be located at the end of the target media data, and the target smart data is identified by a specific identifier, so that the cloud storage system may identify the specific identifier based on the specific identifier.
  • Target intelligent data, and the target intelligent data is stored corresponding to the target media data.
  • the target storage node feeds back a second http reply message to the image collection device, where the second http reply message carries the target storage information.
  • the target storage information is information determined based on a storage location corresponding to the target media data.
  • the user may determine the target storage information based on the storage location of the target media data, and then construct the target storage information.
  • the second http reply message is sent to the image collection device; correspondingly, after receiving the second http reply message fed back by the target storage node, the image collection device may extract the target storage information from the second http reply message. And saving the target URL corresponding to the target media data to the platform server corresponding to the image collection device, where the target URL is information determined based on the target storage information.
  • the second http reply message may further include: timestamp information of the target media data, and further, the image collecting device may send the timestamp information of the target media data to the platform server, where the platform server stores the target media data.
  • the correspondence between the timestamp information and the target URL For the specific content and relationship of the storage location corresponding to the target storage information and the target media data, reference may be made to the content of the foregoing embodiment, and details are not described herein. For the same, the relationship between the target URL and the target storage information can be referred to the content of the foregoing embodiment, and details are not described herein.
  • the second http request message may be of a long connection type, that is, setting connection:keep-alive in the HTTP protocol, so that after the target media data is uploaded, the image capturing device does not need to close the tcp. Connection, the next time the media data is uploaded, the tcp connection is directly multiplexed.
  • the long and short connections of HTTP are essentially TCP long connections and short connections. That is, after the second network address is requested, when the target media data to be stored is uploaded for the first time, it is necessary to first establish a tcp connection with the target storage node based on the second network address, and further, after the tcp connection is established. And uploading data to the target storage node; and when uploading the target media data to be stored, since the tcp connection is not disconnected after the last uploading process, the data can be directly uploaded to the target storage node.
  • the solution stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • the media data storage method provided in the second aspect of the embodiment of the present application may further include the following steps:
  • the media data processing request is redirected to the target storage node to perform processing operations corresponding to the media data processing request by the target storage node.
  • the cloud storage system needs to redirect the media data processing request to the target storage node after receiving the media data processing request sent by the access terminal based on the target URL.
  • the target storage node performs a processing operation corresponding to the media data processing request.
  • the access terminal when the access terminal is a browser, the user can copy the target URL to the address input box of the browser, so that the browser issues a media data processing request.
  • the access terminal is a platform server, since the platform server stores the target URL, when the target media data needs to be accessed, the platform server can directly issue a media data processing request based on the target URL.
  • the media data processing request may be any one of a download request, a lock request, and a delete request.
  • the processing operation corresponding to the media data processing request is a download operation; and when the media data processing request is a lock request, the processing corresponding to the media data processing request The operation is a lock operation; when the media data processing request is a delete request, the processing operation corresponding to the media data processing request is a delete operation.
  • the first network address is specifically an external access address of the management node in the cloud storage system;
  • the target URL includes the first network address;
  • the step of receiving the media data processing request sent by the access terminal based on the target URL may include:
  • the management node After establishing a tcp connection with the access terminal, the management node receives a third http request message sent by the access terminal for processing media data; wherein the third http request message is formed based on the target URL; the management node and the management node
  • the tcp connection between the access terminals is: the access end requests the establishment of the management node based on the first network address in the target URL;
  • the step of redirecting the media data processing request to the target storage node to perform a processing operation corresponding to the media data processing request by the target storage node may include:
  • the management node parses the third http request message to obtain the target URL
  • the accessing end establishes a tcp connection with the target storage node based on the second network address in the third http reply message, and then The target storage node sends the third http request message, and further, the target storage node performs a processing operation corresponding to the third http request message on the target media data.
  • the correspondence between the node identifier of the storage node and the disk identifier of the disk included in the storage node may be established in advance, so that when the management node parses the target URL, it may be determined based on the correspondence relationship.
  • the node identifier corresponding to the disk identifier is included in the target URL, and the determined node identifier is the node identifier of the target storage node, thereby determining the target storage node corresponding to the target URL.
  • the target media data stored in the target storage node has a correspondence with the target intelligent data; wherein the target smart data is extracted from the target media data;
  • the performing, by the target storage node, the processing operation corresponding to the third http request message to the target media data may include:
  • the target storage node performs a processing operation corresponding to the third http request message for the target media data and the target smart data.
  • the image collection device may send the target media data and the target intelligent data to the cloud storage system, so that the target storage node in the cloud storage system may correspondingly store the target media data and the target intelligence.
  • Data may intelligently analyze the data content of the target media data in the background to obtain the corresponding target media data.
  • Target intelligence data may be generated.
  • the target storage node obtains the target media data and the target smart data
  • the target smart data and the target media data may be bound together, that is, the target smart data and the target media data have a corresponding relationship, so that the target is found. With the media data, the corresponding target intelligent data can be found.
  • the two types of data are stored in the following way: the smart data is stored next to the target media data.
  • the target media data uploaded by the image acquisition device is picture 1 and picture 2
  • picture 1 corresponds to smart data 1
  • picture 2 corresponds to intelligent data 2
  • picture 1-2 and intelligent data 1-2 are on the disk of the target storage node
  • the specific storage method can be as shown in FIG. 7.
  • the target storage node may feed back the target smart data while feeding back the target media data, so that the access terminal may display the target media data, and use the target intelligent data for searching or identifying, etc. business.
  • the target storage node may delete the target smart data while deleting the target media data.
  • the target storage node can lock the target smart data while locking the target media data.
  • the timing diagram shown in FIG. 8 is a flow of the media data storage method provided by the embodiment of the present application from the perspective of the interaction of the capture machine, the management node, the target storage node, and the platform server.
  • the schematic diagram, wherein the media data is a picture captured by a capture machine.
  • the management node feeds back the first http reply message to the capture machine, and can immediately disconnect the tcp connection, or can not immediately disconnect the tcp connection, and whether to immediately disconnect depends mainly on the first http request.
  • the tcp connection can be disconnected immediately, or the tcp connection is not immediately disconnected, and whether the immediate disconnection is mainly depends on the second Whether the http request message is of a long connection type.
  • the capture machine after receiving the target storage information, the capture machine directly forwards the target storage message to the platform server, and the platform server generates a target URL based on the target storage information, of course, the capture machine can also After the target URL is generated based on the target storage information, the target URL is directly sent to the platform server, where the target storage information may be a target URL or a storage location of the target media data.
  • the embodiment of the present application further provides a media data storage system.
  • the media data storage system includes: an image collection device 910 and a cloud storage system 920.
  • the image collection device 910 is pre-stored with a first network address, where the first network address is an external access address of the cloud storage system 920;
  • the image collection device 910 is configured to send a storage node allocation request to the cloud storage system to obtain a second network address fed back by the cloud storage system based on the first network address, and after obtaining the second network address, based on the The second network address is used to upload the target media data to be stored in the cloud storage system 920.
  • the second network address is a network address of the target storage node, and the target storage node is: the cloud storage system 920 collects the image. a storage node allocated by the device for storing media data of the image collection device 910;
  • the cloud storage system 920 is configured to receive the storage node allocation request sent by the image collection device 910, and feed back the second network address to the image collection device 910; and store the target media data uploaded by the image collection device 910; The target media data is stored in the target storage node in the cloud storage system.
  • the solution stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • the media data storage system may further include: a platform server corresponding to the image collection device;
  • the cloud storage system 920 is further configured to feed back the target storage information to the image collection device 910 after storing the target media data uploaded by the image collection device 910;
  • the image collection device 910 is further configured to receive the target storage information, and save the target URL corresponding to the target media data to a platform server corresponding to the image collection device 910;
  • the target storage information is information determined based on a storage location corresponding to the target media data, and the target URL is information determined based on the target storage information.
  • the first network address is specifically an external access address of the management node in the cloud storage system
  • the image collection device 910 sends a storage node allocation request to the cloud storage system based on the first network address, and obtains a second network address that is fed back by the cloud storage system, specifically:
  • the image collection device 910 After the tcp connection is established with the management node based on the first network address, the image collection device 910 sends a first http request message for requesting the storage node to the management node, and further receives the first http feedback from the management node. Replying to the message and extracting the second network address from the first http reply message;
  • the cloud storage system 920 receives the storage node allocation request sent by the image collection device 910, and feeds back the second network address to the image collection device 910, specifically:
  • the management node After establishing a tcp connection with the image collection device 910, the management node receives a first http request message sent by the image collection device 910 for requesting allocation of a storage node, and determines a target storage node corresponding to the image collection device, and determines After the target storage node, the image acquisition device 910 feeds back a first http reply message carrying the second network address.
  • the storage node in the cloud storage system 920 belongs to at least one virtual resource pool, and the image collection device further stores, in advance, target ID information of the target virtual resource pool, where the target virtual resource pool is used for storing the image collection.
  • the first http request message carries the target ID information
  • the management node determines a target storage node corresponding to the image collection device, specifically:
  • the management node extracts the target ID information from the first http request message
  • the target storage node corresponding to the image collection device 910 is selected from the storage node corresponding to the target virtual resource pool having the target ID information. Specifically, the image collection device 910 uploads the target media data to be stored to the cloud storage system 920 based on the second network address, specifically:
  • the cloud storage system 920 stores the target media data uploaded by the image collection device, specifically:
  • the target storage node After the tcp connection is established with the image collection device, the target storage node receives the second http request message sent by the image collection device.
  • the cloud storage system 920 feeds back the target storage information to the image collection device, specifically:
  • the target storage node feeds back a second http reply message to the image collection device, where the second http reply message carries the target storage information;
  • the image collection device 910 receives the target storage information, specifically:
  • the image collection device 910 receives the second http reply message fed back by the target storage node
  • the image collection device 910 uploads the target media data to be stored to the cloud storage system based on the second network address, specifically: the target media data and the target to be stored based on the second network address.
  • the smart data is uploaded to the cloud storage system 920, wherein the target smart data is data extracted by the image collecting device from the target media data;
  • the cloud storage system 920 stores the target media data uploaded by the image collection device 910, specifically:
  • the target media data and the target smart data uploaded by the image collection device 910 are stored, wherein the target media data and the target smart data are stored in a target storage node in the cloud storage system.
  • the image collection device 910 saves the target URL corresponding to the target media data to the platform server corresponding to the image collection device, specifically:
  • the cloud storage system 920 is further configured to:
  • the media data processing request is redirected to the target storage node to perform processing operations corresponding to the media data processing request by the target storage node.
  • the first network address is specifically an external access address of the management node in the cloud storage system 920;
  • the target URL includes the first network address;
  • the cloud storage system 920 receives the media data processing request sent by the access terminal based on the target URL, specifically:
  • the management node After establishing a tcp connection with the access terminal, the management node receives a third http request message sent by the access terminal for processing media data; wherein the third http request message is formed based on the target URL; the management node and the management node
  • the tcp connection between the access terminals is: the access end requests the establishment of the management node based on the first network address in the target URL;
  • the cloud storage system 920 redirects the media data processing request to the target storage node, so that the target storage node performs a processing operation corresponding to the media data processing request, specifically:
  • the management node parses the third http request message to obtain the target URL
  • the accessing end establishes a tcp connection with the target storage node based on the second network address in the third http reply message, and then The target storage node sends the third http request message, and further, the target storage node performs a processing operation corresponding to the third http request message on the target media data.
  • the target media data stored in the target storage node has a correspondence with the target smart data; wherein the target smart data is extracted by the target storage node from the target media data;
  • the target storage node performs a processing operation corresponding to the third http request message on the target media data, specifically:
  • the target storage node performs a processing operation corresponding to the third http request message for the target media data and the target smart data.
  • the image collection device 910 is further configured to:
  • the target multimedia data is retransmitted to the cloud storage system 920 according to a predetermined retransmission policy.
  • the image collection device 910 retransmits the target multimedia data to the cloud storage system according to a predetermined retransmission policy, specifically:
  • the image collection device retransmits the target multimedia data to the cloud storage system according to a predetermined retransmission policy, specifically:
  • FIG. 10 is a schematic structural diagram of an application example of the media data storage system provided by the embodiment of the present application.
  • the media data storage system provided by the embodiment of the present application includes a platform server, a capture machine, and a cloud storage system, where the cloud storage system includes a plurality of storage nodes and management nodes, and the storage nodes are divided into virtual Specifically, the basic process of storing pictures through the media data storage system shown in FIG. 10 is: (1) the capture machine captures the image and writes the image to the cloud storage system; (2) the cloud storage system returns the URL address of the image storage.
  • the capture machine returns the URL address of the image storage to the platform server; (4) The platform server writes the URL address of the image stored by the capture machine to the database. It can be seen that the media data storage system in FIG. 10 adopts the direct storage mode when storing pictures, thereby avoiding the platform server being dumped to the cloud storage system, thereby reducing the consumption of network bandwidth resources and improving the efficiency of uploading media data.
  • the embodiment of the present application further provides an image capturing device.
  • the image capturing device may include: a housing 1110, a processor 1120, a memory 1130, and a circuit.
  • a board 1140 and a power supply circuit 1150 wherein the circuit board 1140 is disposed inside a space surrounded by the housing 1110, the processor 1120 and the memory 1130 are disposed on the circuit board 1140;
  • the power supply circuit 1150 is configured to supply power to each circuit or device;
  • 1130 is configured to store executable program code;
  • the processor 1120 executes the media data storage method by executing the executable program code stored in the memory 1130; wherein the executing the media data storage method may include:
  • the target storage node is: a storage node allocated by the cloud storage system to the image collection device for storing media data of the image collection device;
  • the target media data to be stored is uploaded to the cloud storage system based on the second network address; wherein the target media data is stored in the cloud storage system.
  • the target storage node After the second network address is obtained, the target media data to be stored is uploaded to the cloud storage system based on the second network address; wherein the target media data is stored in the cloud storage system.
  • the target storage node After the second network address is obtained, the target media data to be stored is uploaded to the cloud storage system based on the second network address; wherein the target media data is stored in the cloud storage system.
  • the image collection device is a device having a camera function.
  • the image capture device may be a capture camera or a network camera, which is of course not limited thereto.
  • the media data collected by the image collection device includes, but is not limited to, a picture.
  • the solution stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • the method further includes:
  • Target storage information is information determined based on a storage location corresponding to the target media data
  • the target URL is information determined based on the target storage information.
  • the first network address is specifically an external access address of a management node in the cloud storage system
  • the step of requesting, by the cloud storage system, the second network address, based on the first network address includes:
  • the storage node in the cloud storage system belongs to at least one virtual resource pool, and the image collection device further stores target ID information of the target virtual resource pool, where the target virtual resource pool is used for storage.
  • a virtual resource pool of media data of the image capture device
  • the first http request message carries the target ID information
  • the step of determining, by the management node, the target storage node corresponding to the image collection device comprises:
  • the management node extracts the target ID information from the first http request message
  • the step of uploading the target media data to be stored to the cloud storage system based on the second network address includes:
  • the step of receiving the target storage information that is fed back by the cloud storage system includes:
  • the step of uploading the target media data to be stored to the cloud storage system based on the second network address includes:
  • Target media data and target smart data to be stored to the cloud storage system based on the second network address, wherein the target media data and the target smart data are stored in a target in the cloud storage system a storage node, the target intelligent data being data extracted by the image collection device from the target media data.
  • the step of saving the target URL corresponding to the target media data to the platform server corresponding to the image collection device includes:
  • the media data storage method further includes:
  • the target multimedia data is retransmitted to the cloud storage system according to a predetermined retransmission policy.
  • the step of retransmitting the target multimedia data to the cloud storage system according to a predetermined retransmission policy includes:
  • the step of retransmitting the target multimedia data to the cloud storage system according to a predetermined retransmission policy includes:
  • the target storage information is the target URL; or the target storage information is the storage location.
  • the embodiment of the present application further provides a cloud storage system.
  • the cloud storage system includes: a management node 1210 and a storage node 1220;
  • the management node is configured to receive a storage node allocation request sent by the image collection device, and feed back a second network address to the image collection device, so that: after obtaining the second network address, the image collection device is based on the Transmitting the target media data to be stored to the cloud storage system, where the storage node allocation request is sent by the image collection device based on the first network address stored in itself,
  • the first network address is an external access address of the management node
  • the second network address is a network address of the target storage node
  • the target storage node is: the cloud storage system is allocated by the image collection device, a storage node for storing media data of the image capture device;
  • the target storage node is configured to store the target media data uploaded by the image collection device.
  • the solution stores the media data of the image collection device through the direct storage mode, thereby avoiding the dumping of the platform server to the cloud storage system, thereby reducing the consumption of the network bandwidth resource and improving the efficiency of uploading the media data.
  • the target storage node is further configured to: after storing the target media data uploaded by the image collection device, feed back the target storage information to the image collection device, so that: the image collection device receives the location After the target storage information is stored, the target URL corresponding to the target media data is saved to a platform server corresponding to the image collection device;
  • the target storage information is information determined based on a storage location corresponding to the target media data, and the target URL is information determined based on the target storage information.
  • the management node receives the storage node allocation request sent by the image collection device, specifically:
  • the management node After the Tcp connection is established with the image collection device, the management node receives a first http request message sent by the image collection device for requesting allocation of a storage node, where the management node and the image collection device
  • the tcp connection is: the image collection device requests the establishment of the management node based on the first network address;
  • the management node feeds back the second network address to the image collection device, specifically:
  • the first http reply message carrying the second network address is fed back to the image collection device.
  • the storage node in the cloud storage system belongs to at least one virtual resource pool, and the image collection device further stores target ID information of the target virtual resource pool, where the target virtual resource pool is used for storage.
  • a virtual resource pool of media data of the image capture device
  • the first http request message carries the target ID information
  • the management node determines a target storage node corresponding to the image collection device, specifically:
  • the management node extracts the target ID information from the first http request message
  • the target storage node stores the target media data uploaded by the image collection device, specifically:
  • the tcp connection between the target storage node and the image collection device is: the image collection device requests to establish the target storage node based on the second network address;
  • the target storage node feeds back the target storage information to the image collection device, specifically:
  • the target storage node feeds back a second http reply message to the image collection device, where the second http reply message carries target storage information.
  • the image collection device uploads the target media data to be stored to the cloud storage system based on the second network address, including:
  • the image collection device uploads the target media data and the target smart data to be stored to the cloud storage system based on the second network address; wherein the target smart data is the image collection device from the target media Data extracted from the data;
  • the target storage node stores the target media data uploaded by the image collection device, specifically:
  • the target storage node stores the target media data and the target smart data uploaded by the image collection device, wherein the target media data and the target smart data are stored in the target in the cloud storage system Storage node.
  • the management node is further configured to: receive a media data processing request sent by the access terminal based on the target URL; where the access end is the platform server or a browser, where the browser is based The target URL is obtained from the platform server;
  • the target URL includes the first network address
  • the management node receives a media data processing request sent by the access terminal based on the target URL, specifically:
  • the management node After the Tcp connection is established with the access terminal, the management node receives a third http request message sent by the access terminal for processing media data, where the third http request message is formed based on the target URL.
  • the tcp connection between the management node and the access terminal is: the access end requests the establishment of the management node based on the first network address in the target URL;
  • the management node redirects the media data processing request to the target storage node, so that the target storage node performs a processing operation corresponding to the media data processing request, specifically:
  • the management node parses the third http request message to obtain the target URL
  • a third http reply message carrying the second network address, so that: the access end establishes with the target storage node based on a second network address in the third http reply message
  • the third http request message is sent to the target storage node, and further, the target storage node performs a processing operation corresponding to the third http request message on the target media data.
  • the target media data stored in the target storage node has a correspondence with the target smart data; wherein the target smart data is data extracted from the target media data;
  • the target storage node performs a processing operation corresponding to the third http request message on the target media data, specifically:
  • the target storage node performs a processing operation corresponding to the third http request message to the target media data and the target smart data.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Les modes de réalisation de la présente invention concernent un système de stockage en nuage, un procédé et un système de stockage de données multimédias. Un procédé de stockage de données multimédias est mis en œuvre sur un dispositif d'acquisition d'image. Ledit procédé consiste : à demander un système de stockage en nuage pour une seconde adresse de réseau sur la base d'une première adresse de réseau pré-stockée ; la seconde adresse de réseau étant l'adresse de réseau d'un nœud de stockage cible, le nœud de stockage cible étant un nœud de stockage attribué par le système de stockage en nuage au dispositif d'acquisition d'image pour le stockage de données multimédias du dispositif d'acquisition d'image ; après l'obtention de la seconde adresse de réseau, à télécharger en amont, sur la base de la seconde adresse de réseau, des données multimédias cibles destinées à être stockées dans le système de stockage en nuage ; les données multimédias cibles étant stockées dans le nœud de stockage cible du système de stockage en nuage. Ainsi, selon cette solution, les données multimédias du dispositif d'acquisition d'image sont stockées directement, plutôt que transférées par un serveur de plateforme à un nœud de stockage dorsal, ce qui permet de réduire la consommation de ressources de bande passante de réseau et d'améliorer l'efficacité de téléchargement en amont de données multimédias.
PCT/CN2018/078685 2017-03-16 2018-03-12 Système de stockage en nuage, procédé et système de stockage de données multimédias WO2018166415A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710157916.1 2017-03-16
CN201710157916.1A CN108632305B (zh) 2017-03-16 2017-03-16 云存储系统、媒体数据存储方法及系统

Publications (1)

Publication Number Publication Date
WO2018166415A1 true WO2018166415A1 (fr) 2018-09-20

Family

ID=63522710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078685 WO2018166415A1 (fr) 2017-03-16 2018-03-12 Système de stockage en nuage, procédé et système de stockage de données multimédias

Country Status (2)

Country Link
CN (1) CN108632305B (fr)
WO (1) WO2018166415A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729397A (zh) * 2019-01-29 2019-05-07 网宿科技股份有限公司 一种推流方法、系统及服务器
CN111984461A (zh) * 2019-05-22 2020-11-24 杭州海康威视系统技术有限公司 一种数据读取的方法、装置及云存储系统
CN112328559A (zh) * 2020-11-05 2021-02-05 杭州海康威视数字技术股份有限公司 一种图片入库方法、系统、装置及电子设备
US11102319B2 (en) 2019-01-29 2021-08-24 Wangsu Science and Technology Co., Ltd. Method, system and server for stream-pushing

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404978B (zh) * 2019-09-06 2023-05-02 杭州海康威视系统技术有限公司 一种数据存储方法及云存储系统
CN111522695A (zh) * 2020-05-08 2020-08-11 与众科技(天津)有限公司 一种协同办公系统应用级灾备系统
CN115604218A (zh) * 2021-06-28 2023-01-13 华为技术有限公司(Cn) 一种数据处理系统、方法及交换机
CN114124937B (zh) * 2021-11-23 2024-09-24 天翼视联科技有限公司 一种自动化分布式云存储调度交互方法、装置及设备
CN114286054B (zh) * 2021-12-27 2023-10-27 苏州万店掌网络科技有限公司 一种网络摄像机远程调试方法、系统、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882983A (zh) * 2012-10-22 2013-01-16 南京云创存储科技有限公司 一种云存储系统中提升并发访问性能的数据快速存储方法
US8914540B1 (en) * 2008-07-01 2014-12-16 Cisco Technology, Inc. Multi-fabric SAN based data migration
CN104580439A (zh) * 2014-12-30 2015-04-29 创新科存储技术(深圳)有限公司 一种云存储系统中使数据均匀分布的方法
CN105025049A (zh) * 2014-04-22 2015-11-04 深圳市尼得科技有限公司 一种媒体流存储方法及装置
CN105404469A (zh) * 2015-10-22 2016-03-16 浙江宇视科技有限公司 一种视频数据的存储方法和系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753617B (zh) * 2009-12-11 2013-05-08 中兴通讯股份有限公司 一种云存储系统和方法
CN102307221A (zh) * 2011-03-25 2012-01-04 国云科技股份有限公司 一种云存储系统及其实现方法
CN102148963A (zh) * 2011-04-06 2011-08-10 上海玄烨电子系统工程有限公司 基于云存储面向数字高清网络视频监控的方法和系统
CN102355572A (zh) * 2011-09-29 2012-02-15 南京云创存储科技有限公司 一种基于云计算的大型高清视频监控系统
EP2812833A1 (fr) * 2012-02-06 2014-12-17 Redigi Inc. Système de commerce de données numériques et procédés dotés d'objet multimédia numérique à redirection en nuage
CN103024053B (zh) * 2012-12-18 2015-11-25 华为技术有限公司 云存储方法、资源调度系统、云存储节点及系统
CN104572344B (zh) * 2013-10-29 2018-10-30 杭州海康威视系统技术有限公司 一种多云间数据备份的方法和系统
CN105025053A (zh) * 2014-04-24 2015-11-04 苏宁云商集团股份有限公司 基于云存储技术的分布式文件的上传方法及其系统
CN104168447A (zh) * 2014-07-03 2014-11-26 宁波摩米创新工场电子科技有限公司 物联网网络视频监控系统
CN104184812B (zh) * 2014-08-20 2017-08-11 霍尔果斯智融未来信息科技有限公司 一种基于私有云的多点数据传输方法
CN105516664A (zh) * 2015-12-11 2016-04-20 深圳市奔迈科技有限公司 一种基于云存储的智能监控系统及其监控方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8914540B1 (en) * 2008-07-01 2014-12-16 Cisco Technology, Inc. Multi-fabric SAN based data migration
CN102882983A (zh) * 2012-10-22 2013-01-16 南京云创存储科技有限公司 一种云存储系统中提升并发访问性能的数据快速存储方法
CN105025049A (zh) * 2014-04-22 2015-11-04 深圳市尼得科技有限公司 一种媒体流存储方法及装置
CN104580439A (zh) * 2014-12-30 2015-04-29 创新科存储技术(深圳)有限公司 一种云存储系统中使数据均匀分布的方法
CN105404469A (zh) * 2015-10-22 2016-03-16 浙江宇视科技有限公司 一种视频数据的存储方法和系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729397A (zh) * 2019-01-29 2019-05-07 网宿科技股份有限公司 一种推流方法、系统及服务器
US11102319B2 (en) 2019-01-29 2021-08-24 Wangsu Science and Technology Co., Ltd. Method, system and server for stream-pushing
CN111984461A (zh) * 2019-05-22 2020-11-24 杭州海康威视系统技术有限公司 一种数据读取的方法、装置及云存储系统
CN111984461B (zh) * 2019-05-22 2024-02-27 杭州海康威视系统技术有限公司 一种数据读取的方法、装置及云存储系统
CN112328559A (zh) * 2020-11-05 2021-02-05 杭州海康威视数字技术股份有限公司 一种图片入库方法、系统、装置及电子设备

Also Published As

Publication number Publication date
CN108632305A (zh) 2018-10-09
CN108632305B (zh) 2021-05-25

Similar Documents

Publication Publication Date Title
WO2018166415A1 (fr) Système de stockage en nuage, procédé et système de stockage de données multimédias
CN108600281B (zh) 一种云存储系统、媒体数据存储方法及系统
US7733808B2 (en) Peer-to-peer aided live video sharing system
CN102571726B (zh) 多媒体数据共享的方法、系统及状态判定服务器
CN108737476B (zh) 云存储系统、媒体数据存储方法及系统
CN101795222B (zh) 多级转发服务系统及方法
US20220209878A1 (en) Method, system and device for pushing information, and storage medium thereof
US11528303B2 (en) Method and system for responding to video call service
US10681314B2 (en) Moving image splitting device and monitoring method
CN108737484B (zh) 媒体数据存储方法及系统
CN106453683A (zh) 一种摄像头集中接入管理的方法
WO2019100912A1 (fr) Procédé de distribution de données et serveur de distribution
CN102439946B (zh) 数据传输方法和设备
CN108737477B (zh) 云存储系统、媒体数据均衡存储方法及系统
US7234003B2 (en) Method and apparatus to facilitate direct transfer of data between a data device and a network connection
CN102457532B (zh) 一种实现多cdn同主题视频共享的方法、装置和系统
CN106533760B (zh) 一种在cm网络中构建cdn系统的方法及装置
CN111212253B (zh) 视频会议中的监控处理方法、装置、电子设备及存储介质
CN110519400B (zh) 将设备流量进行多入口分离的物联网平台的实现方法
CN114143569A (zh) 一种网页录制和直播方法及系统
CN105263134A (zh) 一种图像传输方法及移动设备
CN106937179A (zh) 客户端与服务器端双向数据传输的方法
CN111490886B (zh) 一种网络数据处理方法及系统
CN111143607B (zh) 一种信息获取方法和装置
CN120223699B (zh) 资源的存储方法及装置、存储介质、电子设备及计算机程序产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18767947

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18767947

Country of ref document: EP

Kind code of ref document: A1