A kind of local communication module encryption and non-encryption automatic switching circuit

By integrating an encryption module and an automatic data switching circuit into the local communication module, the hardware structure enables automatic switching between encryption and unencryption, solving the problems of easy copying of software keys and insufficient computing power, and achieving secure and efficient data transmission.

CN116720226BActive Publication Date: 2026-11-20ZHEJIANG LIERDA INTERNET OF THINGS TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310288947.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2026-11-20
Estimated Expiration
2043-03-21

AI Technical Summary

Technical Problem

In existing technologies, software keys are easily copied, devices have limited remaining computing power, and encryption algorithms are simple and easily cracked, resulting in insufficient data transmission security.

Method used

An encryption module is integrated into the local communication module's functional circuit. The data automatic switching circuit automatically switches between encrypted and unencrypted modes. The hardware structure enables quick and simple switching between encryption and unencrypted modes. A double-pole double-throw switch and the output level switching of the MPU_ENABLEn terminal are used to achieve automatic hardware identification of whether encryption is enabled or disabled.

Benefits of technology

It enables quick and easy switching between encrypted and unencrypted modes, features a simple structure, low investment in modular design, flexible configuration, automatic hardware recognition of encryption requirements without human intervention, compatibility with existing hardware designs, and improved data transmission security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116720226B_ABST
    Figure CN116720226B_ABST
Patent Text Reader

Abstract

The application discloses a kind of applied local communication module encryption and non-encryption automatic switching circuit;By integrating encryption module on local communication module function circuit, the data automatic switching switch that passes is automatically switched between encryption and non-encryption, and encryption and non-encryption are switched by double-pole double-throw switch and MPU_ENABLEn output end output level, encryption and non-encryption are switched using the hardware structure fast and simple, simple structure, modular design, low investment, flexible configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and more specifically to a circuit for automatic switching between encrypted and unencrypted modes in a local communication module. Background Technology

[0002] The local communication module, as a crucial component of the concentrator, is widely used in data acquisition across various power networks. As a core device in the electricity information acquisition system, the concentrator's data transmission to devices such as electricity meters must be achieved through the local communication unit. The data collected is sensitive and critical, primarily in two aspects: First, economic efficiency—the collected electricity data is used for customer billing and also for analyzing customer electricity usage habits, making it vital customer data. Second, security—the downlink can send control signals to control the opening and closing of circuit breakers, ensuring timely power cut-off in case of abnormal power consumption or short-circuit surges, protecting personnel and property; it can also improve power efficiency by switching distribution lines and rationally scheduling power transmission. In these two main applications, the data transmitted by the local communication module is extremely important; it cannot be lost, nor can it be illegally read or tampered with. Therefore, data encryption technology is necessary to prevent data theft or alteration during transmission.

[0003] The traditional method uses software encryption. A pre-built software key is used, and before data transmission, the communication module, electricity meter, or concentrator utilizes the device's remaining computing power to encrypt the data. The advantage of this method is its low cost; the disadvantages are that the software key can be copied, the device's remaining computing power is limited, and the encryption algorithm is simple and easily cracked.

[0004] For example, a "portable hard drive integrating encrypted and unencrypted areas and its data storage method" disclosed in Chinese patent literature, publication number CN105389526B, includes: a public interface, a login device, a memory, an encrypted interface, and a second storage area connected in sequence. The second storage area is also connected to a first storage area via a switching device. The first storage area is connected to the public interface and is used to store unencrypted data. The second storage area is used to store encrypted data. The switching device reads a successful login verification identifier from the memory as needed and uses the successful login verification identifier to exchange data between the first and second storage areas. This invention has the advantages of integrating the encrypted and unencrypted areas into a single portable hard drive, making it convenient to carry, and allowing the data in the encrypted and unencrypted areas to be switched according to user needs. However, the encryption method is still obtained through an internal software algorithm, requiring reserved storage space in the memory for storing encryption, thus consuming software computing power. Summary of the Invention

[0005] To address the problems of existing technologies, such as the ability to copy software keys, limited remaining computing power during decryption, and easily cracked encryption algorithms, this invention provides an automatic switching circuit for encryption and non-encryption in a local communication module. By integrating an encryption module into the functional circuit of the local communication module, an automatic data switching circuit automatically switches between encryption and non-encryption. Encryption and non-encryption are switched via a double-pole double-throw switch and the output level of the MPU_ENABLEn terminal. This hardware structure enables quick and simple switching between encryption and non-encryption, resulting in a simple, modular design with low investment and flexible configuration. A further objective of this invention is to directly determine encryption or non-encryption through hardware structure, without consuming software computing power. The pluggable design allows for flexible selection of different encryption module schemes, achieving automatic hardware identification of encryption requirements without human intervention. Furthermore, it achieves compatibility and adaptability between encryption and non-encryption functions without altering the existing local communication module hardware design.

