Intelligent block chain point-to-point instant encryption communication method and system

By obtaining the signal-to-noise ratio and transmission time between devices in the blockchain point-to-point instant communication system, and dynamically adjusting the signal transmission path, the problem of signal transmission quality and duration optimization in traditional communication technology is solved, and efficient and stable communication and excellent user experience are achieved.

CN119561784AActive Publication Date: 2025-03-04SHANGHAI JIUWU INTERNET TECH CO LTD +1
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510105024.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-03-04
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

Traditional centralized instant messaging technology has single point of failure, high server pressure and data privacy issues. How to apply blockchain technology to instant messaging to achieve efficient and stable point-to-point communication, especially in the optimization of signal transmission quality and duration.

Method used

By obtaining the signal-to-noise ratio and transmission duration between devices, selecting the best signal transmission path, and dynamically adjusting it during the signal transmission process, ensuring communication quality and efficiency. Specific methods include generating and distributing encryption keys, testing signal-to-noise ratio and duration of signal transmission, and dynamically adjusting signal transmission paths and strategies.

Benefits of technology

It realizes optimization of signal transmission quality, improves communication reliability and stability, and significantly improves the user's communication experience, especially in complex and dynamically changing communication environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561784A_ABST
    Figure CN119561784A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of instant messaging, and discloses an intelligent block chain point-to-point instant encryption communication method and system, and the method comprises the steps: obtaining all devices, and recording the devices as a first device, a second device,..., and an Nth device, acquiring the signal-to-noise ratio and the required time length of the signal transmitted between any two devices through a signal-to-noise ratio test strategy and a transmission time length test strategy; when a user sends a signal to target equipment, if the target equipment does not receive the signal, selecting a signal transmission path according to a signal transmission path selection strategy; if the signal is received, judging whether the signal meets the standard or not according to a first judgment strategy, if yes, directly sending the signal, and if not, selecting a signal transmission path and dynamically adjusting the signal in the path; the system comprises a signal transmitting module, a signal receiving module, a control module, a signal-to-noise ratio testing module and a transmission duration testing module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of instant messaging technology, and in particular to an intelligent blockchain point-to-point instant encrypted communication method and system. Background Art

[0002] In the development of modern communication technology, peer-to-peer instant messaging has become an important application field; traditional instant messaging technology mainly relies on centralized servers for information transmission. Although this model can achieve instant messaging between large-scale users, it also has obvious disadvantages, such as single point failure, high server pressure and data privacy issues. With the development of blockchain technology, decentralized peer-to-peer communication has become an emerging trend. The use of blockchain's distributed ledger technology can effectively solve many problems in traditional centralized communication. Blockchain technology is essentially a decentralized database, and each node can store and verify data. This feature makes blockchain very important in ensuring It has significant advantages in data security and transparency; however, how to apply blockchain technology to instant messaging and achieve efficient and stable point-to-point communication is still a technical problem that needs to be solved urgently; in point-to-point communication, the transmission quality and transmission time of the signal are two important factors that affect the communication effect; the signal-to-noise ratio is an important indicator to measure the quality of signal transmission. The higher the signal-to-noise ratio, the less noise interference the signal is subject to during transmission, and the higher the communication quality; therefore, in point-to-point communication, how to test and obtain the signal-to-noise ratio of the signal transmitted between devices, and then select the best signal transmission path, is the key to ensure the quality of communication; transmission time is another important factor affecting point-to-point communication. In the actual communication process, the transmission time of the signal between devices will be affected by many factors, such as the signal receiving range of the device, the choice of transmission path, etc.; in order to ensure the immediacy of communication, the transmission time of the signal between devices must be tested and optimized, so as to select the best transmission path and achieve fast and stable communication.

[0003] In response to the above problems, the present invention proposes an intelligent blockchain point-to-point instant messaging method and system, which obtains the signal-to-noise ratio and transmission time between devices, selects the optimal signal transmission path, and makes dynamic adjustments during the signal transmission process to ensure the quality and efficiency of communication. Summary of the invention

[0004] The present invention provides an intelligent blockchain point-to-point instant encrypted communication method and system, which promotes solving the problems mentioned in the above background technology.

[0005] The present invention provides the following technical solution: an intelligent blockchain point-to-point instant encrypted communication method and system, comprising: Get all devices and record them as the first device, the second device, ... the Nth device; Generate and distribute the same encryption key to each device to ensure the security of signal transmission between each device; The encryption key is used to symmetrically encrypt the signal; The signal-to-noise ratio test strategy is used to test the signal-to-noise ratio of the signal transmitted between any two devices, including: Acquire all devices, where all devices constitute a first device set; S1. Randomly select a device from the first device set; S2. Obtain the signal receiving range of the selected device; S3, the selected device sends a signal to all devices within the signal receiving range; S4. All devices within the signal receiving range of the selected device receive the signal sent by the selected device, and calculate and store the signal-to-noise ratio of signal transmission during the process in which all devices within the signal receiving range of the selected device receive the signal sent by the selected device; S5. Remove the selected device from the first device set; S6, repeat S1-S5 until the first device set contains only one device; Through S1-S6, the signal-to-noise ratio of the signal transmitted between any two devices is obtained; According to the transmission time test strategy, the time required for the signal to be transmitted between any two devices is tested; For each device; Get the signal receiving range of the device; The user sends a signal to the target device and determines whether the target device receives the signal; If the target device does not receive the signal; selecting a signal transmission path according to a signal transmission path selection strategy; If the target device receives the signal: Determine whether the signal received by the target device meets the standard according to the first determination strategy; If the signal received by the target device meets the standards; The user sends the signal directly to the target device; If the signal received by the target device does not meet the standards; selecting a signal transmission path according to a signal transmission path selection strategy; In the signal transmission path; Dynamically adjust the signal according to the adjustment strategy.

