Secure transmission method and device, storage medium and electronic device

By encrypting and matching the decryption results of the device function value set, the data confidentiality problem during data transmission is solved, and the secure transmission of data between multiple devices is realized.

CN116016710BActive Publication Date: 2024-12-20HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211510683.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2024-12-20
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

The prior art cannot guarantee that no other participants except the data provider cannot obtain the original plain text information of the data, resulting in the insecurity and security of the data being unable to guarantee the data during data transmission.

Method used

By determining the set of functional values ​​of a set of devices, using preset algorithms for calculation and encryption processing, obtaining the decryption results of the calculation node, and finding the target value based on the matching value and replacement relationship, to ensure that other than the data provider are included in the data transmission process. Participants cannot obtain the original plain text information of the data.

Benefits of technology

Improve data confidentiality and security during data transmission, ensuring the security of data transmission between multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016710B_ABST
    Figure CN116016710B_ABST
Patent Text Reader

Abstract

The present application discloses a secure transmission method and device, a storage medium and an electronic device, and relates to the field of smart home technology. The secure transmission method includes: determining a first function value set corresponding to a group of devices where a first device is located, and calculating the first function value set through a preset algorithm to obtain a first original calculation result; encrypting the second original calculation result using a first replacement set to obtain first encrypted data corresponding to the first function value set, sending the first encrypted data to a computing node, and obtaining a decryption result in which the computing node decrypts the first encrypted data according to a target replacement value uploaded by each device in a group of devices; when there is a matching value between the decryption result and the second original calculation result, searching for the corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home, and more specifically, to a secure transmission method and device, a storage medium, and an electronic device. Background Art

[0002] With the popularity of the Internet of Things and smart home appliances, smart home appliances have entered thousands of households. It is very common for a family to have smart home appliances of different brands. In order to improve consumer experience and satisfaction, smart home appliance manufacturers have achieved interconnection between smart home appliances of different brands based on unified specifications or standards. On this basis, manufacturers can obtain data from other manufacturers and calculate, store, display, share and process these data, which will cause potential data security problems: 1. When manufacturers do not use data reasonably or leak data, it is very likely to damage the economic interests and reputation of the three-party manufacturers; 2. If manufacturers sign a data use contract, all manufacturers can use data in accordance with the contract, but the supervision cost between manufacturers is very high, and it is impossible to discover the use of their own data in time, and it is still impossible to rule out the unreasonable use of data; 3. Even if manufacturers fully comply with the contract and use data reasonably, the data exchanged between home appliances of different manufacturers can also be mutually identified, so it is impossible to ensure that the cooperating manufacturers can view and analyze their own data, and then leak their own business information. In summary, in the current relevant technologies, it is impossible to guarantee that other participants except the data provider cannot obtain the original plaintext information of the data.

[0003] Regarding the problem in related technologies that it is impossible to ensure that all participants except the data provider cannot obtain the original plaintext information of the data, and no effective technical solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a secure transmission method and device, a storage medium and an electronic device to at least solve the problem in the related art that it is impossible to ensure that other participants except the data provider cannot obtain the original plaintext information of the data.

[0005] According to one embodiment of the present invention, a secure transmission method is provided, including: determining a first function value set corresponding to a group of devices in which a first device is located, and calculating the first function value set through a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range; using a first replacement set to encrypt the second original calculation result to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result; sending the first encrypted data to a computing node, and obtaining a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices; when there is a matching value between the decryption result and the second original calculation result, searching for a corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data.

[0006] In an exemplary embodiment, before encrypting the second original calculation result using the first replacement set to obtain the first encrypted data corresponding to the first function value set, the method also includes: replacing all function values ​​of each device in the first function value set with different values ​​to obtain the first replacement set; replacing each value in the first original calculation result to obtain the second original calculation result, and recording the corresponding relationship between the values ​​of the second original calculation result and the first original calculation result to obtain a replacement relationship.

[0007] In an exemplary embodiment, after all function values ​​of each device in the first function value set are replaced with different values ​​to obtain a first replacement set, the method further includes: dividing the first replacement set according to a plurality of different devices included in the group of devices; decomposing the first replacement set into a plurality of sub-replacement sets, and sending each of the plurality of sub-replacement sets to a corresponding device, wherein the plurality of sub-replacement sets correspond one-to-one to a plurality of different devices.

[0008] In an exemplary embodiment, before determining a first set of function values ​​corresponding to a group of devices in which the first device is located, the method further includes: obtaining a function value of a function corresponding to each device in the group of devices, and determining a networking result between each device and a computing node; and when the networking result indicates that data transmission is allowed between a group of devices, collecting function information and function value information corresponding to other devices in the group of devices except the first device through the first device.

[0009] In an exemplary embodiment, the first encrypted data is sent to a computing node, and a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices is obtained, including: determining whether the computing node has a target replacement value uploaded by each device, wherein the target replacement value is a replacement value corresponding to a real function value stored in each device included in the group of devices; if it is determined that the target replacement value exists, determining a decryption result of the first encrypted data decrypted by the target replacement value; if it is determined that the target replacement value does not exist, sending a data request to the device where the target replacement value does not exist, wherein the data request instructs the device to upload the target replacement value.

