An automated distributed cloud storage scheduling interaction method, device and equipment
Through the automated distributed cloud storage scheduling interaction method, the problems of limited storage capacity and poor scalability of traditional video surveillance systems are solved, distributed storage and automatic cleaning of data are realized, and the storage performance of the video surveillance system is improved.
Patent Information
- Application Number
- CN202111397682.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-11-23
AI Technical Summary
Traditional video surveillance systems adopt a centralized deployment method, which results in limited storage capacity, poor scalability, inability to automatically clean up expired video data, and single points of failure.
Using the automated distributed cloud storage scheduling interaction method, the cloud storage module obtains the binding information of the file uploaded by the device, generates address information, and the device uploads the file to the resource pool. The cloud storage module sets the storage validity period and records the index, realizing distributed storage and Automatic cleanup.
It solves the problems of limited storage capacity and poor scalability, achieves flexible storage and efficient expansion of data, avoids single points of failure, and improves data storage performance.
Smart Images

Figure CN114124937B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data scheduling technology, and in particular to an automated distributed cloud storage scheduling interaction method, device and equipment. Background Art
[0002] With the widespread application of video surveillance, the number of surveillance cameras is increasing, and users have higher and higher requirements for image quality. Traditional video surveillance projects adopt centralized deployment and use traditional relational databases as image file record storage. Due to the centralized access of massive video data, there are problems such as large storage center node resources, high network bandwidth requirements, limited data storage capacity, slow query, inability to automatically clean up expired video data, single point failure, and poor scalability. Summary of the invention
[0003] The embodiments of the present invention provide an automated distributed cloud storage scheduling interaction method, device and equipment, which are used to solve the technical problems of limited storage capacity and poor scalability of traditional relational databases used as image file record storage in a centralized deployment manner.
[0004] In order to achieve the above purpose, the embodiment of the present invention provides the following technical solutions:
[0005] An automated distributed cloud storage scheduling interaction method is applied to an automated distributed cloud storage scheduling system, wherein the automated distributed cloud storage scheduling system includes a device to upload data, a cloud storage module, a scheduling management module, a database, and a resource pool. The method includes the following steps:
[0006] The cloud storage module obtains binding information of the file uploaded by the device, and generates address information of the file uploaded by the device according to the binding information;
[0007] The device uploads the to-be-uploaded file of the device to the resource pool for storage through the address information, and the resource pool returns notification information of successful storage of the uploaded file to the device;
[0008] The device generates storage information of the file to be uploaded through the notification information, and transmits the storage information to the cloud storage module, and the cloud storage module writes the storage information into the RocketMQ message queue;
[0009] The cloud storage module establishes a new thread and uses the new thread to read the storage information in the RocketMQ message queue, and sets a storage validity period for the storage information to obtain a storage index corresponding to the storage information;
[0010] The cloud storage module records the storage index in the database.
[0011] Preferably, before the cloud storage module obtains the binding information of the file uploaded by the device, it includes: the device sends an information binding request to the cloud storage module, and the cloud storage module obtains the binding information sent by the device through the information binding request.
[0012] Preferably, the step of generating the address information of the device uploading the file according to the binding information by the cloud storage module includes:
[0013] The cloud storage module obtains resource pool information for allocating files uploaded by the device from the scheduling management module through the binding information;
[0014] The cloud storage module generates address information of the file uploaded by the device through the resource pool information;
[0015] The cloud storage module transmits the address information to the device.
[0016] Preferably, before the cloud storage module obtains the resource pool information for allocating the file uploaded by the device from the scheduling management module through the binding information, the process includes: encrypting and decrypting the binding information for verification.
[0017] Preferably, the device uploading the to-be-uploaded files of the device to the resource pool for storage through the address information includes: the device obtaining the to-be-uploaded files of the device within a certain time period or a certain number through the address information; and the address information includes the validity period of the link address.
[0018] Preferably, the automated distributed cloud storage scheduling interaction method comprises: the database sends a cleanup request to the cloud storage module regularly according to the storage validity period, and the cloud storage module cleans up expired storage indexes according to the cleanup request.
[0019] Preferably, the binding information includes the type, code stream and storage days of the file to be uploaded by the device.
[0020] Preferably, the storage information includes device number, file upload time and resource pool storage data.
[0021] The present application also provides an automated distributed cloud storage scheduling interaction device, which is applied to an automated distributed cloud storage scheduling system, wherein the automated distributed cloud storage scheduling system includes a device for uploading data, a cloud storage module, a scheduling management module, a database, and a resource pool, and the device includes an address generation module, a file upload module, a storage information writing module, a thread execution module, and an index storage module;
[0022] The address generation module is used for the cloud storage module to obtain the binding information of the device uploaded file, and generate the address information of the device uploaded file according to the binding information;
[0023] The file uploading module is used for the device to upload the file to be uploaded by the device to the resource pool for storage through the address information, and the resource pool returns notification information of successful storage of the uploaded file to the device;
[0024] The storage information writing module is used for the device to generate storage information of the file to be uploaded through the notification information, and transmit the storage information to the cloud storage module, and the cloud storage module writes the storage information into the RocketMQ message queue;
[0025] The thread execution module is used for the cloud storage module to establish a new thread and use the new thread to read the storage information in the RocketMQ message queue, and set a storage validity period for the storage information to obtain a storage index corresponding to the storage information;
[0026] The index storage module is used by the cloud storage module to record the storage index in the database.
[0027] The present application also provides a terminal device, including a processor and a memory;
[0028] The memory is used to store program codes and transmit the program codes to the processor;
[0029] The processor is used to execute the above-mentioned automatic distributed cloud storage scheduling interaction method according to the instructions in the program code
[0030] It can be seen from the above technical scheme that the embodiments of the present invention have the following advantages: the automated distributed cloud storage scheduling interaction method, device and equipment provided by the embodiments of the present application, the method includes: the cloud storage module obtains the binding information of the device uploading the file, and generates the address information of the device uploading the file according to the binding information; the device uploads the device's to-be-uploaded file to the resource pool for storage through the address information, and the resource pool returns the notification information of the successful storage of the uploaded file to the device; the device generates the storage information of the to-be-uploaded file through the notification information, and transmits the storage information to the cloud storage module, and the cloud storage module writes the storage information into the RocketMQ message queue; the cloud storage module establishes a new thread and uses the new thread to read the storage information in the RocketMQ message queue, and sets the storage validity period for the storage information to obtain the storage index corresponding to the storage information; the cloud storage module records the storage index in the database. The automated distributed cloud storage scheduling interaction method obtains the address information of the device that needs to upload files through the cloud storage module, and uploads the files that the device needs to store to the resource storage according to the address information, thereby realizing the flexibility of resource storage; the cloud storage module also saves the storage information of the resource pool, and also records the storage index to the database, and stores the files in the resource pool, thereby realizing the distributed storage of data, avoiding the centralized storage of excessive data volume, and expanding the performance of data storage, thus solving the technical problem that the existing traditional relational database that adopts the centralized deployment mode is used as the image file record storage, and has the limited storage capacity and poor scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0032] Figure 1 This is a flowchart of the steps of the automated distributed cloud storage scheduling interaction method described in an embodiment of the present application;
[0033] Figure 2 A framework diagram of the automated distributed cloud storage scheduling interaction method described in an embodiment of the present application;
[0034] Figure 3 This is a framework diagram of the automated distributed cloud storage scheduling interaction device described in an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] The embodiments of the present application provide an automated distributed cloud storage scheduling interaction method, apparatus and device, which are used to solve the technical problems of limited storage capacity and poor scalability of traditional relational databases used as image file record storage in a centralized deployment manner.
[0037] Figure 1 This is a flowchart of the steps of the automated distributed cloud storage scheduling interaction method described in an embodiment of the present application. Figure 2 Framework diagram of the automated distributed cloud storage scheduling interaction method described in an embodiment of the present application.
[0038] like Figure 1 and Figure 2 As shown, an embodiment of the present application provides an automated distributed cloud storage scheduling interaction method, which is applied to an automated distributed cloud storage scheduling system. The automated distributed cloud storage scheduling system includes a device to upload data, a cloud storage module, a scheduling management module, a database, and a resource pool. The method includes the following steps:
[0039] S1. The cloud storage module obtains the binding information of the device uploading the file, and generates the address information of the device uploading the file according to the binding information;
[0040] S2. The device uploads the file to be uploaded to the resource pool through the address information, and the resource pool returns the notification information of the successful upload of the storage file to the device;
[0041] S3. The device generates storage information of the file to be uploaded through the notification information, and transmits the storage information to the cloud storage module, which writes the storage information into the RocketMQ message queue;
[0042] S4. The cloud storage module creates a new thread and uses the new thread to read the storage information in the RocketMQ message queue, sets a storage validity period for the storage information, and obtains a storage index corresponding to the storage information;
[0043] S5. The cloud storage module records the storage index in the database.
[0044] In step S1 of the embodiment of the present application, the cloud storage module is mainly bound to the device, the cloud storage module obtains the binding information of the device, and generates the address information required for the device to upload files according to the binding information.
[0045] It should be noted that the binding information includes the type of file to be uploaded by the device, the bit rate, and the number of days of storage. Among them, the uploaded file can be understood as a video, the device can be understood as a camera, and the bit rate can be understood as a video bit rate (such as HD and SD settings). In this embodiment, the cloud storage module obtains the binding information mainly to obtain the basic information of the device, which is used to know the bit rate and effective storage time of the device monitoring video, that is, to determine the clarity, size, duration, and storage time of the surveillance video file captured by the camera device.
[0046] In step S2 of the embodiment of the present application, the device mainly uploads its own files to be uploaded to the resource pool for storage according to the address information, and after the resource pool stores the information, it also feeds back the information of successful storage of the uploaded files to the device. Only when the device receives the notification information of successful storage of the uploaded files returned by the resource pool can step S3 be executed.
[0047] It should be noted that the device outputs the video images obtained by monitoring into each time period or a certain number of video upload files matching the address information and uploads them to the resource pool for storage, and stores the storage days of the video upload files and the resource pool identification preservation date. In this embodiment, the resource pool will also automatically delete the files after expiration according to the storage days of the address information to achieve automatic cleaning of the resource pool.
[0048] In step S3 of the embodiment of the present application, the device mainly generates storage information that needs to be queried based on the notification information, and obtains a storage index corresponding to the storage information.
[0049] It should be noted that the storage information includes the device number, file upload time, resource pool storage data, etc. Among them, the resource pool storage data can be the date when the resource pool storage device uploads the file and the date when the storage file is deleted. In this embodiment, after the device successfully uploads the file to be uploaded, it submits the uploaded storage information to the cloud storage module, so that the video file monitored by the device can be reviewed; and the cloud storage module writes the received storage information into the RocketMQ waiting asynchronous consumption queue. The use of RocketMQ message queue can also be used as a means of high-concurrency peak shaving processing information.
[0050] In step S4 and step S5 of the embodiment of the present application, a new thread is mainly established in the cloud storage module, and the storage information in the RocketMQ message queue is read through the new line, and the storage information preservation time is set, that is, the storage validity period. The new line also generates a storage index for the storage information and the storage validity period, and the cloud storage module records the storage index in the database.
[0051] It should be noted that the cloud storage module uses a new thread to read the storage information of the RocketMQ message queue, sets the storage validity period of the record and writes it to the database. The database uses an eventual consistency strategy to implement a distributed database cluster across multiple DC nodes. The database based on the wide column storage model implements the storage and retrieval capabilities of the video upload file index. The storage index in the database facilitates viewing the files stored in the resource pool through the cloud storage module. Among them, the storage validity period refers to the sum of the upload time and the effective storage time of the file uploaded by the device to the resource pool. In this embodiment, the resource pool is mainly used to store files uploaded by the device, and the database is mainly used to record the storage index of the device uploaded file in the resource pool.
[0052] In steps S2 to S5 of the embodiment of the present application, the device completes uploading a monitoring video file to the resource pool through address information and notifies the cloud storage module to store index information of the monitoring file that has been successfully uploaded. The cloud storage module uses the queue and asynchronous processing of the RocketMQ message queue to ensure that the device upload is still normal during peak hours.
[0053] The present application provides an automated distributed cloud storage scheduling interaction method, including: a cloud storage module obtains binding information of a file uploaded by a device, and generates address information of the file uploaded by the device according to the binding information; the device uploads the file to be uploaded by the device to a resource pool for storage through the address information, and the resource pool returns notification information of successful storage of the uploaded file to the device; the device generates storage information of the file to be uploaded through the notification information, and transmits the storage information to the cloud storage module, and the cloud storage module writes the storage information into a RocketMQ message queue; the cloud storage module establishes a new thread and uses the new thread to read the storage information in the RocketMQ message queue, and sets a storage validity period for the storage information to obtain a storage index corresponding to the storage information; the cloud storage module records the storage index in a database. The automated distributed cloud storage scheduling interaction method obtains the address information of the device that needs to upload files through the cloud storage module, and uploads the files that the device needs to store to the resource storage according to the address information, thereby realizing the flexibility of resource storage; the cloud storage module also saves the storage information of the resource pool, and also records the storage index to the database, and stores the files in the resource pool, thereby realizing the distributed storage of data, avoiding the centralized storage of excessive data volume, and expanding the performance of data storage, thus solving the technical problem that the existing traditional relational database that adopts the centralized deployment mode is used as the image file record storage, and has the limited storage capacity and poor scalability.
[0054] like Figure 1 and Figure 2 As shown, in one embodiment of the present application, before the cloud storage module obtains the binding information of the file uploaded by the device, it includes: S0. The device sends an information binding request to the cloud storage module, and the cloud storage module obtains the binding information sent by the device through the information binding request.
[0055] It should be noted that the device periodically sends an information binding request to the cloud storage module so that the resource pool can store the files uploaded by the device in a timely manner.
[0056] In one embodiment of the present application, the step of generating address information of a device uploading a file according to the binding information by the cloud storage module includes:
[0057] The cloud storage module obtains the resource pool information of the allocated device uploading files from the scheduling management module through binding information;
[0058] The cloud storage module generates the address information of the device uploading files through the resource pool information;
[0059] The cloud storage module transmits the address information to the device.
[0060] In an embodiment of the present application, the device uploads the device's to-be-uploaded files to the resource pool for storage through address information, including: the device obtains a certain time period or a certain number of to-be-uploaded files of the device through address information; the address information includes the validity period of the link address.
[0061] It should be noted that the cloud storage module needs to obtain the upload address (i.e., address information) of the surveillance video files within a period of time or a certain number of devices, then obtain the resource pool information of the allocated device upload file through the scheduling management module, and obtain the device file upload address according to the resource pool information and binding information. In this embodiment, before the cloud storage module generates the address information, it is necessary to verify and judge the binding information and after the verification is passed, the cloud storage module can query the scheduling management module for the resource pool information of the device being scheduled and allocated, and then return the link address of the device uploading the file to the resource pool storage to the device. The address information refers to informing the device which resource pool to upload the intercepted surveillance video file. Obtaining the upload address within a period of time or a certain number of upload addresses avoids having to obtain an upload address and repeating the operation each time a surveillance video file is uploaded, thereby reducing the interactive process. Among them, the address information is valid for a period of time, and it cannot be used again after the period has expired. A new batch of address information needs to be obtained again to avoid excessive storage in the cloud storage module.
[0062] In the embodiment of the present application, before the cloud storage module obtains the resource pool information of the allocation device to upload the file from the scheduling management module through the binding information, it includes: encrypting and decrypting the binding information for verification.
[0063] It should be noted that the device first uses the device password to encrypt the request binding information and passes it to the cloud storage module. After receiving the request, the cloud storage module also uses the device password to decrypt the encrypted binding information to determine whether the binding information before and after decryption is consistent. If they are consistent, the cloud storage module obtains the resource pool information of the allocated device upload file from the scheduling management module through the binding information. Among them, encryption and decryption can be implemented using symmetric encryption and decryption methods.
[0064] In one embodiment of the present application, the automated distributed cloud storage scheduling interaction method includes: the database sends a cleanup request to the cloud storage module regularly according to the storage validity period, and the cloud storage module cleans up expired storage indexes according to the cleanup request.
[0065] It should be noted that setting the validity period in the storage index is mainly to facilitate the regular cleaning of expired data in the cloud storage module, implement an automatic cleaning mechanism, and also alleviate the storage space of the cloud storage module.
[0066] Embodiment 2:
[0067] Figure 3 This is a framework diagram of the automated distributed cloud storage scheduling interaction device described in an embodiment of the present application.
[0068] like Figure 3 As shown, the present application also provides an automated distributed cloud storage scheduling interaction device, which is applied to an automated distributed cloud storage scheduling system. The automated distributed cloud storage scheduling system includes a device for uploading data, a cloud storage module, a scheduling management module, a database and a resource pool. The device includes an address generation module 10, a file upload module 20, a storage information writing module 30, a thread execution module 40 and an index storage module 50;
[0069] The address generation module 10 is used for the cloud storage module to obtain the binding information of the device uploaded file and generate the address information of the device uploaded file according to the binding information;
[0070] The file upload module 20 is used for the device to upload the file to be uploaded by the device to the resource pool for storage through the address information, and the resource pool returns the notification information of the successful storage of the uploaded file to the device;
[0071] The storage information writing module 30 is used for the device to generate storage information of the file to be uploaded through the notification information, and transmit the storage information to the cloud storage module, and the cloud storage module writes the storage information into the RocketMQ message queue;
[0072] The thread execution module 40 is used for the cloud storage module to establish a new thread and use the new thread to read the storage information in the RocketMQ message queue, and set a storage validity period for the storage information to obtain a storage index corresponding to the storage information;
[0073] The index storage module 50 is used for the cloud storage module to store index records in the database.
[0074] It should be noted that the modules in the device of Example 2 correspond to the steps in the method of Example 1. The steps of the method of Example 1 have been described in detail in Example 1, and the contents of the modules in the device will not be described in detail in this Example 2.
[0075] Embodiment three:
[0076] The present application also provides a terminal device, including a processor and a memory;
[0077] A memory, used for storing program codes and transmitting the program codes to a processor;
[0078] The processor is used to execute the above-mentioned automated distributed cloud storage scheduling interaction method according to the instructions in the program code.
[0079] It should be noted that the automated distributed cloud storage scheduling interaction method has been described in detail in Embodiment 1 and will not be elaborated on here. The processor is used to execute the steps in the above-mentioned automated distributed cloud storage scheduling interaction method embodiment according to the instructions in the program code. Alternatively, the processor implements the functions of each module / unit in the above-mentioned system / device embodiments when executing the computer program.
[0080] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in a memory and executed by a processor to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing a specific function, and the instruction segments are used to describe the execution process of the computer program in a terminal device.
[0081] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that this does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0082] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0083] The memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device. Furthermore, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory may also be used to temporarily store data that has been output or is to be output.
[0084] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0085] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0086] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0087] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0088] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0089] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An automated distributed cloud storage scheduling interaction method, applied to an automated distributed cloud storage scheduling system, characterized in that: The automated distributed cloud storage scheduling system includes a device for uploading data, a cloud storage module, a scheduling management module, a database, and a resource pool. The method includes the following steps: The cloud storage module obtains binding information of the file uploaded by the device, and generates address information of the file uploaded by the device according to the binding information; The device uploads the to-be-uploaded file of the device to the resource pool for storage through the address information, and the resource pool returns notification information of successful storage of the uploaded file to the device; The device generates storage information of the file to be uploaded through the notification information, and transmits the storage information to the cloud storage module, and the cloud storage module writes the storage information into the RocketMQ message queue; The cloud storage module establishes a new thread and uses the new thread to read the storage information in the RocketMQ message queue, and sets a storage validity period for the storage information to obtain a storage index corresponding to the storage information; The cloud storage module records the storage index in the database; Before the cloud storage module obtains the binding information of the file uploaded by the device, the method includes: the device sends an information binding request to the cloud storage module, and the cloud storage module obtains the binding information sent by the device through the information binding request.
2. The automated distributed cloud storage scheduling interaction method according to claim 1, characterized in that: The step of generating the address information of the file uploaded by the device according to the binding information by the cloud storage module comprises: The cloud storage module obtains resource pool information for allocating files uploaded by the device from the scheduling management module through the binding information; The cloud storage module generates address information of the file uploaded by the device through the resource pool information; The cloud storage module transmits the address information to the device.
3. The automated distributed cloud storage scheduling interaction method according to claim 2, characterized in that: Before the cloud storage module obtains the resource pool information for allocating the file uploaded by the device from the scheduling management module through the binding information, the method includes: encrypting and decrypting the binding information for verification.
4. The automated distributed cloud storage scheduling interaction method according to claim 1, characterized in that: The device uploads the to-be-uploaded files of the device to the resource pool for storage through the address information, including: the device obtains a certain time period or a certain number of to-be-uploaded files of the device through the address information; the address information includes the validity period of the link address.
5. The automated distributed cloud storage scheduling interaction method according to claim 1, characterized in that: include: The database sends a cleanup request to the cloud storage module regularly by storing the validity period, and the cloud storage module cleans up the expired storage index according to the cleanup request.
6. The automated distributed cloud storage scheduling interaction method according to claim 1, characterized in that: The binding information includes the type, bit rate and storage days of the file to be uploaded by the device.
7. The automated distributed cloud storage scheduling interaction method according to claim 1, characterized in that: The storage information includes device number, file upload time and resource pool storage data.
8. An automated distributed cloud storage scheduling interactive device, applied to an automated distributed cloud storage scheduling system, characterized in that: The automated distributed cloud storage scheduling system includes a device for uploading data, a cloud storage module, a scheduling management module, a database and a resource pool, and the device includes an address generation module, a file upload module, a storage information writing module, a thread execution module and an index storage module; The address generation module is used for the cloud storage module to obtain the binding information of the device uploaded file, and generate the address information of the device uploaded file according to the binding information; The file uploading module is used for the device to upload the file to be uploaded by the device to the resource pool for storage through the address information, and the resource pool returns the notification information of the successful storage of the uploaded file to the device; The storage information writing module is used for the device to generate storage information of the file to be uploaded through the notification information, and transmit the storage information to the cloud storage module, and the cloud storage module writes the storage information into the RocketMQ message queue; The thread execution module is used for the cloud storage module to establish a new thread and use the new thread to read the storage information in the RocketMQ message queue, and set a storage validity period for the storage information to obtain a storage index corresponding to the storage information; The index storage module is used for the cloud storage module to record the storage index in the database; Before the cloud storage module obtains the binding information of the file uploaded by the device, the device sends an information binding request to the cloud storage module, and the cloud storage module obtains the binding information sent by the device through the information binding request.
9. A terminal device, characterized in that: including a processor and a memory; The memory is used to store program codes and transmit the program codes to the processor; The processor is used to execute the automated distributed cloud storage scheduling interaction method according to any one of claims 1 to 7 according to the instructions in the program code.