[0006] Optionally, the test of acquiring the time required for a signal to be transmitted between any two devices according to the transmission time test strategy specifically includes: Acquire all devices, where all devices constitute a second device set; S7, randomly selecting a device from the second device set; S8. Obtain the signal receiving range of the selected device; S9, the selected device sends a signal to all devices within the signal receiving range; S10, all devices within the signal receiving range of the selected device receive the signal sent by the selected device, and calculate and store the required time for signal transmission during the process of all devices within the signal receiving range of the selected device receiving the signal sent by the selected device; S11, removing the selected device from the second device set; S12, repeat S7-S11 until the second device set contains only one device; Through S7-S12, the time required for a signal to be transmitted between any two devices can be obtained.

[0007] Optionally, judging whether the signal received by the target device meets the standard according to the first judgment strategy specifically includes: Setting a first signal-to-noise ratio error threshold; The user sends a signal to the target device; The target device receives the signal sent by the user; Obtain the signal-to-noise ratio of the signal during transmission from the user to the target device, recorded as the total signal-to-noise ratio; If the total signal-to-noise ratio ≥ the first signal-to-noise ratio error threshold; It is determined that the signal received by the target device meets the standard; If the total signal-to-noise ratio is less than the first signal-to-noise ratio error threshold; It is determined that the signal received by the target device does not meet the standard.

[0008] Optionally, selecting a signal transmission path according to a signal transmission path selection strategy specifically includes: Get the user's location; For each device, determine whether the user's location is within the signal reception range of the device; All devices that include the user's location within the signal reception range constitute a first set; The user sends a signal to all devices in the first set; All devices in the first set receive the signal sent by the user, and calculate and store the signal-to-noise ratio and the required time for signal transmission in the process of all devices in the first set receiving the signal sent by the user.

[0009] Optionally, selecting a signal transmission path according to a signal transmission path selection strategy further includes: Taking the user's location as the starting point, arbitrarily select a device in the first set as the first destination point, and the selected device is recorded as the first selected device; All devices within the signal receiving range that include the position of the first selected device constitute a second set, and a device in the second set is randomly selected as the second destination point. The selected device is recorded as the second selected device, and the first selected device is eliminated from all devices; All devices within the signal receiving range that include the position of the second selected device constitute a third set, and a device in the third set is randomly selected as the third destination point. The selected device is recorded as the third selected device, and the second selected device is eliminated from all devices; According to the above method, until there is no device including the position of the Nth selected device within the signal receiving range, and an alternative path is formed, the alternative path is specifically a signal transmission path for transmitting the signal from the starting point to the first selected device, the second selected device, ... the Nth selected device in sequence; According to the above method, multiple alternative paths are formed; All candidate paths that contain both the user's location and the target device constitute a candidate path set; For each path in the set of alternative paths; Obtain the path of the signal transmitted from the user location to the target device, recorded as the signal path; For each signal path, obtain the time required for signal transmission and sort them in order from shortest to longest time; Select the signal paths with the first X in the ranking to form a signal path set; For each path in the signal path set, obtain the number of devices included in the path and sort the paths in ascending order of the number of devices included; The path that contains the least number of devices is selected as the signal transmission path.

[0010] Optionally, dynamically adjusting the signal according to the adjustment strategy specifically includes: Setting a second signal-to-noise ratio error threshold; Acquire a signal transmission path, where the transmission path is composed of multiple sub-paths formed between devices; For each subpath; Obtaining the signal-to-noise ratio of the signal transmitted on the sub-path; If the signal-to-noise ratio of the signal transmitted on the sub-path is ≥ the second error threshold of the signal-to-noise ratio, no processing is performed; If the signal-to-noise ratio of the signal transmitted on the sub-path is less than the second error threshold of the signal-to-noise ratio; The subpath where the signal-to-noise ratio of signal transmission is less than the second error threshold of the signal-to-noise ratio is recorded as an error path; For each error path; A device for acquiring a received signal in an error path is referred to as a first error correction device; After receiving the signal, the first error correction device first converts the received signal into a digital signal and then performs error correction decoding. The digital signal after error correction decoding is then symmetrically encrypted and converted into an analog signal for transmission to the next device.

