Communication encryption negotiation sending method, receiving method, equipment, system and medium

Through the encryption algorithm negotiation between the IoT platform and the terminal, the intersection encryption algorithm list is obtained, and automatically negotiated encrypted communication is realized, which solves the problem of supporting both national encryption and international algorithms, reduces development and operation and maintenance costs, and adapts to Various environmental requirements.

CN118740416APending Publication Date: 2024-10-01SHENZHEN XINGHAI IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410575109.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the field of smart property, when the communication between the IoT platform and the terminal accessing the platform is encrypted, it is difficult for the existing technology to support both the national encryption algorithm and the international algorithm, resulting in additional development and operation and maintenance costs.

Method used

By implementing encryption algorithm negotiation between the IoT platform and the terminal, the intersection of the encryption algorithm lists supported by the two is obtained as the negotiated third encryption algorithm list, and the national secret algorithm is used first to achieve automatically negotiated encrypted communication.

Benefits of technology

It reduces the product development and maintenance work of the two systems, reduces the operation and maintenance configuration and user costs, adapts to the needs of various domestic and international environments, and promotes the use of national secret algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740416A_ABST
    Figure CN118740416A_ABST
Patent Text Reader

Abstract

The invention discloses a communication encryption negotiation sending method, a receiving method, equipment, a system and a medium. The method comprises the following steps: sending a negotiation request to an Internet of Things platform, so that the Internet of Things platform obtains a first encryption algorithm list supported by a terminal according to information carried by the negotiation request, and inquires and matches a second encryption algorithm list supported by the Internet of Things platform according to the first encryption algorithm list supported by the terminal, acquiring an intersection of the first encryption algorithm list and the second encryption algorithm list to serve as a negotiated third encryption algorithm list; receiving a third encryption algorithm list sent by the Internet of Things platform; and performing communication encryption by using the third encryption algorithm list. Through the method provided by the invention, the terminal accessed to the Internet of Things platform confirms the encryption algorithm system of communication between the two parties in a self-negotiation manner, and the terminal automatically starts the encryption algorithm system supported by the platform to carry out communication encryption, so that the operation and maintenance configuration or user use cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart properties, and in particular to an Internet of Things communication encryption negotiation sending method, receiving method, device, system, and medium. Background Art

[0002] In the field of smart property, when the IoT platform communicates with the gateway / terminal accessing the platform, in order to ensure data security and prevent data theft, tampering, and illegal attacks on the system, it is generally necessary to encrypt the communication process or communication data using encryption algorithms.

[0003] Among them, encryption algorithms include national encryption algorithms and international algorithms. These two algorithm systems are incompatible with each other. In China, national encryption algorithms are usually used to improve algorithm security, while international algorithms are required abroad.

[0004] For products with cross-border business, it is necessary to support two sets of algorithms. In the existing technology, there are mainly two solutions: one is to develop two sets of software versions and corresponding products to support different algorithms. This solution requires two sets of software versions, which increases the workload of code development and subsequent continuous code evolution; the other is to develop a set of software versions that includes both sets of algorithms, and then use the configuration file to configure which algorithm to enable on-site. This method increases the workload of operation and maintenance, as well as the cost of use for customers, and configuration operations are required every time. Summary of the invention

[0005] In order to solve the technical problem of additional development and operation costs in order to support both international algorithms and national encryption algorithms when encrypting communications between the IoT platform and the terminals accessing the platform in the field of smart properties, this application provides the following solutions:

[0006] On the one hand, a communication encryption negotiation sending method is provided, which is applied to communication encryption between an Internet of Things platform and a terminal, and includes the following steps:

[0007] S11: Send a negotiation request to the IoT platform, so that the IoT platform obtains a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request, and queries and matches the second encryption algorithm list supported by the terminal according to the first encryption algorithm list supported by the terminal, and obtains the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0008] S12: receiving a third encryption algorithm list sent by the IoT platform;

[0009] S13: Use the third encryption algorithm list to encrypt communications.

