Audio and video file automatic acquisition and authentication transmission method and device and medium

By using SM4 symmetric encryption algorithm in the power supply service recorder to generate a dispersed factor data group and automatically collect and authenticate audio and video files, the problems of low storage and transmission efficiency of audio and video files and easy data loss in the existing technology are solved, and the problem of low data storage and transmission efficiency is achieved. Reliability and stability of automatic authentication and data transmission.

CN119520058APending Publication Date: 2025-02-25CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411609301.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The existing power supply service recorders have problems such as not being fixedly stored in audio and video files, long export time, low efficiency, and data classification errors and loss during data transmission.

Method used

Using an automatic collection and authentication transmission method of audio and video files, the SM4 symmetric encryption algorithm generates a dispersed factor data group, group the data to be transmitted and adds the initial vector to generate a temporary file sequence, and then the temporary data file and the dispersed factor are used. Data group combinations generate data transmission file blocks, and automatically collect and transmit them through the SDK data interface.

Benefits of technology

Automatic authentication and data transmission of power supply service recorders, audio and video storage devices and backend systems is realized, and the reliability and stability of audio and video data transmission is improved, and inefficiency and data loss risks caused by human export are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520058A_ABST
    Figure CN119520058A_ABST
Patent Text Reader

Abstract

The invention discloses an audio and video file automatic acquisition and authentication transmission method and device and a medium. The method comprises the following steps: based on an SM4 symmetric encryption algorithm, generating different dispersion factor data groups according to manufacturer information, user information, batch information, an equipment number and each function usage identifier; grouping data to be transmitted according to a data usage, and adding the initial vector to generate a temporary file sequence; different temporary data files are combined with the corresponding dispersion factor data sets to generate data transmission file blocks with different identifications, and the data transmission file blocks are stored in an SDK (Software Development Kit) data interface; an SDK (Software Development Kit) data interface of the audio and video storage equipment actively initiates access authentication, carries out file analysis, and carries out automatic acquisition of audio and video data according to different function usages corresponding to different data transmission file blocks and associated work order sequences; and an SDK data interface of the audio and video storage equipment initiates access authentication, and automatic transmission of the corresponding data transmission file block is started after the authentication is passed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio and video file transmission, and more specifically, to a method, device and medium for automatic collection and authentication transmission of audio and video files. Background Art

[0002] With the development of the economy and society, the demand for electricity in various industries and residential users is growing, and the number of power supply service scenarios is also increasing. When power supply service personnel provide power supply services, they have the characteristics of many points, long lines, dispersion, and difficulty in centralized management. In the on-site operation scenes of power supply services, there are more on-site service scenes with more contact with electricity users, which are prone to complaints and disputes. In order to improve the standardized service awareness of power supply service personnel, ensure that power supply service personnel perform their duties, standardize service words and deeds, strengthen self-discipline, improve operation level and work results, objectively and truthfully record the entire process of power supply services, and timely fix the on-site situation, assess, evaluate, and supervise the power supply service quality of power supply service personnel, and safeguard the legitimate rights and interests of power supply service personnel and parties, the power supply company clearly proposed that the entire process should be recorded and recorded when performing power supply on-site service related work, and the on-site service behavior should be recorded, and the power supply service recorder came into being. However, the existing power supply service recorder audio and video files have no fixed place to store, and most of them are manually exported to a designated computer. The audio and video data is large, the export time is long, the efficiency is low, and there are risks such as data classification errors and data loss during the transmission process. Summary of the invention

[0003] In view of the deficiencies in the prior art, the present invention provides a method, device and medium for automatic collection and authentication transmission of audio and video files.

[0004] According to one aspect of the present invention, there is provided a method for automatic collection and authentication transmission of audio and video files, comprising:

[0005] Based on the SM4 symmetric encryption algorithm, different dispersion factor data groups are generated according to manufacturer information, user information, batch information, device number and each function usage identifier;

[0006] The data to be transmitted are grouped according to data usage, and an initial vector is added to generate a temporary file sequence;

[0007] Combine different temporary data files with corresponding dispersion factor data groups to generate data transmission file blocks with different identifiers and store them in the SDK data interface;

[0008] When the audio and video recording device is connected to the audio and video storage device through the transmission interface, the SDK data interface of the audio and video storage device actively initiates access authentication, performs file parsing, and automatically collects audio and video data according to the different functional usages corresponding to different data transmission file blocks and the associated work order sequence;

