Communication method, communication controller, control device, communication system, and storage medium
By using communication controllers for beamforming weight matrix compensation, quantum key distribution and path selection in mining engineering vehicles, the problem of poor communication quality of engineering vehicles in complex mining environments is solved, high-quality and secure communication connections are achieved, and the firmware upgrade process is optimized.
Patent Information
- Application Number
- CN202510591598.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-08-01
AI Technical Summary
The mining operation area is vast and the terrain is complex, resulting in high communication error rate of engineering vehicles and serious signal attenuation, affecting the communication quality.
The communication controller collects communication quality information of the engineering vehicle, determines the phase deviation and compensates the beamforming weight matrix, uses quantum key distribution technology to perform secure authentication and path selection, establishes a session connection, calculates firmware upgrade costs, and optimizes the upgrade sequence.
It improves the communication quality and security between engineering vehicles, reduces the bit error rate, enhances signal stability, and optimizes the efficiency and security of the firmware upgrade process.
Smart Images

Figure CN120416893A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technologies, and particularly to a communication method, a communication controller, a control device, a communication system, and a storage medium. Background Art
[0002] A smart mine refers to the realization of automation and intelligence in mine exploitation through intelligent devices and technologies. Communication between engineering vehicles is one of the key technologies for a smart mine to achieve intelligent, automated, and unmanned operations. In the construction of a smart mine, functions such as automated scheduling, data transmission, intelligent decision-making, and collaborative upgrade rely on communication between engineering vehicles. Summary of the Invention
[0003] The inventors noticed that the complex working conditions in mines bring many problems to the communication of engineering vehicles. The mine operation area is vast and the terrain is complex, accompanied by environmental factors such as high dust (for example, the concentration of PM2.5 is greater than 300 ) and strong metal interference, which result in a high bit error rate and severe signal attenuation in the communication of engineering vehicles.
[0004] Accordingly, the present disclosure provides a communication method that can effectively improve the communication quality of engineering vehicles.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a communication method, which is executed by a communication controller in a control device and includes: collecting communication quality information between the control device and each of a plurality of engineering vehicles at a first predetermined frequency; determining a phase deviation according to the communication quality information; compensating an original beamforming weight matrix according to the phase deviation to obtain a beamforming weight compensation matrix; and communicating with each engineering vehicle by using the beamforming weight compensation matrix.
[0006] In some embodiments, compensating the original beamforming weight matrix includes: determining an intermediate value according to the product of the phase deviation and the imaginary unit j; calculating an exponential function value with the intermediate value as an exponent to obtain a compensation value; and determining the beamforming weight compensation matrix according to the original beamforming weight matrix and the compensation value.
[0007] In some embodiments, determining the beamforming weight compensation matrix includes: calculating a Hadamard product of the original beamforming weight matrix and the compensation value to obtain the beamforming weight compensation matrix.
[0008] In some embodiments, the communication quality information includes at least one of a received signal strength indication (RSSI) and a channel state information (CSI).
[0009] In some embodiments, security authentication is performed on each engineering vehicle, where performing security authentication on each engineering vehicle includes: negotiating a quantum random number with the i-th engineering vehicle, , where N is the total number of construction vehicles; determine the first dynamic session key according to quantum random numbers and a predetermined timestamp; use the public key of the i-th construction vehicle to verify the signature information sent by the i-th construction vehicle; if the signature information passes the verification, use the first dynamic session key to decrypt the encrypted information included in the signature information to obtain the firmware information to be verified; verify whether the firmware information to be verified is the firmware information of the i-th construction vehicle; if the firmware information to be verified is the firmware information of the i-th construction vehicle, determine that the i-th construction vehicle passes the security authentication.
[0010] In some embodiments, select a working path between the control device and the i-th construction vehicle, where selecting a working path between the control device and the i-th construction vehicle includes: determining multiple candidate paths between the control device and the i-th construction vehicle; determining the communication quality of each candidate path among the multiple candidate paths; using the candidate path with the best communication quality as the working path.
[0011] In some embodiments, determining the communication quality of each candidate path among the multiple candidate paths includes: determining the communication quality of each candidate path according to at least one of the quantum bit error rate and transmission delay of each candidate path.
[0012] In some embodiments, establish a session connection with each construction vehicle, where establishing a session connection with each construction vehicle includes: determining a temporary key according to a quantum key and a post-quantum key; determining a second dynamic session key according to the temporary key; using the second dynamic session key to establish a session connection with each construction vehicle.
[0013] In some embodiments, determine the status information of each construction vehicle at a second predetermined frequency, where the status information of each construction vehicle includes the location information, firmware information, and channel quality information of each construction vehicle; calculate the firmware upgrade cost of each construction vehicle according to the status information of each construction vehicle; upgrade the firmware of multiple construction vehicles in ascending order of the firmware upgrade cost.
[0014] In some embodiments, calculating the firmware upgrade cost of each construction vehicle includes: calculating the total firmware upgrade time of each construction vehicle; calculating the total firmware upgrade conflict cost of each construction vehicle; calculating the total firmware upgrade resource cost of each construction vehicle; determining the firmware upgrade cost of each construction vehicle according to the total firmware upgrade time, the total firmware upgrade conflict cost, and the total firmware upgrade resource cost.
[0015] In some embodiments, determining the firmware upgrade cost of each construction vehicle includes: determining the firmware upgrade cost of each construction vehicle according to the weighted sum of the total firmware upgrade time, the total firmware upgrade conflict cost, and the total firmware upgrade resource cost.
[0016] In some embodiments, calculating the total firmware upgrade time for each construction vehicle includes: calculating the total firmware upgrade time for each construction vehicle according to the total number of firmware of each construction vehicle, the size and installation time of each firmware, the bandwidth allocated to each firmware, and whether each construction vehicle needs to be restarted.
[0017] In some embodiments, calculating the total conflict cost of firmware upgrade for each construction vehicle includes: calculating the total conflict cost of firmware upgrade for each construction vehicle according to the total number of links of each construction vehicle, the conflict probability of each link, and the single rollback cost.
[0018] In some embodiments, calculating the total resource cost of firmware upgrade for each construction vehicle includes: calculating the total resource cost of firmware upgrade for each construction vehicle according to the total number of links of each construction vehicle, the bandwidth occupied by each link, and the total bandwidth.
[0019] In some embodiments, performing firmware upgrade on multiple construction vehicles includes: when performing firmware upgrade on the j-th construction vehicle, encrypting the firmware upgrade information of the j-th construction vehicle by using a random signal to obtain a first encrypted message, , where N is the total number of construction vehicles; encrypting the random signal by using a predetermined parameter to obtain a second encrypted message; sending the first encrypted message and the second encrypted message to the j-th construction vehicle, so that the j-th construction vehicle decrypts the second encrypted message by using the predetermined parameter to obtain the random signal, decrypts the first encrypted message by using the random signal to obtain the firmware upgrade information of the j-th construction vehicle, and performs firmware upgrade by using the firmware upgrade information of the j-th construction vehicle.
[0020] In some embodiments, the random signal includes vehicle vibration noise; the predetermined parameter includes the photon arrival time in quantum key distribution (QKD).
[0021] According to a second aspect of the embodiments of the present disclosure, there is provided a communication controller, including: a memory; a processor coupled to the memory, the processor being configured to execute a communication method according to any one of the above embodiments based on instructions stored in the memory.
[0022] According to a third aspect of the embodiments of the present disclosure, there is provided a control device, including the communication controller according to any one of the above embodiments.
[0023] According to a fourth aspect of the embodiments of the present disclosure, there is provided a communication system, including: the control device according to any one of the above embodiments; a plurality of construction vehicles, wherein the m-th construction vehicle among the plurality of construction vehicles is configured to collect communication quality information between the control device and the m-th construction vehicle at a first predetermined frequency. , where N is the total number of construction vehicles, determine the phase deviation based on the communication quality information, compensate the original beamforming weight matrix according to the phase deviation to obtain a beamforming weight compensation matrix, and use the beamforming weight compensation matrix to communicate with the control device.
[0024] In some embodiments, the m-th construction vehicle is configured to negotiate a quantum random number with the control device, determine a first dynamic session key based on the quantum random number and a predetermined timestamp, encrypt the firmware information and the first dynamic session key of the m-th construction vehicle using the private key of the m-th construction vehicle to generate signature information, and send the signature information to the control device.
[0025] In some embodiments, the m-th construction vehicle is configured to receive the first encrypted information and the second encrypted information sent by the control device, decrypt the second encrypted information using a predetermined parameter to obtain a random signal, decrypt the first encrypted information using the random signal to obtain the firmware upgrade information of the m-th construction vehicle, and perform a firmware upgrade using the firmware upgrade information of the m-th construction vehicle.
[0026] According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the communication method according to any of the above embodiments is implemented.
[0027] According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer program product, including computer instructions, where when the computer instructions are executed by a processor, the communication method according to any of the above embodiments is implemented.
[0028] Through the following detailed description of the exemplary embodiments of the present disclosure with reference to the accompanying drawings, other features and advantages of the present disclosure will become clear. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0030] Figure 1 It is a schematic flowchart of a communication method according to an embodiment of the present disclosure;
[0031] Figure 2 It is a schematic flowchart of a communication method according to another embodiment of the present disclosure;
[0032] Figure 3 It is a schematic flowchart of a communication method according to still another embodiment of the present disclosure;
[0033] Figure 4 Schematic flowchart of a communication method according to another embodiment of the present disclosure;
[0034] Figure 5 Schematic structural diagram of a communication controller according to an embodiment of the present disclosure;
[0035] Figure 6 Schematic structural diagram of a control device according to an embodiment of the present disclosure;
[0036] Figure 7 Schematic structural diagram of a communication system according to an embodiment of the present disclosure. Detailed implementation manners
[0037] Next, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and in no way limits the present disclosure and its application or use. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts belong to the scope of protection of the present disclosure.
[0038] Unless otherwise specifically stated, the relative arrangements, numerical expressions, and numerical values of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.
[0039] At the same time, it should be understood that, for the sake of convenience of description, the sizes of the respective parts shown in the drawings are not drawn in actual proportional relationship.
[0040] For technologies, methods, and devices known to those of ordinary skill in the relevant art, detailed discussions may not be made, but in appropriate cases, the technologies, methods, and devices should be regarded as part of the authorization specification.
[0041] In all the examples shown and discussed here, any specific value should be construed as merely exemplary, rather than as a limitation. Therefore, other examples of the exemplary embodiments may have different values.
[0042] It should be noted that similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0043] Figure 1 Schematic flowchart of a communication method according to an embodiment of the present disclosure. In some embodiments, the following communication method is executed by a communication controller in a control device and includes steps 11-14.
[0044] In step 11, communication quality information between the control device and each of the multiple construction vehicles is collected at a first predetermined frequency.
[0045] In some embodiments, an antenna array on the control device can be utilized to collect the communication quality information between the control device and each construction vehicle.
[0046] For example, the antenna array is a dual-polarized MIMO (Multiple-Input Multiple-Output) antenna array.
[0047] For example, the antenna array includes 4 transmitting antennas and 4 receiving antennas.
[0048] In some embodiments, the communication quality information includes at least one of RSSI (Received Signal Strength Indication) and CSI (Channel State Information).
[0049] It should be noted here that RSSI is an index used to measure the strength of a wireless signal, representing the power level of the wireless signal received at the receiving end. The smaller the RSSI, the weaker the signal. CSI is used to describe the channel characteristics during the process of the signal propagating from the transmitting end to the receiving end, including the effects of scattering, fading, power attenuation, etc. of the signal during propagation. The transmitting end can adjust the transmission parameters according to CSI to improve the efficiency and reliability of communication.
[0050] In step 12, according to the communication quality information, the phase deviation is determined.
[0051] For example, through a pre-trained 3D-FDTD (Three Dimensional - Finite Difference Time Domain) electromagnetic simulation model, the phase deviation caused by the metal structure of the control device itself is calculated. .
[0052] In step 13, according to the phase deviation, the original beamforming weight matrix is compensated to obtain a beamforming weight compensation matrix.
[0053] In some embodiments, an intermediate value is determined according to the product of the phase deviation and the imaginary unit j. The exponential function value with the intermediate value as the exponent is calculated to obtain a compensation value. According to the original beamforming weight matrix and the compensation value, the beamforming weight compensation matrix is determined.
[0054] In some embodiments, the Hadamard product of the original beamforming weight matrix and the compensation value is calculated to obtain a beamforming weight compensation matrix.
[0055] For example, let the phase deviation be , the original beamforming weight matrix be , then the beamforming weight compensation matrix is as shown in formula (1).
[0056] (1)
[0057] In formula (1), is the Hadamard product operator.
[0058] In step 14, communication is performed with each construction vehicle using the beamforming weight compensation matrix.
[0059] It should be noted here that in the above embodiments, by compensating the phase deviation of the beamforming weight matrix, the bit error rate can be reduced and the signal stability can be enhanced, thereby improving the communication quality.
[0060] It should be noted here that the construction vehicle will also use the above embodiments to compensate the original beamforming weight matrix to obtain a beamforming weight compensation matrix, and use the beamforming weight compensation matrix to communicate with the control device.
[0061] In some embodiments, the communication controller performs security authentication on each construction vehicle.
[0062] For example, the communication controller uses the Figure 2 shown process to perform security authentication on each construction vehicle.
[0063] Figure 2 This is a schematic flowchart of a communication method according to another embodiment of the present disclosure. In some embodiments, the following communication method is executed by a communication controller in a control device, including steps 21-26.
[0064] In step 21, a quantum random number is negotiated with the i-th construction vehicle, , where N is the total number of construction vehicles.
[0065] It should be noted here that to ensure communication security, an encrypted transmission scheme is used for communication between the communication controller and each of the multiple construction vehicles. The communication controller and the i-th construction vehicle can use quantum key distribution technology to negotiate quantum random numbers.
[0066] For example, the communication controller uses the BB84-QKD protocol to negotiate 256-bit quantum random numbers with each construction vehicle.
[0067] In step 22, determine the first dynamic session key according to the quantum random number and the predetermined timestamp.
[0068] For example, calculate the first dynamic session key using the LAC-128 lightweight symmetric encryption algorithm.
[0069] It should be noted here that the predetermined timestamp can be updated according to a predetermined period. For example, the first predetermined period can be 3 minutes. Compared with the static key, the dynamic session key can provide higher security for communication.
[0070] For example, calculate the first dynamic session key K_session using formula (2).
[0071] K_session = Hash(Q_seed || Timestamp) (2)
[0072] In formula (2), Q_seed is the quantum random number, Timestamp is the predetermined timestamp, and Hash is the hash function.
[0073] In step 23, use the public key of the i-th construction vehicle to verify the signature information sent by the i-th construction vehicle.
[0074] It should be noted here that each construction vehicle can pre-set a pair of asymmetric key pairs and store the public key in the communication controller. The communication controller verifies the signature information sent by the i-th construction vehicle to verify the identity of the i-th construction vehicle.
[0075] For example, each construction vehicle generates an asymmetric key pair through the CRYSTALS-Keber algorithm.
[0076] For example, the signature information Sign sent by the i-th construction vehicle is shown in formula (3).
[0077] Sign_sk_i( Hash(Firmware_Info || K_session) ) (3)
[0078] In formula (3), sk_i is the private key of the i-th project, Firmware_Info is the firmware information of the i-th construction vehicle, and K_session is the dynamic session key generated by the i-th construction vehicle.
[0079] If the communication controller can successfully verify the signature information Sign sent by the i-th construction vehicle using the public key pk_i of the i-th construction vehicle, it can prove that the identity of the i-th construction vehicle is legal.
[0080] In step 24, if the signature information passes the verification, use the first dynamic session key to decrypt the encrypted information included in the signature information to obtain the firmware information to be verified.
[0081] For example, if the signature information as shown in formula (3) passes the verification, the encrypted information carried in the signature information can be obtained, as shown in formula (4).
[0082] Hash(Firmware_Info || K_session) (4)
[0083] Next, the communication controller uses the first dynamic session key generated by itself to decrypt formula (4). If the first dynamic session key generated by the communication controller itself is the same as the dynamic session key generated by the i-th construction vehicle, the firmware information Firmware_Info of the i-th construction vehicle carried in formula (4) can be obtained.
[0084] In step 25, verify whether the firmware information to be verified is the firmware information of the i-th construction vehicle.
[0085] For example, save the firmware information of each construction vehicle in the blockchain. The communication controller verifies the firmware information to be verified with the firmware information of the i-th construction vehicle recorded in the blockchain to determine whether the firmware information to be verified is legal.
[0086] It should be noted here that in order to improve the verification efficiency, the following optimizations can be made to the blockchain.
[0087] (1)Smart contract optimization
[0088] • Design a streamlined verification contract VerifySC, and compress operations such as firmware hash comparison and digital signature verification into 5 OP_CODEs (Operation Code).
[0089] • Adopt a sharding verification mechanism, divide multiple construction vehicles to be verified into 8 consensus groups, and reduce the smart contract execution delay to 1.2 seconds (83% lower than the traditional scheme).
[0090] (2)Evidence preservation and traceability
[0091] • Each upgrade record is written into the consortium chain in the form of a Merkle Patricia Tree structure, supporting privacy queries through zero-knowledge proofs (zk-SNARK).
[0092] • The data upload rate reaches 1200 TPS, meeting the timeliness requirements for construction vehicles to generate upgrade logs every 15 minutes.
[0093] In step 26, if the firmware information to be verified is the firmware information of the i-th construction vehicle, it is determined that the i-th construction vehicle passes the security authentication.
[0094] Through the communication method provided by the above embodiments, signature authentication is added during the communication process between the communication controller and the i-th construction vehicle, achieving double guarantees of quantum security and data integrity.
[0095] In some embodiments, when networking multiple construction vehicles with QKD (Quantum Key Distribution), the working path between the control device and the i-th construction vehicle is selected.
[0096] For example, selecting the working path between the control device and the i-th construction vehicle includes the following.
[0097] 1) Determine multiple candidate paths between the control device and the i-th construction vehicle.
[0098] It should be noted here that due to the vast and complex terrain of the mining operation area, there may be multiple candidate paths between the control device and the i-th construction vehicle. For example, the control device can directly communicate with the i-th construction vehicle, or the control device can communicate with the i-th construction vehicle through other construction vehicles. In this case, other construction vehicles act as relay nodes.
[0099] 2) Determine the communication quality of each candidate path among the multiple candidate paths.
[0100] In some embodiments, the communication quality of each candidate path is determined according to at least one of the quantum bit error rate (Quantum Bit Error Rate, abbreviated as: QBER) and the transmission delay of each candidate path.
[0101] For example, the communication quality can be set as the weighted sum of the quantum bit error rate and the transmission delay. The higher the quantum bit error rate and the greater the transmission delay, the worse the communication quality.
[0102] 3) Use the candidate path with the best communication quality as the working path.
[0103] For example, by calculating the Pareto optimal solution of the communication quality of multiple candidate paths between the control device and the i-th construction vehicle, the candidate path with the best communication quality is obtained.
[0104] After determining the working path between the control device and the i-th construction vehicle, the control device and the i-th construction vehicle communicate using this working path.
[0105] Figure 3Schematic flowchart of a communication method according to another embodiment of the present disclosure. In some embodiments, the following communication method is executed by a communication controller in a control device, including steps 31-33.
[0106] In step 31, a temporary key is determined based on a quantum key and a post-quantum key.
[0107] For example, a 256-bit quantum key (Quantum Key, abbreviated as: QK) is generated using the BB84 protocol. The session key is encapsulated using the CRYSTALS-Kyber algorithm to obtain a post-quantum key (Post-Quantum Key, abbreviated as: PQK), and the post-quantum key can resist quantum computing attacks. Fusing the quantum key and the post-quantum key can achieve a balance between quantum security and algorithm efficiency.
[0108] For example, the temporary key temp_key is calculated through formula (5).
[0109] hmac_sha3(QK, PQK, temp_key) (5)
[0110] In formula (5), hmac_sha3 is an HMAC (Hash-based Message Authentication Code, key-related hash operation message authentication code) algorithm based on the SHA-3 hash algorithm.
[0111] In step 32, a second dynamic session key is determined based on the temporary key.
[0112] It should be noted here that the second dynamic session key can be updated according to a second predetermined period. For example, the second predetermined period can be 3 minutes.
[0113] For example, the second dynamic session key SK is calculated through formula (6).
[0114] lac128_key_schedule(temp_key, SK) (6)
[0115] In formula (6), lac128_key_schedule is the lac128 key algorithm, where the lac128 key algorithm is a post-quantum public key encryption algorithm based on lattice cryptography.
[0116] In step 33, a session connection is established with each construction vehicle using the second dynamic session key.
[0117] Through the communication method provided in the above embodiments, the communication between the control device and each construction vehicle has the ability to resist quantum computing attacks, which can improve the security of communication.
[0118] It should be noted here that during the operation of construction vehicles, the firmware information will be upgraded according to the operation requirements. In the case of multiple construction vehicles working together, to avoid the normal operation from being affected due to simultaneous upgrades of multiple construction vehicles, a method of upgrading multiple construction vehicles sequentially is selected. For example, the upgrade method can be the one as Figure 4 shown.
[0119] Figure 4 It is a schematic flowchart of a communication method according to another embodiment of the present disclosure. In some embodiments, the following communication method is executed by a communication controller in a control device, including steps 41-43.
[0120] In step 41, the status information of each construction vehicle is determined at a second predetermined frequency, where the status information of each construction vehicle includes the location information, firmware information, and channel quality information of each construction vehicle.
[0121] In step 42, the firmware upgrade cost of each construction vehicle is calculated according to the status information of each construction vehicle.
[0122] In some embodiments, calculating the firmware upgrade cost of each construction vehicle includes the following content.
[0123] 1) Calculate the total firmware upgrade time of each construction vehicle.
[0124] In some embodiments, according to the total number of firmware of each construction vehicle, the size and installation time of each firmware, the bandwidth allocated to each firmware, and whether each construction vehicle needs to be restarted, the total firmware upgrade time of each construction vehicle is calculated.
[0125] For example, let the total number of firmware of the j-th construction vehicle be , where the size of the i-th firmware is , , the installation time is , the bandwidth allocated to the i-th firmware is , then the total firmware upgrade time of the j-th construction vehicle is as shown in formula (7).
[0126] (7)
[0127] In formula (7), is used to represent whether the j-th construction vehicle needs to be restarted.
[0128] 2) Calculate the total conflict cost of firmware upgrade of each construction vehicle.
[0129] In some embodiments, the total conflict cost of firmware upgrade for each construction vehicle is calculated according to the total number of links of each construction vehicle, the conflict probability of each link, and the single rollback cost.
[0130] For example, let the total number of links of the j-th construction vehicle be K, where the conflict probability of the k-th link is , and the single rollback cost is , then the total conflict cost of firmware upgrade for the j-th construction vehicle is as shown in formula (8).
[0131] (8)
[0132] 3) Calculate the total resource cost of firmware upgrade for each construction vehicle.
[0133] In some embodiments, the total resource cost of firmware upgrade for each construction vehicle is calculated according to the total number of links of each construction vehicle, the bandwidth occupied by each link, and the total bandwidth.
[0134] For example, let the total number of links of the j-th construction vehicle be K, where the bandwidth occupied by the k-th link is , and the total bandwidth is , then the total resource cost of firmware upgrade for the j-th construction vehicle is as shown in formula (9).
[0135] (9)
[0136] 4) Determine the firmware upgrade cost for each construction vehicle according to the total firmware upgrade time, the total conflict cost of firmware upgrade, and the total resource cost of firmware upgrade.
[0137] In some embodiments, the firmware upgrade cost for each construction vehicle is determined according to the weighted sum of the total firmware upgrade time, the total conflict cost of firmware upgrade, and the total resource cost of firmware upgrade.
[0138] For example, let the weight of the total firmware upgrade time be , the weight of the total conflict cost of firmware upgrade be , and the weight of the total resource cost of firmware upgrade be , then the firmware upgrade cost for the j-th construction vehicle is as shown in formula (10).
[0139] (10)
[0140] In step 43, the firmware upgrades of multiple construction vehicles are performed in ascending order of the firmware upgrade cost.
[0141] In some embodiments, performing a firmware upgrade on a plurality of engineering vehicles includes the following.
[0142] 1) When the firmware of the j-th engineering vehicle is upgraded, the firmware upgrade information of the j-th engineering vehicle is encrypted using a random signal to obtain first encrypted information. , N is the total number of engineering vehicles.
[0143] In some embodiments, the random signal includes vehicle vibration noise.
[0144] It's important to note that vehicle vibration noise refers to the irregular, random noise generated during vehicle operation. This noise is characterized by a wide frequency range, unstable intensity, and dramatic fluctuations. Therefore, vehicle vibration noise exhibits a high degree of randomness.
[0145] For example, the collected vehicle vibration noise in the frequency band of 20-200 Hz is written into the random signal pool. When the random signal is used, the vehicle vibration noise is randomly selected from the random signal pool as the random signal.
[0146] 2) Encrypting the random signal using a predetermined parameter to obtain second encrypted information.
[0147] In some embodiments, the predetermined parameters include photon arrival times in QKD.
[0148] For example, the predetermined parameter and the random signal are XORed to obtain the second encrypted information.
[0149] 3) Sending the first encrypted information and the second encrypted information to the j-th engineering vehicle, so that the j-th engineering vehicle decrypts the second encrypted information using predetermined parameters to obtain a random signal, decrypts the first encrypted information using the random signal to obtain firmware upgrade information for the j-th engineering vehicle, and performs a firmware upgrade using the firmware upgrade information for the j-th engineering vehicle.
[0150] The communication method provided by the above embodiment can improve the efficiency and safety of collaborative upgrading of multiple heterogeneous engineering vehicles.
[0151] Figure 5 FIG. 1 is a schematic diagram of the structure of a communication controller according to an embodiment of the present disclosure. Figure 5 As shown, the communication controller 50 includes a memory 51, a processor 52, and a bus 53 that connects the various system components.
[0152] The memory 51 can include, for example, a system memory, a non-volatile storage medium, etc. The system memory stores, for example, an operating system, application programs, a boot loader, and other programs. The system memory can include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium stores, for example, instructions corresponding to at least one embodiment of the communication method in execution. The non-volatile storage medium includes, but is not limited to, a magnetic disk memory, an optical memory, a flash memory, etc.
[0153] The processor 52 can be implemented in the form of a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates, or discrete hardware components such as transistors. Correspondingly, the method in any of the above embodiments can be implemented by a central processing unit (CPU) running instructions for executing corresponding steps in the memory, or can be implemented by a dedicated circuit for executing the corresponding steps.
[0154] For example, the processor 52 is configured to execute, based on the instructions stored in the memory, the method involved in any of the embodiments as Figures 1 to 4 described in any of the embodiments.
[0155] The bus 53 can use any bus structure among a variety of bus structures. For example, the bus structure includes, but is not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus.
[0156] These interfaces 54, 55, 56 of the communication controller 50 and between the memory 51 and the processor 52 can be connected through the bus 53. The input / output interface 54 can provide a connection interface for input / output devices such as a display, a mouse, and a keyboard. The network interface 55 provides a connection interface for various networking devices. The storage interface 56 provides a connection interface for external storage devices such as a floppy disk, a USB flash drive, and an SD card.
[0157] Here, various aspects of the present disclosure have been described with reference to the flowcharts and / or block diagrams of the method, apparatus, and computer program product according to the embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and the combinations of the blocks, can be implemented by computer-readable program instructions.
[0158] These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable devices to generate a machine, such that the device for implementing the functions specified in one or more blocks in the flowcharts and / or block diagrams is generated by the processor executing the instructions.
[0159] These computer-readable program instructions can also be stored in a computer-readable memory, and these instructions cause the computer to work in a specific manner, thereby producing a manufactured article, including instructions for implementing the functions specified in one or more boxes in the flowchart and / or block diagram.
[0160] The present disclosure can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects.
[0161] The present disclosure also provides a computer-readable storage medium, in which the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the methods related to any one of the embodiments as Figures 1 to 4 described are implemented.
[0162] The present disclosure also provides a computer program product, including computer instructions, and when the computer instructions are executed by a processor, the methods related to any one of the embodiments as Figures 1 to 4 described are implemented.
[0163] Figure 6 is a schematic structural diagram of a control device according to an embodiment of the present disclosure. As Figure 6 shown, the control device 60 includes a communication controller 61, and the communication controller 61 is a communication controller as shown in any one of the embodiments as Figure 5 described.
[0164] It should be noted here that the control device can be a road test device or a mobile device. For example, an engineering vehicle can be configured so that the engineering vehicle has the function of the control device.
[0165] Figure 7 is a schematic structural diagram of a communication system according to an embodiment of the present disclosure. As Figure 7 shown, the communication system includes a control device 71 and a plurality of engineering vehicles 72, and the control device 71 is the control device as shown in any one of the embodiments as Figure 6 described.
[0166] The m-th engineering vehicle among the plurality of engineering vehicles 72 is configured to collect the communication quality information between the control device and the m-th engineering vehicle at a first predetermined frequency, , where N is the total number of engineering vehicles, determine the phase deviation according to the communication quality information, compensate the original beamforming weight matrix according to the phase deviation to obtain a beamforming weight compensation matrix, and use the beamforming weight compensation matrix to communicate with the control device.
[0167] For example, the m-th engineering vehicle is configured to obtain the beamforming weight compensation matrix using the above formula (1).
[0168] In some embodiments, the m-th construction vehicle is configured to negotiate quantum random numbers with a control device, determine a first dynamic session key according to the quantum random numbers and a predetermined timestamp, encrypt the firmware information and the first dynamic session key of the m-th construction vehicle by using the private key of the m-th construction vehicle to generate signature information, and send the signature information to the control device.
[0169] For example, the first dynamic session key generated by the m-th construction vehicle is shown in formula (2), and the signature information generated by the m-th construction vehicle is shown in formula (3).
[0170] In some embodiments, the m-th construction vehicle is configured to receive first encrypted information and second encrypted information sent by the control device, decrypt the second encrypted information by using a predetermined parameter to obtain a random signal, decrypt the first encrypted information by using the random signal to obtain the firmware upgrade information of the m-th construction vehicle, and perform firmware upgrade by using the firmware upgrade information of the m-th construction vehicle.
[0171] In some embodiments, the functional units described above can be implemented as a general-purpose processor, a programmable logic controller (PLC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or any suitable combination thereof for performing the functions described in this disclosure.
[0172] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk, an optical disk, or the like.
[0173] The description of this disclosure is given for purposes of illustration and description, and is not intended to be exhaustive or to limit the disclosure to the form disclosed. Many modifications and variations are obvious to those of ordinary skill in the art. The embodiments are chosen and described in order to better explain the principles and practical applications of this disclosure, and to enable those of ordinary skill in the art to understand this disclosure and design various embodiments with various modifications suitable for specific purposes.
Claims
1. A communication method, executed by a communication controller in a control device, includes: Collecting communication quality information between the control device and each of a plurality of construction vehicles at a first predetermined frequency; Determining a phase deviation according to the communication quality information; Compensating an original beamforming weight matrix according to the phase deviation to obtain a beamforming weight compensation matrix; Communicating with each of the construction vehicles by using the beamforming weight compensation matrix.
2. The communication method according to claim 1, wherein, The compensating the original beamforming weight matrix includes: Determining an intermediate value according to the product of the phase deviation and the imaginary unit j; Calculating an exponential function value with the intermediate value as an exponent to obtain a compensation value; Determining the beamforming weight compensation matrix according to the original beamforming weight matrix and the compensation value.
3. The communication method according to claim 2, wherein, The determining the beamforming weight compensation matrix includes: Calculating a Hadamard product of the original beamforming weight matrix and the compensation value to obtain the beamforming weight compensation matrix.
4. The communication method according to claim 1, wherein, The communication quality information includes at least one of a received signal strength indication (RSSI) and a channel state information (CSI).
5. The communication method according to claim 1, further includes: Performing a security authentication on each of the construction vehicles, where the performing a security authentication on each of the construction vehicles includes: Negotiate quantum random numbers with the i-th construction vehicle, , where N is the total number of construction vehicles; Determining a first dynamic session key according to the quantum random number and a predetermined timestamp; Verifying signature information sent by the i-th construction vehicle by using a public key of the i-th construction vehicle; If the signature information passes the verification, decrypting encrypted information included in the signature information by using the first dynamic session key to obtain firmware information to be verified; Verifying whether the firmware information to be verified is firmware information of the i-th construction vehicle; If the firmware information to be verified is firmware information of the i-th construction vehicle, determining that the i-th construction vehicle passes the security authentication.
6. The communication method according to claim 5, further includes: Selecting a working path between the control device and the i-th construction vehicle, where the selecting a working path between the control device and the i-th construction vehicle includes: Determining a plurality of candidate paths between the control device and the i-th construction vehicle; Determining communication quality of each of the plurality of candidate paths; Taking the candidate path with the best communication quality as the working path.
7. The communication method according to claim 6, wherein The determining communication quality of each of the plurality of candidate paths includes: Determining the communication quality of each of the candidate paths according to at least one of a quantum bit error rate and a transmission delay of each of the candidate paths.
8. The communication method according to claim 1, further includes: Establishing a session connection with each of the construction vehicles, where the establishing a session connection with each of the construction vehicles includes: Determining a temporary key according to a quantum key and a post-quantum key; Determining a second dynamic session key according to the temporary key; Establishing a session connection with each of the construction vehicles by using the second dynamic session key.
9. The communication method according to any one of claims 1-8, further includes: Determine the status information of each construction vehicle at a second predetermined frequency, where the status information of each construction vehicle includes the location information, firmware information, and channel quality information of each construction vehicle; Calculate the firmware upgrade cost of each construction vehicle according to the status information of each construction vehicle; Perform firmware upgrade on the multiple construction vehicles in ascending order of the firmware upgrade cost.
10. The communication method according to claim 9, wherein, The calculating the firmware upgrade cost of each construction vehicle includes: Calculate the total firmware upgrade time of each construction vehicle; Calculate the total conflict cost of the firmware upgrade of each construction vehicle; Calculate the total resource cost of the firmware upgrade of each construction vehicle; Determine the firmware upgrade cost of each construction vehicle according to the total firmware upgrade time, the total conflict cost of the firmware upgrade, and the total resource cost of the firmware upgrade.
11. The communication method according to claim 10, wherein, The determining the firmware upgrade cost of each construction vehicle includes: Determine the firmware upgrade cost of each construction vehicle according to the weighted sum of the total firmware upgrade time, the total conflict cost of the firmware upgrade, and the total resource cost of the firmware upgrade.
12. The communication method according to claim 10, wherein, The calculating the total firmware upgrade time of each construction vehicle includes: Calculate the total firmware upgrade time of each construction vehicle according to the total number of firmware of each construction vehicle, the size and installation time of each firmware, the bandwidth allocated to each firmware, and whether each construction vehicle needs to be restarted.
13. The communication method according to claim 10, wherein, The calculating the total conflict cost of the firmware upgrade of each construction vehicle includes: Calculate the total conflict cost of the firmware upgrade of each construction vehicle according to the total number of links of each construction vehicle, the conflict probability of each link, and the single rollback cost.
14. The communication method according to claim 10, wherein The calculating the total resource cost of the firmware upgrade of each construction vehicle includes: Calculate the total resource cost of the firmware upgrade of each construction vehicle according to the total number of links of each construction vehicle, the bandwidth occupied by each link, and the total bandwidth.
15. The communication method according to claim 9, wherein, The performing firmware upgrade on the multiple construction vehicles includes: In the case of performing firmware upgrade on the j-th construction vehicle, encrypt the firmware upgrade information of the j-th construction vehicle by using a random signal to obtain a first encrypted information. , where N is the total number of construction vehicles; Encrypt the random signal using predetermined parameters to obtain second encrypted information; Send the first encrypted information and the second encrypted information to the j-th construction vehicle, so that the j-th construction vehicle decrypts the second encrypted information using the predetermined parameters to obtain the random signal, decrypts the first encrypted information using the random signal to obtain the firmware upgrade information of the j-th construction vehicle, and performs firmware upgrade using the firmware upgrade information of the j-th construction vehicle.
16. The communication method according to claim 15, wherein The random signal includes vehicle vibration noise; The predetermined parameters include the photon arrival time in quantum key distribution (QKD).
17. A communication controller, comprising: A memory; A processor, coupled to the memory, the processor being configured to execute a method as described in any one of claims 1-16 based on instructions stored in the memory.
18. A control device, comprising the communication controller as claimed in claim 17.
19. A communication system, comprising: The control device as claimed in claim 18; Multiple construction vehicles, wherein the m-th construction vehicle among the multiple construction vehicles is configured to collect communication quality information between the control device and the m-th construction vehicle at a first predetermined frequency, , where N is the total number of construction vehicles, determine a phase deviation according to the communication quality information, compensate the original beamforming weight matrix according to the phase deviation to obtain a beamforming weight compensation matrix, and use the beamforming weight compensation matrix to communicate with the control device.
20. The communication system according to claim 19, wherein the m-th construction vehicle is configured to negotiate a quantum random number with the control device, determine a first dynamic session key according to the quantum random number and a predetermined timestamp, encrypt the firmware information of the m-th construction vehicle and the first dynamic session key by using the private key of the m-th construction vehicle to generate signature information, and send the signature information to the control device.
21. The communication system according to claim 19, wherein the m-th construction vehicle is configured to receive first encrypted information and second encrypted information sent by the control device, decrypt the second encrypted information by using a predetermined parameter to obtain a random signal, decrypt the first encrypted information by using the random signal to obtain firmware upgrade information of the m-th construction vehicle, and perform firmware upgrade by using the firmware upgrade information of the m-th construction vehicle.
22. A computer-readable storage medium, wherein, A computer-readable storage medium stores computer instructions, which when executed by a processor, implement the method according to any one of claims 1-16.
23. A computer program product includes computer instructions, which when executed by a processor, implement the method according to any one of claims 1-16.