[0010] In an exemplary embodiment, determining a decryption result of decrypting the first encrypted data using the target replacement value includes: using the target replacement value uploaded by each device as a decryption key; using the decryption key to decrypt all values ​​in the first encrypted data using a preset algorithm to obtain a sub-decryption result; and combining multiple sub-decryption results corresponding to the group of devices to obtain a decryption result corresponding to the first encrypted data.

[0011] In an exemplary embodiment, searching for a corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data includes: obtaining matching values ​​existing in the decrypted result and the second original calculation result, wherein the matching value is a value that is the same as the numerical value in the decrypted result and the second original calculation result; determining search parameters for searching in the first original calculation result based on the matching value and the replacement relationship; and determining a target value from the first original calculation result according to the search parameters.

[0012] In an exemplary embodiment, before determining the first function value set corresponding to a group of devices in which the first device is located, the method further includes: determining the data transmission requirements of the target object; determining a group of devices for interconnected data transmission based on the data transmission requirements; and when determining the first device initiating data transmission in the group of devices, setting a computing node in other devices in the group of devices except the current first device.

[0013] According to another embodiment of the present invention, a secure transmission device is provided, including: a determination module, used to determine a first function value set corresponding to a group of devices where a first device is located, and calculate the first function value set through a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range; an encryption module, used to encrypt the second original calculation result using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result; an acquisition module, used to send the first encrypted data to a computing node, and obtain a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices; a search module, used to search for a corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data when there is a matching value between the decryption result and the second original calculation result.

[0014] In an exemplary embodiment, the above-mentioned device also includes: a replacement module, which is also used to replace all function values ​​of each device in the first function value set with different values ​​to obtain a first replacement set; replace each value in the first original calculation result to obtain a second original calculation result, and record the corresponding relationship between the values ​​of the second original calculation result and the first original calculation result to obtain a replacement relationship.

[0015] In an exemplary embodiment, the replacement module is further used to divide the first replacement set according to a plurality of different devices included in the group of devices; decompose the first replacement set into a plurality of sub-replacement sets, and send each of the plurality of sub-replacement sets to a corresponding device, wherein the plurality of sub-replacement sets correspond one-to-one to a plurality of different devices. In an exemplary embodiment, the apparatus further includes: a networking module, used to obtain a function value of a function corresponding to each device in a group of devices, and determine a networking result between each device and a computing node; when the networking result indicates that data transmission is allowed between a group of devices, the function information and function value information corresponding to other devices in the group of devices except the first device are collected through the first device.

[0016] In an exemplary embodiment, the above-mentioned acquisition module is also used to determine whether the computing node has a target replacement value uploaded by each device, wherein the target replacement value is a replacement value corresponding to a real function value stored in each device included in the group of devices; when it is determined that the target replacement value exists, determine a decryption result of decrypting the first encrypted data by the target replacement value; when it is determined that the target replacement value does not exist, send a data request to the device where the target replacement value does not exist, wherein the data request instructs the device to upload the target replacement value.

[0017] In an exemplary embodiment, the above-mentioned acquisition module is also used to use the target replacement value uploaded by each device as a decryption key; use the decryption key to decrypt all values ​​in the first encrypted data through a preset algorithm to obtain a sub-decryption result; combine multiple sub-decryption results corresponding to the group of devices to obtain a decryption result corresponding to the first encrypted data.

[0018] In an exemplary embodiment, the above-mentioned search module is used to obtain the matching value existing in the decrypted result and the second original calculation result, wherein the matching value is a value having the same numerical value as that in the decrypted result and the second original calculation result; determine the search parameter for searching in the first original calculation result based on the matching value and the replacement relationship; and determine the target value from the first original calculation result according to the search parameter.

[0019] In an exemplary embodiment, the above-mentioned device also includes: a setting module for determining the data transmission requirements of the target object; determining a group of devices for interconnected data transmission based on the data transmission requirements; and when the first device initiating data transmission in the group of devices is determined, setting the computing node in other devices in the group of devices except the current first device.

[0020] According to yet another embodiment of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.

[0021] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0022] Through the present invention, a first function value set corresponding to a group of devices where a first device is located is determined, and the first function value set is calculated by a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function value of the function has a preset value range; the second original calculation result is encrypted using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result; the first encrypted data is sent to a computing node, and a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in a group of devices is obtained; when there is a matching value between the decryption result and the second original calculation result, the corresponding target value is searched in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data, so as to determine whether the data securely transmitted between the first device and other devices in a group of devices is kept confidential according to the target value. That is to say, through the process of numerical replacement processing and the encryption processing process, encryption calculations are performed during the data transmission process of each device, thereby ensuring that other participants (for example, other devices) in a group of devices except the data provider (for example, the first device) cannot obtain the original plaintext information of the data. Therefore, the problem in the prior art that it is impossible to ensure that other participants except the data provider cannot obtain the original plaintext information of the data can be solved, thereby improving the data confidentiality and security during the data transmission process. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0024] In order to more clearly illustrate the embodiments of the present application 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.

