Transmitting power adjusting method and device, equipment and storage medium
The transmission power of satellite communication equipment is adjusted through the particle swarm algorithm, which solves the high power consumption problem caused by excessive transmission power in the prior art, and realizes the accurate calculation of the minimum transmission power of multiple communication modules and guarantees the communication quality.
Patent Information
- Application Number
- CN202311705504.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, the transmission power of satellite communication equipment is usually too large, resulting in high power consumption of communication modules and lack of effective transmission power adjustment methods to reduce power consumption while ensuring communication quality.
By determining a plurality of first particles corresponding to the communication module set and processing these particles based on the particle swarm algorithm, a global optimal particle representing the minimum transmission power of each communication module in the communication module set is obtained. Adjustment instructions are sent to each communication module to minimize transmission power.
It realizes one-time calculation of the minimum transmission power of multiple communication modules, with high computing efficiency and global optimal particles accurately characterize the minimum transmission power, effectively reducing the power consumption of the communication module and ensuring communication quality.
Smart Images

Figure CN119449195A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of satellite communications, and in particular to a method, device, equipment and storage medium for adjusting transmission power. Background Art
[0002] Satellite communications play an important role in aviation, transportation, ocean polar regions, vehicle monitoring and other scenarios. As the core component of satellite communication equipment, the power consumption of the communication module is directly linked to its transmission power. Generally, the greater the transmission power of the communication module, the greater the power consumption. In the existing technology, a larger transmission power is usually used to ensure communication quality, but the actual transmission power may far exceed the requirements of the satellite communication equipment, resulting in high power consumption of the communication module.
[0003] Therefore, the prior art lacks a reasonable method for adjusting the transmission power to reduce the power consumption of the communication module while ensuring the communication quality. Summary of the invention
[0004] The present application provides a method, device, equipment and storage medium for adjusting transmission power, so as to reduce the power consumption of a communication module while ensuring the communication quality.
[0005] In a first aspect, an embodiment of the present application provides a method for adjusting transmit power, the method being applied to a satellite communication service, the method comprising:
[0006] Determine a plurality of first particles corresponding to the same communication module set; wherein the communication module set includes a plurality of communication modules, and an item in each of the first particles is used to represent the transmission power of a communication module in the communication module set; and a communication module belongs to a satellite communication device;
[0007] Processing the plurality of first particles based on a particle swarm algorithm to obtain a global optimal particle, wherein the global optimal particle represents the minimum transmission power of each communication module in the communication module set when a communication condition is met;
[0008] An adjustment instruction is sent to each communication module, where the adjustment instruction is used to instruct the transmission power of each communication module to be adjusted to the minimum transmission power corresponding to each communication module.
[0009] In one embodiment, determining multiple first particles corresponding to the same communication module set includes: acquiring multiple second particles corresponding to the communication module set; determining whether each transmission power included in each second particle is greater than or equal to a first threshold; adjusting the transmission power less than the first threshold to obtain multiple adjusted second particles; the adjusted transmission power is greater than or equal to the transmission power before adjustment, the adjusted transmission power meets the communication condition, and the adjusted second particle is the first particle.
[0010] In one embodiment, the adjustment of the transmission power less than the first threshold includes: determining the transmission power of the multiple second particles belonging to the same communication module, and obtaining the transmission power set corresponding to each communication module; for any transmission power less than the first threshold in any transmission power set, sending a test message to the communication module corresponding to any transmission power set and receiving a test response message, and obtaining the round-trip delay of the communication module corresponding to any transmission power set under any transmission power less than the first threshold; if the round-trip delay is within a preset range, taking the value of any transmission power less than the first threshold as the second threshold; adjusting the transmission power less than the second threshold in any transmission power set; the adjusted transmission power is greater than or equal to the transmission power before adjustment, and the adjusted transmission power meets the communication condition.
[0011] In one embodiment, the particle swarm algorithm is used to process the multiple first particles to obtain a global optimal particle, including: summing the emission powers included in each of the first particles to obtain the fitness of each of the first particles; taking the first particle with the smallest fitness among the multiple first particles as the local optimal particle; if the local optimal particle meets an iteration termination condition, determining the local optimal particle as the global optimal particle; the iteration termination condition includes that the difference between the fitness of the current local optimal particle and the fitness of the local optimal particle in the previous particle swarm iteration is less than a third threshold, or the number of particle swarm iterations corresponding to the current local optimal particle reaches a preset number.
[0012] In one embodiment, the method further includes: if the local optimal particle does not meet the iteration termination condition, performing particle swarm iteration on the multiple first particles to obtain multiple first particles after iteration, and determining the global optimal particle based on the multiple first particles after iteration; the particle swarm iteration is to shift each of the first particles toward the local optimal particle.
[0013] In one embodiment, performing particle swarm iteration on the plurality of first particles to obtain the plurality of first particles after iteration includes: processing the plurality of first particles based on an iteration formula to obtain the plurality of first particles after iteration; the iteration formula is specifically:
[0014]
[0015] in, is the transmission power of the i-th communication module after the k+1-th iteration corresponding to the j-th combination of transmission powers of each communication module in the communication module set, is the transmission power of the i-th communication module corresponding to the j-th transmission power combination after the k-th iteration, W is the inertia coefficient, is the speed of the i-th communication module corresponding to the j-th transmission power combination at the k-th iteration, C1 and C2 are two constants, and Pbest is a random number between two items in the interval [0, 1]. k (j) is the individual optimal value of the j-th transmission power combination at the k-th iteration, Gbest k It is the local optimum of each transmission power combination among the multiple transmission power combinations corresponding to the communication module set at the kth iteration.
[0016] In one embodiment, the method further includes: periodically determining the latest multiple first particles at preset time intervals; and determining the global optimal particle based on the latest multiple first particles.
[0017] In a second aspect, an embodiment of the present application provides a transmission power adjustment device, which is applied to a satellite communication service, and the device includes:
[0018] A processing module determines a plurality of first particles corresponding to the same communication module set; wherein the communication module set includes a plurality of communication modules, and an item in each of the first particles is used to represent the transmission power of a communication module in the communication module set; a communication module belongs to a satellite communication device; the plurality of first particles are processed based on a particle swarm algorithm to obtain a global optimal particle, wherein the global optimal particle represents the minimum transmission power of each communication module in the communication module set when the communication condition is met;
[0019] The sending module sends an adjustment instruction to each communication module, wherein the adjustment instruction is used to instruct the transmission power of each communication module to be adjusted to the minimum transmission power corresponding to each communication module.
[0020] In one embodiment, when determining multiple first particles corresponding to the same communication module set, the processing module is specifically used to: obtain multiple second particles corresponding to the communication module set; determine whether each transmission power included in each second particle is greater than or equal to a first threshold; adjust the transmission power less than the first threshold to obtain multiple adjusted second particles; the adjusted transmission power is greater than or equal to the transmission power before adjustment, the adjusted transmission power meets the communication condition, and the adjusted second particle is the first particle.
[0021] In one embodiment, when the processing module adjusts the transmission power less than the first threshold, it is specifically used to: determine the transmission power belonging to the same communication module among the multiple second particles, and obtain the transmission power set corresponding to each communication module; for any transmission power less than the first threshold in any transmission power set, send a test message to the communication module corresponding to any transmission power set and receive a test response message, and obtain the round-trip delay of the communication module corresponding to any transmission power set under any transmission power less than the first threshold; if the round-trip delay is within a preset range, use the value of any transmission power less than the first threshold as the second threshold; adjust the transmission power less than the second threshold in any transmission power set; the adjusted transmission power is greater than or equal to the transmission power before adjustment, and the adjusted transmission power meets the communication condition.
[0022] In one embodiment, when the processing module processes the multiple first particles based on the particle swarm algorithm to obtain the global optimal particle, it is specifically used to: sum the emission powers included in each of the first particles to obtain the fitness of each of the first particles; use the first particle with the smallest fitness among the multiple first particles as the local optimal particle; if the local optimal particle meets the iteration termination condition, determine the local optimal particle as the global optimal particle; the iteration termination condition includes that the difference between the fitness of the current local optimal particle and the fitness of the local optimal particle in the previous particle swarm iteration is less than a third threshold, or the number of particle swarm iterations corresponding to the current local optimal particle reaches a preset number.
[0023] In one embodiment, the processing module is further used for: if the local optimal particle does not meet the iteration termination condition, performing particle swarm iteration on the multiple first particles to obtain multiple first particles after iteration, and determining the global optimal particle according to the multiple first particles after iteration; the particle swarm iteration is to shift each of the first particles toward the local optimal particle.
[0024] In one embodiment, when the processing module performs particle swarm iteration on the plurality of first particles to obtain the plurality of first particles after iteration, the processing module is specifically configured to: process the plurality of first particles based on an iteration formula to obtain the plurality of first particles after iteration; the iteration formula is specifically:
[0025]
[0026] in, is the transmission power of the i-th communication module after the k+1-th iteration corresponding to the j-th combination of transmission powers of each communication module in the communication module set, is the transmission power of the i-th communication module corresponding to the j-th transmission power combination after the k-th iteration, W is the inertia coefficient, is the speed of the i-th communication module corresponding to the j-th transmission power combination at the k-th iteration, C1 and C2 are two constants, and Pbest is a random number between two items in the interval [0, 1]. k (j) is the individual optimal value of the j-th transmission power combination at the k-th iteration, Gbest k It is the local optimum of each transmission power combination among the multiple transmission power combinations corresponding to the communication module set at the kth iteration.
[0027] In one embodiment, the processing module is further used to: periodically determine the latest multiple first particles at preset time intervals; and determine the global optimal particle based on the latest multiple first particles.
[0028] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor executes the instructions stored in the memory, so that the at least one processor performs the steps of the method for adjusting the transmission power described in the first aspect above.
[0029] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the steps of the method for adjusting the transmission power described in the first aspect above.
[0030] The beneficial effects of this application are as follows:
[0031] In the transmission power adjustment method provided in the embodiment of the present application, multiple first particles corresponding to the same communication module set are determined, and the multiple first particles are processed based on the particle swarm algorithm to obtain the minimum transmission power for characterizing each communication module in the communication module set when the communication conditions are met, and an adjustment instruction is sent to each communication module to adjust the transmission power of each communication module to the minimum transmission power. This scheme can calculate the minimum transmission power of multiple communication modules at one time, and has high calculation efficiency; the global optimal particle obtained by the particle swarm algorithm is more accurate, and each of the particles input to the particle swarm algorithm meets the communication conditions, so that the global optimal particle can more accurately characterize the minimum transmission power of each communication module when the communication conditions are met, effectively reducing the power consumption of each communication module.
[0032] In addition, other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0034] Figure 1 A flow chart of a method for adjusting transmission power provided in an embodiment of the present application;
[0035] Figure 2 A flow chart of a particle swarm algorithm provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of a transmission power adjustment device provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.
[0039] The terms "first" and "second" in the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application can mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
[0040] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0041] Satellite communications play an important role in aviation, transportation, ocean polar regions, vehicle monitoring and other scenarios. Common satellite communication equipment includes IoT terminals, handheld terminals, vehicle-mounted data terminals, navigation enhancement terminals, etc. Each satellite communication device includes a communication module. The power consumption of the communication module is directly related to the transmission power. The greater the transmission power of the communication module, the greater the power consumption. In the prior art, a larger transmission power is usually used to ensure communication quality, but the actual transmission power may far exceed the requirements of the satellite communication equipment, resulting in high power consumption of the communication module.
[0042] In view of this, a technical solution of an embodiment of the present application is provided to reduce the power consumption of the communication module while ensuring the communication quality.
[0043] In view of the above scenario, the transmission power adjustment method provided by the present invention is described in detail below in conjunction with the accompanying drawings of the specification. It should be noted that the method is applied to satellite communication services.
[0044] See also Figure 1, is a flowchart of a method for adjusting transmit power according to an embodiment of the present application. The method can be executed by a computer device, such as a laptop computer, a desktop computer, and a server, and can also be applied to various devices with computing capabilities. The above devices are only examples, and the embodiments of the present application are not limited thereto.
[0045] Taking the method executed by the server as an example below, the method includes:
[0046] S101: Determine a plurality of first particles corresponding to the same communication module set.
[0047] The communication module set includes multiple communication modules, and one communication module belongs to one satellite communication device. Each first particle includes multiple transmission powers, and one item in each first particle is used to represent the transmission power of one communication module in the communication module set.
[0048] In one implementation, the correspondence between the communication module set and the multiple first particles is shown in Table 1 below. In Table 1, the communication module set includes communication module A to communication module D, the multiple first particles are composed of first particles 1 to first particles 3, and a1 to d3 are all transmission powers. The transmission powers in the same row belong to the same first particle, for example, first particle 1 = (a1, b1, c1, d1), and the transmission powers in the same column belong to the same communication module, for example, the transmission powers a1 to a3 are all used to represent the transmission power of communication module A.
[0049] Table 1
[0050] Communication module A Communication module B Communication module C Communication module D First Particle 1 a1 b1 c1 d1 First Particle 2 a2 b2 c2 d2 First Particle 3 a3 b3 c3 d3
[0051] In one implementation, the communication modules can be divided into Internet of Things modules, mobile communication modules, and broadband communication modules according to their types. The types of multiple communication modules in a communication module set can be the same or different, and the embodiments of the present application do not limit this.
[0052] In order to ensure that each transmission power included in each first particle meets the communication condition, the directly acquired second particles need to be processed as follows.
[0053] In one implementation, multiple second particles corresponding to the communication module set are obtained, and it is determined whether each transmission power included in each second particle is greater than or equal to a first threshold. For any communication module, a transmission power greater than or equal to the first threshold satisfies the communication condition.
[0054] If there is a second particle whose transmission powers are all greater than or equal to the first threshold, the second particle is used as the first particle, and / or, for the second particle that does not meet the above conditions, the transmission power of the particle that is less than the first threshold is adjusted to obtain an adjusted second particle, and the adjusted second particle is used as the first particle, the adjusted transmission power is greater than or equal to the transmission power before the adjustment, and the adjusted transmission power meets the communication condition.
[0055] Among them, the communication conditions may include, for a transmission power, sending a test message to the communication module and receiving a test response message, obtaining the round-trip delay of the communication module at the transmission power, and the round-trip delay is within a preset range.
[0056] It can be understood that the value of the first threshold can be determined according to actual needs, and the communication conditions can also include other conditions, which are not limited in the embodiments of the present application.
[0057] Exemplarily, the second particle 1 = (20, 23, 17, 19, 22) (unit: dm) and the first threshold is 15. Since each emission power included in the second particle 1 is greater than 15, the second particle 1 is taken as the first particle.
[0058] In the embodiments of the present application, there are many ways to obtain second particles. The most common method is to use a spectrometer to collect the transmission power of multiple communication modules within a certain range, obtain the transmission power of multiple communication modules collected by the spectrometer, and use the transmission power collected by the spectrometer at the same time as a second particle.
[0059] It is understandable that the plurality of second particles corresponding to the communication module set may also be obtained by other methods, which are not limited in the embodiment of the present application.
[0060] Through this method, since the transmission powers included in the second particle may not all meet the communication conditions, the transmission powers that may not meet the communication conditions can be preliminarily screened out through the first threshold judgment, and then these transmission powers are adjusted. The adjusted transmission powers must meet the communication conditions, and the minimum transmission power obtained subsequently also meets the communication conditions, thereby ensuring the reliability of the solution.
[0061] The following describes a method for adjusting the transmit power that is less than the first threshold.
[0062] In one implementation, for any transmission power less than the first threshold, a test message is sent to the communication module corresponding to the transmission power and a test response message is received to obtain the round-trip delay of the communication module corresponding to the transmission power at the transmission power. If the round-trip delay is within a preset range, the transmission power is maintained unchanged, in other words, the transmission power before adjustment is equal to the transmission power after adjustment; if the round-trip delay is outside the preset range, the transmission power is adjusted to a value not less than the first threshold.
[0063] Through this method, for a transmission power less than a threshold, whether the communication module can communicate normally can be determined by the round-trip delay of the communication module at the transmission power, thereby ensuring that each transmission power included in any first particle among the multiple first particles can meet the communication conditions, thereby ensuring the reliability of the solution.
[0064] In another implementation, the transmission power belonging to the same communication module in multiple second particles is determined to obtain a transmission power set corresponding to each communication module; for any transmission power less than a first threshold in any transmission power set, a test message is sent to the communication module corresponding to any transmission power set and a test response message is received to obtain a round-trip delay of the communication module corresponding to any transmission power set at any transmission power less than the first threshold.
[0065] If the round-trip delay is within the preset range, the transmit power is maintained unchanged. In other words, the transmit power before adjustment is equal to the transmit power after adjustment, and the value of the transmit power is used as the second threshold. Since the round-trip delay of the communication module corresponding to the transmit power set to which the transmit power belongs is within the preset range and meets the communication conditions, the transmit powers greater than or equal to the second threshold in the transmit power set can meet the communication conditions. There is no need to further judge through the round-trip delay. It is only necessary to adjust the transmit power less than the second threshold in the transmit power set. The adjusted transmit power is greater than or equal to the transmit power before adjustment, and the adjusted transmit power meets the communication conditions.
[0066] If the round trip delay is outside the preset range, the transmit power is adjusted to a value not less than the first threshold, and the remaining transmit powers in the transmit power set to which the transmit power belongs are continuously judged by the first threshold.
[0067] Exemplarily, see Table 2 below, the first threshold is 20, and the unit of each transmission power is dm. In Table 2, the transmission power set corresponding to communication module E is (20, 10, 22, 20), the transmission power set corresponding to communication module F is (30, 25, 17, 20), and the transmission power set corresponding to communication module G is (20, 18, 19, 15). Taking communication module G as an example, the transmission power less than the first threshold is 18dm, 19dm, and 15dm. A test message is sent to communication module G and a test response message returned by communication module G with a transmission power of 18dm is received. The round-trip delay of communication module G when the transmission power is 18dm is obtained. The round-trip delay is within the preset range, that is, communication module G can communicate normally when the transmission power is 18dm, and 18 is used as the second threshold. At this time, since 19 is greater than 18, 19dm is kept unchanged. Next, the transmission power that is less than the second threshold in the transmission power set corresponding to the communication module G is 15dm. A test message is sent to the communication module G and a test response message returned by the communication module G with a transmission power of 15dm is received. The round-trip delay of the communication module G when the transmission power is 15dm is obtained. The round-trip delay is not within the preset range. The transmission power is adjusted to 18dm (or above 18dm), and finally the transmission power set corresponding to the communication module G is (20, 18, 19, 18).
[0068] Table 2
[0069] Communication module E Communication module F Communication module G Second Particle 2 20 30 20 Second Particle 3 10 25 18 Second Particle 4 22 17 19 Second Particle 5 20 20 15
[0070] It can be understood that the processing method of the transmission power set corresponding to the remaining communication modules is the same as the processing method of the transmission power set corresponding to the communication module G, which will not be repeated here.
[0071] Through this method, if the round-trip delay of the communication module corresponding to any transmission power set meets the communication conditions at any transmission power less than the first threshold, the value of the transmission power can be used as the second threshold. Thereafter, there is no need to adjust all the transmission powers less than the first threshold in the transmission power set. Only the transmission powers less than the second threshold in the transmission power set need to be adjusted. Since the second threshold is less than the first threshold, the number of adjustments is reduced, thereby improving the adjustment efficiency of the transmission power.
[0072] Optionally, after obtaining the round-trip delay of the communication module corresponding to any transmission power set at any transmission power less than the first threshold, the transmission power judgment range can also be determined according to the relationship between the round-trip delay and the preset range. The transmission power greater than or equal to the maximum value of the transmission power judgment range must meet the communication conditions, and the transmission power less than or equal to the minimum value of the transmission power judgment range must not meet the communication conditions. If the round-trip delay is within the preset range, the transmission power is maintained unchanged, and the value of the transmission power is used as the maximum value of the transmission power judgment range; if the round-trip delay is outside the preset range, the value of the transmission power is adjusted to a value not less than the first threshold, and the value of the transmission power is used as the minimum value of the transmission power judgment range.
[0073] For other transmission powers in any transmission power set, judgments are made in turn: if there is a transmission power that is less than the minimum value of the transmission power judgment range, the transmission power is adjusted to a value not less than the maximum value of the current transmission power judgment range; if there is a transmission power that is greater than the maximum value of the transmission power judgment range, the transmission power is maintained unchanged; if there is a transmission power that belongs to the transmission power judgment range, the round-trip delay of the communication module corresponding to the set to which the transmission power belongs is obtained at the transmission power, and the transmission power judgment range is updated and the transmission power itself is adjusted according to the relationship between the round-trip delay and the preset range in the previous step.
[0074] Similarly, taking the communication module G in Table 2 as an example, after determining that the communication module G can communicate normally when the transmission power is 18dm, and the communication module G cannot communicate normally when the transmission power is 15dm, [15dm, 18dm] is used as the transmission power judgment range of the communication module G. For other transmission powers in the communication module G (not shown in Table 2), if there is a transmission power greater than 18dm, since the transmission power greater than 18dm must meet the communication conditions, the transmission power remains unchanged; if there is a transmission power less than 15dm, since the transmission power less than 15dm must not meet the communication conditions, then The value of the transmit power is adjusted to 18dm (or above 18dm); if there is a transmit power between 15dm and 18dm, such as 17dm, it is necessary to determine whether the transmit power meets the communication conditions through the round-trip delay. If the round-trip delay is within the preset range, the transmit power judgment range is adjusted to [15dm, 17dm], and the above steps are repeated for other transmit powers. If the round-trip delay is outside the preset range, the transmit power is adjusted to 18dm, and the transmit power judgment range is adjusted to [17dm, 18dm]. The above steps are repeated for each of the other transmit powers.
[0075] Through this method, since the transmission power less than the minimum value of the transmission power judgment range must not meet the communication conditions, it can be directly adjusted to a value not less than the maximum value of the transmission power judgment range. The transmission power greater than the maximum value of the transmission power judgment range can be maintained unchanged. In this way, it is only necessary to test the round-trip delay of the transmission power within the transmission power judgment range, which reduces the number of test messages sent and further improves the adjustment efficiency of the transmission power.
[0076] S102: Processing multiple first particles based on the particle swarm algorithm to obtain a global optimal particle.
[0077] The particle swarm algorithm is a method that starts from a group of random solutions and obtains the optimal solution through iteration. In each iteration, the particle is updated according to the optimal solution of the particle itself and the optimal solution in the population.
[0078] The global optimal particle represents the minimum transmission power of each communication module in the communication module set when the communication conditions are met.
[0079] In one implementation, see Figure 2 The following takes the first particle group iteration of multiple first particles as an example to introduce the specific steps included in the above step S102:
[0080] S201: summing up the emission powers of each first particle to obtain the fitness of each first particle.
[0081] The fitness of each first particle can be expressed by the following formula (1).
[0082]
[0083] Among them, g k (j) represents the fitness of the jth first particle in the kth iteration process, m represents the total number of m communication modules in the communication module set, i represents the i-th communication module, It represents the transmission power of the jth particle corresponding to the i-th communication module at the k-th iteration.
[0084] Using the example of Table 1 in S101 above, the fitness of the first particle 1 g 1 (1) = a1+b1+c1+d1, the fitness of the first particle 2 is g 1 (2) = a2+b2+c2+d2, the fitness of the first particle 3 is g 1 (3) = a3+b3+c3+d3.
[0085] S202: taking the first particle with the smallest fitness among the multiple first particles as the local optimal particle.
[0086] Using the example of Table 1 in S101 above, the fitness g of the first particle 1 is 1 (1) The fitness g of the first particle 2 1 (2) The fitness g of the first particle 3 1 (3) Compare the sizes and take the first particle with the smallest fitness as the local optimal particle.
[0087] S203: Determine whether the local optimal particle meets the iteration termination condition. If so, execute step S204; if not, execute step S205.
[0088] The iteration termination condition includes that the difference between the fitness of the current local optimal particle and the fitness of the local optimal particle in the previous particle swarm iteration is less than a third threshold, or the number of particle swarm iterations corresponding to the current local optimal particle reaches a preset number.
[0089] It is understandable that the third threshold and the preset number of times can be specified according to actual needs, and the embodiment of the present application does not limit this.
[0090] S204: Determine the local optimal particle as the global optimal particle.
[0091] Continuing with the example of Table 1 in S101 above, assuming that the global optimal particle is the first particle 1 = (a1, b1, c1, d1), the minimum transmission power of communication module A is a1, the minimum transmission power of communication module B is b1, the minimum transmission power of communication module C is c1, and the minimum transmission power of communication module D is d1.
[0092] S205: performing particle swarm iteration on the plurality of first particles to obtain a plurality of iterated first particles, and determining a global optimal particle according to the plurality of iterated first particles.
[0093] The particle swarm iteration is to shift each first particle towards the local optimal particle.
[0094] Particle swarm iteration can be expressed by the following formulas (2) to (5).
[0095] Pbest k (j) = argmin{g 1 (j),g 2 (j),…,g k (j)} (2)
[0096] Among them, Pbest k (j) represents the individual optimality of the jth first particle at the kth iteration, Pbest k (j) is equal to when g 1 (j), g 2 (j),…,g kThe particle with the smallest value in (j). 1 (j), g 2 (j),…,g k (j) The particle with the smallest median value is g n (j), then Pbest k (j) The particles that make up It represents the transmission power of the mth communication module corresponding to the jth particle at the nth iteration.
[0097] Gbest k =argmin{Pbest k (1),Pbest k (2),…,Pbest k (N)} (3)
[0098] Among them, Gbest k represents the local optimal particle of all first particles at the kth iteration, Gbest k Equal to when Pbest k (1),Pbest k (2),…,Pbest k The particle with the smallest value in (N), N means the total number of first particles is N. For example, Pbest k (1),Pbest k (2),…,Pbest k The particle with the smallest value in (N) is Pbest. k (j), g 1 (j), g 2 (j),…,g k (j) The particle with the smallest median value is g n (j), then Gbest k for composed of particles.
[0099]
[0100] in, is the speed of the jth first particle corresponding to the i-th communication module at the k+1th iteration, W is the inertia coefficient, and W inherits the speed of the kth iteration The proportion of C1, C2 and two random numbers in the interval [0, 1] Multiplication shows the trend towards Pbest k (j) and Gbest k In particular, for Greater than V max In the case of V maxis the maximum particle speed, set
[0101] Among them, W, C1, C2, V max The value of can be specified according to actual needs and is not limited in the embodiments of the present application.
[0102]
[0103] in, is the transmission power of the i-th communication module corresponding to the j-th first particle after the k+1-th iteration.
[0104] The particle swarm is iterated on the multiple first particles by using the above formulas (2) to (5) to obtain the multiple first particles after iteration, and then the process jumps to step S201. Steps S201 to S205 are repeated according to the multiple first particles after iteration, and so on, until the global optimal particle is obtained.
[0105] In one implementation, the latest multiple first particles are periodically determined at preset time intervals, and steps S201 to S205 are performed based on the latest multiple first particles to determine the global optimal particle.
[0106] It is understandable that the preset time interval can be specified according to actual needs, and the embodiment of the present application does not limit it.
[0107] Through this method, since the position of the communication module may change, for example, the person carrying the satellite communication equipment may move, causing the optimal transmission power of the communication module to change, the global optimal particle is periodically determined, so that the communication module continuously adjusts the current minimum transmission power during the position change process, thereby improving the flexibility and reliability of the solution.
[0108] S103: Sending an adjustment instruction to each communication module.
[0109] The adjustment instruction is used to instruct the transmit power of each communication module to be adjusted to the minimum transmit power corresponding to each communication module.
[0110] In the above schemes S101 to S103, multiple first particles corresponding to the same communication module set are determined, and the multiple first particles are processed based on the particle swarm algorithm to obtain the minimum transmission power for characterizing each communication module in the communication module set when the communication conditions are met, and an adjustment instruction is sent to each communication module to adjust the transmission power of each communication module to the minimum transmission power. This scheme can calculate the minimum transmission power of multiple communication modules at one time, and has high calculation efficiency; the global optimal particle obtained by the particle swarm algorithm is more accurate, and each of the particles input to the particle swarm algorithm meets the communication conditions, so that the global optimal particle can more accurately characterize the minimum transmission power of each communication module when the communication conditions are met, effectively reducing the power consumption of each communication module.
[0111] The method provided by the embodiment of the present application is introduced above, and the device provided by the embodiment of the present application is introduced below.
[0112] See also Figure 3 An embodiment of the present application provides a transmission power adjustment device 300, which includes a module / unit / technical means for executing the method performed by the server in the above method embodiment.
[0113] Exemplarily, the device 300 includes:
[0114] The processing module 301 determines a plurality of first particles corresponding to the same communication module set; wherein the communication module set includes a plurality of communication modules, and an item in each of the first particles is used to represent the transmission power of a communication module in the communication module set; a communication module belongs to a satellite communication device; the plurality of first particles are processed based on a particle swarm algorithm to obtain a global optimal particle, wherein the global optimal particle represents the minimum transmission power of each communication module in the communication module set when the communication condition is met;
[0115] The sending module 302 sends an adjustment instruction to each communication module, where the adjustment instruction is used to instruct the transmission power of each communication module to be adjusted to the minimum transmission power corresponding to each communication module.
[0116] In one embodiment, when determining multiple first particles corresponding to the same communication module set, the processing module 301 is specifically used to: obtain multiple second particles corresponding to the communication module set; determine whether each transmission power included in each second particle is greater than or equal to a first threshold; adjust the transmission power less than the first threshold to obtain multiple adjusted second particles; the adjusted transmission power is greater than or equal to the transmission power before adjustment, the adjusted transmission power meets the communication condition, and the adjusted second particle is the first particle.
[0117] In one embodiment, when adjusting the transmission power less than the first threshold, the processing module 301 is specifically used to: determine the transmission power belonging to the same communication module among the multiple second particles, and obtain the transmission power set corresponding to each communication module; for any transmission power less than the first threshold in any transmission power set, send a test message to the communication module corresponding to any transmission power set and receive a test response message, and obtain the round-trip delay of the communication module corresponding to any transmission power set under any transmission power less than the first threshold; if the round-trip delay is outside the preset range, use the value of any transmission power less than the first threshold as the second threshold; adjust the transmission power less than the second threshold in any transmission power set; the adjusted transmission power is greater than or equal to the transmission power before adjustment, and the adjusted transmission power meets the communication condition.
[0118] In one embodiment, when the processing module 301 processes the multiple first particles based on the particle swarm algorithm to obtain the global optimal particle, it is specifically used to: sum the emission powers included in each of the first particles to obtain the fitness of each of the first particles; use the first particle with the smallest fitness among the multiple first particles as the local optimal particle; if the local optimal particle meets the iteration termination condition, determine the local optimal particle as the global optimal particle; the iteration termination condition includes that the difference between the fitness of the current local optimal particle and the fitness of the local optimal particle in the previous particle swarm iteration is less than a third threshold, or the number of particle swarm iterations corresponding to the current local optimal particle reaches a preset number.
[0119] In one embodiment, the processing module 301 is further used for: if the local optimal particle does not meet the iteration termination condition, performing particle swarm iteration on the multiple first particles to obtain multiple first particles after iteration, and determining the global optimal particle according to the multiple first particles after iteration; the particle swarm iteration is to shift each of the first particles toward the local optimal particle.
[0120] In one embodiment, when the processing module 301 performs particle swarm iteration on the plurality of first particles to obtain the plurality of first particles after iteration, it is specifically used to: process the plurality of first particles based on an iteration formula to obtain the plurality of first particles after iteration; the iteration formula is specifically:
[0121]
[0122] in, is the transmission power of the i-th communication module after the k+1-th iteration corresponding to the j-th combination of transmission powers of each communication module in the communication module set, is the transmission power of the i-th communication module corresponding to the j-th transmission power combination after the k-th iteration, W is the inertia coefficient, is the speed of the i-th communication module corresponding to the j-th transmission power combination at the k-th iteration, C1 and C2 are two constants, and Pbest is a random number between two items in the interval [0, 1]. k (j) is the individual optimal value of the j-th transmission power combination at the k-th iteration, Gbest k It is the local optimum of each transmission power combination among the multiple transmission power combinations corresponding to the communication module set at the kth iteration.
[0123] In one implementation, the processing module 301 is further configured to: periodically determine the latest multiple first particles at a preset time interval; and determine the global optimal particle based on the latest multiple first particles.
[0124] It should be understood that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0125] As a possible product form of the above device, see Figure 4 The embodiment of the present application further provides an electronic device 400, including:
[0126] at least one processor 401; and a communication interface 403 in communication with the at least one processor 401; the at least one processor 401 executes instructions stored in the memory 402 so that the electronic device 400 executes the instructions through the communication interface 403. Figure 1 or Figure 2 The method in the embodiment shown.
[0127] Optionally, the memory 402 is located outside the electronic device 400 .
[0128] Optionally, the electronic device 400 includes the memory 402, the memory 402 is connected to the at least one processor 401, and the memory 402 stores instructions that can be executed by the at least one processor 401. Figure 4 The dashed lines indicate that the memory 402 is optional for the electronic device 400 .
[0129] The processor 401 and the memory 402 may be coupled via an interface circuit or may be integrated together, which is not limited here.
[0130] The specific connection medium between the processor 401, the memory 402 and the communication interface 403 is not limited in the embodiment of the present application. Figure 4 In the embodiment, the processor 401, the memory 402 and the communication interface 403 are connected via a bus 404. Figure 4 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0131] It should be understood that the processor mentioned in the embodiments of the present application can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor implemented by reading software code stored in a memory.
[0132] Exemplarily, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0133] It should be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DirectRambus RAM, DR RAM).
[0134] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.
[0135] It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0136] As another possible product form, the embodiment of the present application also provides a computer-readable storage medium, which is used to store instructions. When the instructions are executed, the computer executes the following Figure 1 or Figure 2 The method in the embodiment shown.
[0137] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0141] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for adjusting transmission power, characterized in that: The method is applied to satellite communication services, and the method comprises: Determine a plurality of first particles corresponding to the same communication module set; wherein the communication module set includes a plurality of communication modules, and an item in each of the first particles is used to represent the transmission power of a communication module in the communication module set; and a communication module belongs to a satellite communication device; Processing the plurality of first particles based on a particle swarm algorithm to obtain a global optimal particle, wherein the global optimal particle represents the minimum transmission power of each communication module in the communication module set when a communication condition is met; An adjustment instruction is sent to each communication module, where the adjustment instruction is used to instruct the transmission power of each communication module to be adjusted to the minimum transmission power corresponding to each communication module.
2. The method according to claim 1, characterized in that The determining of a plurality of first particles corresponding to the same communication module set includes: Acquire a plurality of second particles corresponding to the communication module set; Determining whether each emission power included in each second particle is greater than or equal to a first threshold; The transmit power less than the first threshold is adjusted to obtain a plurality of adjusted second particles; the adjusted transmit power is greater than or equal to the transmit power before the adjustment, the adjusted transmit power satisfies the communication condition, and the adjusted second particles are the first particles.
3. The method according to claim 2, characterized in that The adjusting the transmit power less than the first threshold includes: Determine the transmission power of the plurality of second particles belonging to the same communication module, and obtain a set of transmission powers corresponding to each communication module; For any transmit power less than the first threshold in any transmit power set, send a test message to the communication module corresponding to the any transmit power set and receive a test response message, and obtain the round-trip delay of the communication module corresponding to the any transmit power set under the any transmit power less than the first threshold; If the round-trip delay is within a preset range, any transmit power value that is less than the first threshold is used as a second threshold; The transmit power in any transmit power set that is less than the second threshold is adjusted; the adjusted transmit power is greater than or equal to the transmit power before the adjustment, and the adjusted transmit power meets the communication condition.
4. The method according to claim 1, characterized in that The step of processing the plurality of first particles based on a particle swarm algorithm to obtain a global optimal particle comprises: Summing up the emission powers of each first particle to obtain the fitness of each first particle; Taking the first particle with the smallest fitness among the multiple first particles as the local optimal particle; If the local optimal particle meets the iteration termination condition, the local optimal particle is determined to be the global optimal particle; the iteration termination condition includes that the difference between the fitness of the current local optimal particle and the fitness of the local optimal particle in the previous particle swarm iteration is less than a third threshold, or the number of particle swarm iterations corresponding to the current local optimal particle reaches a preset number.
5. The method according to claim 4, characterized in that The method further comprises: If the local optimal particle does not meet the iteration termination condition, particle swarm iteration is performed on the multiple first particles to obtain multiple first particles after iteration, and the global optimal particle is determined according to the multiple first particles after iteration; the particle swarm iteration is to shift each of the first particles toward the local optimal particle.
6. The method according to any one of claims 1 to 5, characterized in that: The performing particle swarm iteration on the plurality of first particles to obtain a plurality of iterated first particles comprises: Processing the plurality of first particles based on an iterative formula to obtain the plurality of first particles after iteration; The iterative formula is specifically: in, is the transmission power of the i-th communication module after the k+1-th iteration corresponding to the j-th combination of transmission powers of each communication module in the communication module set, is the transmission power of the i-th communication module corresponding to the j-th transmission power combination after the k-th iteration, W is the inertia coefficient, is the speed of the i-th communication module corresponding to the j-th transmission power combination at the k-th iteration, C1 and C2 are two constants, and Pbest is a random number between two items in the interval [0, 1]. k (j) is the individual optimal value of the j-th transmission power combination at the k-th iteration, Gbest k It is the local optimum of each transmission power combination among the multiple transmission power combinations corresponding to the communication module set at the kth iteration.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: According to a preset time interval, periodically determine the latest multiple first particles; The global optimal particle is determined based on the latest plurality of first particles.
8. A transmission power adjustment device, characterized in that: The device is applied to satellite communication services, and comprises: A processing module determines a plurality of first particles corresponding to the same communication module set; wherein the communication module set includes a plurality of communication modules, and an item in each of the first particles is used to represent the transmission power of a communication module in the communication module set; a communication module belongs to a satellite communication device; the plurality of first particles are processed based on a particle swarm algorithm to obtain a global optimal particle, wherein the global optimal particle represents the minimum transmission power of each communication module in the communication module set when the communication condition is met; The sending module sends an adjustment instruction to each communication module, wherein the adjustment instruction is used to instruct the transmission power of each communication module to be adjusted to the minimum transmission power corresponding to each communication module.
9. An electronic device, characterized in that: include: at least one processor; and a memory and a communication interface communicatively connected to the at least one processor; The memory stores instructions executable by the at least one processor, and the at least one processor executes the instructions stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7 through the communication interface.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7.