A data processing method, device and data interaction system
The multimedia data decryption key is obtained through short-distance communication between the terminal device and the smart device, and the key fragments are stored in multiple places, solving the problem of the server being broken and the key being intercepted, improving information security.
Patent Information
- Application Number
- CN202011413843.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-03
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-12-03
AI Technical Summary
In the prior art, the server is compromised or the request is intercepted, resulting in the intercepted key, resulting in security defects in the leakage of multimedia data information.
Establish a short-distance communication connection with the smart device through the terminal device, obtain the decryption key of the encrypted multimedia data from the smart device, and split the decryption key into multiple fragments when necessary to store it on the server, smart device and other preset devices. , to improve the difficulty and security of key acquisition.
It effectively avoids malicious third parties from batch cracking of keys in remote ways, reduces the possibility of information leakage and improves information security.
Smart Images

Figure CN112487455B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and in particular to a data processing method, device and data interaction system. Background Art
[0002] With the enhancement of security awareness, by deploying monitoring equipment with shooting functions, such as cameras, it is possible to collect multimedia data within the monitoring range. At the same time, in order to ensure that backtracking can be performed after an incident occurs, the multimedia data recorded by the monitoring equipment will be saved.
[0003] At present, multimedia data is usually saved to a server, and users download the multimedia data from the server to their local computers, or directly watch it on the server background. At the same time, some servers centrally manage multiple monitoring devices and limit the multimedia data that each user can see through permission control. At the same time, in order to ensure the security of multimedia data, the saved multimedia data is usually encrypted and then decrypted for viewing when it is needed.
[0004] In the prior art, user terminals decrypt via keys sent by servers. However, this method has security flaws. Once the server is hacked or the request is intercepted and modified, a malicious third party can easily obtain the key through abnormal channels to decrypt multimedia data, causing information leakage. Summary of the invention
[0005] In order to solve the technical problem that a server is hacked or a request is intercepted, resulting in the interception of a key and further causing information leakage, the embodiments of the present application provide a data processing method, device and data interaction system.
[0006] In a first aspect, an embodiment of the present application provides a data processing method, including:
[0007] Downloading encrypted multimedia data from a server;
[0008] Establishing a short-range communication connection with a smart device, and obtaining a first decryption key corresponding to the encrypted multimedia data from the smart device;
[0009] The encrypted multimedia data is decrypted according to the first decryption key.
[0010] Optionally, establishing a short-range communication connection with a smart device and obtaining a first decryption key corresponding to the encrypted multimedia data from the smart device includes:
[0011] Obtain at least one candidate decryption key from the smart device;
[0012] Selecting a first decryption key corresponding to the encrypted multimedia data from the candidate decryption keys;
[0013] or,
[0014] The step of establishing a short-range communication connection with a smart device and obtaining a first decryption key corresponding to the encrypted multimedia data from the smart device includes:
[0015] Determine a smart device corresponding to the encrypted multimedia data;
[0016] Establishing a short-range communication connection with the smart device;
[0017] A first decryption key corresponding to the encrypted multimedia data is obtained from the smart device.
[0018] Optionally, the method further includes:
[0019] When downloading the encrypted multimedia data from the server, obtaining a second decryption key corresponding to the encrypted multimedia data from the server;
[0020] The decrypting operation on the encrypted multimedia data according to the first decryption key includes:
[0021] Combining the first decryption key and the second decryption key to obtain a first combined key;
[0022] The encrypted multimedia data is decrypted using the first combined key.
[0023] Optionally, the method further includes:
[0024] Obtaining a third decryption key corresponding to the encrypted multimedia data from a preset device;
[0025] The decrypting operation on the encrypted multimedia data according to the first decryption key includes:
[0026] Combining the first decryption key, the second decryption key and the third decryption key to obtain a second combined key;
[0027] The encrypted multimedia data is decrypted using the second combined key.
[0028] On the other hand, an embodiment of the present application provides a data processing method for establishing a short-range communication connection with a terminal device;
[0029] The pre-stored first decryption key is sent to the terminal device.
[0030] Optionally, the method further includes:
[0031] Encrypting the acquired multimedia data using an encryption key;
[0032] Upload the encrypted multimedia data to the server;
[0033] A first decryption key corresponding to the encryption key is generated and stored.
[0034] Optionally, the generating and storing a first decryption key corresponding to the encryption key includes:
[0035] generating a merge key corresponding to the encryption key;
[0036] Splitting the combined key into the first decryption key and the second decryption key;
[0037] storing the first decryption key;
[0038] The second decryption key and the encrypted multimedia data are stored in the server.
[0039] Optionally, the method further includes:
[0040] When receiving a key update instruction, the combined key is split again to obtain a first new decryption key and a second new decryption key after splitting;
[0041] storing the first new decryption key;
[0042] The second new decryption key is sent to the server, and the server uses the new decryption key to update the second decryption key.
[0043] Optionally, the generating and storing a first decryption key corresponding to the encryption key includes:
[0044] generating a merge key corresponding to the encryption key;
[0045] Splitting the combined key into the first decryption key, the second decryption key and the third decryption key;
[0046] storing the first decryption key;
[0047] sending the second decryption key and the encrypted multimedia data to the server;
[0048] The third decryption key is sent to a preset device.
[0049] Optionally, sending the pre-stored first decryption key to the terminal device includes:
[0050] When it is determined to enter the key transmission mode, sending the first decryption key to the terminal device;
[0051] The step of determining to enter the key transmission mode comprises:
[0052] The key transmission mode is entered according to receiving a preset key transmission instruction, and / or when a preset key is triggered, the key transmission mode is entered.
[0053] On the other hand, an embodiment of the present application provides a terminal device, including:
[0054] A download module, used for downloading encrypted multimedia data from a server;
[0055] An acquisition module, used to establish a short-distance communication connection with a smart device, and acquire a first decryption key corresponding to the encrypted multimedia data from the smart device;
[0056] A decryption module is used to perform a decryption operation on the encrypted multimedia data according to the first decryption key.
[0057] On the other hand, an embodiment of the present application provides a smart device, including:
[0058] The communication module is used to establish a short-distance communication connection with a terminal device and send a pre-stored first decryption key to the terminal device.
[0059] On the other hand, an embodiment of the present application provides a data interaction system, including: a terminal device, a smart device and a server;
[0060] The smart device is used to encrypt the acquired multimedia data using an encryption key; upload the encrypted multimedia data to a server; generate and store a first decryption key corresponding to the encryption key;
[0061] The server is used to store the encrypted multimedia data;
[0062] The terminal device is used to download encrypted multimedia data from a server; establish a short-distance communication connection with a smart device, obtain a first decryption key corresponding to the encrypted multimedia data from the smart device; and decrypt the encrypted multimedia data according to the first decryption key.
[0063] On the other hand, an embodiment of the present application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0064] The memory is used to store computer programs;
[0065] The processor is used to implement the above method steps when executing a computer program.
[0066] On the other hand, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above method steps when executed by a processor.
[0067] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0068] The terminal device can only obtain the decryption key of multimedia data by establishing a short-distance communication connection with the smart device. In this way, even if the server is hacked by a malicious third party, the multimedia data in it cannot be viewed at will. The malicious third party needs to establish a connection with the smart device one by one to obtain the key, which increases the difficulty of cracking and reduces the possibility of information leakage. In addition, since the communication method for obtaining the key is a short-distance communication method, it can effectively prevent malicious users from remotely hacking smart devices in batches to obtain a large number of decryption keys in a short time, further increasing the difficulty of cracking and improving information security. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0070] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0071] Figure 1 A flowchart of a data processing method provided in an embodiment of the present application;
[0072] Figure 2 A flowchart of a data processing method provided in another embodiment of the present application;
[0073] Figure 3 A flowchart of a data processing method provided in another embodiment of the present application;
[0074] Figure 4 A flowchart of a data processing method provided in another embodiment of the present application;
[0075] Figure 5 A flowchart of a data processing method provided in another embodiment of the present application;
[0076] Figure 6 A flowchart of a data processing method provided in another embodiment of the present application;
[0077] Figure 7 A flowchart of a data processing method provided in another embodiment of the present application;
[0078] Figure 8 A flowchart of a data processing method provided in another embodiment of the present application;
[0079] Fig. 9 A block diagram of a terminal device provided in an embodiment of the present application;
[0080] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0082] In an embodiment of the present application, in order to prevent a malicious third party from obtaining the key of multimedia data from a server and decrypting the multimedia data to cause information leakage, when a terminal device needs to decrypt multimedia data, it obtains the key through close range communication with the smart device that generates the multimedia data to decrypt the encrypted multimedia data.
[0083] Figure 1 A block diagram of a data interaction system provided in an embodiment of the present application, such as Figure 1 As shown, the data interaction system includes: a server 1, an intelligent device 2 and a terminal device 3.
[0084] The smart device 2 is used to encrypt the acquired multimedia data using an encryption key; upload the encrypted multimedia data to the server 1; and generate and store a first decryption key corresponding to the encryption key.
[0085] Among them, the smart device 2 includes smart home devices such as smart TVs, smart air conditioners, and sweeping robots. The smart device 2 generates the monitored multimedia data through input devices such as cameras and microphones, encrypts the multimedia data, establishes a communication connection with the server 1 through an HTTP request, and uploads the encrypted multimedia data to the server 1.
[0086] Server 1, used for storing encrypted multimedia data;
[0087] The terminal device 3 is used to download the encrypted multimedia data from the server 1; establish a short-distance communication connection with the smart device 2, obtain the first decryption key corresponding to the encrypted multimedia data from the smart device 2; and decrypt the encrypted multimedia data according to the first decryption key.
[0088] Among them, the terminal device 3 and the server 1 can also establish a communication connection through an HTTP request. The following short-distance communication methods can be used between the terminal device 3 and the smart device 2: WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, Huawei Hilink protocol or wired communication method, etc.
[0089] Based on the data interaction system in the above embodiment, the terminal device can only obtain the decryption key of the multimedia data by establishing a short-distance communication connection with the smart device. In this way, even if the server is hacked by a malicious third party, the multimedia data therein cannot be viewed at will. The malicious third party needs to establish a connection with the smart device one by one to obtain the key, which increases the difficulty of cracking and reduces the possibility of information leakage. In addition, since the communication method for obtaining the key is a short-distance communication method, it can effectively prevent malicious users from remotely hacking smart devices in batches to obtain a large number of decryption keys in a short time, further increasing the difficulty of cracking and improving information security.
[0090] A data processing method provided by an embodiment of the present invention is introduced below.
[0091] Figure 2 A flowchart of a data processing method provided in an embodiment of the present application. Figure 2 As shown, the method is applied to a terminal device and comprises the following steps:
[0092] Step S11, downloading encrypted multimedia data from a server;
[0093] Step S12, establishing a short-distance communication connection with the smart device, and obtaining a first decryption key corresponding to the encrypted multimedia data from the smart device;
[0094] Step S13: decrypt the encrypted multimedia data according to the first decryption key.
[0095] In this embodiment, the terminal device can only obtain the decryption key of the multimedia data by establishing a short-distance communication connection with the smart device. In this way, even if the server is hacked by a malicious third party, the multimedia data therein cannot be viewed at will. The malicious third party needs to establish a connection with the smart device one by one to obtain the key, which increases the difficulty of cracking and reduces the possibility of information leakage. In addition, since the communication method for obtaining the key is a short-distance communication method, it can effectively prevent malicious users from remotely hacking smart devices in batches to obtain a large number of decryption keys in a short time, further increasing the difficulty of cracking and improving information security.
[0096] Among them, the multiple multimedia data stored on the server side may be generated and uploaded by one smart device, or may be generated and uploaded by multiple smart devices.
[0097] If multiple multimedia data are generated and uploaded by one smart device, the decryption keys corresponding to each multimedia data may be the same or different. The terminal device may obtain one or more decryption keys from the smart device.
[0098] If multiple multimedia data are generated and uploaded by different smart devices, the terminal device is connected to the multiple smart devices, obtains the decryption key stored in each smart device, and decrypts the multimedia data.
[0099] In an optional embodiment, after downloading the multimedia data, the terminal device may obtain multiple decryption keys from one or more smart devices, and select the decryption key corresponding to the downloaded multimedia data from the multiple decryption keys for decryption. The above step S12 includes:
[0100] Step A1, obtaining at least one candidate decryption key from a smart device;
[0101] Step A2: Select a first decryption key corresponding to the encrypted multimedia data from the candidate decryption keys.
[0102] In another optional embodiment, the terminal device can determine the smart device that generates and uploads the multimedia data based on the downloaded multimedia data, establish a connection with the smart device, and request the decryption key corresponding to the multimedia data from the smart device. The above step S12 includes:
[0103] Step B1, determining the smart device corresponding to the encrypted multimedia data;
[0104] Step B2, establishing a short-range communication connection with the smart device;
[0105] Step B3: Obtain a first decryption key corresponding to the encrypted multimedia data from the smart device.
[0106] In the above embodiment, the smart device uploads the device identification of the smart device together with the encrypted multimedia data to the server, or the server adds the device identification to the multimedia data according to the uploading smart device when storing the encrypted multimedia data. In this way, after the terminal device downloads the multimedia data, it can find the decryption key corresponding to the multimedia data based on the device identification, or it can determine the smart device that generates and uploads the multimedia data and establish a connection with the smart device.
[0107] If the decryption keys of multiple multimedia data generated by the same smart device are different, the smart device will also upload the key identifier corresponding to the multimedia data to the server together with the multimedia data. In this way, if the terminal device has obtained multiple decryption keys from the smart device, it can find the decryption key corresponding to the multimedia data based on the device identifier and key identifier obtained from the server.
[0108] In order to further improve information security and avoid the risk of data leakage caused by terminal devices being manipulated by malicious users, the embodiment of the present application can also split the decryption key into at least two key fragments, one of which is uploaded to the server together with the multimedia data, and the other is stored on the smart device; or other preset smart devices can be introduced, that is, the decryption key is split into three or more key fragments, and the key fragments are respectively stored on the server, the smart device and other preset smart devices.
[0109] Figure 3 This is a flow chart of a data processing method provided by another embodiment of the present application. Figure 3 As shown, the method further comprises the following steps:
[0110] Step S21, when the encrypted multimedia data is downloaded from the server, a second decryption key corresponding to the encrypted multimedia data is obtained from the server;
[0111] The above step S13 includes:
[0112] Step S22, combining the first decryption key and the second decryption key to obtain a first combined key;
[0113] Step S23: decrypt the encrypted multimedia data using the first combined key.
[0114] The smart device splits the first combined key corresponding to the encrypted multimedia data into two key fragments: a first decryption key A and a second decryption key B.
[0115] The first decryption key A is stored in the smart device, and the second decryption key B is uploaded to the server together with the encrypted multimedia data. When the terminal device downloads the multimedia data from the server, it obtains the second decryption key B, and obtains the first decryption key A after establishing a short-distance communication connection with the smart device; after merging the first decryption key A and the second decryption key B, the encrypted multimedia data can be decrypted using the first combined key.
[0116] In this way, even if a malicious third party obtains the first decryption key A in the terminal device by abnormal means, the first combined key can be re-segmented at the smart device, and the smart device uploads the re-segmented second decryption key B' to the server, and the server replaces the previously stored second decryption key B with the second decryption key B'. After the malicious third party obtains the second decryption key B' from the server, the malicious third party still cannot decrypt the multimedia data because the first decryption key A does not match the second decryption key B'. It can be seen that by segmenting the decryption key and storing it in multiple places, the difficulty of data cracking can be further increased, and data security can be improved.
[0117] Figure 4 This is a flow chart of a data processing method provided by another embodiment of the present application. Figure 4 As shown, the method further comprises the following steps:
[0118] Step S31, obtaining a third decryption key corresponding to the encrypted multimedia data from a preset device;
[0119] The above step S13 includes:
[0120] Step S32, combining the first decryption key, the second decryption key and the third decryption key to obtain a second combined key;
[0121] Step S33: decrypt the encrypted multimedia data using the second combined key.
[0122] The decryption key can be split into three or more key fragments. In addition to the key fragments saved in the server and smart device, at least one other trusted device is introduced to save the key fragments. For example, the smart device is a smart TV, and other trusted devices can be smart speakers, smart air conditioners, smart refrigerators, sweeping robots, specific user computers or mobile phones, etc. located in the same home. In this way, the terminal device needs to obtain all the key fragments to decrypt the multimedia data, which further increases the difficulty of data cracking and improves data security.
[0123] In another optional embodiment, in order to prevent a malicious third party from obtaining the decryption key from the smart device, the smart device can also authenticate the terminal device that establishes the short-distance communication connection. Only after the authentication is passed, the decryption password is sent to the terminal device. The above step S12 includes: sending the identity authentication information to the smart device, and the smart device verifies the identity authentication information. When the verification passes, the first decryption key is sent; receiving the first decryption key from the smart device. The identity authentication can be verified by a password, a token, a verification code, etc.
[0124] In another optional embodiment, in order to prevent a malicious third party from obtaining multimedia data from the server, the server may also set access rights for each multimedia data, that is, only terminal devices with access rights can download the corresponding multimedia data.
[0125] An embodiment of the present application also provides a data processing method applied to a smart device, including: establishing a short-range communication connection with a terminal device; and sending a pre-stored first decryption key to the terminal device.
[0126] Optionally, after the smart device generates multimedia data, the multimedia data is encrypted using an encryption key. Figure 5 This is a flow chart of a data processing method provided by another embodiment of the present application. Figure 5 As shown, the method also includes:
[0127] Step S41, encrypting the acquired multimedia data using an encryption key;
[0128] Step S42, uploading the encrypted multimedia data to the server;
[0129] Step S43: Generate and store a first decryption key corresponding to the encryption key.
[0130] The smart device may use only one encryption key to encrypt data, or may periodically update the key, or may use a different encryption key to encrypt each multimedia data. The smart device may use a symmetric encryption algorithm or an asymmetric encryption algorithm for encryption.
[0131] In order to further improve information security and avoid the risk of data leakage caused by terminal devices being manipulated by malicious users, the embodiment of the present application can also split the decryption key into at least two key fragments, one of which is uploaded to the server together with the multimedia data, and the other is stored on the smart device; or other preset smart devices can be introduced, that is, the decryption key is split into three or more key fragments, and the key fragments are respectively stored on the server, the smart device and other preset smart devices.
[0132] Figure 6 This is a flow chart of a data processing method provided by another embodiment of the present application. Figure 6 As shown, the above step S43 includes:
[0133] Step S51, generating a merge key corresponding to the encryption key;
[0134] Step S52, splitting the combined key into a first decryption key and a second decryption key;
[0135] Step S53, storing the first decryption key;
[0136] Step S54: storing the second decryption key and the encrypted multimedia data to the server.
[0137] The smart device splits the first combined key corresponding to the encrypted multimedia data into two key fragments: a first decryption key A and a second decryption key B.
[0138] The first decryption key A is stored in the smart device, and the second decryption key B is uploaded to the server together with the encrypted multimedia data. When the terminal device downloads the multimedia data from the server, it obtains the second decryption key B, and obtains the first decryption key A after establishing a short-distance communication connection with the smart device; after merging the first decryption key A and the second decryption key B, the encrypted multimedia data can be decrypted using the first combined key.
[0139] Figure 7 This is a flow chart of a data processing method provided by another embodiment of the present application. Figure 7 As shown, the method also includes:
[0140] Step S61, when a key update instruction is received, the combined key is split again to obtain a first new decryption key and a second new decryption key after splitting;
[0141] Step S62, storing the first new decryption key;
[0142] Step S63: Send the second new decryption key to the server, and the server updates the second decryption key with the new decryption key.
[0143] The key update instruction may be triggered by a user by pressing a button on the smart device, or may be automatically triggered by the smart device itself according to a preset time, or may be sent to the smart device through other devices according to preset rules.
[0144] In this way, even if a malicious third party obtains the first decryption key A in the terminal device by abnormal means, the first combined key can be re-segmented at the smart device, and the smart device uploads the re-segmented second decryption key B' to the server, and the server replaces the previously stored second decryption key B with the second decryption key B'. After the malicious third party obtains the second decryption key B' from the server, the malicious third party still cannot decrypt the multimedia data because the first decryption key A does not match the second decryption key B'. It can be seen that by segmenting the decryption key and storing it in multiple places, the difficulty of data cracking can be further increased, and data security can be improved.
[0145] Figure 8 This is a flow chart of a data processing method provided by another embodiment of the present application. Figure 8 As shown, the above step S43 includes:
[0146] Step S71, generating a merge key corresponding to the encryption key;
[0147] Step S72, splitting the combined key into a first decryption key, a second decryption key and a third decryption key;
[0148] Step S73, storing the first decryption key;
[0149] Step S74, sending the second decryption key and the encrypted multimedia data to the server;
[0150] Step S75: Send the third decryption key to a preset device.
[0151] The decryption key can be split into three or more key fragments. In addition to the key fragments saved in the server and smart device, at least one other trusted device is introduced to save the key fragments. For example, the smart device is a smart TV, and other trusted devices can be smart speakers, smart air conditioners, smart refrigerators, sweeping robots, specific user computers or mobile phones, etc. located in the same home. In this way, the terminal device needs to obtain all the key fragments to decrypt the multimedia data, which further increases the difficulty of data cracking and improves data security.
[0152] In another optional embodiment, sending a pre-stored first decryption key to a terminal device comprises: when it is determined to enter a key transmission mode, sending the first decryption key to the terminal device; determining to enter a key transmission mode comprises: entering a key transmission mode according to receiving a preset key transmission instruction, and / or, when a preset button is triggered, entering a key transmission mode.
[0153] How the smart device enters the key transmission mode can be set when the device leaves the factory. When the user needs to transmit the key, the smart device is set to the key transmission mode through the preset entry command. The preset button can be a button on the smart device, or a combination of multiple buttons.
[0154] The key transmission mode of the smart device can be a specific security mode, in which the smart device can disconnect other communication connections except the terminal device, or the key transmission mode is a special encryption channel established between the smart device and the terminal device, through which the decryption key is transmitted. In this way, the security of key transmission can be improved, thereby further improving data security.
[0155] The following are device embodiments of the present application, which can be used to execute method embodiments of the present application.
[0156] Fig. 9 This is a block diagram of a terminal device provided in an embodiment of the present application. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Fig. 9 As shown, the terminal device includes:
[0157] A download module 91, used for downloading encrypted multimedia data from a server;
[0158] An acquisition module 92 is used to establish a short-distance communication connection with a smart device and acquire a first decryption key corresponding to the encrypted multimedia data from the smart device;
[0159] The decryption module 93 is used to decrypt the encrypted multimedia data according to the first decryption key.
[0160] An embodiment of the present application also provides a smart device, including: a communication module, used to establish a short-range communication connection with a terminal device, and send a pre-stored first decryption key to the terminal device.
[0161] The present application also provides an electronic device, such as Fig.10 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .
[0162] Memory 1503, used for storing computer programs;
[0163] The processor 1501 is used to implement the steps of the above method embodiment when executing the computer program stored in the memory 1503.
[0164] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0165] The communication interface is used for communication between the above electronic device and other devices.
[0166] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0167] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0168] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method embodiment described below are implemented.
[0169] It should be noted that, for the above-mentioned device, electronic device and computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0170] It should be further noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0171] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A data processing method, characterized in that: Applied to terminal equipment, including: Downloading encrypted multimedia data from a server; wherein the encrypted multimedia data is generated by a smart device and uploaded to the server; Establishing a short-range communication connection with a smart device, and obtaining a first decryption key corresponding to the encrypted multimedia data from the smart device; wherein the smart device includes a smart home device; Performing a decryption operation on the encrypted multimedia data according to the first decryption key; The step of establishing a short-range communication connection with a smart device and obtaining a first decryption key corresponding to the encrypted multimedia data from the smart device includes: Determine a smart device corresponding to the encrypted multimedia data; Establishing a short-range communication connection with the smart device; A first decryption key corresponding to the encrypted multimedia data is obtained from the smart device.
2. The method according to claim 1, characterized in that The method further comprises: When downloading the encrypted multimedia data from the server, obtaining a second decryption key corresponding to the encrypted multimedia data from the server; The decrypting operation on the encrypted multimedia data according to the first decryption key includes: Combining the first decryption key and the second decryption key to obtain a first combined key; The encrypted multimedia data is decrypted using the first combined key.
3. The method according to claim 2, characterized in that The method further comprises: Obtaining a third decryption key corresponding to the encrypted multimedia data from a preset device; The decrypting operation on the encrypted multimedia data according to the first decryption key includes: Combining the first decryption key, the second decryption key and the third decryption key to obtain a second combined key; The encrypted multimedia data is decrypted using the second combined key.
4. A data processing method, characterized in that: Applied to a smart device, wherein the smart device includes a smart home device; the method includes: Establish a short-distance communication connection with the terminal device; Sending a pre-stored first decryption key to the terminal device; The method further comprises: Encrypting the acquired multimedia data using an encryption key; Upload the encrypted multimedia data to the server; A first decryption key corresponding to the encryption key is generated and stored.
5. The method according to claim 4, characterized in that The generating and storing a first decryption key corresponding to the encryption key comprises: generating a merge key corresponding to the encryption key; Splitting the combined key into the first decryption key and the second decryption key; storing the first decryption key; The second decryption key and the encrypted multimedia data are stored in the server.
6. The method according to claim 5, characterized in that The method further comprises: When receiving a key update instruction, the combined key is split again to obtain a first new decryption key and a second new decryption key after splitting; storing the first new decryption key; The second new decryption key is sent to the server, and the server uses the new decryption key to update the second decryption key.
7. The method according to claim 4, characterized in that The generating and storing a first decryption key corresponding to the encryption key comprises: generating a merge key corresponding to the encryption key; Splitting the combined key into the first decryption key, the second decryption key and the third decryption key; storing the first decryption key; sending the second decryption key and the encrypted multimedia data to the server; The third decryption key is sent to a preset device.
8. The method according to claim 5, characterized in that The sending the pre-stored first decryption key to the terminal device includes: When it is determined to enter the key transmission mode, sending the first decryption key to the terminal device; The step of determining to enter the key transmission mode comprises: The key transmission mode is entered according to receiving a preset key transmission instruction, and / or when a preset key is triggered, the key transmission mode is entered.
9. A terminal device, characterized in that: include: A download module, used for downloading encrypted multimedia data from a server; wherein the encrypted multimedia data is generated by a smart device and uploaded to the server; An acquisition module, configured to establish a short-range communication connection with a smart device, and acquire a first decryption key corresponding to the encrypted multimedia data from the smart device; wherein the smart device includes a smart home device; a decryption module, configured to perform a decryption operation on the encrypted multimedia data according to the first decryption key; The acquisition module is used to determine the smart device corresponding to the encrypted multimedia data; establish a short-range communication connection with the smart device; and acquire a first decryption key corresponding to the encrypted multimedia data from the smart device.
10. A smart device, characterized in that: The smart device includes a smart home device; the smart device includes: A communication module, used to establish a short-distance communication connection with a terminal device and send a pre-stored first decryption key to the terminal device; The smart device also includes: a module for encrypting the acquired multimedia data with an encryption key; uploading the encrypted multimedia data to a server; and generating and storing a first decryption key corresponding to the encryption key.
11. A data interaction system, characterized in that: include: Terminal equipment, smart devices and servers; wherein the smart devices include smart home devices; The smart device is used to encrypt the acquired multimedia data using an encryption key; upload the encrypted multimedia data to a server; generate and store a first decryption key corresponding to the encryption key; The server is used to store the encrypted multimedia data; The terminal device is used to download the encrypted multimedia data from the server; establish a short-range communication connection with the smart device, obtain a first decryption key corresponding to the encrypted multimedia data from the smart device; and perform a decryption operation on the encrypted multimedia data according to the first decryption key; The terminal device is used to determine the smart device corresponding to the encrypted multimedia data; establish a short-range communication connection with the smart device; and obtain a first decryption key corresponding to the encrypted multimedia data from the smart device.
12. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to implement the method steps described in any one of claims 1-8 when executing the computer program.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method steps described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Multimedia data encryption processing method and device
CN111586066A
Multimedia data processing method, device and equipment and storage medium
CN111698537A
Information-processing device, information-processing method, and information-processing program product
US20060005259A1