[0010] Among them, any one of the first encryption algorithm list, the second encryption algorithm list and the third encryption algorithm list respectively includes one or more algorithms in the national encryption algorithm system and / or the international algorithm system.

[0011] Among them, if the third encryption algorithm list contains algorithms of both the national secret algorithm system and the international algorithm system, the algorithms of the national secret algorithm system will be given priority.

[0012] On the other hand, a communication encryption negotiation receiving method is provided, which is applied to communication encryption between an Internet of Things platform and a terminal, comprising the following steps:

[0013] S21: receiving a negotiation request sent by the terminal,

[0014] S22: Acquire a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request;

[0015] S23: According to the first encryption algorithm list supported by the terminal, query and match with the second encryption algorithm list supported by itself, and obtain the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0016] S24: Send the third encryption algorithm list to the terminal;

[0017] S25: Use the third encryption algorithm list to encrypt communications.

[0018] Among them, any one of the first encryption algorithm list, the second encryption algorithm list and the third encryption algorithm list respectively includes one or more algorithms in the national encryption algorithm system and / or the international algorithm system.

[0019] Among them, if the third encryption algorithm list contains algorithms of both the national secret algorithm system and the international algorithm system, the algorithms of the national secret algorithm system will be given priority.

[0020] On the other hand, a communication encryption negotiation terminal is provided, which is applied to communicate with an Internet of Things platform, including:

[0021] A request sending module, used to send a negotiation request to the Internet of Things platform, so that the Internet of Things platform obtains a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request, and queries and matches the second encryption algorithm list supported by itself according to the first encryption algorithm list supported by the terminal, and obtains the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0022] An information receiving module, used to receive a third encryption algorithm list sent by the Internet of Things platform;

[0023] The communication encryption module is used to perform communication encryption using a third encryption algorithm list.

[0024] On the other hand, a communication encryption negotiation Internet of Things platform is provided, which is applied to communicate with a terminal, including:

[0025] A request receiving module, used for receiving a negotiation request sent by a terminal;

[0026] A terminal algorithm acquisition module, used to acquire a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request;

[0027] An algorithm matching module is used to query and match the first encryption algorithm list supported by the terminal with the second encryption algorithm list supported by the terminal, and obtain the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0028] An information sending module, used for sending the third encryption algorithm list to the terminal;

[0029] The communication encryption module is used to perform communication encryption using a third encryption algorithm list.

[0030] On the other hand, a communication encryption negotiation Internet of Things system is provided, comprising: the above-mentioned communication encryption negotiation terminal and the communication encryption negotiation Internet of Things platform.

[0031] On the other hand, a computer-readable storage medium is provided, storing a computer program, which can be executed by a processor to implement any of the above-mentioned communication encryption negotiation sending methods, or to implement any of the above-mentioned communication encryption negotiation receiving methods.

[0032] The beneficial effect of the present application is as follows: the present scheme obtains a first encryption algorithm list supported by the terminal according to a negotiation request sent by the terminal, queries and matches the second encryption algorithm list supported by the Internet of Things platform, obtains the intersection of the first encryption algorithm list and the second encryption algorithm list as a third encryption algorithm list after negotiation, and finally sends the third encryption algorithm list to the corresponding terminal, so that the terminal and the Internet of Things platform use the negotiated third encryption algorithm list for communication encryption, thereby achieving the effect of automatic negotiation and reducing the product development and maintenance work of the two systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1This is a flowchart of an embodiment of the communication encryption negotiation sending method of the present application;

[0035] Figure 2 This is a schematic diagram of a sub-process of an embodiment of a communication encryption negotiation receiving method of the present application;

[0036] Figure 3 This is a schematic diagram of a device of an embodiment of a communication encryption negotiation terminal of the present application;

[0037] Figure 4 It is a schematic diagram of a device of an embodiment of the communication encryption negotiation Internet of Things platform of the present application;

[0038] Figure 5 This is a schematic diagram of the architecture of an embodiment of the communication encryption negotiation Internet of Things system of the present application;