[0011] Optionally, dynamically adjusting the signal according to the adjustment strategy further includes: For each subpath; Get two devices on the subpath; Draw a line segment with the two devices as endpoints, marked as the first line segment; Draw a circle with the midpoint of the first line segment as the center and a radius equal to the length of the first line segment to form a circular domain; Get the electrical equipment within the circle; Establishing a first power threshold; Establishing a second power threshold; The first power threshold>the second power threshold; If the power of the electrical equipment in the circular area is greater than or equal to the first power threshold; Obtain a device that receives a signal from the two devices, which is recorded as a second error correction device; After receiving the signal, the second error correction device first converts the received signal into a digital signal and then performs error correction decoding, and then symmetrically encrypts the digital signal after error correction decoding and converts it into an analog signal for transmission to the next device; If the power of the electric device in the circular area is less than the first power threshold, compare the power of the electric device in the circular area with the second power threshold; If the power of the electric device in the circular area is greater than or equal to the second power threshold, the electric device whose power is greater than or equal to the second power threshold is recorded as the first interference device; If there is only one sub-path within a radius of L meters within the first interfering device; Then, along the signal transmission direction, obtain the second device in this sub-path; The second device receives the signal and performs error correction decoding; If there are two or more connected sub-paths within a radius of L meters within the first interfering device; Set the signal-to-noise ratio threshold; Acquire the signal-to-noise ratio of the signal received by the second device in two or more sub-paths along the signal transmission direction; If the signal-to-noise ratio of the signal received by the second device in two or more sub-paths is greater than the signal-to-noise ratio threshold, then the signal-to-noise ratio of the signal received by the third device in the two or more sub-paths is obtained; If the signal-to-noise ratio of the signal received by the third device in two or more sub-paths is greater than the signal-to-noise ratio threshold, then the signal-to-noise ratio of the signal received by the fourth device in two or more sub-paths is obtained, until the signal-to-noise ratio of the signal received by the Uth device in two or more sub-paths is less than the signal-to-noise ratio threshold; After receiving the signal, the Uth device first converts the received signal into a digital signal and then performs error correction decoding. It then symmetrically encrypts the digital signal after error correction decoding and converts it into an analog signal for transmission to the next device.

[0012] Optional, including: A signal transmitting module, which is mounted on all devices and control modules, and each device is equipped with a signal transmitting module; A signal receiving module, which is mounted on all devices, with each device being equipped with one signal receiving module; A control module is used for users to send control instructions; A signal-to-noise ratio test module, used to test the signal-to-noise ratio of a signal transmitted between any two devices according to a signal-to-noise ratio test strategy; The transmission time test module is used to test the time required for the signal to be transmitted between any two devices according to the transmission time test strategy; A signal decryption module is used for converting analog signals into digital signals and then decrypting the digital signals. The signal encryption module is used for encrypting the digital signal of the device transmitting the signal.

[0013] The present invention has the following beneficial effects: 1. This intelligent blockchain point-to-point instant encrypted communication method and system optimizes the signal-to-noise ratio transmission by testing the signal-to-noise ratio of the signal transmitted between any two devices according to the signal-to-noise ratio test strategy. In the communication system, the signal-to-noise ratio is one of the important indicators to measure the signal quality; a high signal-to-noise ratio means that the effective components of the signal account for a high proportion, less interference, and better communication effect; through the signal-to-noise ratio test, the signal transmission quality between devices can be monitored in real time, and the transmission path and strategy can be dynamically adjusted according to the signal-to-noise ratio; traditional communication methods may lack real-time signal-to-noise ratio monitoring, which can easily cause the signal to be interfered or attenuated during the transmission process, affecting the communication quality; and this method can timely discover and solve problems in signal transmission by regularly testing and monitoring the signal-to-noise ratio, ensuring that the signal is transmitted on the best path, reducing interference and loss; this optimization not only improves the reliability and stability of communication, but also significantly improves the user's communication experience, especially in complex and dynamically changing communication environments, which can better reflect its advantages.

[0014] 2. This intelligent blockchain point-to-point instant encrypted communication method and system, through the transmission time test strategy test to obtain the time required for the signal to be transmitted between any two devices, thereby improving the transmission efficiency; the transmission time is one of the important indicators to measure the performance of the communication system, and a shorter transmission time means faster response and data transmission; by testing the transmission time, the path with the shortest transmission delay can be identified and selected to avoid the signal passing through too many intermediate nodes during the transmission process, thereby reducing the delay; traditional communication methods may not be able to monitor the transmission time in real time, which may easily cause the signal to be delayed or blocked in a complex network environment; and this method can optimize the transmission path in real time through the transmission time test to ensure that the signal reaches the target device at the fastest speed; this optimization not only improves the efficiency and response speed of communication, but also significantly improves the user experience.

[0015] 3. This intelligent blockchain point-to-point instant encrypted communication method and system selects the signal transmission path through the signal transmission path selection strategy, which can optimize the signal transmission path and improve the efficiency and reliability of signal transmission; by obtaining the user's location and the signal receiving range of the device, the system can intelligently select the best path that includes the user's location and the target device; specifically, the system will select a path with a high signal-to-noise ratio and a short transmission time in the signal transmission path based on the signal-to-noise ratio and transmission time between devices, to ensure that the signal can reach the target device quickly and accurately; this path optimization strategy can avoid the signal passing through more intermediate nodes during the transmission process, reduce delays and interference, improve transmission efficiency, and ensure the continuity and reliability of communication.

