A Short Packet Secure Communication Method in a Wireless Energy-Enabled Internet of Things
By optimizing packet error rate and packet length, and adopting wireless RF energy acquisition from hybrid access points and terminals, the problem of wireless power-supply short packet communications is easily eavesdropped, and the security throughput is improved.
Patent Information
- Application Number
- CN202211374959.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-04
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-11-04
AI Technical Summary
Wireless powered IoT medium and short packet communication is susceptible to eavesdropping threats and has a high packet error rate, making it difficult for the existing technology to effectively improve security throughput.
By optimizing packet error rate and packet length, wireless RF energy acquisition of hybrid access points and terminals is adopted, combined with the inner point method and greedy algorithm to optimize the solution of short packet security communication model, and improve the total security throughput.
It significantly improves the total security throughput of all terminals in the wireless power supply Internet of Things and improves security performance.
Smart Images

Figure CN115915140B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of wireless communication and relates to a short-packet secure communication method in a wireless power supply Internet of Things. Background Art
[0002] Radio frequency energy harvesting is an effective technology to extend the lifespan of low-power Internet of Things terminals. Therefore, how to efficiently utilize the harvested energy is a research hotspot in wireless power supply Internet of Things. In addition, due to the broadcast nature of wireless communication, the Internet of Things is vulnerable to eavesdropping threats. In this regard, physical layer security has been widely adopted as an effective eavesdropping defense technology.
[0003] However, most of the existing research on wireless power supply Internet of Things adopts a long-packet communication transmission mechanism. However, due to the strict latency requirements of Internet of Things applications (such as remote surgery), the Internet of Things usually uses short-packet communication. Different from long-packet communication transmission, even if the transmission rate is less than the Shannon capacity, short-packet communication will suffer from a non-negligible packet error rate, and even if the secure transmission rate is less than the secrecy capacity, short-packet communication will suffer from a certain amount of information leakage.
[0004] Therefore, it is necessary to study a secure communication method for short-packet transmission in a wireless power supply Internet of Things. Summary of the Invention
[0005] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a short-packet secure communication method in a wireless power supply Internet of Things. For the communication scenario where the terminals in the Internet of Things are powered by wireless radio frequency energy harvesting, by optimizing the packet error rate and packet length, the total secure throughput of all Internet of Things terminals is maximized.
[0006] To achieve the above object, the present invention is implemented by the following technical solutions:
[0007] In a first aspect, the present invention provides a short-packet secure communication method in a wireless power supply Internet of Things. Based on a wireless power supply Internet of Things communication system, the wireless power supply Internet of Things communication system includes multiple wirelessly powered Internet of Things terminals and a hybrid access point, and there is an eavesdropper attempting to eavesdrop on the information sent by the terminals. The short-packet secure communication method includes:
[0008] Obtain the information of the Internet of Things terminals, the hybrid access point, the eavesdropper, and the total packet length;
[0009] Based on the information of the Internet of Things terminals, the hybrid access point, the eavesdropper, and the total packet length, optimize and solve the pre-constructed short-packet secure communication optimization problem model in the wireless power supply Internet of Things to obtain the packet length n0 of the energy signal broadcast by the hybrid access point, the packet length n of the data sent by the terminal k to the hybrid access point k and the packet error rate ∈ of the data sent by the terminal k to the hybrid access point k ;
[0010] Based on the packet length \(n_0\) of the hybrid access point's broadcast energy signal obtained by solving, the packet length \(n\) of the data sent by terminal \(k\) to the hybrid access point k and the packet error rate \(\epsilon\) of the data sent by terminal \(k\) to the hybrid access point k , perform short-packet secure communication from the terminal to the hybrid access point;
[0011] Among them, optimizing and solving the short-packet secure communication optimization problem model in the pre-constructed wireless power supply Internet of Things includes:
[0012] Relax the integer-constrained packet length variable in the short-packet secure communication optimization problem model in the wireless power supply Internet of Things into a continuous variable to obtain a relaxed problem;
[0013] Decompose the relaxed problem into two sub-problems, and obtain the solution of the relaxed problem by iteratively optimizing the two sub-problems. Among them, the first sub-problem optimizes the packet error rate and is solved by the interior point method, and the second sub-problem optimizes the packet length and is solved by the continuous convex approximation method to obtain a continuous packet length variable;
[0014] Constrain the continuous packet length variable to an integer by the greedy algorithm to obtain the finally optimized packet length, and solve the first sub-problem again by the interior point method to obtain the finally optimized packet error rate.
[0015] In some embodiments, the short-packet secure communication optimization problem model in the wireless power supply Internet of Things includes:
[0016] P1:
[0017] Constraint C1:
[0018] Constraint C2:
[0019] Constraint C3:
[0020] This problem aims to maximize the total secure throughput of all terminals, where \(K\) is the number of Internet of Things terminals; \(n_0\) is the packet length of the hybrid access point's broadcast energy signal; \(n\) k is the packet length of the data sent by terminal \(k\) to the hybrid access point; \(N\) is the total packet length; is the set of non-negative integers; \(\epsilon\) k is the packet error rate of the data sent by terminal \(k\) to the hybrid access point; is the maximum packet error rate of the data sent by terminal \(k\) to the hybrid access point; is the secure throughput of terminal \(k\); is the secure rate of terminal \(k\); \(Q\) -1(x) is the inverse function of the Q function; δ k is the secrecy constraint parameter of information leakage; is the signal-to-noise ratio of the signal of terminal k received at the hybrid access point; is the signal-to-noise ratio of the signal of terminal k received at the eavesdropper; σ 2 is the noise power; M k , l k and l k are the wireless energy harvesting parameters of terminal k; P0 is the power of the energy signal broadcast by the hybrid access point; g k is the channel gain between terminal k and the hybrid access point, h k is the channel gain between terminal k and the eavesdropper, and it is assumed that g k ≥h k ;
[0021] Constraint C1 means that the sum of the packet lengths of the energy signal broadcast by the hybrid access point and the packet lengths of the data sent by the terminal to the hybrid access point cannot exceed the total packet length;
[0022] Constraint C2 means that the packet lengths of the energy signal broadcast by the hybrid access point and the packet lengths of the data sent by the terminal to the hybrid access point are non-negative;
[0023] Constraint C3 means that the packet error rate of the data sent by the terminal to the hybrid access point is non-negative and cannot exceed the maximum packet error rate.
[0024] In some embodiments, the integer-constrained packet length variable in the short-packet secure communication optimization problem model in the wireless energy-powered Internet of Things is relaxed to a continuous variable, obtaining the relaxed problem P2, including:
[0025] P2:
[0026] Constraint C1:
[0027] Constraint C3:
[0028] Constraint C4: n k ≥0, 0 ≤ k ≤ K.
[0029] In some embodiments, the relaxed problem is decomposed into two sub-problems, and the solution of the relaxed problem is obtained by iteratively optimizing the two sub-problems, including:
[0030] Step 3-1: Decompose the relaxed problem P2 into two sub-problems. Among them, the first sub-problem optimizes the packet error rate ∈ k for all terminals on the premise of a given packet length n k ; The second sub-problem optimizes the packet length n k for all terminals on the premise of a given packet error rate ∈k ;
[0031] For terminal k, the problem of optimizing the packet error rate ∈ k is modeled as the first sub-problem P3:
[0032] P3:
[0033] Constraint C5:
[0034] For all terminals, the problem of optimizing the packet length n k is modeled as the second sub-problem P4:
[0035] P4:
[0036] Constraint C1:
[0037] Constraint C4: n k ≥ 0, 0 ≤ k ≤ K
[0038] Step 3-2: Solve the first sub-problem P3 by the interior point method;
[0039] Step 3-3: Solve the second sub-problem P4 by the successive convex approximation method;
[0040] Step 3-4: If the value does not converge, then repeat Steps 3-2 and 3-3; otherwise, end this step to obtain the continuous packet length variable
[0041] In some embodiments, the continuous packet length variable is constrained to an integer by the greedy algorithm to obtain the finally optimized packet length, and the first sub-problem is solved again by the interior point method to obtain the finally optimized packet error rate, including:
[0042] Step 4-1: Let represent the continuous packet length variable; initialize the packet length as where [x] represents the integer value closest to x;
[0043] Step 4-2: If then execute Step 4-3, otherwise execute Step 4-4;
[0044] Step 4-3: Execute Steps 4-3-1 to 4-3-2 until the condition is not satisfied and output the integer packet length n k The value is equal to
[0045] Step 4-3-1: For all 0 ≤ i ≤ K, execute Steps 4-3-1-1 to 4-3-1-2;
[0046] Step 4-3-1-1: Set
[0047] Step 4-3-1-2: Given the packet length n k , solve the first sub-problem P3 by the interior point method to obtain the packet error rate ∈ k , and calculate the total secure throughput
[0048] Step 4-3-2: Let j = argmax 0≤i≤K T i , and set
[0049] Step 4-4: Execute Step 4-4-1 to Step 4-4-2 until the condition is not satisfied and output the integer packet length n k value equal to
[0050] Step 4-4-1: For all 0 ≤ i ≤ K, execute Step 4-4-1-1 to Step 4-4-1-2;
[0051] Step 4-4-1-1: Set
[0052] Step 4-4-1-2: Given the packet length n k , solve the first sub-problem P3 by the interior point method to obtain the packet error rate ∈ k , and calculate the total secure throughput
[0053] Step 4-4-2: Let j = argmax 0≤i≤K T i , and set
[0054] In some embodiments, based on the obtained packet length n0 of the hybrid access point broadcasting the energy signal, the packet length n of the terminal k sending data to the hybrid access point k and the packet error rate ∈ of the terminal k sending data to the hybrid access point k , perform short-packet secure communication from the terminal to the hybrid access point, including:
[0055] The hybrid access point broadcasts an energy signal with packet length n0 to all terminals;
[0056] Each terminal k collects the energy of the energy signal broadcast by the hybrid access point; according to the obtained packet error rate ∈ of the terminal k sending data to the hybrid access point k and the packet length n of the terminal k sending data to the hybrid access point k calculate the secure rate r of the terminal kk ; Based on the energy of the energy signal broadcast by the hybrid access point collected, terminal k sends data packets to the hybrid access point with packet length n k and secure rate r k to complete the short-packet secure communication from the terminal to the hybrid access point.
[0057] In a second aspect, the present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the short-packet secure communication method described in any one of the solutions in the first aspect.
[0058] In a third aspect, the present invention also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements the short-packet secure communication method described in any one of the solutions in the first aspect.
[0059] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0060] The short-packet secure communication method in the wireless-powered Internet of Things proposed by the present invention mainly aims at the communication scenario where terminals in the Internet of Things are powered by wireless radio frequency energy harvesting. By optimizing the packet error rate and packet length, the total secure throughput of all Internet of Things terminals is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 is a model diagram of the short-packet secure communication system in the wireless-powered Internet of Things in the first embodiment of the present invention;
[0062] Figure 2 is a flowchart of the short-packet secure communication method in the wireless-powered Internet of Things in the first embodiment of the present invention;
[0063] Figure 3 is a performance diagram of the short-packet secure communication method in the wireless-powered Internet of Things in the fourth embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0064] The technical solution of the present invention will be described in detail below with reference to the drawings and specific embodiments. It should be understood that the specific features in the embodiments of the present application and the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. Without conflict, the technical features in the embodiments of the present application and the embodiments can be combined with each other.
[0065] Embodiment 1
[0066] As Figure 1 and Figure 2As shown in the figure, this embodiment provides a short-packet secure communication method in a wireless power supply Internet of Things. Based on the wireless power supply Internet of Things communication system, the wireless power supply Internet of Things communication system includes multiple wireless-powered Internet of Things terminals and a hybrid access point, and there is an eavesdropper attempting to eavesdrop on the information sent by the terminals. The short-packet secure communication method includes:
[0067] Obtain the information of the Internet of Things terminal, the hybrid access point, the eavesdropper, and the total packet length;
[0068] Based on the information of the Internet of Things terminal, the hybrid access point, the eavesdropper, and the total packet length, optimize and solve the pre-constructed short-packet secure communication optimization problem model in the wireless power supply Internet of Things to obtain the packet length n0 of the hybrid access point broadcasting the energy signal, the packet length n of the terminal k sending data to the hybrid access point k and the packet error rate ∈ of the terminal k sending data to the hybrid access point k ;
[0069] Based on the obtained packet length n0 of the hybrid access point broadcasting the energy signal, the packet length n of the terminal k sending data to the hybrid access point k and the packet error rate ∈ of the terminal k sending data to the hybrid access point k , perform short-packet secure communication from the terminal to the hybrid access point;
[0070] Among them, optimizing and solving the pre-constructed short-packet secure communication optimization problem model in the wireless power supply Internet of Things includes:
[0071] 1. Establish a short-packet secure communication optimization problem model in the wireless power supply Internet of Things;
[0072] 2. Relax the integer-constrained packet length variable in the short-packet secure communication optimization problem model in the wireless power supply Internet of Things into a continuous variable to obtain a relaxed problem;
[0073] 3. Decompose the relaxed problem into two sub-problems, and obtain the solution of the relaxed problem by repeatedly iteratively optimizing the two sub-problems. Among them, the first sub-problem optimizes the packet error rate and is solved by the interior point method, and the second sub-problem optimizes the packet length and is solved by the continuous convex approximation method to obtain a continuous packet length variable;
[0074] 4. Constrain the continuous packet length variable to an integer by the greedy algorithm to obtain the finally optimized packet length, and solve the first sub-problem by the interior point method again to obtain the finally optimized packet error rate.
[0075] In some embodiments, the short-packet secure communication optimization problem model in the wireless power supply Internet of Things includes:
[0076] P1:
[0077] Constraint C1:
[0078] Constraint C2:
[0079] Constraint C3:
[0080] The problem aims to maximize the total secure throughput of all terminals, where K is the number of Internet of Things terminals; n0 is the packet length of the energy signal broadcast by the hybrid access point; n k is the packet length of the data sent by terminal k to the hybrid access point; N is the total packet length; is the set of non - negative integers; ∈ k is the packet error rate of the data sent by terminal k to the hybrid access point; is the maximum packet error rate of the data sent by terminal k to the hybrid access point; is the secure throughput of terminal k; is the secure rate of terminal k; Q -1 (x) is the Q - function inverse function of; δ k is the secrecy constraint parameter of information leakage; is the signal - to - noise ratio of the signal of terminal k received at the hybrid access point; is the signal - to - noise ratio of the signal of terminal k received at the eavesdropper; σ 2 is the noise power; M k , l k and ι k are the wireless energy harvesting parameters of terminal k; P0 is the power of the energy signal broadcast by the hybrid access point; g k is the channel gain between terminal k and the hybrid access point, h k is the channel gain between terminal k and the eavesdropper, and it is assumed that g k ≥h k ;
[0081] Constraint C1 means that the sum of the packet length of the energy signal broadcast by the hybrid access point and the packet length of the data sent by the terminal to the hybrid access point cannot exceed the total packet length;
[0082] Constraint C2 means that the packet length of the energy signal broadcast by the hybrid access point and the packet length of the data sent by the terminal to the hybrid access point are non - negative;
[0083] Constraint C3 means that the packet error rate of the data sent by the terminal to the hybrid access point is non - negative and cannot exceed the maximum packet error rate.
[0084] In some embodiments, the integer - constrained packet - length variable in the short - packet secure communication optimization problem model in the wireless power - supplied Internet of Things is relaxed to a continuous variable, obtaining the relaxed problem P2, including:
[0085] P2:
[0086] Constraint C1:
[0087] Constraint C3:
[0088] Constraint C4: n k ≥ 0, 0 ≤ k ≤ K.
[0089] In some embodiments, the relaxation problem is decomposed into two sub - problems, and the solution of the relaxation problem is obtained by iteratively optimizing the two sub - problems, including:
[0090] Step 3 - 1: Decompose the relaxation problem P2 into two sub - problems. Among them, for the first sub - problem, under the pre - condition of a given packet length n k for all terminals, optimize the packet error rate ∈ k ; for the second sub - problem, under the pre - condition of a given packet error rate ∈ k for all terminals, optimize the packet length n k ;
[0091] The problem of optimizing the packet error rate ∈ k for terminal k is modeled as the first sub - problem P3:
[0092] P3:
[0093] Constraint C5:
[0094] The problem of optimizing the packet length n k for all terminals is modeled as the second sub - problem P4:
[0095] P4:
[0096] Constraint C1:
[0097] Constraint C4: n k ≥ 0, 0 ≤ k ≤ K
[0098] Step 3 - 2: Solve the first sub - problem P3 by the interior - point method;
[0099] Step 3 - 3: Solve the second sub - problem P4 by the successive convex approximation method;
[0100] Step 3 - 4: If the value does not converge, then repeat Steps 3 - 2 and 3 - 3; otherwise, end this step and obtain the continuous packet - length variable
[0101] In some embodiments, the continuous packet length variable is constrained to an integer by a greedy algorithm to obtain the finally optimized packet length, and the first sub-problem is solved again by the interior point method to obtain the finally optimized packet error rate, including:
[0102] Step 4-1: Let represent the continuous packet length variable; initialize the packet length as where [x] represents the integer value closest to x;
[0103] Step 4-2: If then execute Step 4-3, otherwise execute Step 4-4;
[0104] Step 4-3: Execute Step 4-3-1 to Step 4-3-2 until the condition is not satisfied and output the integer packet length n k The value is equal to
[0105] Step 4-3-1: For all 0 ≤ i ≤ K, execute Step 4-3-1-1 to Step 4-3-1-2;
[0106] Step 4-3-1-1: Set
[0107] Step 4-3-1-2: Given the packet length n k , solve the first sub-problem P3 by the interior point method to obtain the packet error rate ∈ k , and calculate the total secure throughput
[0108] Step 4-3-2: Let j = argmax 0≤i≤K T i , and set
[0109] Step 4-4: Execute Step 4-4-1 to Step 4-4-2 until the condition is not satisfied and output the integer packet length n k The value is equal to
[0110] Step 4-4-1: For all 0 ≤ i ≤ K, execute Step 4-4-1-1 to Step 4-4-1-2;
[0111] Step 4-4-1-1: Set
[0112] Step 4-4-1-2: Given the packet length n k , solve the first sub-problem P3 by the interior point method to obtain the packet error rate ∈ k , and calculate the total secure throughput
[0113] Step 4-4-2: Let \(j=\arg\max\) 0≤i≤K \(T\) i , and set
[0114] In some embodiments, based on the packet length \(n_0\) of the energy signal broadcast by the hybrid access point obtained by solving, the packet length \(n\) of the data sent by the terminal \(k\) to the hybrid access point k and the packet error rate \(\epsilon\) of the data sent by the terminal \(k\) to the hybrid access point k , perform short-packet secure communication from the terminal to the hybrid access point, including:
[0115] The hybrid access point broadcasts an energy signal with packet length \(n_0\) to all terminals;
[0116] Each terminal \(k\) collects the energy of the energy signal broadcast by the hybrid access point; according to the packet error rate \(\epsilon\) of the data sent by the terminal \(k\) to the hybrid access point obtained by solving k and the packet length \(n\) of the data sent by the terminal \(k\) to the hybrid access point k calculate the secure rate \(r\) of the terminal \(k\) k ; based on the energy of the energy signal broadcast by the hybrid access point collected, the terminal \(k\) sends a data packet to the hybrid access point with packet length \(n\) k , secure rate \(r\) k , completing short-packet secure communication from the terminal to the hybrid access point.
[0117] Embodiment 2
[0118] This embodiment discloses a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the short-packet secure communication method disclosed in Embodiment 1.
[0119] Embodiment 3
[0120] This embodiment discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the short-packet secure communication method disclosed in Embodiment 1.
[0121] Embodiment 4
[0122] Assume the noise power is -90 dBm, the number of IoT terminals \(K = 6\), the distance between the terminal and the hybrid access point is 10 m, the distance between the terminal and the eavesdropper is 12 m, and the channel gain is modeled as \(10\) -3 \(d\) -2 \(z\), where \(d\) is the distance in meters and \(z\) follows an exponential distribution with a mean of 1. In addition, let \(P_0 = 10\) dBm, \(M\) k \(= 24\) mW, \(l\)k = 1500, ι k = 0.0022, δ k = 10 -6 , N = 200. Select the following three schemes as reference schemes and compare them with the selection scheme in the present invention: 1) TTM-SPC. This scheme aims to maximize the total throughput of short-packet communication; 2) TSTM-LPC, this scheme aims to maximize the total secure throughput of long-packet communication; 3) TTM-LPC, this scheme aims to maximize the total throughput of long-packet communication. The variation of the total secure throughput of the four schemes with N is as Figure 3 shown. The results show that as N increases, the total secure throughput increases. This indicates that the security performance can be improved by increasing the total packet length. The results also show that the method proposed in this application is superior to all reference schemes, and this performance improvement is not affected by the change of N.
[0123] In summary, the short-packet secure communication method in the wireless power supply Internet of Things proposed by the present invention is fully based on the characteristics of short-packet secure communication. By optimizing the packet error rate and packet length, it maximizes the total secure throughput of all Internet of Things terminals and greatly improves the security performance compared with traditional comparison schemes.
[0124] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0125] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the processes and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0126] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction device that implements the functions specified in one or more of the processes and / or blocks Figure 1 one or more of the processes and / or blocks Figure 1 specified in the block or blocks.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in one or more of the processes and / or blocks Figure 1 one or more of the processes and / or blocks Figure 1 specified in the block or blocks.
[0128] The foregoing is only a preferred embodiment of the present invention, and it should be noted that for those of ordinary skill in the art, without departing from the technical principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A short-packet secure communication method in a wireless energy-powered Internet of Things, characterized in that, Based on a wireless power supply Internet of Things communication system, the wireless power supply Internet of Things communication system includes multiple Internet of Things terminals powered wirelessly and a hybrid access point, and there is an eavesdropper attempting to eavesdrop on the information sent by the terminals; The short-packet secure communication method includes: Obtaining information of the Internet of Things terminals, the hybrid access point, the eavesdropper, and the total packet length; Based on the Internet of Things (IoT) terminal, hybrid access point, eavesdropper information, and total packet length, optimize and solve the pre-constructed short-packet secure communication optimization problem model in a wireless power supply IoT to obtain the packet length \(n_0\) of the energy signal broadcast by the hybrid access point, the packet length \(n\) of the data sent by terminal \(k\) to the hybrid access point k and the packet error rate \(\epsilon\) of the data sent by terminal \(k\) to the hybrid access point k ; Based on the packet length n0 of the hybrid access point broadcast energy signal obtained by solving, the packet length n of the data sent by the terminal k to the hybrid access point k and the packet error rate ∈ of the data sent by the terminal k to the hybrid access point k , perform short-packet secure communication from the terminal to the hybrid access point; Among them, optimizing and solving the short-packet secure communication optimization problem model in the pre-constructed wireless power supply Internet of Things includes: Relaxing the integer-constrained packet length variable in the short-packet secure communication optimization problem model in the wireless power supply Internet of Things into a continuous variable to obtain a relaxed problem; Decomposing the relaxed problem into two sub-problems, and obtaining the solution of the relaxed problem by iteratively optimizing the two sub-problems. Among them, the first sub-problem optimizes the packet error rate and is solved by the interior point method, and the second sub-problem optimizes the packet length and is solved by the sequential convex approximation method to obtain a continuous packet length variable; Constraining the continuous packet length variable to an integer by the greedy algorithm to obtain the finally optimized packet length, and solving the first sub-problem by the interior point method again to obtain the finally optimized packet error rate; Among them, the short-packet secure communication optimization problem model in the wireless power supply Internet of Things includes: Constraint C1: Constraint C2: Constraint C3: This problem aims to maximize the total secure throughput of all terminals, where K is the number of Internet of Things terminals; n0 is the packet length of the hybrid access point broadcasting the energy signal; n k is the packet length of the data sent by terminal k to the hybrid access point; N is the total packet length; is the set of non-negative integers; ∈ k is the packet error rate of the data sent by terminal k to the hybrid access point; is the maximum packet error rate of the data sent by terminal k to the hybrid access point; is the secure throughput of terminal k; is the secure rate of terminal k; Q -1 (x) is the inverse function of the Q function; δ k is the secrecy constraint parameter of information leakage; is the signal-to-noise ratio of the signal of terminal k received at the hybrid access point; is the signal-to-noise ratio of the signal of terminal k received at the eavesdropper; σ 2 is the noise power; M k , l k and ι k are the wireless energy harvesting parameters of terminal k; P0 is the power of the energy signal broadcast by the hybrid access point; g k is the channel gain between terminal k and the hybrid access point, h k is the channel gain between terminal k and the eavesdropper, and it is assumed that g k ≥h k ; Constraint C1 means that the sum of the packet length of the energy signal broadcast by the hybrid access point and the packet length of the data sent by the terminal to the hybrid access point cannot exceed the total packet length; Constraint C2 means that the packet length of the energy signal broadcast by the hybrid access point and the packet length of the data sent by the terminal to the hybrid access point are non-negative; Constraint C3 means that the packet error rate of the data sent by the terminal to the hybrid access point is non-negative and cannot exceed the maximum packet error rate; Relaxing the integer-constrained packet length variable in the short-packet secure communication optimization problem model in the wireless power supply Internet of Things into a continuous variable to obtain a relaxed problem P2, including: Constraint C1: Constraint C3: Constraint C4: n k ≥ 0, 0 ≤ k ≤ K; Decomposing the relaxed problem into two sub-problems, and obtaining the solution of the relaxed problem by iteratively optimizing the two sub-problems, including: Step 3-1: Decompose the relaxation problem P2 into two sub-problems. Among them, for the first sub-problem, under the precondition of a given packet length n k , for all terminals, optimize the packet error rate ∈ k ; for the second sub-problem, under the precondition of a given packet error rate ∈ k , for all terminals, optimize the packet length n k ; For terminal k, the problem of optimizing the packet error rate ∈ k is modeled as the first sub-problem P3: Constraint C5: Optimize the packet length n for all terminals k Model the problem of Constraint C1: Constraint C4: n k ≥ 0, 0 ≤ k ≤ K Step 3-2: Solving the first sub-problem P3 by the interior point method; Step 3-3: Solving the second sub-problem P4 by the sequential convex approximation method; Step 3-4: If does not converge, repeat Steps 3-2 and 3-3; otherwise, end this step to obtain the continuous packet length variable 2. The short packet secure communication method according to claim 1, characterized in that, Constraining the continuous packet length variable to an integer by the greedy algorithm to obtain the finally optimized packet length, and solving the first sub-problem by the interior point method again to obtain the finally optimized packet error rate, including: Step 4-1: Let represent the continuous packet length variable; initialize the packet length to where [x] represents the integer value closest to x; Step 4-2: If then execute Step 4-3, otherwise execute Step 4-4; Step 4-3: Execute steps 4-3-1 to 4-3-2 until the condition is not satisfied and output the packet length n of an integer k whose value is equal to Step 4-3-1: For all 0 ≤ i ≤ K, execute steps 4-3-1-1 to 4-3-1-2; Step 4-3-1-1: Set Step 4-3-1-2: Given the packet length n k , solve the first sub-problem P3 by the interior point method to obtain the packet error rate ∈ k , and calculate the total secure throughput Step 4-3-2: Let and set Step 4-4: Execute Step 4-4-1 to Step 4-4-2 until the condition is not satisfied and output the packet length n of an integer k The value is equal to Step 4-4-1: For all 0 ≤ i ≤ K, execute steps 4-4-1-1 to 4-4-1-2; Step 4-4-1-1: Set Step 4-4-1-2: Given the packet length n k , solve the first sub-problem P3 by the interior point method to obtain the packet error rate ∈ k , and calculate the total secure throughput Step 4-4-2: Let and set 3. The short packet secure communication method according to claim 1, characterized in that Based on the packet length n0 of the hybrid access point broadcast energy signal obtained by solving, the packet length n of the data sent by the terminal k to the hybrid access point k and the packet error rate ∈ of the data sent by the terminal k to the hybrid access point k , perform short-packet secure communication from the terminal to the hybrid access point, including: The hybrid access point broadcasts an energy signal with a packet length of n0 to all terminals; Each terminal k collects the energy of the energy signal broadcast by the hybrid access point; according to the packet error rate ∈ of the data sent by terminal k to the hybrid access point obtained by solving k and the packet length n of the data sent by terminal k to the hybrid access point k calculate the secure rate r of terminal k k ; based on the energy of the energy signal broadcast by the hybrid access point collected, terminal k sends data packets to the hybrid access point with packet length n k and secure rate r k to complete the short-packet secure communication from the terminal to the hybrid access point.
4. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method according to any one of claims 1 to 3.
5. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the method according to any one of claims 1 to 3.