[0039] Figure 6 This is a schematic diagram of the entire process of an embodiment of the communication encryption negotiation Internet of Things system of the present application;

[0040] Figure 7 This is a schematic diagram of the architecture of an embodiment of a communication encryption negotiation terminal and an Internet of Things platform corresponding to a computer device of the present application;

[0041] Figure 8 It is a schematic block diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 are within the scope of protection of this application.

[0043] The terms "first" and "second" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" can expressly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically limited. 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 terminal comprising a series of steps or units is not limited to the steps or units listed, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or terminals.

[0044] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0045] The following are the relevant professional terms involved in this application:

[0046] Communication encryption: Use cryptographic technology to encrypt the communication process or communication data to prevent data from being stolen or tampered with, thereby preventing illegal attacks on the system;

[0047] The national secret algorithm is a data encryption algorithm independently developed by my country, including: SM1 (SCB2), SM2, SM3, SM4, SM7, SM9, Zu Chongzhi Cryptography Algorithm (ZUC), etc.

[0048] International algorithms include: AES, RSA, MD5, and DES.

[0049] On the one hand, see Figure 1 , Figure 1 It is a flow chart of an embodiment of the communication encryption negotiation sending method of the present application. It should be noted that if there are substantially the same results, this embodiment does not use Figure 1 The process sequence shown is limited. This embodiment includes the following contents:

[0050] On the one hand, a communication encryption negotiation sending method is provided, which is applied to communication encryption between an Internet of Things platform and a terminal, and includes the following steps:

[0051] S11: Send a negotiation request to the IoT platform, so that the IoT platform obtains a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request, and queries and matches the second encryption algorithm list supported by the terminal according to the first encryption algorithm list supported by the terminal, and obtains the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0052] S12: receiving a third encryption algorithm list sent by the IoT platform;

[0053] S13: Use the third encryption algorithm list to encrypt communications.

[0054] The program corresponding to the method of this embodiment may be run on a computer terminal, for example Figure 7 The computer device corresponding to the communication encryption negotiation terminal shown in . The terminal can be a mobile terminal such as a mobile phone, or a gateway device, etc.

[0055] Among them, the algorithms in the first encryption algorithm list are encryption algorithms supported by the terminal itself, and the algorithms in the second encryption algorithm list are encryption algorithms supported by the IoT platform itself. If the two are intersected, the encryption algorithms in the intersection are supported by both the terminal and the IoT platform. Therefore, after the IoT platform sends the intersection back to the terminal as the third encryption algorithm list, the terminal can use the encryption algorithm in the third encryption algorithm list to encrypt subsequent communication information and send it to the IoT platform. After receiving the encrypted communication information, the IoT platform also uses the corresponding encryption algorithm to decrypt it, and when sending the response communication information, it also uses the corresponding encryption algorithm to encrypt it.

[0056] To sum up, through the method of the present application, an encryption algorithm negotiation mechanism can be implemented between the terminal and the Internet of Things platform, so that the terminal and the Internet of Things platform can use the negotiated third encryption algorithm list for communication encryption, thereby achieving the effect of automatic negotiation of encryption algorithms, so that one system can meet the needs of various different environments such as domestic and international, and reduce the product development and maintenance work of two systems at the same time.

[0057] Among them, any one of the first encryption algorithm list, the second encryption algorithm list and the third encryption algorithm list includes one or more algorithms in the national encryption algorithm system and / or the international algorithm system. Therefore, in actual deployment, a specific algorithm system configuration can be selected according to the actual scenario.

[0058] Specifically, one situation is: the first encryption algorithm list supported by the terminal only includes the national encryption algorithm system, and the second encryption algorithm list supported by the Internet of Things platform includes the national encryption algorithm system and the international algorithm system. The negotiated third encryption algorithm list also only includes the national encryption algorithm system. The terminal is suitable for domestic use, and the Internet of Things platform can be deployed domestically or abroad, and can connect to domestic and international terminals at the same time.