[0016] 4. This intelligent blockchain point-to-point instant encrypted communication method and system can improve the accuracy and stability of signal transmission by setting a second error threshold of the signal-to-noise ratio and dynamically adjusting the signal; during the transmission process, the signal may be affected by various interferences and noises, resulting in signal distortion or loss; by setting the second error threshold of the signal-to-noise ratio, when the signal-to-noise ratio of the signal transmission is lower than the threshold, the system will automatically perform error correction processing, such as error correction decoding, to restore the original information of the signal; this error correction mechanism can effectively reduce errors in the signal transmission process and improve the transmission quality of the signal; in addition, the error correction mechanism can also monitor and adjust the status of the signal in real time during the signal transmission process to avoid communication interruption or errors caused by signal quality degradation, thereby ensuring the stability and reliability of communication.

[0017] 5. This intelligent blockchain point-to-point instant encrypted communication method and system can improve the accuracy and stability of signal transmission by setting the first power threshold and the second power threshold and dynamically adjusting the signal; during the transmission process, the signal may be affected by various high-power electrical appliances, resulting in signal distortion or loss; by setting the first power threshold, the power of the high-power electrical appliances near the signal transmission path is obtained. If the power of the high-power electrical appliances near the signal transmission path is less than the power threshold, the power of the electrical equipment in the circular area is compared with the second power threshold; the electrical equipment whose power is greater than or equal to the second power threshold is recorded as the first interference device, and the equipment within a radius of L meters within the first interference device is automatically corrected and decoded; if the power of the high-power electrical appliances near the signal transmission path is greater than the first power threshold, the system will automatically perform error correction and decoding to improve the quality of the signal; this dynamic adjustment mechanism can effectively deal with the interference problem of high-power electrical appliances during signal transmission, improve the flexibility and adaptability of the system; and also reduce the number of error correction and decoding.

[0018] 6. This intelligent blockchain point-to-point instant encrypted communication method and system can significantly improve the flexibility and adaptability of the system through a variety of strategies and mechanisms, such as signal-to-noise ratio testing, transmission time testing, signal reception judgment, dynamic adjustment of signal quality, path optimization and error correction mechanisms. The intelligent blockchain point-to-point instant communication method can ensure efficient and reliable communication in different communication scenarios and environments through the comprehensive application of a variety of strategies and mechanisms. Specifically, the system can dynamically adjust the strategy and path of signal transmission according to actual communication needs and environmental changes to ensure high-quality signal transmission. At the same time, through signal-to-noise ratio testing and transmission time testing, the quality and efficiency of signal transmission can be monitored in real time, and targeted optimization and adjustment can be carried out to improve the overall performance of the system. In addition, through the error correction mechanism, various emergencies and interferences can be responded to in real time during the signal transmission process to ensure the continuity and stability of communication. This flexibility and adaptability can significantly improve the user experience and meet different communication scenarios and needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] Example, see Figure 1, an intelligent blockchain point-to-point instant encrypted communication method and system, comprising: Get all devices and record them as the first device, the second device, ... the Nth device; Generate and distribute the same encryption key to each device to ensure the security of signal transmission between each device; The encryption key is used to symmetrically encrypt the signal; The signal-to-noise ratio test strategy is used to test the signal-to-noise ratio of the signal transmitted between any two devices, including: Acquire all devices, where all devices constitute a first device set; S1. Randomly select a device from the first device set; S2. Obtain the signal receiving range of the selected device; S3, the selected device sends a signal to all devices within the signal receiving range; S4. All devices within the signal receiving range of the selected device receive the signal sent by the selected device, and calculate and store the signal-to-noise ratio of signal transmission during the process in which all devices within the signal receiving range of the selected device receive the signal sent by the selected device; S5. Remove the selected device from the first device set; S6, repeat S1-S5 until the first device set contains only one device; Through S1-S6, the signal-to-noise ratio of the signal transmitted between any two devices is obtained; According to the transmission time test strategy, the time required for the signal to be transmitted between any two devices is tested; For each device; Get the signal receiving range of the device; The user sends a signal to the target device and determines whether the target device receives the signal; If the target device does not receive the signal; selecting a signal transmission path according to a signal transmission path selection strategy; If the target device receives the signal: Determine whether the signal received by the target device meets the standard according to the first determination strategy; If the signal received by the target device meets the standards; The user sends the signal directly to the target device; If the signal received by the target device does not meet the standards; selecting a signal transmission path according to a signal transmission path selection strategy; In the signal transmission path; Dynamically adjust the signal according to the adjustment strategy.

[0022] This intelligent blockchain point-to-point instant encrypted communication method and system optimizes the signal-to-noise ratio transmission by testing the signal-to-noise ratio of the signal transmitted between any two devices according to the signal-to-noise ratio test strategy. In the communication system, the signal-to-noise ratio is one of the important indicators to measure the signal quality; a high signal-to-noise ratio means that the effective components of the signal account for a high proportion, the interference is less, and the communication effect is better; through the signal-to-noise ratio test, the signal transmission quality between devices can be monitored in real time, and the transmission path and strategy can be dynamically adjusted according to the signal-to-noise ratio; traditional communication methods may lack real-time signal-to-noise ratio monitoring, which may easily cause the signal to be interfered or attenuated during the transmission process, affecting the communication quality; and this method can timely discover and solve problems in signal transmission by regularly testing and monitoring the signal-to-noise ratio, ensuring that the signal is transmitted on the best path, reducing interference and loss; this optimization not only improves the reliability and stability of communication, but also significantly improves the user's communication experience, especially in a complex and dynamically changing communication environment, which can better reflect its advantages.