[0025] Figure 1 is a schematic diagram of a hardware environment of a secure transmission method according to an embodiment of the present application;

[0026] Figure 2 is a flow chart of a secure transmission method according to an embodiment of the present invention;

[0027] Figure 3 is a schematic diagram of an architecture for secure interconnection of smart home appliances according to an optional embodiment of the present invention;

[0028] Figure 4is a schematic diagram of data interaction for secure interconnection of smart home appliances according to an optional embodiment of the present invention;

[0029] Figure 5 is a structural block diagram of a secure transmission device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the solution of the present application, 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 only 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 creative work should fall within the scope of protection of the present application.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] According to one aspect of the embodiments of the present application, a secure transmission method is provided. The secure transmission method is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (IntelligenceHouse) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above secure transmission method can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0033] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0034] In this embodiment, a secure transmission method is provided. Figure 2 is a flow chart of a secure transmission method according to an embodiment of the present invention, the flow chart comprising the following steps:

[0035] Step S202, determining a first function value set corresponding to a group of devices in which the first device is located, and calculating the first function value set by a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range;

[0036] Optionally, the above-mentioned group of devices includes at least two devices, and the above-mentioned first function value set is a combination of function values ​​of different devices in a group of devices. Optionally, the above-mentioned function value is related to the function included in each device in the current group of devices, and the value range of the function value is related to the actual application of the function. For example, the first function set may include function values ​​of three functions: function A, function B, and function C, and their combination may include [a0, b0, c0], [a1, b1, c1], ..., [an, bn, cn], etc. For example, when function A actually corresponds to weight information, the function value range of function A is 0-180, unit: kilogram; when function B corresponds to refrigerator temperature, the function value range of function B is -18° to 6°, that is, the above-mentioned function value has a suitable value range according to the actual corresponding function requirements, and this application does not impose too many restrictions on this. The above-mentioned first original calculation result is a set of multiple original numerical values ​​obtained by using a preset algorithm to calculate the function values ​​corresponding to the functions of different devices at multiple identical time points.

[0037] Step S204, encrypting the second original calculation result using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result;

[0038] Step S206, sending the first encrypted data to a computing node, and obtaining a decryption result of the computing node decrypting the first encrypted data according to the target replacement value uploaded by each device in the group of devices;

[0039] Step S208, when there is a matching value between the decryption result and the second original calculation result, the corresponding target value is searched in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data, so as to determine whether the data between the first device and other devices in a group of devices is securely transmitted and whether the data in the secure transmission has data confidentiality according to the search result of the target value.

[0040] Through the above steps, a first function value set corresponding to a group of devices where the first device is located is determined, and the first function value set is calculated through a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function value of the function has a preset value range; the second original calculation result is encrypted using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result; the first encrypted data is sent to a computing node, and a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in a group of devices is obtained; when there is a matching value between the decryption result and the second original calculation result, the corresponding target value is searched in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data, so as to determine whether the data securely transmitted between the first device and other devices in a group of devices is kept confidential according to the target value. That is to say, through the process of numerical replacement processing and the encryption processing process, encryption calculations are performed during the data transmission process of each device, thereby ensuring that other participants (for example, other devices) in a group of devices except the data provider (for example, the first device) cannot obtain the original plaintext information of the data. Therefore, the problem in the prior art that it is impossible to ensure that other participants except the data provider cannot obtain the original plaintext information of the data can be solved, thereby improving the data confidentiality and security during the data transmission process.

[0041] As an optional implementation, the above step S204 can also be determined in the following way: replace all function values ​​of each device in the first function value set with different values ​​to obtain a first replacement set; replace each value in the first original calculation result to obtain a second original calculation result, and record the corresponding relationship between the values ​​of the second original calculation result and the first original calculation result to obtain a replacement relationship.

[0042] For example, when a group of devices includes three devices, which respectively provide three functions A, B, and C, when the function value corresponding to each function is determined, one or more groups of function value combinations can be obtained.

[0043] For example, {a0, b0, C0}, {a 01 , b 01 , C 01}, …, {a n , b n , C n}, then the first function value set is [{a0, b0, C0}, {a 01 , b 01 , C 01}, …, {a n , b n , C n}], where n is a positive integer greater than or equal to 0, and then the first original calculation result [d0, d1, ..., d n ]; In order to ensure the security of data transmission in the subsequent data transmission between devices, the first function value set and the first original calculation result are subjected to value replacement processing, and the values ​​in the first function value set are replaced with [{A0, B0, C0}, {A 01 , B 01 , C 01}, …, {A n , B n , C n}], and obtain the first replacement set, replacing the value of the first original calculation result with [D0, D1, ..., D n ], and obtain the second original calculation result. Further, the first replacement set is used as the key to encrypt the second original calculation result to obtain Furthermore, the above data processing process greatly improves data confidentiality and security. It should be noted that the above is only an example and limits the implementation method of this application.