[0009] When the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence, the SDK data interface of the audio and video storage device initiates access authentication. After the authentication is passed, the automatic transmission of the corresponding data transmission file block begins.

[0010] Optionally, based on the SM4 symmetric encryption algorithm, different dispersion factor data groups are generated according to the manufacturer information, user information, batch information, device number and each function usage identifier, including:

[0011] Generate a first dispersion factor according to relevant manufacturer information, user information, and batch information through audio and video recording equipment;

[0012] Generate a second scatter factor using the unique number of the audio and video recording device;

[0013] generating a third dispersion factor for each usage identifier through various usage identifiers;

[0014] Through the SM4 symmetric encryption algorithm, the first dispersion factor, the second dispersion factor and the third dispersion factor are irregularly combined to generate different dispersion factor data groups distinguished by usage and key.

[0015] Optionally, the SDK interface file of the audio and video storage device includes:

[0016] Initialization interface, used to initialize the audio and video storage device key;

[0017] Access authentication interface, used for backend authentication of audio and video storage devices;

[0018] Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller;

[0019] Audio and video file transmission interface, which signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the backend system after packaging;

[0020] Key calculation interface, providing a key generation interface for the SDK interface file;

[0021] The audio and video file transfer interface provides an audio and video file storage interface for the SDK interface file.

[0022] Optionally, the SDK interface file of the audio and video recording device includes:

[0023] Initialization interface, used to initialize the key of audio and video recording equipment;

[0024] Access authentication interface, used for backend authentication of audio and video recording equipment access;

[0025] Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller;

[0026] The audio and video file transmission interface signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the background system after packaging.

[0027] According to another aspect of the present invention, there is provided an automatic audio and video file acquisition and authentication transmission device, comprising:

[0028] The first generation module is used to generate different dispersion factor data groups based on the SM4 symmetric encryption algorithm according to the manufacturer information, user information, batch information, device number and each function usage identifier;

[0029] The second generating module is used to group the data to be transmitted according to the data usage, add the initial vector, and generate a temporary file sequence;

[0030] The third generation module is used to combine different temporary data files with corresponding dispersion factor data groups to generate data transmission file blocks with various different identifiers and store them in the SDK data interface;

[0031] The acquisition module is used to initiate access authentication and file parsing by the SDK data interface of the audio and video storage device when the audio and video recording device is connected to the audio and video storage device through the transmission interface, and to automatically acquire audio and video data according to the different functional usages corresponding to different data transmission file blocks and the associated work order sequence;

[0032] The transmission module is used to initiate access authentication through the SDK data interface of the audio and video storage device when the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence. After the authentication is passed, the automatic transmission of the corresponding data transmission file block begins.

[0033] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method described in any one of the above aspects of the present invention.

[0034] According to another aspect of the present invention, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method described in any one of the above aspects of the present invention.

[0035] Thus, the present invention is based on the automatic authentication, collection and transmission of audio and video data of audio and video recording equipment, audio and video storage equipment and background management system. When the audio and video recording equipment is connected to the audio and video storage equipment through the transmission interface, the SDK data interface of the audio and video storage equipment actively initiates access authentication, and the automatic collection of audio and video data is carried out according to the different functional usages corresponding to different data transmission file blocks and the associated work order sequence. When the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence, the SDK data interface of the audio and video storage device initiates access authentication, and the automatic transmission of the corresponding data block begins after the authentication is passed. Automatic authentication and data transmission of the power supply service recorder, audio and video storage device and background system can be realized, ensuring the reliability and stability of audio and video data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:

[0037] Figure 1 It is a flowchart of a method for automatic collection and authentication transmission of audio and video files provided by an exemplary embodiment of the present invention;

[0038] Figure 2 It is a schematic diagram of an audio and video file automatic acquisition and authentication transmission system provided by an exemplary embodiment of the present invention;

[0039] Figure 3 is a schematic diagram of a process for generating a dispersion factor data set provided by an exemplary embodiment of the present invention;

[0040] Figure 4 is a schematic diagram of a key distribution process provided by an exemplary embodiment of the present invention;

[0041] Figure 5 is a schematic diagram of a data transmission file block generation process provided by an exemplary embodiment of the present invention;