[0023] The test according to the transmission duration test strategy obtains the duration required for the signal to be transmitted between any two devices, specifically including: Acquire all devices, where all devices constitute a second device set; S7, randomly selecting a device from the second device set; S8. Obtain the signal receiving range of the selected device; S9, the selected device sends a signal to all devices within the signal receiving range; S10, all devices within the signal receiving range of the selected device receive the signal sent by the selected device, and calculate and store the required time for signal transmission during the process of all devices within the signal receiving range of the selected device receiving the signal sent by the selected device; S11, removing the selected device from the second device set; S12, repeat S7-S11 until the second device set contains only one device; Through S7-S12, obtain the time required for the signal to be transmitted between any two devices; The invention discloses an intelligent blockchain point-to-point instant encrypted communication method and system, which obtains the time required for signal transmission between any two devices through a transmission time test strategy test, thereby improving transmission efficiency; transmission time is one of the important indicators for measuring the performance of a communication system, and a shorter transmission time means faster response and data transmission; by testing the transmission time, the path with the shortest transmission delay can be identified and selected, so as to avoid the signal passing through too many intermediate nodes during the transmission process and reduce delay; traditional communication methods may not be able to monitor the transmission time in real time, which may easily cause signal delay or blockage in a complex network environment; and the present method can optimize the transmission path in real time through the transmission time test to ensure that the signal reaches the target device at the fastest speed; this optimization not only improves the efficiency and response speed of communication, but also significantly improves the user experience.

[0024] The step of judging whether the signal received by the target device meets the standard according to the first judgment strategy specifically includes: Setting a first signal-to-noise ratio error threshold; The user sends a signal to the target device; The target device receives the signal sent by the user; Obtain the signal-to-noise ratio of the signal during transmission from the user to the target device, recorded as the total signal-to-noise ratio; If the total signal-to-noise ratio ≥ the first signal-to-noise ratio error threshold; It is determined that the signal received by the target device meets the standard; If the total signal-to-noise ratio is less than the first signal-to-noise ratio error threshold; It is determined that the signal received by the target device does not meet the standard.

[0025] The selecting of the signal transmission path according to the signal transmission path selection strategy specifically includes: Get the user's location; For each device, determine whether the user's location is within the signal reception range of the device; All devices that include the user's location within the signal reception range constitute a first set; The user sends a signal to all devices in the first set; All devices in the first set receive the signal sent by the user, and calculate and store the signal-to-noise ratio and the required time for signal transmission in the process of all devices in the first set receiving the signal sent by the user.

[0026] The selecting of the signal transmission path according to the signal transmission path selection strategy also includes: Taking the user's location as the starting point, arbitrarily select a device in the first set as the first destination point, and the selected device is recorded as the first selected device; All devices within the signal receiving range that include the position of the first selected device constitute a second set, and a device in the second set is randomly selected as the second destination point. The selected device is recorded as the second selected device, and the first selected device is eliminated from all devices; All devices within the signal receiving range that include the position of the second selected device constitute a third set, and a device in the third set is randomly selected as the third destination point. The selected device is recorded as the third selected device, and the second selected device is eliminated from all devices; According to the above method, until there is no device including the position of the Nth selected device within the signal receiving range, and an alternative path is formed, the alternative path is specifically a signal transmission path for transmitting the signal from the starting point to the first selected device, the second selected device, ... the Nth selected device in sequence; According to the above method, multiple alternative paths are formed; All candidate paths that contain both the user's location and the target device constitute a candidate path set; For each path in the set of alternative paths; Obtain the path of the signal transmitted from the user location to the target device, recorded as the signal path; For each signal path, obtain the time required for signal transmission and sort them in order from shortest to longest time; Select the signal paths with the first X in the ranking to form a signal path set; For each path in the signal path set, obtain the number of devices included in the path and sort the paths in ascending order of the number of devices included; Select the path with the least number of devices as the signal transmission path; The intelligent blockchain point-to-point instant encrypted communication method and system can select the signal transmission path through the signal transmission path selection strategy, optimize the signal transmission path, and improve the efficiency and reliability of signal transmission; by obtaining the user's location and the signal receiving range of the device, the system can intelligently select the best path including the user's location and the target device; specifically, the system will select the path with high signal-to-noise ratio and short transmission time in the signal transmission path according to the signal-to-noise ratio and transmission time between devices, so as to ensure that the signal can reach the target device quickly and accurately; this path optimization strategy can avoid the signal passing through more intermediate nodes during the transmission process, reduce delays and interference, improve transmission efficiency, and ensure the continuity and reliability of communication.