[0059] Another situation is: the first encryption algorithm list supported by the terminal only includes the international algorithm system, and the second encryption algorithm list supported by the IoT platform includes both the national encryption algorithm system and the international algorithm system, then the negotiated third encryption algorithm list also only includes the international algorithm system. The terminal is suitable for international use, and the IoT platform can be deployed domestically or abroad, and can access domestic and international terminals at the same time.

[0060] Another situation is: the first encryption algorithm list supported by the terminal includes the international algorithm system and the international algorithm system, and the second encryption algorithm list supported by the IoT platform also includes the national encryption algorithm system and the international algorithm system, then the negotiated third encryption algorithm list also includes the national encryption algorithm system and the international algorithm system. The terminal is suitable for both domestic and international usage scenarios, and the IoT platform can be deployed domestically or abroad, and can access domestic and international terminals at the same time.

[0061] Among them, if the third encryption algorithm list contains both the national secret algorithm system and the international algorithm system, the national secret algorithm system algorithm will be used first. Giving priority to the national secret algorithm is suitable for domestic usage habits and is conducive to the promotion of the national secret algorithm.

[0062] Among them, the second encryption algorithm list of the Internet of Things platform can be pre-configured, and new encryption algorithms can also be registered and added through requests to ensure compatibility with subsequent new encryption algorithms.

[0063] The negotiation request may further carry identification information, geographic location information, country information, etc. of the terminal to identify the environment in which the terminal is located, so as to automatically select a more suitable encryption algorithm during matching.

[0064] Among them, the first encryption algorithm can be selected according to the environment in which the terminal is located, and a more suitable encryption algorithm is selected first. For example, when the terminal supports both the national encryption and international algorithm systems, it is first identified that the terminal is currently in a domestic environment, and then only the encryption algorithm of the national encryption algorithm system is sent in the negotiation request. This reduces the matching calculation time, improves the matching efficiency, and facilitates the promotion of the national encryption algorithm.

[0065] On the other hand, Figure 2 As shown, a communication encryption negotiation receiving method is provided, which is applied to communication encryption between an Internet of Things platform and a terminal, and includes the following steps:

[0066] S21: receiving a negotiation request sent by the terminal,

[0067] S22: Acquire a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request;

[0068] S23: According to the first encryption algorithm list supported by the terminal, query and match with the second encryption algorithm list supported by itself, and obtain the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0069] S24: Send the third encryption algorithm list to the terminal;

[0070] S25: Use the third encryption algorithm list to encrypt communications.

[0071] The program corresponding to the method of this embodiment may be run on a computer terminal, for example Figure 7 The communication encryption negotiation shown in FIG. 1 is on the computer device corresponding to the IoT platform.

[0072] Among them, any one of the first encryption algorithm list, the second encryption algorithm list and the third encryption algorithm list respectively includes one or more algorithms in the national encryption algorithm system and / or the international algorithm system.

[0073] Among them, if the third encryption algorithm list contains algorithms of both the national secret algorithm system and the international algorithm system, the algorithms of the national secret algorithm system will be given priority.

[0074] On the other hand, Figure 3 As shown, a communication encryption negotiation terminal is provided, which is applied to communicate with an Internet of Things platform, including:

[0075] The request sending module 101 is used to send a negotiation request to the Internet of Things platform, so that the Internet of Things platform obtains a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request, and queries and matches the second encryption algorithm list supported by the terminal according to the first encryption algorithm list supported by the terminal, and obtains the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0076] The information receiving module 102 is used to receive the third encryption algorithm list sent by the Internet of Things platform;

[0077] The communication encryption module 103 is used to perform communication encryption using the third encryption algorithm list.

[0078] It also includes a terminal encryption algorithm library 104 for storing and reading the first encryption algorithm list.

[0079] On the other hand, Figure 4 As shown, a communication encryption negotiation IoT platform is provided, which is applied to communicate with a terminal, including:

[0080] The request receiving module 401 is used to receive the negotiation request sent by the terminal;