[0042] Figure 6 It is a functional block diagram of an SDK interface design for an audio and video storage device provided by an exemplary embodiment of the present invention;

[0043] Figure 7 It is a functional block diagram of the SDK interface design for audio and video recording equipment provided by an exemplary embodiment of the present invention;

[0044] Figure 8It is a block diagram of an audio and video data automatic authentication, collection and transmission system provided by an exemplary embodiment of the present invention;

[0045] Fig. 9 It is a structural diagram of an audio and video file automatic acquisition and authentication transmission device provided by an exemplary embodiment of the present invention;

[0046] Fig.10 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0047] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here.

[0048] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0049] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present invention are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0050] It should also be understood that, in the embodiments of the present invention, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.

[0051] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0052] In addition, the term "and / or" in the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.

[0053] It should also be understood that the description of the various embodiments of the present invention focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0054] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0055] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0056] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0057] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0058] Embodiments of the present invention can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.

[0059] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.

[0060] Exemplary Methods

[0061] Figure 1 FIG. 1 is a flow chart of a method for automatically collecting and authenticating audio and video files provided by an exemplary embodiment of the present invention. This embodiment can be applied to electronic devices, such as Figure 1 As shown, the method 100 for automatic collection and authentication transmission of audio and video files includes the following steps:

[0062] Step 101, based on the SM4 symmetric encryption algorithm, different dispersion factor data groups are generated according to manufacturer information, user information, batch information, device number and each function usage identifier;

[0063] Step 102, grouping the data to be transmitted according to data usage, adding an initial vector, and generating a temporary file sequence;

[0064] Step 103, combining different temporary data files with corresponding dispersion factor data groups, generating data transmission file blocks with various different identifiers and storing them in the SDK data interface;

[0065] Step 104, when the audio and video recording device is connected to the audio and video storage device through the transmission interface, the SDK data interface of the audio and video storage device actively initiates access authentication, performs file parsing, and automatically collects audio and video data according to different functional usages corresponding to different data transmission file blocks and the associated work order sequence;

[0066] Step 105, when the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence, the SDK data interface of the audio and video storage device initiates access authentication, and after the authentication is passed, the automatic transmission of the corresponding data transmission file block begins.

[0067] Specifically, the present invention provides an automatic authentication, collection and transmission method, system, device and medium for audio and video files, including automatic authentication, collection and transmission of audio and video data based on audio and video recording equipment, audio and video storage equipment and background management system. When the audio and video recording equipment is connected to the audio and video storage device through the transmission interface, the SDK data interface of the audio and video storage device actively initiates access authentication, and the automatic collection of audio and video data is carried out according to the different functional usages corresponding to different data transmission file blocks and the associated work order sequence. When the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence, the SDK data interface of the audio and video storage device initiates access authentication, and the automatic transmission of the corresponding data block begins after the authentication is passed. Automatic authentication and data transmission of the power supply service recorder, audio and video storage device and background system can be realized, ensuring the reliability and stability of audio and video data transmission.

[0068] refer to Figure 2As shown, a method for automatic collection, authentication and transmission of audio and video files includes automatic authentication, collection and transmission of audio and video data based on audio and video recording equipment, audio and video storage equipment and background management system, generating different scatter factor data groups based on SM4 symmetric encryption algorithm through manufacturer information, user information, batch information, equipment number and functional usage identification, etc.; grouping and processing each data to be transmitted according to usage, adding initial vector, generating temporary file sequence; combining different temporary data files with scatter factors, generating data transmission file blocks with various different identifications and storing them in SDK data interface. With SDK data interface file as medium, when audio and video recording equipment is connected to audio and video storage equipment through transmission interface, access authentication is actively initiated by audio and video storage equipment SDK data interface, file parsing is carried out, and automatic collection of audio and video data is carried out according to different functional usages corresponding to different data transmission file blocks and associated work order sequences. When the background management system initiates a call instruction to the audio and video storage equipment through the corresponding work order sequence, the audio and video storage equipment SDK data interface initiates access authentication, and the automatic transmission of the corresponding data block starts after the authentication is passed.

[0069] (1) Generate a dispersion factor data set

