High-safety read-write system for interphone and communication method
By introducing a high-security read/write system into the walkie-talkie, and using the MCU and algorithm module in the writing line to generate digital digests for verification, the problem of easy counterfeiting of the writing line is solved, and safe operation of the walkie-talkie is achieved.
Patent Information
- Application Number
- CN202411481370.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-10
AI Technical Summary
The programming cables of existing private network walkie-talkies lack communication security features, making them easy to counterfeit, leading to parameter leaks and causing economic losses and a bad reputation for the company.
A high-security read/write system is adopted. Through the first and second MCUs, algorithm module, random number generator and comparison module in the writing line, a digital digest is generated using random numbers and an initial key to verify the walkie-talkie and the writing line and ensure that they are used in conjunction.
This improves the security of walkie-talkies, prevents counterfeiting by third parties, ensures operation only within compatible equipment rooms, and enhances the safety of walkie-talkie use.
Smart Images

Figure CN119299078A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of intercom reading and writing, and in particular relates to a high-security reading and writing system and a communication method for an intercom. Background Art
[0002] At present, the frequency writing lines of private network walkie-talkies on the market do not have communication confidentiality and security functions. They are only implemented through hardware and are easily imitated by third-party companies, thus causing certain economic losses to the original companies. If the walkie-talkies are used in special industries and third-party frequency writing lines are used to operate the walkie-talkies, it is very easy to cause the leakage of walkie-talkie parameters, thereby causing a certain bad reputation for the company.
[0003] In view of this, the inventor provides a high-security reading and writing system and a communication method for a walkie-talkie to solve the above technical problems. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and propose a high-security read-write system and communication method for walkie-talkies. The walkie-talkies of the system need to be equipped with corresponding frequency writing lines. Only when all the matching equipment is available can the walkie-talkies be operated with frequency writing software or burning tool software, so as to ensure that the frequency writing lines are not copied, and at the same time, the threshold of walkie-talkies is also improved. The system and communication method are particularly suitable for some special users, such as police, troops and other users, who are very sensitive to walkie-talkie data. In order to prevent leakage, this high-security read-write system for walkie-talkies can be used.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] On the one hand, the present invention provides a high-security reading and writing system for a walkie-talkie, comprising a terminal device, wherein the terminal device is connected to the walkie-talkie via a frequency writing line, wherein the frequency writing line comprises a first MCU and a first algorithm module connected to the first MCU, wherein the walkie-talkie comprises a second MCU connected to the first MCU, wherein the second MCU is respectively connected to a second algorithm module, a comparison module, and a random number generator connected to the first MCU;
[0007] The random number generator is used to generate a random number and send the random number to the first MCU and the second MCU;
[0008] The first algorithm module is used to generate a first digital digest and send the first digital digest to the first MCU;
[0009] The second algorithm module is used to generate a second digital digest and send the second digital digest to the second MCU;
[0010] The comparison module is used to receive the first digital digest and the second digital digest, and compare the two.
[0011] Furthermore, a first initial key is set for a first algorithm module of the frequency writing line, and the first algorithm module is used to generate a first digital summary using the first initial key and a random number sent by the first MCU.
[0012] Furthermore, a second initial key is set for a second algorithm module of the intercom, and the second algorithm module is used to generate a second digital summary using the second initial key and a random number sent by the second MCU.
[0013] Further, the first algorithm module and the second algorithm module are the same;
[0014] Wherein, the first algorithm module includes a SHA algorithm module.
[0015] Furthermore, the random number generator is a random number generator that generates 32-bit pseudo-random numbers.
[0016] On the other hand, the present invention provides a communication method for a high-security reading and writing system for an intercom, based on the above-mentioned high-security reading and writing system for an intercom, comprising the following steps:
[0017] Step 1: Connect the intercom, frequency writing line and terminal equipment in sequence;
[0018] Step 2: the frequency writing line generates a first digital summary, the intercom generates a second digital summary, and the frequency writing line sends the generated first digital summary to the intercom;
[0019] Step 3: The intercom compares the first digital summary and the second digital summary. If the two are the same, the intercom sends a verification pass command to the frequency writing line, and the terminal device can perform normal read and write frequency operations on the intercom through the frequency writing line; otherwise, the intercom sends a verification failure command to the frequency writing line.
[0020] Furthermore, the specific process of step 2 is as follows:
[0021] Step 2.1, the random number generator of the intercom generates a random number, and sends the random number to the first MCU and the second MCU respectively;
[0022] Step 2.2: The first MCU sends the random number generated in step 2.1 to the first algorithm module, and the second MCU sends the random number generated in step 2.1 to the second algorithm module;
[0023] Step 2.3, setting a second initial key on the intercom, the second algorithm module is used to calculate the second initial key and the random number to generate a second digital summary, and the second algorithm module sends the second digital summary to the second MCU;
[0024] Step 2.4, set a first initial password on the frequency writing line, the first algorithm module is used to generate a first digital summary using the first initial key and a random number, the first algorithm module sends the first digital summary to the first MCU, and then the first MCU sends the first digital summary to the second MCU.
[0025] Furthermore, the step 3 specifically includes: the second MCU sends the received first digital summary and the second digital summary to the comparison module for comparison. If the two are the same, the frequency writing link mark of the walkie-talkie is connected, and the walkie-talkie sends a verification pass command to the frequency writing line, and the frequency writing line keeps the walkie-talkie and the terminal device connected; otherwise, the frequency writing link mark of the walkie-talkie is disconnected, and the walkie-talkie is not connected to the terminal device.
[0026] Further, the first algorithm module is the same as the first algorithm module;
[0027] Wherein, the first algorithm module includes a SHA algorithm module.
[0028] Compared with the prior art, the present invention has the following beneficial effects:
[0029] 1) The present invention proposes a high-security read-write system for walkie-talkies. The walkie-talkies of the system need to be equipped with corresponding frequency writing lines. Only when all the matching lines are complete can the walkie-talkies be operated using frequency writing software or burning tool software, thereby preventing a third party from imitating and selling the frequency writing lines of the walkie-talkies, thereby ensuring the safe use of the walkie-talkies.
[0030] 2) The present invention proposes a communication method for a high-security read-write system for walkie-talkies. The method is based on the read-write system of the present invention, and enables the walkie-talkie and the writing line to generate digital summaries using corresponding random numbers and initial keys. The digital summaries generated by the walkie-talkie and the writing line are compared respectively. The terminal device can operate the walkie-talkie only after verification. This method improves the security of the walkie-talkie. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings are incorporated in and constitute a part of this specification and, together with the description, serve to explain the principles of the present invention.
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0033] Figure 1 This is a schematic diagram of the structure of a high-security read-write system for an intercom according to the present invention;
[0034] Figure 2 It is a schematic diagram of the internal structure of the high-security reading and writing system for walkie-talkies of the present invention;
[0035] Figure 3 The present invention is a flow chart of a communication method for a high-security read-write system for an intercom.
[0036] Among them: 1 is the terminal device;
[0037] 2 is a frequency writing line; 20 is a first MCU; 21 is a first algorithm module;
[0038] 3 is an intercom; 30 is a second MCU; 31 is a random number generator; 32 is a second algorithm module; 33 is a comparison module. DETAILED DESCRIPTION
[0039] Here, exemplary embodiments will be described in detail, and the embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are only examples consistent with some aspects of the present invention described in detail in the appended claims.
[0040] See also Figure 1-2 On the one hand, an embodiment of the present invention provides a high-security read-write system for a walkie-talkie, including a terminal device 1, the terminal device 1 is connected to a walkie-talkie 3 via a frequency writing line 2, the frequency writing line 2 includes a first MCU 20 and a first algorithm module 21 connected to the first MCU 20, and also includes a link switch and other safety circuits, the link switch is used to control the power on and off of the frequency writing line 2, and the other safety circuits are used to provide a safe operating environment for the frequency writing line 2; the walkie-talkie 3 includes a second MCU 30 connected to the first MCU 20, the second MCU 30 is respectively connected to a second algorithm module 32, a comparison module 33 and a random number generator 31 connected to the first MCU 20; specifically, in this embodiment, the first MCU 20 selects 8051, and the second MCU 30 selects OMAP L138.
[0041] The random number generator 31 is used to generate a random number and send the random number to the first MCU 20 and the second MCU 30;
[0042] The first algorithm module 21 is used to generate a first digital digest and send the first digital digest to the first MCU 20;
[0043] The second algorithm module 32 is used to generate a second digital summary and send the second digital summary to the second MCU 30;
[0044] The comparison module 33 is used to receive the first digital digest and the second digital digest and compare the two. Specifically, in this embodiment, the comparison module 33 can be a logic judgment program.
[0045] Furthermore, a first initial key is set for the first algorithm module 21 of the frequency writing line 2 , and the first algorithm module 21 is used to generate a first digital summary using the first initial key and a random number sent by the first MCU 20 .
[0046] Furthermore, a second initial key is set in the second algorithm module 32 of the intercom 3 , and the second algorithm module 32 is used to generate a second digital summary using the second initial key and the random number sent by the second MCU 30 .
[0047] Further, the first algorithm module 21 and the second algorithm module 32 are the same;
[0048] The first algorithm module 21 uses a SHA algorithm module. Of course, other similar digital digest algorithms can also be selected. Specifically, the SHA algorithm module can be implemented by hardware or software in the intercom test. In this embodiment, hardware is used for implementation. Specifically, the selected SHA chip is required to be small in size and low in power consumption, such as TI's BQ26100 series.
[0049] It should be noted that the first initial key and the second initial key must be guaranteed not to be leaked, and both the first initial key and the second initial key may vary according to the selected SHA algorithm module or a similar algorithm module.
[0050] The system uses a random number and an initial key to generate a digital summary of a fixed length through a SHA algorithm module. Since the random number is different each time, the digital summary obtained is also unique each time, thereby avoiding deceiving the terminal device 1 through a fixed return value.
[0051] Specifically, one end of the frequency writing line 2 can be connected to the intercom 3 via USB or serial port, and the other end can be connected to the terminal device 1 via USB to serial port. The frequency writing line 2 can be powered by the USB port of the terminal device 1, or by the power supply of the intercom 3 itself.
[0052] In this embodiment, the random number generator 31 is a random number generator that generates a 32-bit pseudo-random number. This pseudo-random number can be bound to information such as the serial number of the intercom 3 to achieve greater security.
[0053] See also Figure 3 On the other hand, an embodiment of the present invention provides a communication method for a high-security read-write system for a walkie-talkie, based on the above-mentioned high-security read-write system for a walkie-talkie, comprising the following steps:
[0054] Step 1: connect the intercom 3, the frequency writing line 2 and the terminal device 1 in sequence via USB or serial port;
[0055] Step 2, the frequency writing line 2 generates a first digital summary, the intercom 3 generates a second digital summary, and the frequency writing line 2 sends the generated first digital summary to the intercom 3;
[0056] Step 3, the intercom 3 compares the first digital summary and the second digital summary. If the two are the same, the intercom 3 sends a verification pass command to the frequency writing line 2, and the terminal device 1 can perform normal read and write frequency operations on the intercom 3 through the frequency writing line 2; otherwise, the intercom 3 sends a verification failure command to the frequency writing line 2.
[0057] The specific process of step 2 is as follows:
[0058] Step 2.1, the random number generator 31 of the intercom 3 generates a random number, and sends the random number to the first MCU 20 and the second MCU 30 respectively;
[0059] Step 2.2, the first MCU 20 sends the random number generated in step 2.1 to the first algorithm module 21, and the second MCU 30 sends the random number generated in step 2.1 to the second algorithm module 32;
[0060] Step 2.3, setting a second initial key on the intercom 3, the second algorithm module 32 is used to calculate the second initial key and the random number to generate a second digital summary, and the second algorithm module 32 sends the second digital summary to the second MCU 30;
[0061] Step 2.4, set a first initial password on the frequency writing line 2, the first algorithm module 21 is used to generate a first digital summary using the first initial key and the random number, the first algorithm module 21 sends the first digital summary to the first MCU 20, and then the first MCU 20 sends the first digital summary to the second MCU 30 of the intercom 3 via a serial port line or a USB line.
[0062] Among them, step 3 specifically includes: the second MCU 30 sends the received first digital summary and the second digital summary to the comparison module 33 for comparison. If the two are the same, the frequency writing link mark of the walkie-talkie 3 is connected, and the walkie-talkie 3 sends a verification pass command to the frequency writing line 2. At this time, the frequency writing line 2 switches the frequency writing line link to the direct mode through the first MCU 20, and the frequency writing line 2 keeps the walkie-talkie 3 and the terminal device 1 physically connected. After the verification is passed, normal reading and writing frequency operations can be performed; otherwise, the frequency writing link mark of the walkie-talkie 3 is disconnected, and the walkie-talkie 3 is not connected to the terminal device 1.
[0063] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention.
[0064] It should be understood that the present invention is not limited to what has been described above and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.
Claims
1. A high-security reading and writing system for walkie-talkies, characterized in that: The invention comprises a terminal device (1), wherein the terminal device (1) is connected to an intercom (3) via a frequency writing line (2), wherein the frequency writing line (2) comprises a first MCU (20) and a first algorithm module (21) connected to the first MCU (20), wherein the intercom (3) comprises a second MCU (30) connected to the first MCU (20), wherein the second MCU (30) is respectively connected to a second algorithm module (32), a comparison module (33), and a random number generator (31) connected to the first MCU (20); The random number generator (31) is used to generate a random number and send the random number to the first MCU (20) and the second MCU (30); The first algorithm module (21) is used to generate a first digital digest and send the first digital digest to a first MCU (20); The second algorithm module (32) is used to generate a second digital digest and send the second digital digest to a second MCU (30); The comparison module (33) is used for receiving the first digital digest and the second digital digest, and comparing the two.
2. The high-security reading and writing system for intercom according to claim 1 is characterized in that: A first initial key is set for a first algorithm module (21) of the frequency writing line (2), wherein the first algorithm module (21) is used to generate a first digital summary using the first initial key and a random number sent by a first MCU (20).
3. The high-security reading and writing system for intercom according to claim 1 is characterized in that: A second initial key is set for the second algorithm module (32) of the intercom (3), and the second algorithm module (32) is used to generate a second digital summary using the second initial key and a random number sent by the second MCU (30).
4. The high-security reading and writing system for intercom according to claim 1 is characterized in that: The first algorithm module (21) and the second algorithm module (32) are the same; Wherein, the first algorithm module (21) includes a SHA algorithm module.
5. The high-security reading and writing system for intercom according to claim 1 is characterized in that: The random number generator (31) is a random number generator that generates 32-bit pseudo-random numbers.
6. A communication method for a high-security read-write system of an intercom, characterized in that: The high-security reading and writing system for walkie-talkies according to any one of claims 1 to 5 comprises the following steps: Step 1: sequentially connect the intercom (3), the frequency writing line (2) and the terminal device (1); Step 2: the frequency writing line (2) generates a first digital summary, the intercom (3) generates a second digital summary, and the frequency writing line (2) sends the generated first digital summary to the intercom (3); Step 3, the intercom (3) compares the first digital summary with the second digital summary. If the two are the same, the intercom (3) sends a verification success command to the frequency writing line (2), and the terminal device (1) can perform normal frequency reading and writing operations on the intercom (3) through the frequency writing line (2); otherwise, the intercom (3) sends a verification failure command to the frequency writing line (2).
7. The communication method for a high-security read-write system for an intercom according to claim 6, characterized in that: The specific process of step 2 is as follows: Step 2.1, the random number generator (31) of the intercom (3) generates a random number, and sends the random number to the first MCU (20) and the second MCU (30) respectively; Step 2.2: The first MCU (20) sends the random number generated in step 2.1 to the first algorithm module (21), and the second MCU (30) sends the random number generated in step 2.1 to the second algorithm module (32); Step 2.3, setting a second initial key on the intercom (3), the second algorithm module (32) is used to calculate the second initial key and the random number to generate a second digital summary, and the second algorithm module (32) sends the second digital summary to the second MCU (30); Step 2.4, setting a first initial password on the frequency writing line (2), the first algorithm module (21) is used to generate a first digital summary using the first initial key and the random number, the first algorithm module (21) sends the first digital summary to the first MCU (20), and then the first MCU (20) sends the first digital summary to the second MCU (30).
8. The communication method for a high-security read-write system for an intercom according to claim 7, characterized in that: The step 3 specifically comprises: the second MCU (30) sends the received first digital digest and the second digital digest to the comparison module (33) for comparison; if the two are the same, the frequency writing link mark of the intercom (3) is connected, the intercom (3) sends a verification pass command to the frequency writing line (2), and the frequency writing line (2) keeps the intercom (3) and the terminal device (1) connected; otherwise, the frequency writing link mark of the intercom (3) is disconnected, and the intercom (3) is not connected to the terminal device (1).
9. The communication method for a high-security read-write system for an intercom according to claim 7, characterized in that: The first algorithm module (21) is the same as the first algorithm module (21); Wherein, the first algorithm module (21) includes a SHA algorithm module.