[0027] The dynamically adjusting the signal according to the adjustment strategy specifically includes: Setting a second signal-to-noise ratio error threshold; Acquire a signal transmission path, where the transmission path is composed of multiple sub-paths formed between devices; For each subpath; Obtaining the signal-to-noise ratio of the signal transmitted on the sub-path; If the signal-to-noise ratio of the signal transmitted on the sub-path is ≥ the second error threshold of the signal-to-noise ratio, no processing is performed; If the signal-to-noise ratio of the signal transmitted on the sub-path is less than the second error threshold of the signal-to-noise ratio; The subpath where the signal-to-noise ratio of signal transmission is less than the second error threshold of the signal-to-noise ratio is recorded as an error path; For each error path; A device for acquiring a received signal in an error path is referred to as a first error correction device; After receiving the signal, the first error correction device converts the received signal into a digital signal and then performs error correction decoding, and then symmetrically encrypts the digital signal after error correction decoding and converts it into an analog signal for transmission to the next device; The intelligent blockchain point-to-point instant encrypted communication method and system can improve the accuracy and stability of signal transmission by setting a second error threshold of the signal-to-noise ratio and dynamically adjusting the signal; during the transmission process, the signal may be affected by various interferences and noises, resulting in signal distortion or loss; by setting the second error threshold of the signal-to-noise ratio, when the signal-to-noise ratio of the signal transmission is lower than the threshold, the system will automatically perform error correction processing, such as error correction decoding, to restore the original information of the signal; this error correction mechanism can effectively reduce errors in the signal transmission process and improve the transmission quality of the signal; in addition, the error correction mechanism can also monitor and adjust the state of the signal in real time during the signal transmission process to avoid communication interruption or errors caused by the decline in signal quality, thereby ensuring the stability and reliability of communication.

[0028] The dynamically adjusting the signal according to the adjustment strategy also includes: For each subpath; Get two devices on the subpath; Draw a line segment with the two devices as endpoints, marked as the first line segment; Draw a circle with the midpoint of the first line segment as the center and a radius equal to the length of the first line segment to form a circular domain; Get the electrical equipment within the circle; Establishing a first power threshold; Establishing a second power threshold; The first power threshold>the second power threshold; If the power of the electrical equipment in the circular area is greater than or equal to the first power threshold; Obtain a device that receives a signal from the two devices, which is recorded as a second error correction device; After receiving the signal, the second error correction device first converts the received signal into a digital signal and then performs error correction decoding, and then symmetrically encrypts the digital signal after error correction decoding and converts it into an analog signal for transmission to the next device; If the power of the electric device in the circular area is less than the first power threshold, compare the power of the electric device in the circular area with the second power threshold; If the power of the electric device in the circular area is greater than or equal to the second power threshold, the electric device whose power is greater than or equal to the second power threshold is recorded as the first interference device; If there is only one sub-path within a radius of L meters within the first interfering device; Then, along the signal transmission direction, obtain the second device in this sub-path; The second device receives the signal and performs error correction decoding; If there are two or more connected sub-paths within a radius of L meters within the first interfering device; Set the signal-to-noise ratio threshold; when the signal is transmitted on each sub-path, the signal-to-noise ratio will increase. When the total signal-to-noise ratio increased by the transmission is greater than the signal-to-noise ratio threshold, the signal needs to be error-corrected and decoded; Acquire the signal-to-noise ratio of the signal received by the second device in two or more sub-paths along the signal transmission direction; If the signal-to-noise ratio of the signal received by the second device in two or more sub-paths is greater than the signal-to-noise ratio threshold, then the signal-to-noise ratio of the signal received by the third device in the two or more sub-paths is obtained; If the signal-to-noise ratio of the signal received by the third device in two or more sub-paths is greater than the signal-to-noise ratio threshold, then the signal-to-noise ratio of the signal received by the fourth device in two or more sub-paths is obtained, until the signal-to-noise ratio of the signal received by the Uth device in two or more sub-paths is less than the signal-to-noise ratio threshold; After receiving the signal, the Uth device first converts the received signal into a digital signal and then performs error correction decoding. It then symmetrically encrypts the digital signal after error correction decoding and converts it into an analog signal for transmission to the next device.

[0029] The intelligent blockchain point-to-point instant encrypted communication method and system can improve the accuracy and stability of signal transmission by setting a first power threshold and a second power threshold and dynamically adjusting the signal; during the transmission process, the signal may be affected by various high-power electrical appliances, resulting in signal distortion or loss; by setting the first power threshold, the power of the high-power electrical appliances near the signal transmission path is obtained, if the power of the high-power electrical appliances near the signal transmission path is less than the power threshold, the power of the electrical equipment in the circular area is compared with the second power threshold; the electrical equipment whose power is greater than or equal to the second power threshold is recorded as the first interference device, and the equipment within a radius of L meters within the first interference device is automatically corrected and decoded; if the power of the high-power electrical appliances near the signal transmission path is greater than the first power threshold, the system will automatically perform error correction and decoding to improve the quality of the signal; this dynamic adjustment mechanism can effectively deal with the interference problem of high-power electrical appliances during signal transmission, improve the flexibility and adaptability of the system; and also reduce the number of error correction and decoding.

[0030] include: A signal transmitting module, which is mounted on all devices and control modules, and each device is equipped with a signal transmitting module; A signal receiving module, which is mounted on all devices, with each device being equipped with one signal receiving module; A control module is used for users to send control instructions; A signal-to-noise ratio test module, used to test the signal-to-noise ratio of a signal transmitted between any two devices according to a signal-to-noise ratio test strategy; The transmission time test module is used to test the time required for the signal to be transmitted between any two devices according to the transmission time test strategy; A signal decryption module is used for converting analog signals into digital signals and then decrypting the digital signals. The signal encryption module is used for encrypting the digital signal of the device transmitting the signal.