[0006] The above-mentioned technical problems of the present invention are mainly solved by the following technical solutions: An automatic switching circuit for encryption and unencryption in a local communication module includes: The local communication module functional circuit implements the functions of the local communication module and is responsible for data service communication. The automatic data switching circuit is used to detect whether an encryption module has been inserted, and to determine whether to encrypt the business data exchanged between the local communication module and the concentrator based on the detection result. The encryption module exchanges communication data and encrypted communication data with the automatic data switching circuit, and encrypts the business data exchanged between the local communication module and the concentrator. The connector facilitates plugging and unplugging of the encryption module and provides corresponding data interfaces and switching control I / O. The service unit interface circuit connects to the concentrator's data port and is the only external interface circuit for the entire unit.

[0007] By integrating an encryption module into the local communication module's functional circuit, and automatically switching between encryption and non-encryption via an automatic data switching circuit, and switching between encryption and non-encryption via a double-pole double-throw switch and the MPU_ENABLEn output level of the MPU, the hardware structure enables a quick and simple switching between encryption and non-encryption. The structure is simple, modular design requires low investment, and configuration is flexible.

[0008] Preferably, the circuit includes a local communication module functional circuit, an encryption module, and a service unit interface circuit, all connected to the automatic data switching circuit. The encryption module exchanges communication data and encrypted communication data with the automatic data switching circuit and transmits control information to the automatic data switching circuit. The local communication module (MCU) exchanges communication data with the automatic data switching circuit. The service unit interface circuit exchanges communication data or encrypted communication data with the automatic data switching circuit. By controlling the connection of the encryption module, the automatic data switching circuit switches to different loops to achieve encrypted and unencrypted data transmission.

[0009] Preferably, when the automatic data switching circuit detects the insertion of the encryption module, it sends the service data to the encryption module for encryption / decryption processing; when no encryption module is detected, it directly connects the service port to the local communication module's data port without any processing. The determination of whether to encrypt data is made by detecting the insertion of the encryption module; this hardware-based determination eliminates the need for software computation.

[0010] Preferably, the automatic data switching circuit includes: port 10 of chip U6 connected to VCC; port 10 of chip U6 connected to the first terminal of capacitor C24; the second terminal of capacitor C24 grounded; ports 7 and 8 of chip U6 connected; port 7 of chip U6 connected to the second terminal of resistor R39; the first terminal of resistor R39 connected to VCC; the second terminal of resistor R39 connected to the output terminal of MPU_ENABLEn; the model of chip U6 is SGM2267YTQD10; ports 1 and 3 of chip U6 connected to the second terminals of resistor R37 and resistor R43 respectively; chip U6 connected to a double-pole double-throw high-speed switch, which determines the connection port based on the voltage output of the MPU_ENABLEn output terminal. This achieves compatibility and self-adaptation between encrypted and unencrypted functions without changing the existing local communication module hardware design.

[0011] Preferably, the encryption module is connected to the base plate via a connector; the MPU_ENABLEn output is connected to port 1 of connector P3; when the encryption module is inserted, the MPU_ENABLEn output of connector P3 outputs a low level, i.e., the data switching IO is low, and the double-pole double-throw high-speed switch switches between ports 1 and 3 of the connection chip U6; when no encryption module is inserted, port 1 of connector P3 is floating, the MPU_ENABLEn output is connected to a pull-up resistor, the MPU_ENABLEn output outputs a high level, i.e., the data switching IO is high, and the double-pole double-throw high-speed switch switches between ports 2 and 4 of the connection chip U6. The connection method is selected based on the voltage level, and the hardware circuit connection relationship is changed through an automatic data switching circuit, thereby achieving the switching between encryption and non-encryption through hardware switching.

[0012] Preferably, when the encryption module is inserted, the data flow is as follows: When sending data, the concentrator sends unencrypted data, which is transmitted to the encryption module for encryption processing. Then, it is transmitted to the local communication module's functional circuit via an automatic data switching circuit, and the local communication module's functional circuit sends the data in encrypted form. When receiving data, the local communication module's functional circuit receives encrypted data, which is then transmitted to the encryption module for decryption processing via the automatic data switching circuit. The encryption module then transmits the decrypted data to the concentrator. This hardware-inserted approach allows for direct data encryption via the encryption module, eliminating the need for additional software computing power.