[0081] The terminal algorithm acquisition module 402 is used to acquire a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request;

[0082] The algorithm matching module 403 is used to query and match the second encryption algorithm list supported by the terminal according to the first encryption algorithm list supported by the terminal, and obtain the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list;

[0083] An information sending module 404 is used to send the third encryption algorithm list to the terminal;

[0084] The communication encryption module 405 is used to perform communication encryption using the third encryption algorithm list.

[0085] The platform encryption algorithm library 406 is also included, which is used for storing and reading the second encryption algorithm list.

[0086] On the other hand, Figure 5 As shown, a communication encryption negotiation Internet of Things system is provided, including: the above-mentioned communication encryption negotiation terminal 100 and a communication encryption negotiation Internet of Things platform 400. Among them, one communication encryption negotiation Internet of Things platform 400 is connected to multiple communication encryption negotiation terminals 100.

[0087] Furthermore, if Figure 6 The figure is a schematic diagram of the whole process of an embodiment of a communication encryption negotiation Internet of Things system. The communication encryption negotiation terminal and the communication encryption negotiation Internet of Things platform include the following steps:

[0088] 1. The communication encryption negotiation terminal sends a ClientHello negotiation request. In the information carried, sessionId is the session ID, ts is the timestamp, and the first encryption algorithm list may include the international algorithm system and the national encryption algorithm system.

[0089] 2. Communication encryption negotiation After receiving the negotiation request, the IoT platform parses the request to obtain the first encryption algorithm list, and queries the platform encryption algorithm library corresponding to the platform itself to obtain the second encryption algorithm list, and then matches the first and second encryption algorithm lists to obtain the intersection to obtain the third encryption algorithm list.

[0090] 3. Communication encryption negotiation The IoT platform sends a ServerHello negotiation response message to the communication encryption negotiation terminal, carrying the corresponding session id, timestamp ts, and the third encryption algorithm list.

[0091] 4. The communication encryption negotiation terminal and the communication encryption negotiation IoT platform use the third encryption algorithm list to encrypt communication.

[0092] Furthermore, if Figure 7 As shown, the above-mentioned communication encryption negotiation terminal or the computer device corresponding to the communication encryption negotiation Internet of Things platform is provided, including:

[0093] A processor, a memory and a communication circuit, wherein the processor is connected to the memory and the communication circuit respectively;

[0094] Among them, the communication circuit is used for communication connection, the memory is used to store a computer program, and the processor is used to execute the computer program to implement any of the above methods.

[0095] See also Figure 7 The computer device 200 described in the embodiment of the present application may specifically include a processor 210 and a memory 220 . The memory 220 is coupled to the processor 210 .

[0096] The processor 210 is used to control the operation of the computer device 200. The processor 210 may also be referred to as a CPU (Central Processing Unit). The processor 210 may be an integrated circuit chip having signal processing capabilities. The processor 210 may also be a general-purpose processor, 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. A general-purpose processor may be a microprocessor or the processor 210 may also be any conventional processor, etc.

[0097] The memory 220 is used to store computer programs, and may be a RAM, a ROM, or other types of storage terminals. Specifically, the memory 220 may include one or more computer-readable storage media, which may be non-transitory. The memory 220 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage terminals, flash memory storage terminals. In some embodiments, the non-transitory computer-readable storage medium in the memory 220 is used to store at least one program code.

[0098] The processor 210 is used to execute the computer program stored in the memory 220 to implement the methods described in the various method embodiments of the present application.

[0099] In some embodiments, the computer device 200 may further include: a peripheral terminal interface 230 and at least one peripheral terminal. The processor 210, the memory 220 and the peripheral terminal interface 230 may be connected via a bus or a signal line. Each peripheral terminal may be connected to the peripheral terminal interface 230 via a bus, a signal line or a circuit board. Specifically, the peripheral terminal includes: at least one of a radio frequency circuit 240, a display screen 250, an audio circuit 260 and a power supply 270.