[0031] The intelligent blockchain point-to-point instant encrypted communication method and system can significantly improve the flexibility and adaptability of the system through multiple strategies and mechanisms, such as signal-to-noise ratio test, transmission time test, signal reception judgment, dynamic adjustment of signal quality, path optimization and error correction mechanism. The intelligent blockchain point-to-point instant communication method can ensure efficient and reliable communication in different communication scenarios and environments through the comprehensive application of multiple strategies and mechanisms. Specifically, the system can dynamically adjust the strategy and path of signal transmission according to actual communication needs and environmental changes to ensure high-quality signal transmission. At the same time, through signal-to-noise ratio test and transmission time test, the quality and efficiency of signal transmission can be monitored in real time, and targeted optimization and adjustment can be carried out to improve the overall performance of the system. In addition, through the error correction mechanism, various emergencies and interferences can be responded to in real time during the signal transmission process to ensure the continuity and stability of communication. This flexibility and adaptability can significantly improve the user experience and meet different communication scenarios and needs.

[0032] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

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

Claims

1. An intelligent blockchain point-to-point instant encrypted communication method, characterized in that: include: Get all devices and record them as the first device, the second device, ... the Nth device; Generate and distribute the same encryption key to each device to ensure the security of signal transmission between each device; The encryption key is used to symmetrically encrypt the signal; The signal-to-noise ratio test strategy is used to test the signal-to-noise ratio of the signal transmitted between any two devices, including: Acquire all devices, where all devices constitute a first device set; S1. Randomly select a device from the first device set; S2. Obtain the signal receiving range of the selected device; S3, the selected device sends a signal to all devices within the signal receiving range; S4. All devices within the signal receiving range of the selected device receive the signal sent by the selected device, and calculate and store the signal-to-noise ratio of signal transmission during the process in which all devices within the signal receiving range of the selected device receive the signal sent by the selected device; S5. Remove the selected device from the first device set; S6, repeat S1-S5 until the first device set contains only one device; Through S1-S6, the signal-to-noise ratio of the signal transmitted between any two devices is obtained; According to the transmission time test strategy, the time required for the signal to be transmitted between any two devices is tested; For each device; Get the signal receiving range of the device; The user sends a signal to the target device and determines whether the target device receives the signal; If the target device does not receive the signal; selecting a signal transmission path according to a signal transmission path selection strategy; If the target device receives the signal: Determine whether the signal received by the target device meets the standard according to the first determination strategy; If the signal received by the target device meets the standards; The user sends the signal directly to the target device; If the signal received by the target device does not meet the standards; selecting a signal transmission path according to a signal transmission path selection strategy; In the signal transmission path; Dynamically adjust the signal according to the adjustment strategy.

2. According to claim 1, a smart blockchain point-to-point instant encrypted communication method is characterized by: The test according to the transmission duration test strategy obtains the duration required for the signal to be transmitted between any two devices, specifically including: Acquire all devices, where all devices constitute a second device set; S7, randomly selecting a device from the second device set; S8. Obtain the signal receiving range of the selected device; S9, the selected device sends a signal to all devices within the signal receiving range; S10, all devices within the signal receiving range of the selected device receive the signal sent by the selected device, and calculate and store the required time for signal transmission during the process of all devices within the signal receiving range of the selected device receiving the signal sent by the selected device; S11, removing the selected device from the second device set; S12, repeat S7-S11 until the second device set contains only one device; Through S7-S12, the time required for a signal to be transmitted between any two devices can be obtained.

3. According to claim 1, a smart blockchain point-to-point instant encrypted communication method is characterized in that: The step of judging whether the signal received by the target device meets the standard according to the first judgment strategy specifically includes: Setting a first signal-to-noise ratio error threshold; The user sends a signal to the target device; The target device receives the signal sent by the user; Obtain the signal-to-noise ratio of the signal during transmission from the user to the target device, recorded as the total signal-to-noise ratio; If the total signal-to-noise ratio ≥ the first signal-to-noise ratio error threshold; It is determined that the signal received by the target device meets the standard; If the total signal-to-noise ratio is less than the first signal-to-noise ratio error threshold; It is determined that the signal received by the target device does not meet the standard.

4. According to claim 1, a smart blockchain point-to-point instant encrypted communication method is characterized by: The selecting of the signal transmission path according to the signal transmission path selection strategy specifically includes: Get the user's location; For each device, determine whether the user's location is within the signal reception range of the device; All devices that include the user's location within the signal reception range constitute a first set; The user sends a signal to all devices in the first set; All devices in the first set receive the signal sent by the user, and calculate and store the signal-to-noise ratio and the required time for signal transmission in the process of all devices in the first set receiving the signal sent by the user.