[0013] Preferably, when no encryption module is inserted, the data flow is as follows: when sending data, the concentrator sends unencrypted data, which is then transmitted to the local communication module's functional circuit, which sends the data in an unencrypted manner; when receiving data, the local communication module's functional circuit receives unencrypted data, which is then transmitted to the concentrator through the automatic data switching circuit, thus realizing the transmission of unencrypted data.

[0014] The beneficial effects of this invention are as follows: 1. It utilizes a hardware structure to quickly and easily switch between encrypted and unencrypted modes. The structure is simple, the modular design requires low investment, and the configuration is flexible. 2. Provide an encryption scheme for the local communication module; 3. It adopts a pluggable design, allowing for flexible selection of different encryption module schemes; 4. It achieves automatic identification of whether encryption is required for the hardware, without the need for human intervention; 5. The local general selection module requires no modification and can use existing mature solutions, saving R&D investment and improving reliability. Attached Figure Description

[0015] Figure 1 This is a system block diagram of the present invention; Figure 2 This is a circuit diagram for the automatic data switching of the present invention. Detailed Implementation

[0016] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] An automatic switching circuit for encryption and unencryption in a local communication module includes: The local communication module functional circuit connects to the automatic data switching circuit to realize the local communication module function and is responsible for data service communication. The MCU in the module exchanges communication data with the automatic data switching circuit.

[0019] The automatic data switching circuit is used to detect whether an encryption module has been inserted, and to determine whether to encrypt the business data exchanged between the local communication module and the concentrator based on the detection result.

[0020] The encryption module exchanges communication data and encrypted communication data with the automatic data switching circuit. It encrypts the service data exchanged between the local communication module and the concentrator, and transmits control information to the automatic data switching circuit. When an encryption module is detected, service data is sent to it for encryption / decryption. When no encryption module is detected, the service port is directly connected to the local communication module's data port without any processing. The encryption module is connected to the baseboard via a connector.

[0021] The connector facilitates the plugging and unplugging of the encryption module and provides corresponding data interfaces and switching control I / O.

[0022] The service unit interface circuit connects to the concentrator's data port and is the only external interface circuit for the entire unit, enabling automatic switching and exchange of communication data or encrypted communication data.

[0023] When an encryption module is inserted, port 1 of connector P3 is low, and port 1 outputs MPU_ENABLEn; in the diagram, MPU_ENABLEn is low, meaning the data switching IO is low. At this time, the double-pole double-throw high-speed switches in the diagram switch to Pin1 and Pin3 of chip U6. The data flow is as follows: When sending data, the concentrator sends unencrypted data, which is first transmitted to the encryption module for encryption processing. Then, it is transmitted to the local communication module's functional circuit via the automatic data switching circuit, and finally, the local communication module's functional circuit sends it out in encrypted form. When receiving data, the local communication module's functional circuit receives encrypted data, sends it to the encryption module for decryption processing via the automatic data switching circuit, and then the encryption module transmits the decrypted data to the concentrator.

[0024] When no encryption module is inserted, port 1 of connector P3 is floating; in the diagram, MPU_ENABLEn is high due to the pull-up resistor, meaning the data switching I / O is high. At this time, Figure 2The double-pole double-throw high-speed switches in the concentrator are uniformly switched to Pin 2 and Pin 4 of chip U6. The data flow is as follows: when sending data, the concentrator sends unencrypted data, which is then transmitted directly to the local communication module's functional circuit via the automatic data switching circuit. Finally, the local communication module's functional circuit transmits the data out in unencrypted form. When receiving data, the local communication module's functional circuit receives the unencrypted data and transmits it directly to the concentrator via the automatic data switching circuit, enabling normal local communication module functions and handling basic data service communication.

[0025] Connector P3 can be a connector with model number FET6ULL-C-RIGHT.

[0026] This invention utilizes a mature hardware encryption system and integrates it into a local communication module. It achieves a complex encryption / decryption system with a simple structure, low modular design investment, and flexible configuration. Simultaneously, it does not alter the existing local communication module hardware design, achieving compatibility and adaptability between encryption and non-encryption functions. Employing a pluggable design, it allows for flexible selection of different encryption module schemes, automatically identifying whether encryption is required without human intervention. Multiple encryption schemes can be selected without changing the hardware design. This invention is compatible with both encryption and non-encryption schemes without requiring hardware design changes; encryption / non-encryption switching is automatic and requires no human intervention.