[0044] In an exemplary embodiment, after all function values ​​of each device in the first function value set are replaced with different values ​​to obtain a first replacement set, the method further includes: dividing the first replacement set according to a plurality of different devices included in the group of devices; decomposing the first replacement set into a plurality of sub-replacement sets, and sending each of the plurality of sub-replacement sets to a corresponding device, wherein the plurality of sub-replacement sets correspond one-to-one to a plurality of different devices.

[0045] Simply put, in order to ensure consistency of replacement information in a group of devices, after determining the first replacement set on the first device, the first replacement set is divided into multiple sub-replacement sets according to the device, and the sub-replacement set is synchronized to a device in a group of devices that contains the functional value corresponding to the sub-replacement set, so that when calculating, the same replacement value exists in a group of devices.

[0046] In an exemplary embodiment, before determining a first set of function values ​​corresponding to a group of devices in which the first device is located, the method further includes: obtaining a function value of a function corresponding to each device in a group of devices, and determining a networking result between each device and a computing node; and when the networking result indicates that data transmission is allowed between a group of devices, collecting function information and function value information corresponding to other devices in the group of devices except the first device through the first device.

[0047] It can be understood that obtaining the function value of the corresponding function of each device in a group of devices through the first device requires certain prerequisites, including: all devices in a group of devices and computing nodes have been interconnected and can cooperate to complete the calculation; the first device has previously stored the function and function value information corresponding to other devices in the group of devices except the first device; and the first device and the computing node share the decryption algorithm.

[0048] In an exemplary embodiment, the first encrypted data is sent to a computing node, and a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices is obtained, including: determining whether the computing node has a target replacement value uploaded by each device, wherein the target replacement value is a replacement value corresponding to a real function value stored in each device included in the group of devices; if it is determined that the target replacement value exists, determining a decryption result of the first encrypted data decrypted by the target replacement value; if it is determined that the target replacement value does not exist, sending a data request to the device where the target replacement value does not exist, wherein the data request instructs the device to upload the target replacement value.

[0049] It can be understood that in order to ensure the computing effect of the computing node, the replacement value of the preset real function value in each device needs to be sent to the computing node to ensure that the computing node calculates the data, and the replacement values ​​sent by different devices are used as decryption keys respectively. The first device and the computing node share a decryption algorithm to decrypt all values ​​in the first encrypted data of the calculation result to obtain a decrypted set of calculation results. When the target replacement value does not exist, it means that there is an abnormal device in the device connected to the computing node. At this time, if the data reported by the device (such as: replacement value) is not received, you can continue to wait, or actively request data from the device, or perform other processing according to business requirements, so as to ensure the safe transmission of data.

[0050] In an exemplary embodiment, determining a decryption result of decrypting the first encrypted data using the target replacement value includes: using the target replacement value uploaded by each device as a decryption key; using the decryption key to decrypt all values ​​in the first encrypted data using a preset algorithm to obtain a sub-decryption result; and combining multiple sub-decryption results corresponding to the group of devices to obtain a decryption result corresponding to the first encrypted data.

[0051] That is, during decryption, the target replacement value uploaded by each target device can only decrypt the data related to the replacement value in the first encrypted data, and cannot decrypt irrelevant data, thereby improving the confidentiality of data during secure transmission, so that while completing business calculations, it is ensured that other participants except the data provider cannot obtain the original plaintext information of the data.

[0052] In an exemplary embodiment, searching for a corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data includes: obtaining matching values ​​existing in the decrypted result and the second original calculation result, wherein the matching value is a value that is the same as the numerical value in the decrypted result and the second original calculation result; determining search parameters for searching in the first original calculation result based on the matching value and the replacement relationship; and determining a target value from the first original calculation result according to the search parameters.

[0053] It can be understood that, by querying, when the target value is determined in the first original calculation result, it is indicated that further encryption of data for secure transmission can be achieved between a group of devices, thereby improving the confidentiality of the data.

[0054] In an exemplary embodiment, before determining a first set of functional values ​​corresponding to a group of devices in which the first device is located, the method further includes: determining a data transmission requirement of a target object; determining a group of devices for interconnected data transmission based on the data transmission requirement; and when determining the first device initiating data transmission in the group of devices, setting a computing node in other devices in the group of devices except the current first device.

[0055] That is, after the first device is used as the initiator of interconnected data transmission in a group of devices, other devices belonging to the group of devices decrypt the data transmitted by the first device through the computing nodes set in the devices, thereby achieving the purpose of cooperative completion of secure data transmission. It should be noted that the first device and the computing node share the decryption algorithm.

[0056] In order to better understand the process of the above-mentioned secure transmission method, the process of the above-mentioned secure transmission method is described below in combination with several optional embodiments.

[0057] As an optional embodiment, a method for secure interconnection of smart home appliances is proposed. Figure 3 It is a schematic diagram of an architecture of secure interconnection of smart home appliances according to an optional embodiment of the present invention; comprising: smart device 1, smart device 2, smart device 3, and computing nodes;

[0058] Among them, smart device 1 (equivalent to the first device in the above embodiment) is the business data acquisition party, which also provides data. Smart device 1 is interconnected with smart devices 2 and 3 to obtain their functions and function value information. According to business needs, the corresponding function values ​​of devices 1, 2, and 3 are used as input to calculate and obtain calculation results, and the function values ​​and calculation results used as input are replaced.