5. According to claim 4, a smart blockchain point-to-point instant encrypted communication method is characterized in that: The selecting of the signal transmission path according to the signal transmission path selection strategy also includes: Taking the user's location as the starting point, arbitrarily select a device in the first set as the first destination point, and the selected device is recorded as the first selected device; All devices within the signal receiving range that include the position of the first selected device constitute a second set, and a device in the second set is randomly selected as the second destination point. The selected device is recorded as the second selected device, and the first selected device is eliminated from all devices; All devices within the signal receiving range that include the position of the second selected device constitute a third set, and a device in the third set is randomly selected as the third destination point. The selected device is recorded as the third selected device, and the second selected device is eliminated from all devices; According to the above method, until there is no device including the position of the Nth selected device within the signal receiving range, and an alternative path is formed, the alternative path is specifically a signal transmission path for transmitting the signal from the starting point to the first selected device, the second selected device, ... the Nth selected device in sequence; According to the above method, multiple alternative paths are formed; All candidate paths that contain both the user's location and the target device constitute a candidate path set; For each path in the set of alternative paths; Obtain the path of the signal transmitted from the user location to the target device, recorded as the signal path; For each signal path, obtain the time required for signal transmission and sort them in order from shortest to longest time; Select the signal paths with the first X in the ranking to form a signal path set; For each path in the signal path set, obtain the number of devices included in the path and sort the paths in ascending order of the number of devices included; The path that contains the least number of devices is selected as the signal transmission path.

6. According to claim 1, a smart blockchain point-to-point instant encrypted communication method is characterized by: The dynamically adjusting the signal according to the adjustment strategy specifically includes: Setting a second error threshold of the signal-to-noise ratio; Acquire a signal transmission path, where the transmission path is composed of multiple sub-paths formed between devices; For each subpath; Obtaining the signal-to-noise ratio of the signal transmitted on the sub-path; If the signal-to-noise ratio of the signal transmitted on the sub-path is ≥ the second error threshold of the signal-to-noise ratio, no processing is performed; If the signal-to-noise ratio of the signal transmitted on the sub-path is less than the second error threshold of the signal-to-noise ratio; The subpath where the signal-to-noise ratio of signal transmission is less than the second error threshold of the signal-to-noise ratio is recorded as an error path; For each error path; A device for acquiring a received signal in an error path is referred to as a first error correction device; After receiving the signal, the first error correction device first converts the received signal into a digital signal and then performs error correction decoding. The digital signal after error correction decoding is then symmetrically encrypted and converted into an analog signal for transmission to the next device.

7. According to claim 6, a smart blockchain point-to-point instant encrypted communication method is characterized in that: The dynamically adjusting the signal according to the adjustment strategy also includes: For each subpath; Get the two devices on the subpath; Draw a line segment with the two devices as endpoints, marked as the first line segment; Draw a circle with the midpoint of the first line segment as the center and a radius equal to the length of the first line segment to form a circular domain; Get the electrical equipment within the circle; Establishing a first power threshold; establishing a second power threshold; The first power threshold>the second power threshold; If the power of the electrical equipment in the circular area is greater than or equal to the first power threshold; Obtain a device that receives a signal from the two devices, which is recorded as a second error correction device; After receiving the signal, the second error correction device first converts the received signal into a digital signal and then performs error correction decoding, and then symmetrically encrypts the digital signal after error correction decoding and converts it into an analog signal for transmission to the next device; If the power of the electric device in the circular area is less than the first power threshold, compare the power of the electric device in the circular area with the second power threshold; If the power of the electric device in the circular area is greater than or equal to the second power threshold, the electric device whose power is greater than or equal to the second power threshold is recorded as the first interference device; If there is only one sub-path within a radius of L meters within the first interfering device; Then, along the signal transmission direction, obtain the second device in this sub-path; The second device receives the signal and performs error correction decoding; If there are two or more connected sub-paths within a radius of L meters within the first interfering device; Set the signal-to-noise ratio threshold; Acquire the signal-to-noise ratio of the signal received by the second device in two or more sub-paths along the signal transmission direction; If the signal-to-noise ratio of the signal received by the second device in two or more sub-paths is greater than the signal-to-noise ratio threshold, then the signal-to-noise ratio of the signal received by the third device in the two or more sub-paths is obtained; If the signal-to-noise ratio of the signal received by the third device in two or more sub-paths is greater than the signal-to-noise ratio threshold, then the signal-to-noise ratio of the signal received by the fourth device in two or more sub-paths is obtained, until the signal-to-noise ratio of the signal received by the Uth device in two or more sub-paths is less than the signal-to-noise ratio threshold; After receiving the signal, the Uth device first converts the received signal into a digital signal and then performs error correction decoding. It then symmetrically encrypts the digital signal after error correction decoding and converts it into an analog signal for transmission to the next device.

8. A system for implementing the intelligent blockchain point-to-point instant encrypted communication method according to claim 1, characterized in that: include: A signal transmitting module, which is mounted on all devices and control modules, and each device is equipped with a signal transmitting module; A signal receiving module, which is mounted on all devices, with each device being equipped with one signal receiving module; A control module is used for users to send control instructions; A signal-to-noise ratio test module, used to test the signal-to-noise ratio of a signal transmitted between any two devices according to a signal-to-noise ratio test strategy; The transmission time test module is used to test the time required for the signal to be transmitted between any two devices according to the transmission time test strategy; A signal decryption module is used for converting analog signals into digital signals and then decrypting the digital signals. The signal encryption module is used for encrypting the digital signal of the device transmitting the signal.

Citation Information

Patent Citations

  • Physical layer safety communication method and device based on time reversal technology

    CN108632816A

  • Method and device for determining identify of terminal device

    CN108990048A

  • Enhanced blockchain key construction method

    CN111277410A

  • Networking system for improving cooperative combat capability among cluster unmanned aerial vehicles

    CN117440347A

  • Distributed data encryption transmission system

    CN117955749A