[0100] The peripheral terminal interface 230 may be used to connect at least one peripheral terminal related to I / O (Input / output) to the processor 210 and the memory 220. In some embodiments, the processor 210, the memory 220, and the peripheral terminal interface 230 are integrated on the same chip or circuit board; in some other implementations, any one or two of the processor 210, the memory 220, and the peripheral terminal interface 230 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0101] The radio frequency circuit 240 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 240 communicates with the communication network and other IoT devices through electromagnetic signals, and the radio frequency circuit 240 is the communication circuit of the computer device 200. The radio frequency circuit 240 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 240 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, an operator identity module card, and the like. The radio frequency circuit 240 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 240 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0102] The display screen 250 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 250 is a touch display screen, the display screen 250 also has the ability to collect touch signals on the surface or above the surface of the display screen 250. The touch signal can be input to the processor 210 as a control signal for processing. At this time, the display screen 250 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 250 can be one, set on the front panel of the computer device 200; in other embodiments, the display screen 250 can be at least two, respectively set on different surfaces of the computer device 200 or in a folding design; in other embodiments, the display screen 250 can be a flexible display screen, set on the curved surface or folding surface of the computer device 200. Even, the display screen 250 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 250 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0103] The audio circuit 260 may include a microphone and a speaker. The microphone is used to collect sound waves from the operator and the environment, and convert the sound waves into electrical signals and input them into the processor 210 for processing, or input them into the radio frequency circuit 240 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there can be multiple microphones, which are respectively arranged at different parts of the computer device 200. The microphone can also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 210 or the radio frequency circuit 240 into sound waves. The speaker can be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 260 may also include a headphone jack.

[0104] The power supply 270 is used to power various components in the computer device 200. The power supply 270 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 270 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0105] For a detailed description of the functions and execution processes of each functional module or component in the IoT device embodiment of the present application, reference can be made to the description in the above-mentioned method embodiments of the present application, which will not be repeated here.

[0106] In the several embodiments provided in the present application, it should be understood that the disclosed IoT devices and methods can be implemented in other ways. For example, the various embodiments of the IoT devices described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0109] On the other hand, the present application provides a computer-readable storage medium storing a computer program, which can be executed by a processor to implement any of the above communication encryption negotiation sending methods, or to implement any of the above communication encryption negotiation receiving methods.