[0059] Smart devices 2 and 3 (equivalent to other devices in the above embodiments) are service data providers. Smart devices 2 and 3 are interconnected with smart device 1 and computing nodes respectively, and together with smart device 1 provide computing data (replacement values ​​of function values) for computing nodes. Other devices with the same functions as smart devices 2 and 3 may also be added in the optional embodiments of the present invention.

[0060] The computing node is a business data computing party, which is used to perform calculations based on the data provided by smart devices 1, 2, and 3, and send the calculation results to smart device 1. The computing node can be placed in smart device 2 or 3. It should be noted that the computing node cannot be placed in smart device 1 because the original function values ​​of devices 2 and 3 will be leaked. Therefore, the computing node can be set in a device other than smart device 1.

[0061] As an optional implementation, Figure 4is a schematic diagram of data interaction for secure interconnection of smart home appliances according to an optional embodiment of the present invention;

[0062] The above data interaction requires the following prerequisites:

[0063] 1. Smart device 1, smart device 2, smart device 3, and computing nodes have been interconnected and collaborated to complete the calculation;

[0064] 2. Smart device 1 stores the function and function value information of smart device 2 and smart device 3 in advance;

[0065] 3. Smart device 1 shares decryption algorithm 1 with computing node.

[0066] Optional, the specific execution process is as follows:

[0067] Step 1, smart device 1 uses algorithm 1 (private algorithm, determined according to actual business) to calculate the combination of function values ​​of smart devices 1, 2, and 3 required by the business as input to obtain an original calculation result set 1.

[0068] Step 2. Smart device 1 replaces all function values ​​of smart devices 1, 2, and 3 with different values ​​to obtain function value replacement set 1;

[0069] Step 3. The smart device 1 replaces each value in the original calculation result set 1 to obtain the calculation result replacement set 1, and establishes a corresponding relationship 1 between the values ​​of the two sets;

[0070] Step 4. The smart device 1 uses the replacement value corresponding to each function value in each input combination as a key, and encrypts the replacement value of the calculation result corresponding to the input combination, to obtain a calculation result encryption set 1;

[0071] Step 5. Smart device 1 sends a set of replacement values ​​of the function value of device 2 to smart device 2;

[0072] Step 6. Smart device 1 sends a set of replacement values ​​of the function values ​​of device 3 to smart device 3;

[0073] Step 7. Smart device 1 inputs replacement set 1 to the computing node, and calculates the encrypted set 1;

[0074] Step 8. Device 1 sends the replacement value 1 of its specific function value to the computing node;

[0075] Step 9. Device 2 sends the replacement value 2 of its specific function value to the computing node;

[0076] Step 10. Device 3 sends the replacement value 3 of its specific function value to the computing node;

[0077] It should be noted that the above steps 8-10 are that the smart devices 1, 2, 3 send the data required for calculation (the replacement value of the real function value) to the calculation node, and the calculation node calculates the data.

[0078] Step 11. Use replacement value 1, replacement value 2 and replacement value 3 as keys respectively, and use decryption algorithm 1 to decrypt all values ​​in calculation result encryption set 1 to obtain calculation result decryption set 1;

[0079] Step 12. The computing node sends the decrypted set 1 of the computing results to the smart device 1;

[0080] Step 13. The smart device 1 compares the calculation result decryption set 1 with the calculation result replacement set 1, and finds the equal value in the two sets, that is, the matching value 1;

[0081] Step 14. The intelligent terminal 1 finds the corresponding value in the original calculation result set 1 according to the matching value 1 and the corresponding relationship 1, which is the final calculation result.

[0082] As an optional implementation method, the above-mentioned method of secure interconnection of smart home appliances is combined with user scenarios. Taking user health monitoring as an example, the user has a smart watch, a blood glucose meter, and a thermometer, and these three devices belong to different manufacturers.

[0083] Optionally, smart watches can obtain the user's heartbeat information and use Algorithm 1 to calculate a certain health indicator of the user through the heartbeat, blood sugar and body temperature information. Smart watches pre-store the value ranges of blood glucose meters and thermometers, such as 0-15 for blood glucose meters and 33-43 for thermometers, and also include their own heartbeat value ranges such as 20-150. Blood glucose meters and thermometers: obtain user measurement data and send the data to the computing node. Computing nodes: can be devices with strong computing power, such as gateways. The algorithm is specified by the watch, and the computing node is only responsible for calculating the data sent by the watch, blood glucose meter, and thermometer according to the specified algorithm, and returning the calculation results to the watch.

[0084] Optionally, the process of calculating a certain health indicator of a user (determined according to specific business conditions) is as follows:

[0085] Step 1: The smartwatch takes the possible values ​​of the three devices as the input of Algorithm 1 to calculate and obtain the original table as shown in Table 1:

[0086] Table 1: Original table