[0070] refer to Figure 3 and Figure 4 As shown, first, the dispersion factor ① is generated through the manufacturer information, user information, and batch information related to the audio and video recording equipment. Then, the dispersion factor ② is generated through the unique number of the audio and video recording equipment. Thirdly, through various usage identifiers, each usage identifier generates a dispersion factor X(......) of this usage. This method can distinguish the mapping relationship of each functional data transmission. Finally, through the SM4 symmetric encryption algorithm, the dispersion factor ①, the dispersion factor ② and the dispersion factor X(......) are irregularly combined to generate different dispersion factor data groups with usage and key distinction.

[0071] (2) Generate data transfer file blocks

[0072] refer to Figure 5 As shown, first, the data to be transmitted is processed in groups. Then, the data group to be transmitted is added to the initial vector to generate different temporary data file sequences. Finally, according to the usage, different temporary data files are combined with the dispersion factors to generate data transmission file blocks with various different identifiers.

[0073] (3) SDK data interface encapsulation

[0074] Provide a unified authentication method interface for device access and data transmission in the form of SDK package. Provide corresponding SDK data interface files for different hardware platforms and development languages.

[0075] refer to Figure 6 As shown, the main contents of the SDK interface file for audio and video storage devices include: an initialization interface for initializing the audio and video storage device key; an access authentication interface for audio and video storage devices to access the background authentication; a data transmission interface for encrypting plain text data and transmitting it to the background system, and receiving the ciphertext data returned by the background system, and returning it to the caller after decryption; an audio and video file transmission interface for signing the input file to generate a signature file, and automatically uploading the audio and video file and the signature file after packaging to the background system; a key calculation interface for providing a key generation interface for the SDK; an audio and video file transfer interface for providing an audio and video file storage interface for the SDK.

[0076] refer to Figure 7 As shown, the main contents of the SDK interface file for audio and video recording equipment include: an initialization interface for initializing the key of the audio and video recording equipment; an access authentication interface for the backend authentication of the audio and video recording equipment; a data transmission interface for encrypting the plain text data and transmitting it to the backend system, receiving the ciphertext data returned by the backend system, and returning it to the caller after decryption; an audio and video file transmission interface for signing the input file to generate a signature file, and automatically uploading the audio and video files and signature files to the backend system after packaging.

[0077] (4) Audio and video data automatic authentication, collection and transmission system

[0078] refer to Figure 8 As shown, based on an automatic acquisition, authentication and transmission method for audio and video files and an SDK data interface function encapsulation medium, an automatic authentication, acquisition and transmission system for audio and video data is formed. When the audio and video recording device is connected to the audio and video storage device through the transmission interface: first, the SDK data interface of the audio and video storage device actively initiates access authentication and performs file parsing; then, the automatic acquisition of audio and video data is performed according to the different usages corresponding to different data transmission file blocks and the associated work order sequence. When the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence: the SDK data interface of the audio and video storage device initiates access authentication, and the automatic transmission of the corresponding data block begins after the authentication is passed.

[0079] Thus, the present invention is based on the automatic authentication, collection and transmission of audio and video data of audio and video recording equipment, audio and video storage equipment and background management system. When the audio and video recording equipment is connected to the audio and video storage equipment through the transmission interface, the SDK data interface of the audio and video storage equipment actively initiates access authentication, and the automatic collection of audio and video data is carried out according to the different functional usages corresponding to different data transmission file blocks and the associated work order sequence. When the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence, the SDK data interface of the audio and video storage device initiates access authentication, and the automatic transmission of the corresponding data block begins after the authentication is passed. Automatic authentication and data transmission of the power supply service recorder, audio and video storage device and background system can be realized, ensuring the reliability and stability of audio and video data transmission.

[0080] Exemplary Devices

[0081] Fig. 9 FIG. 1 is a schematic diagram of the structure of an apparatus for automatically collecting and authenticating and transmitting audio and video files provided by an exemplary embodiment of the present invention. Fig. 9 As shown, the device 900 includes:

[0082] The first generation module is used to generate different dispersion factor data groups based on the SM4 symmetric encryption algorithm according to the manufacturer information, user information, batch information, device number and each function usage identifier;

[0083] The second generating module is used to group the data to be transmitted according to the data usage, add the initial vector, and generate a temporary file sequence;

[0084] The third generation module is used to combine different temporary data files with corresponding dispersion factor data groups to generate data transmission file blocks with various different identifiers and store them in the SDK data interface;

