Secure communication method and device for remote control
By using different base stations in the communication system, signals and feedback signals are transmitted, the problem of unstable communication in existing technologies is solved, and higher communication stability and security are achieved.
Patent Information
- Application Number
- CN202411456226.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-18
AI Technical Summary
In the prior art, communication between servers and devices is caused by the base station sending and receiving signals at the same time, so data transmission is unstable. How to avoid communication instability during reception and transmission is an urgent problem to be solved.
By communicating with different base stations that send signal send base stations and feedback signals, the server encrypts the signal to the receiving device through the target base station. The receiving device will send the feedback signal to the server through the feedback base station. deal with.
Avoid the interference of the signal and feedback signal during the transmission of the same base station, improve the stability of communication, and ensure the security of communication by encryption.
Smart Images

Figure CN119031366B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electrical communications, and specifically relates to communication control, and in particular to a secure communication method and device for remote control. Background Art
[0002] Communication stability refers to the reliability and continuity of the communication system in transmitting data. A stable communication system can ensure the integrity, accuracy and timeliness of information during transmission.
[0003] In the related art, when a server and a device communicate, the server generally sends a signal to a base station, the base station sends a signal to the device, and the device communicates by sending back a feedback signal through the base station. When the base station sends and receives signals at the same time, interference will occur between the two, resulting in unstable data transmission.
[0004] Therefore, how to avoid communication instability caused by receiving and sending is a technical problem that needs to be solved urgently.
[0005] It should be noted that the above information disclosed in this background technology section is only used to understand the background technology of the present application concept, and therefore, the above description is not considered to constitute information of the prior art. Summary of the invention
[0006] The embodiments of the present disclosure at least provide a secure communication method and device for remote control.
[0007] In a first aspect, an embodiment of the present disclosure provides a secure communication method for remote control, comprising:
[0008] The server encrypts the signal and sends it to the receiving device through the target base station;
[0009] After the receiving device executes according to the signal, the feedback signal is sent to the server through the feedback base station;
[0010] The server also determines the communication status based on the feedback signal and processes the communication based on the determination result.
[0011] Furthermore, the step of the server encrypting the signal and sending it to the receiving device through the target base station includes:
[0012] The server encrypts the data group and sends it to the target base station;
[0013] The target base station decrypts the data group using the identifier and coordinates;
[0014] The target base station splits the data group according to the receiving device, adds the sending time t1, and then sends it to the corresponding receiving device.
[0015] Furthermore, the data group includes the identification of the target base station, the coordinates of the target base station, the total data volume, the total data string, the identification of each receiving device, the coordinates of each receiving device, the data volume that each receiving device needs to receive, and the data string that each receiving device needs to receive.
[0016] Further, the required rotation angle of the target base station is calculated based on the coordinates of the target base station and the coordinates of the receiving device;
[0017] The angle of the target base station is adjusted so that the target base station sends the data group to the corresponding receiving device in a directionally directed manner.
[0018] Further, after the receiving device executes according to the signal, the step of sending the feedback signal to the server through the feedback base station includes:
[0019] The receiving device records the initial time t2 of receiving the data;
[0020] Compare (t2-t1) with the error time t0. If (t2-t1)>t0, it means the connection is unstable, and the feedback signal of communication abnormality is sent to the server through the feedback base station;
[0021] If (t2-t1)≤t0, continue to receive data, record the end time t3 of data reception, and obtain the data volume from the data;
[0022] The receiving device calculates the actual data volume M 实 =Q*(t3-t2), where Q represents the amount of data received by device 1 per unit time, and is compared with the theoretical data amount M0. 实 <M0, it means data loss, and the feedback signal of communication abnormality is sent to the server through the feedback base station;
[0023] If M 实 If it is equal to M0, it means that the communication is normal, and the feedback signal of normal communication is sent to the server through the feedback base station.
[0024] Furthermore, the server determines the communication status according to the feedback signal, and processes the communication according to the determination result, including:
[0025] When the communication is normal, the server continues to communicate in the original communication mode;
[0026] When communication is abnormal, the server replaces the abnormal base station and selects other base stations for communication.
[0027] Furthermore, when communication is abnormal, the server replaces the abnormal base station and selects another base station for communication, including:
[0028] When the server receives a feedback signal of abnormal communication, the server allocates all receiving devices that need to receive the signal to the remaining base stations;
[0029] When the server does not receive the feedback signal, the server replaces the abnormal base station and selects another base station for communication.
[0030] Furthermore, when the server does not receive the feedback signal, the server replaces the abnormal base station, and the step of selecting another base station for communication includes:
[0031] After the server sends a signal, no feedback signal is received within the preset time;
[0032] The server sends a search instruction to the target base station;
[0033] The target base station searches for the corresponding receiving device according to the search instruction. If the receiving device is not found, the target base station is abnormal. The server assigns the receiving device to other valid base stations and continues to search for the receiving device until the receiving device is found.
[0034] After the target base station finds the receiving device, the server continues to send a search instruction to the feedback base station;
[0035] The feedback base station searches for the corresponding receiving device according to the search instruction. If the receiving device is not found, the feedback base station is abnormal. The server assigns the receiving device to other valid base stations and continues to search for the receiving device until the receiving device is found.
[0036] Furthermore, before the step of the target base station splitting the data group according to the receiving device, adding the sending time t1, and sending it to the corresponding receiving device, the step of the server encrypting the signal and sending it to the receiving device through the target base station also includes:
[0037] The target base station obtains the coordinates of the receiving device;
[0038] The target base station calculates the signal transmission angle according to the coordinates of the target base station and the coordinates of the receiving device;
[0039] The target base station adjusts the signal transmitter according to the transmission angle.
[0040] In a second aspect, an embodiment of the present disclosure provides a secure communication device for remote control, including:
[0041] server;
[0042] A plurality of base stations communicatively coupled to the server; and
[0043] A plurality of devices communicatively connected to a corresponding base station;
[0044] The remote control secure communication device performs communication according to the remote control secure communication method as described above.
[0045] Further, the base station includes a signal transmitter;
[0046] The signal transmitter comprises: a fixed ring, a rotating disk, a connecting frame, a pitch axis and a transmitter body;
[0047] The rotating disk is arranged in the fixing ring;
[0048] The connecting frame is fixedly arranged above the rotating disk;
[0049] The transmitter body is rotatably connected to the connecting frame via a pitch axis.
[0050] Furthermore, the signal transmitter also includes a first driving unit, a second driving unit and a controller;
[0051] The first driving part is suitable for driving the rotating disk to rotate;
[0052] The second driving unit is adapted to drive the pitch axis to rotate;
[0053] The controller is electrically connected to the first driving unit and the second driving unit.
[0054] The beneficial effect of the present invention is that the secure communication method and device for remote control, wherein the secure communication method for remote control includes: the server encrypts the signal and sends it to the receiving device through the target base station; after the receiving device executes according to the signal, the feedback signal is sent to the server through the feedback base station; the server also judges the communication status according to the feedback signal, and processes the communication according to the judgment result. By using different base stations for communication between the signal sending base station and the feedback base station for the feedback signal, the interference between the signal and the feedback signal when transmitted at the same base station is avoided, the stability of the communication is improved, and at the same time, the signal is encrypted and transmitted, thereby ensuring the security of the communication.
[0055] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 The present invention is a flowchart of a secure communication method for remote control provided by an embodiment of the present invention.
[0059] Figure 2 for Figure 1 Flow chart of sub-steps of step S110.
[0060] Figure 3 for Figure 1 Flow chart of sub-steps of step S120.
[0061] Figure 4 for Figure 1 Flow chart of sub-steps of step S130.
[0062] Figure 5 This is a functional block diagram of a secure communication device for remote control provided in an embodiment of the present disclosure.
[0063] Figure 6 A schematic diagram of a partial structure of a signal transmitter provided in an embodiment of the present disclosure.
[0064] In the figure: 100, fixed ring; 200, rotating disk; 300, connecting frame; 400, pitch axis; 500, transmitter body. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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.
[0066] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0067] See also Figure 1 , Figure 1The flowchart of the secure communication method for remote control is shown. The method uses different base stations for communication between the signal sending base station and the feedback signal feedback base station, thereby avoiding the mutual interference between the signal and the feedback signal when they are transmitted at the same base station, improving the stability of communication, and at the same time, encrypting the signal before transmission, thereby ensuring the security of communication.
[0068] See also Figure 1 Specifically, the remote control secure communication method comprises the following steps:
[0069] S110: The server encrypts the signal and sends it to the receiving device through the target base station.
[0070] See also Figure 2 Specifically, step S110 includes the following steps:
[0071] S111: The server encrypts the data group.
[0072] S112: The server sends the encrypted data group to the target base station.
[0073] S113: The target base station decrypts the data group through the identifier and coordinates.
[0074] S114: The target base station splits the data group according to the receiving device, adds the sending time t1, and sends it to the corresponding receiving device.
[0075] In a preferred embodiment, the data group includes the identification of the target base station, the coordinates of the target base station, the total data volume, the total data string, the identification of each receiving device, the coordinates of each receiving device, the amount of data that each receiving device needs to receive, and the data string that each receiving device needs to receive.
[0076] Among them, the data format of the encrypted data group is: ABCD, where A contains the identification of the target base station and the identification of each receiving device, B contains the coordinates of the target base station and the coordinates of each receiving device, C contains the total data volume and the data volume that each receiving device needs to receive, and D contains the total data string and the data string that each receiving device needs to receive.
[0077] The data group is encrypted with the base station identification and coordinates to ensure communication security.
[0078] In a preferred embodiment, the required rotation angle of the target base station is calculated based on the coordinates of the target base station and the coordinates of the receiving device; the angle of the target base station is adjusted so that the target base station sends the data group to the corresponding receiving device in a directionally directed manner.
[0079] In a preferred embodiment, before step S114, step S110 further includes: the target base station obtains the coordinates of the receiving device; the target base station calculates the signal sending angle according to the coordinates of the target base station and the coordinates of the receiving device; the target base station adjusts the signal transmitter according to the sending angle.
[0080] Before transmitting the signal, adjust the signal transmitter to face the receiving device directly to increase the signal strength, thereby ensuring the stability of communication and reducing data loss.
[0081] S120: After the receiving device executes according to the signal, the feedback signal is sent to the server through the feedback base station;
[0082] See also Figure 3 Specifically, step S120 includes the following steps:
[0083] S121: The receiving device records the initial time t2 of receiving data.
[0084] S122: Compare (t2-t1) with the error time t0.
[0085] Specifically, (t2-t1) should be basically consistent with t0.
[0086] S123: If (t2-t1)>t0, it means that the connection is unstable, and the feedback signal of communication abnormality is sent to the server through the feedback base station. The time difference between the target base station transmission signal and the receiving device is calculated and compared with the error time to determine whether the communication is stable.
[0087] S124: If (t2-t1)≤t0, continue to receive data, record the end time t3 of data reception, and obtain the data volume from the data.
[0088] S125: The receiving device calculates the actual data volume M 实 =Q*(t3-t2), where Q represents the amount of data received by device 1 per unit time, and is compared with the theoretical data amount M0. 实 <M0, it means data loss, and the feedback signal of communication abnormality is sent to the server through the feedback base station.
[0089] By calculating the actual amount of data received M 实 And compare it with the theoretical data volume M0 to determine whether the data is lost.
[0090] S126: If M 实 If it is equal to M0, it means that the communication is normal, and the feedback signal of normal communication is sent to the server through the feedback base station.
[0091] Preferably, when the feedback signal is sent through the feedback base station, the time points t1, t2, and t3 are added to the feedback signal and stored in the server, so as to facilitate backtracking and subsequent management.
[0092] The stability of communication and data loss are judged at the receiving device, achieving real-time communication judgment during signal transmission.
[0093] S130: The server also determines the communication status according to the feedback signal, and processes the communication according to the determination result.
[0094] See also Figure 4 Specifically, step S130 includes the following steps:
[0095] S131: When the communication is normal, the server continues to communicate in the original communication mode.
[0096] S132: When communication is abnormal, the server replaces the abnormal base station and selects another base station for communication.
[0097] Specifically, step S132 includes the following steps:
[0098] S1321: When the server receives a feedback signal of communication abnormality, the server allocates all receiving devices that need to receive the signal to the remaining base stations;
[0099] S1322: When the server does not receive a feedback signal, the server replaces the abnormal base station and selects another base station for communication.
[0100] Specifically, after the server sends a signal, no feedback signal is received within a preset time; the server sends a search instruction to the target base station; the target base station searches for the corresponding receiving device based on the search instruction. If the device is not found, the target base station is abnormal, and the server assigns the receiving device to the remaining valid base stations and continues to search for the receiving device until the receiving device is found; after the target base station finds the receiving device, the server continues to send search instructions to the feedback base station; the feedback base station searches for the corresponding receiving device based on the search instruction. If the device is not found, the feedback base station is abnormal, and the server assigns the receiving device to the remaining valid base stations and continues to search for the receiving device until the receiving device is found.
[0101] See also Figure 5 At least one embodiment also provides a secure communication device for remote control including: a server; multiple base stations connected to the server for communication; and multiple devices connected to the corresponding base stations for communication; the secure communication device for remote control communicates according to the secure communication method for remote control as described above.
[0102] The server selects a target base station from multiple base stations, and the receiving device selects the closest base station from the remaining base stations as a feedback base station.
[0103] See also Figure 6 In some embodiments, the base station includes a signal transmitter; the signal transmitter includes: a fixed ring 100, a rotating disk 200, a connecting frame 300, a pitch axis 400 and a transmitter body 500; the rotating disk 200 is arranged in the fixed ring 100; the connecting frame 300 is fixedly arranged above the rotating disk 200; the transmitter body 500 is rotatably connected to the connecting frame 300 through the pitch axis 400. The signal transmitter also includes a first driving part, a second driving part and a controller; the first driving part is suitable for driving the rotating disk 200 to rotate; the second driving part is suitable for driving the pitch axis 400 to rotate; the controller is electrically connected to the first driving part and the second driving part.
[0104] The controller controls the first driving unit and the second driving unit to operate, thereby adjusting the three-axis angles of the transmitter body 500 .
[0105] At least one embodiment further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the service solution selection method described in the above method embodiment are executed. The storage medium may be a volatile or non-volatile computer-readable storage medium.
[0106] In summary, the present invention provides a secure communication method and device for remote control, wherein the secure communication method for remote control includes: the server encrypts the signal and sends it to the receiving device through the target base station; after the receiving device executes according to the signal, the feedback signal is sent to the server through the feedback base station; the server also judges the communication status according to the feedback signal, and processes the communication according to the judgment result. By using different base stations for communication between the signal sending base station and the feedback base station for the feedback signal, the interference between the signal and the feedback signal when they are transmitted at the same base station is avoided, and the stability of the communication is improved. At the same time, the signal is encrypted and transmitted, thereby ensuring the security of the communication.
[0107] In addition, without departing from the scope of the present disclosure, the discrete or separate techniques, systems, subsystems, and methods described and illustrated in the various embodiments may be combined or integrated with other systems, modules, techniques, or methods. Other items shown or discussed as coupled may be directly connected, or may be indirectly coupled or communicated electrically, mechanically, or otherwise through some interface, device, or intermediate component. Other examples of changes, substitutions, and alterations may be determined by those skilled in the art without departing from the spirit and scope disclosed herein.
Claims
1. A secure communication method for remote control, characterized in that: include: The server encrypts the signal and sends it to the receiving device through the target base station; After the receiving device executes according to the signal, the feedback signal is sent to the server through the feedback base station; The server also determines the communication status based on the feedback signal and processes the communication based on the determination result; The step of the server encrypting the signal and sending it to the receiving device through the target base station includes: The server encrypts the data group and sends it to the target base station; The target base station decrypts the data group using the identifier and coordinates; The target base station splits the data group according to the receiving device, adds the sending time t1, and sends it to the corresponding receiving device; After the receiving device executes according to the signal, the step of sending the feedback signal to the server through the feedback base station includes: The receiving device records the initial time t2 of receiving the data; Compare (t2-t1) with the error time t0. If (t2-t1)>t0, it means the connection is unstable, and the feedback signal of communication abnormality is sent to the server through the feedback base station; If (t2-t1)≤t0, continue to receive data, record the end time t3 of data reception, and obtain the data volume from the data; The receiving device calculates the actual data volume M 实 =Q*(t3-t2), where Q represents the amount of data received by device 1 per unit time, and is compared with the theoretical data amount M0. 实 <M0, it means data loss, and the feedback signal of communication abnormality is sent to the server through the feedback base station; If M 实 If it is equal to M0, it means that the communication is normal, and the feedback signal of normal communication is sent to the server through the feedback base station.
2. The remote control secure communication method according to claim 1, wherein: The data group includes the identifier of the target base station, the coordinates of the target base station, the total data volume, the total data string, the identifier of each receiving device, the coordinates of each receiving device, the data volume that each receiving device needs to receive, and the data string that each receiving device needs to receive.
3. The remote control secure communication method according to claim 2, wherein: Calculate the required rotation angle of the target base station according to the coordinates of the target base station and the coordinates of the receiving device; The angle of the target base station is adjusted so that the target base station sends the data group to the corresponding receiving device in a directionally directed manner.
4. The remote control secure communication method according to claim 1, wherein: The server determines the communication status according to the feedback signal, and processes the communication according to the determination result, including: When the communication is normal, the server continues to communicate in the original communication mode; When communication is abnormal, the server replaces the abnormal base station and selects other base stations for communication.
5. The remote control secure communication method according to claim 4, wherein: When communication is abnormal, the server replaces the abnormal base station and selects another base station for communication, which includes: When the server receives a feedback signal of abnormal communication, the server allocates all receiving devices that need to receive the signal to the remaining base stations; When the server does not receive the feedback signal, the server replaces the abnormal base station and selects another base station for communication.
6. The remote control secure communication method according to claim 1, wherein: When the server does not receive the feedback signal, the server replaces the abnormal base station, and the step of selecting another base station for communication includes: After the server sends a signal, no feedback signal is received within the preset time; The server sends a search instruction to the target base station; The target base station searches for the corresponding receiving device according to the search instruction. If the receiving device is not found, the target base station is abnormal. The server assigns the receiving device to other valid base stations and continues to search for the receiving device until the receiving device is found. After the target base station finds the receiving device, the server continues to send a search instruction to the feedback base station; The feedback base station searches for the corresponding receiving device according to the search instruction. If the receiving device is not found, the feedback base station is abnormal. The server assigns the receiving device to other valid base stations and continues to search for the receiving device until the receiving device is found.
7. The remote control secure communication method according to claim 1, wherein: Before the step in which the target base station splits the data group according to the receiving device, adds the sending time t1, and sends it to the corresponding receiving device, the step in which the server encrypts the signal and sends it to the receiving device through the target base station also includes: The target base station obtains the coordinates of the receiving device; The target base station calculates the signal transmission angle according to the coordinates of the target base station and the coordinates of the receiving device; The target base station adjusts the signal transmitter according to the transmission angle.
8. A secure communication device for remote control, characterized in that: include: server; A plurality of base stations communicatively connected to the server; as well as A plurality of devices communicatively connected to a corresponding base station; The remote control secure communication device communicates according to the remote control secure communication method according to any one of claims 1 to 6.
9. The remote control secure communication device according to claim 8, wherein: The base station includes a signal transmitter; The signal transmitter comprises: a fixed ring, a rotating disk, a connecting frame, a pitch axis and a transmitter body; The rotating disk is arranged in the fixing ring; The connecting frame is fixedly arranged above the rotating disk; The transmitter body is rotatably connected to the connecting frame via a pitch axis.
10. The remote control secure communication device according to claim 9, wherein: The signal transmitter also includes a first driving unit, a second driving unit and a controller; The first driving part is suitable for driving the rotating disk to rotate; The second driving unit is adapted to drive the pitch axis to rotate; The controller is electrically connected to the first driving unit and the second driving unit.
Citation Information
Patent Citations
Communication management method, data node device and base station device for wide-area internet of things
CN104994561A
Techniques for transmission control protocol aware handover type determination
CN109076409A