[0087] Heartbeat blood sugar body temperature Original calculation results <![CDATA[a0]]> <![CDATA[b0]]> <![CDATA[c0]]> <![CDATA[d0]]> <![CDATA[a1]]> <![CDATA[b1]]> <![CDATA[c1]]> <![CDATA[d1]]> … … … … <![CDATA[a n ]]> <![CDATA[b n ]]> <![CDATA[c n ]]> <![CDATA[d n ]]>

[0088] It should be noted that the same input value can appear multiple times in the original table, such as a0 can appear in different input combinations, and the same calculation result can also appear multiple times, but the same input combination can only appear once.

[0089] In the second step, all input values ​​and original calculation results are replaced with other values ​​to obtain a replacement table as shown in Table 2:

[0090] Table 2: Replacement table

[0091] Heartbeat replacement value Blood sugar replacement value Temperature replacement value Calculation result replacement value <![CDATA[A0]]> <![CDATA[B0]]> <![CDATA[C0]]> <![CDATA[D0]]> <![CDATA[A1]]> <![CDATA[B1]]> <![CDATA[C1]]> <![CDATA[D1]]> … … … … <![CDATA[A n ]]> <![CDATA[B n ]]> <![CDATA[C n ]]> <![CDATA[D n ]]>

[0092] The third step is to use the input replacement value as the key to encrypt the corresponding calculation result replacement value. For example, A0 is used as the key to encrypt D0 to obtain Then use B0 as the key pair Encrypted Finally, use C0 as the key pair Encrypted The final encryption calculation result table is shown in Table 3:

[0093] Table 3: Encryption calculation results table

[0094]

[0095] In the fourth step, the watch sends the blood sugar value and the corresponding replacement value to the blood glucose meter, and sends the body temperature value and the corresponding replacement value to the thermometer.

[0096] In the fifth step, the watch sends the encrypted result table to the computing node.

[0097] Step 6: The watch, blood glucose meter, and thermometer report the replacement value to the computing node (such as the home gateway), such as A i , B i , C i , the computing node uses the three replacement values ​​as the key to decrypt each row of data in the encrypted calculation result table, and obtains the decrypted calculation result table. Because the input combination is unique, A i , B i , C i When used as a key to decrypt all data in the encrypted calculation result table, only D i , that is to say, only D i is correct, and other results are all wrong values ​​(garbled).

[0098] Step 7: The computing node sends the decrypted calculation result table to the watch. The watch compares the decrypted calculation result table with the calculation result replacement value in the replacement table. i appears in both tables, through D i Find the corresponding original calculation result d i That is the desired result.

[0099] In summary, the function and function value information of smart devices 2 and 3 are obtained through smart device 1; smart device 1 uses the function values ​​of smart devices 1, 2, and 3 required for the business as input to calculate and obtain the original settlement result set 1; smart device 1 replaces each function value to obtain the function value replacement set 1; replaces each value of the original settlement result set 1 to obtain the calculation result replacement set 1; smart device 1 uses the replacement value corresponding to each function value in each input combination as a key, and encrypts the replacement value of the calculation result corresponding to the input combination to obtain the calculation result encryption set 1; smart device 1 replaces each function value in the original settlement result set 1 to obtain the calculation result encryption set 1; smart device 1 uses the replacement value corresponding to each function value in each input combination as a key, and encrypts the replacement value of the calculation result corresponding to the input combination to obtain the calculation result encryption set 1. The replacement values ​​of the function values ​​of equipment 2 and 3 are sent to smart devices 2 and 3 respectively; smart devices 1, 2, and 3 send business data to the computing node, which is the replacement value of the function value; the computing node uses the replacement values ​​of smart devices 1, 2, and 3 as keys, and uses decryption algorithm 1 to decrypt all values ​​in the calculation result encryption set 1, obtain the calculation result decryption set 1 and send it to smart device 1; smart device 1 compares the calculation result decryption set 1 with the calculation result replacement set 1, finds the equal value in the two sets, that is, the matching value 1, and then finds the corresponding value in the original calculation result set 1 according to the matching value 1, which is the final calculation result. The above process is used to ensure that other participants except the data provider cannot obtain the original plaintext information of the data while completing the business calculation, thereby improving data confidentiality and security.

[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to perform the secure transmission described in each embodiment of the present invention.

[0101] In the present embodiment, a secure transmission device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0102] Figure 5 is a structural block diagram of a secure transmission device according to an embodiment of the present invention. Figure 5 As shown, the device comprises:

[0103] (1) a determination module 52, configured to determine a first function value set corresponding to a group of devices to which the first device belongs, and calculate the first function value set using a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range;

[0104] (2) an encryption module 54, configured to perform encryption processing on the second original calculation result using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing replacement processing on the first function value set, and the second original calculation result is determined by performing replacement processing on the first original calculation result;

[0105] (3) an acquisition module 56, configured to send the first encrypted data to a computing node, and obtain a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices;

[0106] (4) a search module 58, configured to search for a corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data when there is a matching value between the decryption result and the second original calculation result, so as to determine whether data transmission between the first device and other devices in the group of devices is secure according to the target value.