[0110] See also Figure 8, if the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium 300. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions / computer programs to enable an IoT device (which can be a personal computer, server, or network terminal, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical disks, and electronic terminals such as computers, mobile phones, laptops, tablet computers, cameras, etc. having the above-mentioned storage media.

[0111] The description of the execution process of the program data in the computer-readable storage medium can refer to the description in the above-mentioned method embodiments of the present application, which will not be repeated here.

[0112] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

[0113] To sum up, the present application has the following beneficial effects: through the present application method, the terminal connected to the Internet of Things platform confirms the encryption algorithm system for communication between the two parties through self-negotiation, and the terminal automatically enables the encryption algorithm system supported by the platform for communication encryption, thereby reducing operation and maintenance configuration or user usage costs.

[0114] Furthermore, different algorithm lists are configured according to applicable scenarios, so as to flexibly meet various usage scenarios.

[0115] Furthermore, when both the terminal and the IoT platform support the national encryption and international algorithm systems, the negotiation mechanism of this application is used to give priority to the use of the national encryption algorithm, which is more suitable for domestic usage habits and is conducive to the promotion of the national encryption algorithm.

[0116] Furthermore, the second encryption algorithm list of the IoT platform can be pre-configured, and new encryption algorithms can also be registered and added through requests to be compatible with subsequent new encryption algorithms.

[0117] Furthermore, the negotiation request may further carry identification information, geographic location information, country information, etc. of the terminal to identify the environment in which the terminal is located, so as to automatically select a more suitable encryption algorithm during matching.

[0118] Furthermore, the first encryption algorithm can be selected according to the environment in which the terminal is located, and a more suitable encryption algorithm is selected first. For example, when the terminal supports both the national encryption and international algorithm systems, it is first identified that the terminal is currently in a domestic environment, and then only the encryption algorithm of the national encryption algorithm system is sent in the negotiation request. This reduces the matching calculation time, improves the matching efficiency, and facilitates the promotion of the national encryption algorithm.

Claims

1. A communication encryption negotiation and sending method, applied to communication encryption between an Internet of Things platform and a terminal, characterized in that: The following steps are involved: S11: Send a negotiation request to the IoT platform, so that the IoT platform obtains a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request, and queries and matches the first encryption algorithm list supported by the terminal with the second encryption algorithm list supported by the terminal, and obtains the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list; S12: Receive the third encryption algorithm list sent by the Internet of Things platform; S13: Use the third encryption algorithm list to perform communication encryption.

2. The communication encryption negotiation sending method according to claim 1, characterized in that: Any one of the first encryption algorithm list, the second encryption algorithm list and the third encryption algorithm list respectively includes one or more algorithms in the national encryption algorithm system and / or the international algorithm system.

3. The communication encryption negotiation sending method according to claim 2, characterized in that: If the third encryption algorithm list contains algorithms of both the national secret algorithm system and the international algorithm system, the algorithms of the national secret algorithm system will be given priority.

4. A communication encryption negotiation receiving method, applied to communication encryption between an Internet of Things platform and a terminal, characterized in that: The following steps are involved: S21: receiving a negotiation request sent by the terminal, S22: Acquire a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request; S23: According to the first encryption algorithm list supported by the terminal, query and match with the second encryption algorithm list supported by itself, and obtain the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list; S24: Sending the third encryption algorithm list to the terminal; S25: Use the third encryption algorithm list to perform communication encryption.

5. The communication encryption negotiation receiving method according to claim 4, characterized in that: Any one of the first encryption algorithm list, the second encryption algorithm list and the third encryption algorithm list respectively includes one or more algorithms in the national encryption algorithm system and / or the international algorithm system.

6. The communication encryption negotiation receiving method according to claim 5, characterized in that: If the third encryption algorithm list contains algorithms of both the national secret algorithm system and the international algorithm system, the algorithms of the national secret algorithm system will be given priority.

7. A communication encryption negotiation terminal, used for communicating with an Internet of Things platform, characterized in that: include: A request sending module, used to send a negotiation request to the Internet of Things platform, so that the Internet of Things platform obtains a first encryption algorithm list supported by the communication encryption negotiation terminal according to the information carried in the negotiation request, and queries and matches with a second encryption algorithm list supported by itself according to the first encryption algorithm list supported by the communication encryption negotiation terminal, and obtains the intersection of the first encryption algorithm list and the second encryption algorithm list as a third encryption algorithm list after negotiation; An information receiving module, used to receive the third encryption algorithm list sent by the Internet of Things platform; A communication encryption module is used to perform communication encryption using the third encryption algorithm list.

8. A communication encryption negotiation Internet of Things platform, used for communicating with a terminal, characterized in that: include: A request receiving module, used for accepting a negotiation request sent by the terminal; A terminal algorithm acquisition module, used to acquire a first encryption algorithm list supported by the terminal according to the information carried in the negotiation request; An algorithm matching module is used to query and match the first encryption algorithm list supported by the terminal with the second encryption algorithm list supported by the terminal, and obtain the intersection of the first encryption algorithm list and the second encryption algorithm list as the negotiated third encryption algorithm list; An information sending module, used to send the third encryption algorithm list to the terminal; A communication encryption module is used to perform communication encryption using the third encryption algorithm list.

9. A communication encryption negotiation Internet of Things system, characterized in that: include: The communication encryption negotiation terminal as described in claim 7 and the communication encryption negotiation Internet of Things platform as described in claim 8.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and the computer program can be executed by a processor to implement the communication encryption negotiation sending method as described in any one of claims 1-3, or to implement the communication encryption negotiation receiving method as described in any one of claims 4-6.