[0085] The acquisition module is used to initiate access authentication and file parsing by the SDK data interface of the audio and video storage device when the audio and video recording device is connected to the audio and video storage device through the transmission interface, and to automatically acquire audio and video data according to the different functional usages corresponding to different data transmission file blocks and the associated work order sequence;

[0086] The transmission module is used to initiate access authentication through the SDK data interface of the audio and video storage device when the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence. After the authentication is passed, the automatic transmission of the corresponding data transmission file block begins.

[0087] Optionally, the first generating module includes:

[0088] The first generating submodule is used to generate a first dispersion factor according to relevant manufacturer information, user information, and batch information through an audio and video recording device;

[0089] The second generating submodule is used to generate a second dispersion factor according to the unique number of the audio and video recording device;

[0090] A third generating submodule, used for generating a third dispersion factor of each usage identifier through various usage identifiers;

[0091] The fourth generating submodule is used to irregularly combine the first scattering factor, the second scattering factor and the third scattering factor through the SM4 symmetric encryption algorithm to generate different scattering factor data groups distinguished by usage and key.

[0092] Optionally, the SDK interface file of the audio and video storage device includes:

[0093] Initialization interface, used to initialize the audio and video storage device key;

[0094] Access authentication interface, used for backend authentication of audio and video storage devices;

[0095] Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller;

[0096] Audio and video file transmission interface, which signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the backend system after packaging;

[0097] Key calculation interface, providing a key generation interface for the SDK interface file;

[0098] The audio and video file transfer interface provides an audio and video file storage interface for the SDK interface file.

[0099] Optionally, the SDK interface file of the audio and video recording device includes:

[0100] Initialization interface, used to initialize the key of audio and video recording equipment;

[0101] Access authentication interface, used for backend authentication of audio and video recording equipment access;

[0102] Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller;

[0103] The audio and video file transmission interface signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the background system after packaging.

[0104] Exemplary Electronic Devices

[0105] Fig.10 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. Fig.10 As shown, the electronic device 100 includes one or more processors 101 and a memory 102 .

[0106] The processor 101 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0107] The memory 102 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 101 may run the program instructions to implement the methods of the software programs of the various embodiments of the present invention described above and / or other desired functions. In one example, the electronic device may also include: an input device 103 and an output device 104, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0108] In addition, the input device 103 may also include, for example, a keyboard, a mouse, and the like.

[0109] The output device 104 can output various information to the outside, and can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto.

[0110] Of course, to simplify, Fig.10 Only some of the components related to the present invention in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, the electronic device may further include any other appropriate components according to specific application conditions.

[0111] Exemplary computer program products and computer-readable storage media

[0112] In addition to the above-mentioned methods and devices, an embodiment of the present invention may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present invention described in the above-mentioned "Exemplary Method" section of this specification.

[0113] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0114] In addition, an embodiment of the present invention may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0115] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, system or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0116] The basic principle of the present invention is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present invention are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present invention. In addition, the specific details disclosed above are only for the purpose of illustration and facilitation of understanding, rather than limitation, and the above details do not limit the present invention to being implemented by adopting the above specific details.

[0117] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0118] The block diagrams of the devices, systems, equipment, and systems involved in the present invention are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, systems, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The word "such as" used here refers to the phrase "such as but not limited to", and can be used interchangeably with it.

[0119] The method and system of the present invention may be implemented in many ways. For example, the method and system of the present invention may be implemented by software, hardware, firmware or any combination of software, hardware, firmware. The above order of steps for the method is only for illustration, and the steps of the method of the present invention are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present invention may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.

[0120] It should also be noted that in the system, device and method of the present invention, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. The above description of the disclosed aspects is provided to enable any technician in the field to make or use the present invention. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined here can be applied to other aspects without departing from the scope of the present invention. Therefore, the present invention is not intended to be limited to the aspects shown here, but in accordance with the widest range consistent with the principles and novel features disclosed here.

[0121] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present invention to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for automatic collection and authentication transmission of audio and video files, characterized in that: include: Based on the SM4 symmetric encryption algorithm, different dispersion factor data groups are generated according to manufacturer information, user information, batch information, device number and each function usage identifier; The data to be transmitted are grouped according to data usage, and an initial vector is added to generate a temporary file sequence; Combine different temporary data files with corresponding dispersion factor data groups to generate data transmission file blocks with different identifiers and store them in the SDK data interface; When the audio and video recording device is connected to the audio and video storage device through the transmission interface, the SDK data interface of the audio and video storage device actively initiates access authentication, performs file parsing, and automatically collects audio and video data according to different functional usages corresponding to different data transmission file blocks and the associated work order sequence; When the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence, the SDK data interface of the audio and video storage device initiates access authentication, and after the authentication is passed, the automatic transmission of the corresponding data transmission file block begins.