[0107] Through the above-mentioned device, a first function value set corresponding to a group of devices where the first device is located is determined, and the first function value set is calculated through a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function value of the function has a preset value range; the second original calculation result is encrypted using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result; the first encrypted data is sent to a computing node, and a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in a group of devices is obtained; when there is a matching value between the decryption result and the second original calculation result, the corresponding target value is searched in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data, so as to determine whether the data securely transmitted between the first device and other devices in a group of devices is kept confidential according to the target value. That is to say, through the process of numerical replacement processing and the encryption processing process, encryption calculations are performed during the data transmission process of each device, thereby ensuring that other participants (for example, other devices) in a group of devices except the data provider (for example, the first device) cannot obtain the original plaintext information of the data. Therefore, the problem in the prior art that it is impossible to ensure that other participants except the data provider cannot obtain the original plaintext information of the data can be solved, thereby improving the data confidentiality and security during the data transmission process.

[0108] In an exemplary embodiment, the above-mentioned device also includes: a replacement module, which is also used to replace all function values ​​of each device in the first function value set with different values ​​to obtain a first replacement set; replace each value in the first original calculation result to obtain a second original calculation result, and record the corresponding relationship between the values ​​of the second original calculation result and the first original calculation result to obtain a replacement relationship.

[0109] In an exemplary embodiment, the replacement module is further used to divide the first replacement set according to multiple different devices included in the group of devices; decompose the first replacement set into multiple sub-replacement sets, and send each of the multiple sub-replacement sets to a corresponding device, wherein the multiple sub-replacement sets correspond one-to-one to multiple different devices.

[0110] Simply put, in order to ensure consistency of replacement information in a group of devices, after determining the first replacement set on the first device, the first replacement set is divided into multiple sub-replacement sets according to the device, and the sub-replacement set is synchronized to a device in a group of devices that contains the functional value corresponding to the sub-replacement set, so that when calculating, the same replacement value exists in a group of devices.

[0111] In an exemplary embodiment, the above-mentioned device also includes: a networking module, which is used to obtain the function value of the corresponding function of each device in a group of devices, and determine the networking result of each device and the computing node; when the networking result indicates that data transmission is allowed between a group of devices, the function information and function value information corresponding to other devices in the group of devices except the first device are collected through the first device.

[0112] In an exemplary embodiment, the above-mentioned acquisition module is also used to determine whether the computing node has a target replacement value uploaded by each device, wherein the target replacement value is a replacement value corresponding to a real function value stored in each device included in the group of devices; when it is determined that the target replacement value exists, determine a decryption result of decrypting the first encrypted data by the target replacement value; when it is determined that the target replacement value does not exist, send a data request to the device where the target replacement value does not exist, wherein the data request instructs the device to upload the target replacement value.

[0113] In an exemplary embodiment, the above-mentioned acquisition module is also used to use the target replacement value uploaded by each device as a decryption key; use the decryption key to decrypt all values ​​in the first encrypted data through a preset algorithm to obtain a sub-decryption result; combine multiple sub-decryption results corresponding to the group of devices to obtain a decryption result corresponding to the first encrypted data.

[0114] In an exemplary embodiment, the above-mentioned search module is used to obtain the matching value existing in the decrypted result and the second original calculation result, wherein the matching value is a value having the same numerical value as that in the decrypted result and the second original calculation result; determine the search parameter for searching in the first original calculation result based on the matching value and the replacement relationship; and determine the target value from the first original calculation result according to the search parameter.

[0115] In an exemplary embodiment, the above-mentioned device also includes: a setting module for determining the data transmission requirements of the target object; determining a group of devices for interconnected data transmission based on the data transmission requirements; and when the first device initiating data transmission in the group of devices is determined, setting the computing node in other devices in the group of devices except the current first device.

[0116] In the description of the present invention, it should be understood that the orientations or positional relationships indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0117] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two components. When a component is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other component or there can also be a central component. When a component is considered to be "connected" to another element, it can be directly connected to the other element or there can be a central element at the same time. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0118] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0119] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0120] In an exemplary embodiment, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps:

[0121] S1, determining a first function value set corresponding to a group of devices where the first device is located, and calculating the first function value set by a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range;

[0122] S2, encrypting the second original calculation result using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result;

[0123] S3, sending the first encrypted data to a computing node, and obtaining a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices;

[0124] S4, when there is a matching value between the decryption result and the second original calculation result, searching for a corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data, so as to determine whether data transmission between the first device and other devices in the group of devices is secure according to the target value

[0125] In an exemplary embodiment, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0126] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0127] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0128] In an exemplary embodiment, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0129] S1, determining a first function value set corresponding to a group of devices where the first device is located, and calculating the first function value set by a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range;

[0130] S2, encrypting the second original calculation result using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result;

[0131] S3, sending the first encrypted data to a computing node, and obtaining a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices;

[0132] S4, when there is a matching value between the decryption result and the second original calculation result, searching for a corresponding target value in the first original calculation result according to the matching value and the replacement relationship corresponding to the first encrypted data, so as to determine whether data transmission between the first device and other devices in the group of devices is secure according to the target value

[0133] In an exemplary embodiment, the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0134] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. In an exemplary embodiment, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present invention is not limited to any specific combination of hardware and software.