Claims

1. A circuit for automatic switching between encrypted and unencrypted modes in a local communication module, characterized in that, include: The local communication module functional circuit implements the functions of the local communication module and is responsible for data service communication. The automatic data switching circuit is used to detect whether an encryption module has been inserted, and to determine whether to encrypt the business data exchanged between the local communication module and the concentrator based on the detection result. The encryption module exchanges communication data and encrypted communication data with the automatic data switching circuit, and encrypts the business data exchanged between the local communication module and the concentrator. The connector facilitates plugging and unplugging of the encryption module and provides corresponding data interfaces and switching control I / O. The service unit interface circuit connects to the concentrator's data port and is the only external interface circuit for the entire unit. The automatic data switching circuit includes a double-pole double-throw high-speed switch, which determines the connection port based on the voltage level output from the MPU_ENABLEn output terminal. When the encryption module is inserted, the MPU_ENABLEn output terminal of connector P3 outputs a low level, that is, the data switching IO is low, and the double-pole double-throw high-speed switch switches between port 1 and port 3 of the connection chip U6; When no encryption module is inserted, port 1 of connector P3 is left floating. The output terminal of MPU_ENABLEn is connected to a pull-up resistor, and the output terminal of MPU_ENABLEn outputs a high level, that is, the data switching IO is high. The double-pole double-throw high-speed switch switches between ports 2 and 4 of the connection chip U6.

2. The automatic switching circuit for encryption and unencryption in a local communication module according to claim 1, characterized in that, The circuit includes a local communication module functional circuit, an encryption module, and a service unit interface circuit, all connected to the automatic data switching circuit. The encryption module exchanges communication data and encrypted communication data with the automatic data switching circuit and transmits control information to the automatic data switching circuit. The local communication module functional circuit exchanges communication data with the automatic data switching circuit. The service unit interface circuit exchanges communication data or encrypted communication data with the automatic data switching circuit.

3. The automatic switching circuit for encryption and unencryption in a local communication module according to claim 1, characterized in that, When the automatic data switching circuit detects the insertion of the encryption module, it sends the service data to the encryption module for encryption / decryption processing; when no encryption module is detected, it directly connects the service port to the local communication module's data port without any processing.

4. The automatic switching circuit for encryption and unencryption in a local communication module according to claim 1, characterized in that, The automatic data switching circuit includes: port 10 of chip U6 is connected to VCC; port 10 of chip U6 is connected to the first terminal of capacitor C24; the second terminal of capacitor C24 is grounded; ports 7 and 8 of chip U6 are connected; port 7 of chip U6 is connected to the second terminal of resistor R39; the first terminal of resistor R39 is connected to VCC; the second terminal of resistor R39 is connected to the output terminal of MPU_ENABLEn; the model of chip U6 is SGM2267YTQD10; ports 1 and 3 of chip U6 are respectively connected to the second terminals of resistor R37 and resistor R43; chip U6 includes a double-pole double-throw high-speed switch.

5. The automatic switching circuit for encryption and unencryption in a local communication module according to claim 4, characterized in that, The encryption module is connected to the base plate via a connector; the output terminal of the MPU_ENABLEn is connected to port 1 of connector P3.

6. The automatic switching circuit for encryption and unencryption in a local communication module according to claim 5, characterized in that, When the encryption module is inserted, the data flow is as follows: When sending data, the concentrator sends unencrypted data, which is transmitted to the encryption module for encryption processing. It is then transmitted to the local communication module's functional circuit via the automatic data switching circuit, and the local communication module's functional circuit sends the data in an encrypted manner. When receiving data, the local communication module's functional circuit receives encrypted data, which is then sent to the encryption module for decryption processing via the automatic data switching circuit. The encryption module then transmits the decrypted data to the concentrator.

7. The automatic switching circuit for encryption and unencryption in a local communication module according to claim 5, characterized in that, When no encryption module is inserted, the data flow is as follows: When sending data, the concentrator sends unencrypted data, which is then transmitted to the local communication module's functional circuit, which sends the data in an unencrypted manner; when receiving data, the local communication module's functional circuit receives the unencrypted data, which is then transmitted to the concentrator through the automatic data switching circuit.

Citation Information

Patent Citations

  • Mobile hard disk with integrated encryption area and non-encryption area and data storage method thereof

    CN105389526B

  • Computer chip having switch means for encryption circuit

    JP2015037266A

  • Pluggable transceiver module with encryption capability

    US20070180145A1