2. The method according to claim 1, characterized in that Based on the SM4 symmetric encryption algorithm, different dispersion factor data groups are generated according to manufacturer information, user information, batch information, device number and each function usage identifier, including: Generate a first dispersion factor according to relevant manufacturer information, user information, and batch information through audio and video recording equipment; Generate a second dispersion factor using the unique number of the audio and video recording device; generating a third dispersion factor for each usage identifier through various usage identifiers; The first dispersion factor, the second dispersion factor and the third dispersion factor are irregularly combined by using the SM4 symmetric encryption algorithm to generate different dispersion factor data groups distinguished by usage and key.

3. The method according to claim 1, characterized in that The SDK interface file of the audio and video storage device includes: Initialization interface, used to initialize the audio and video storage device key; Access authentication interface, used for backend authentication of audio and video storage devices; Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller; Audio and video file transmission interface, which signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the backend system after packaging; Key calculation interface, providing a key generation interface for the SDK interface file; The audio and video file transfer interface provides an audio and video file storage interface for the SDK interface file.

4. The method according to claim 1, characterized in that: The SDK interface file of the audio and video recording device includes: Initialization interface, used to initialize the key of audio and video recording equipment; Access authentication interface, used for backend authentication of audio and video recording equipment access; Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller; The audio and video file transmission interface signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the background system after packaging.

5. An automatic audio and video file collection and authentication transmission device, characterized in that: include: The first generation module is used to generate different dispersion factor data groups based on the SM4 symmetric encryption algorithm according to the manufacturer information, user information, batch information, device number and each function usage identifier; The second generating module is used to group the data to be transmitted according to the data usage, add the initial vector, and generate a temporary file sequence; The third generation module is used to combine different temporary data files with corresponding dispersion factor data groups to generate data transmission file blocks with various different identifiers and store them in the SDK data interface; The acquisition module is used to initiate access authentication actively by the SDK data interface of the audio and video storage device when the audio and video recording device is connected to the audio and video storage device through the transmission interface, and to carry out file parsing, and to automatically collect audio and video data according to different functional usages corresponding to different data transmission file blocks and the associated work order sequence; The transmission module is used to initiate access authentication by the SDK data interface of the audio and video storage device when the background management system initiates a call instruction to the audio and video storage device through the corresponding work order sequence, and start the automatic transmission of the corresponding data transmission file block after the authentication is passed.

6. The device according to claim 5, characterized in that The first generation module includes: The first generating submodule is used to generate a first dispersion factor according to relevant manufacturer information, user information, and batch information through an audio and video recording device; A second generating submodule, used to generate a second dispersion factor according to the unique number of the audio and video recording device; A third generating submodule, used for generating a third dispersion factor of each usage identifier through various usage identifiers; The fourth generating submodule is used to irregularly combine the first scatter factor, the second scatter factor and the third scatter factor through the SM4 symmetric encryption algorithm to generate different scatter factor data groups distinguished by usage and key.

7. The device according to claim 5, characterized in that The SDK interface file of the audio and video storage device includes: Initialization interface, used to initialize the audio and video storage device key; Access authentication interface, used for backend authentication of audio and video storage devices; Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller; Audio and video file transmission interface, which signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the backend system after packaging; Key calculation interface, providing a key generation interface for the SDK interface file; The audio and video file transfer interface provides an audio and video file storage interface for the SDK interface file.

8. The device according to claim 5, characterized in that The SDK interface file of the audio and video recording device includes: Initialization interface, used to initialize the key of audio and video recording equipment; Access authentication interface, used for backend authentication of audio and video recording equipment access; Data transmission interface, used to encrypt plaintext data and transmit it to the backend system, and receive the ciphertext data returned by the backend system, decrypt it and return it to the caller; The audio and video file transmission interface signs the input files to generate signature files, and automatically uploads the audio and video files and signature files to the background system after packaging.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 4.

10. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 1 to 4.