[0135] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A secure transmission method, characterized in that: Applied to a first device, comprising: Determine a first function value set corresponding to a group of devices where the first device is located, and calculate the first function value set by a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range; Using a first replacement set to encrypt the second original calculation result, to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing a replacement process on the first function value set, and the second original calculation result is determined by performing a replacement process on the first original calculation result; Sending the first encrypted data to a computing node, and obtaining a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices; In the case where there is a matching value between the decrypted result and the second original calculation result, obtaining the matching value between the decrypted result and the second original calculation result, wherein the matching value is a value having the same numerical value between the decrypted result and the second original calculation result; determining a search parameter for searching in the first original calculation result based on the matching value and the replacement relationship; and determining a target value from the first original calculation result according to the search parameter; Before encrypting the second original calculation result using the first replacement set to obtain first encrypted data corresponding to the first function value set, the method further includes: Replace all function values ​​of each device in the first function value set with different values ​​to obtain a first replacement set; divide the first replacement set according to a plurality of different devices included in the group of devices; decompose the first replacement set into a plurality of sub-replacement sets, and send each of the plurality of sub-replacement sets to a corresponding device, wherein the plurality of sub-replacement sets correspond one-to-one to a plurality of different devices; The target replacement value is a replacement value corresponding to a real function value stored in each device included in the group of devices.

2. The secure transmission method according to claim 1, characterized in that: Before encrypting the second original calculation result using the first replacement set to obtain first encrypted data corresponding to the first function value set, the method further includes: Each value in the first original calculation result is replaced to obtain a second original calculation result, and the corresponding relationship between the values ​​of the second original calculation result and the first original calculation result is recorded to obtain a replacement relationship.

3. The secure transmission method according to claim 1, characterized in that: Before determining a first function value set corresponding to a group of devices in which the first device is located, the method further includes: Obtaining a function value of a corresponding function of each device in a group of devices, and determining a networking result of each device and a computing node; When the networking result indicates that data transmission is allowed between a group of devices, function information and function value information corresponding to other devices in the group of devices except the first device are collected through the first device.

4. The secure transmission method according to claim 1, characterized in that: Sending the first encrypted data to a computing node, and obtaining a decryption result of the computing node decrypting the first encrypted data according to the target replacement value uploaded by each device in the group of devices, includes: Determining whether the computing node has the target replacement value uploaded by each device; In a case where it is determined that a target replacement value exists, determining a decryption result of decrypting the first encrypted data by the target replacement value; In the case where it is determined that the target replacement value does not exist, a data request is sent to the device where the target replacement value does not exist, wherein the data request instructs the device to upload the target replacement value.

5. The secure transmission method according to claim 4, characterized in that: Determining a decryption result of decrypting the first encrypted data by the target replacement value includes: Using the target replacement value uploaded by each device as a decryption key; Decrypt all values ​​in the first encrypted data using the decryption key through a preset algorithm to obtain a sub-decryption result; The multiple sub-decryption results corresponding to the group of devices are combined to obtain a decryption result corresponding to the first encrypted data.

6. A safe transmission device, characterized in that: include: a determination module, configured to determine a first function value set corresponding to a group of devices to which the first device belongs, and calculate the first function value set by a preset algorithm to obtain a first original calculation result; wherein the first function value set is a combination of function values ​​of different devices, and the function values ​​have a preset value range; an encryption module, configured to perform encryption processing on a second original calculation result using a first replacement set to obtain first encrypted data corresponding to the first function value set, wherein the first replacement set is determined by performing replacement processing on the first function value set, and the second original calculation result is determined by performing replacement processing on the first original calculation result; an acquisition module, configured to send the first encrypted data to a computing node, and obtain a decryption result of the computing node decrypting the first encrypted data according to a target replacement value uploaded by each device in the group of devices; a search module, configured to obtain, when there is a match value between the decrypted result and the second original calculation result, a match value between the decrypted result and the second original calculation result, wherein the match value is a value having the same numerical value between the decrypted result and the second original calculation result; determine a search parameter for searching in the first original calculation result based on the match value and the replacement relationship; and determine a target value from the first original calculation result according to the search parameter; The device further includes: a replacement module, configured to encrypt the second original calculation result using the first replacement set, and replace all function values ​​of each device in the first function value set with different values ​​before obtaining the first encrypted data corresponding to the first function value set, so as to obtain the first replacement set; divide the first replacement set according to the multiple different devices included in the group of devices; decompose the first replacement set into multiple sub-replacement sets, and send each of the multiple sub-replacement sets to the corresponding device, wherein the multiple sub-replacement sets correspond to the multiple different devices one by one; The target replacement value is a replacement value corresponding to a real function value stored in each device included in the group of devices.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the secure transmission method according to any one of claims 1 to 5 when executed by a processor.

8. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the secure transmission method described in any one of claims 1 to 5 through the computer program.

Citation Information

Patent Citations

  • Voice information processing method and device, household appliance and electronic equipment

    CN113254959A

  • Data transmission method, system and device and storage medium

    CN113726507A