CN115996229B - Micro-service data synchronization method for cloud measurement and control baseband pool - Google Patents

Micro-service data synchronization method for cloud measurement and control baseband pool Download PDF

Info

Publication number
CN115996229B
CN115996229B CN202211517307.XA CN202211517307A CN115996229B CN 115996229 B CN115996229 B CN 115996229B CN 202211517307 A CN202211517307 A CN 202211517307A CN 115996229 B CN115996229 B CN 115996229B
Authority
CN
China
Prior art keywords
data
loop
calculation
measurement
micro
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211517307.XA
Other languages
Chinese (zh)
Other versions
CN115996229A (en
Inventor
别佳
刘永福
刘田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 10 Research Institute
Original Assignee
CETC 10 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 10 Research Institute filed Critical CETC 10 Research Institute
Priority to CN202211517307.XA priority Critical patent/CN115996229B/en
Publication of CN115996229A publication Critical patent/CN115996229A/en
Application granted granted Critical
Publication of CN115996229B publication Critical patent/CN115996229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a microservice data synchronization method of a cloud measurement and control baseband pool, which belongs to the field of aerospace measurement and control communication and comprises the following steps: in the interaction flow between the measurement and control message middleware and the micro service instance, the signal data packet pushes the same micro service instance based on a sliding window, and a plurality of micro service instances receive IQ signal data in parallel, so that the loop result high-speed memory of instance calculation is durable. The invention can ensure the real-time performance, the sequence performance and the accumulation performance of the measurement and control signal data processing in the distributed environment.

Description

Micro-service data synchronization method for cloud measurement and control baseband pool
Technical Field
The invention relates to the field of aerospace measurement and control communication, in particular to a micro-service data synchronization method of a clouding measurement and control baseband pool.
Background
With the increasing heavy satellite emission tasks in China, the demand of space measurement and control ground stations is increased, and the contradiction between insufficient resource allocation and high hardware cost is increased, so that the challenge is met by measuring and controlling a baseband hardware pool at present. However, the traditional base band pool chimney type layout, the base band equipment shape diversification and the function realization hardware are adopted, so that the problems of insufficient resource scheduling flexibility and unobvious resource cost effect are caused, and the cloud of the measurement and control base band pool becomes more and more a popular field for research.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a micro-service data synchronization method of a cloud measurement and control baseband pool, which can ensure the real-time performance, the sequence performance and the accumulation performance of measurement and control signal data processing in a distributed environment.
The invention aims at realizing the following scheme:
a micro-service data synchronization method of a cloud measurement and control baseband pool comprises the following steps:
in the interaction flow between the measurement and control message middleware and the micro service instance, the signal data packet pushes the same micro service instance based on a sliding window, and a plurality of micro service instances receive IQ signal data in parallel, so that the loop result high-speed memory of instance calculation is durable.
Further, the method comprises the steps of:
step 1: initializing: completing creation of a < carrier wave, bit ring > theme, namely creation of an array queue, registering carrier waves of publishers, registering all bit ring examples of subscribers, wherein the calculation state of all examples in an initial state is a ready state;
step 2: example calculation state starts: the sliding window pusher sends a calculation starting command to the bit ring example 1, and the bit ring example 1 receives the command and sets the calculation state to work;
step 3: pushing signal data: setting a measurement and control signal packet sliding window, wherein the unit of the sliding window is the number of linked list packets in a theme array, and a sliding window pusher is used for pushing linked list data packets to an example 1 and an example 2 respectively; the bit ring example 1 receives a packet, performs a packet calculation process, stores the calculated intermediate result, and finally completes accumulation of the intermediate result of multi-packet calculation, and the data output by the example 1 is written into the next theme < bit ring, frame synchronization >; the bit ring example 2 is only responsible for receiving data and does not calculate the data; the received signal data of the bit ring example 1 and the bit ring example 2 are received simultaneously, and the parallel data reception is completed;
step 4: the intermediate loop result is responsive to the control command: after the example 1 calculates the N packets of data of a linked list, setting the self calculation state as ready, sending a middle loop result response command code to the measurement and control message middleware, directly forwarding the I/O multiplexer of the measurement and control message middleware to the example 2, and simultaneously delivering the I/O multiplexer to a loop state machine, wherein the loop state machine stores the 1 st round calculation result into the loop state machine;
step 5: the following example state starts: the I/O multiplexer sends a calculation starting command to the example 2, the example 2 enters a starting state from a stopping state and calculates, meanwhile, the sliding window polling pusher judges whether the number of the examples pushed at the moment is 2, if so, the data packet is still sent, and if not, the sliding window operation is carried out to push the data packet of the next linked list to the next example;
step 6: and (3) sequentially executing the steps from step 1 to step 5 for N-1 times, and when the number of the last instance is pushed, changing the next pushing instance of the number of the last instance into the instance 1 again, so as to realize cyclic pushing.
Further, the plurality of micro service instances receive IQ signal data in parallel, comprising the steps of: the bit loop Cheng Zhongwei loops a plurality of examples under the micro-service, the signal data are segmented, each segment is pushed to the examples of different states in parallel, and the computing state examples and the data receiving state examples receive the data packet in parallel.
Further, the bit stream flow comprises the following steps:
the measurement and control message middleware pushes signal data to different bit ring micro services by taking a linked list as a unit, the bit ring example 1 carries out loop calculation while carrying out data reception, and the bit ring example 2 only carries out data reception, wherein the step of carrying out the loop calculation specifically comprises the following steps:
step 1: AGC factor average calculation: calculating (Ik, I k +1, ik+2, ik+3) and (Qk, qk+1, qk+2, qk+3) according to the moving average of every 4 points for all I and Q paths in a packet to obtain AIk, qik, and then k=k+1 to sequentially obtain the averaged I and Q paths of signal points;
step 2: the interpolation filter carries out correlation calculation according to every 4 sampling points to obtain I-path interpolated output data yI and Q-path interpolated output data yQ which are used as bit ring output signal data I-path output points and Q-path output points;
step 3: the data packaging flow outputs signal data to the next theme queue according to the output signal point when the signal point is accumulated to 8000 bytes;
step 4: each symbol calculates the current clock error according to the correlation;
step 5: according to the filter coefficients C1 and C2 and the loop filter calculated in the previous time, carrying out relevant accumulation calculation on the current clock error and the previous clock error to obtain a loop filter value;
step 6: when the processing of the bit ring 1 round chain table data is finished, the bit ring example 1 sends a loop result to the message middleware, the bit ring 1 becomes a ready state, the measurement and control message middleware forwards the intermediate loop result to the bit ring example 2, the example 2 enters a calculation state, loop calculation is carried out on the data received on the bit ring example 2, and the bit ring example 3 enters a state of receiving the data and polls in turn.
Further, the array linked list is used for storing signal data packets of a theme, and the array linked list belongs to the theme; the signal data is stored according to a preset sequence to form an M-N signal packet array; when the signal data packet is pushed to a subscriber, the signal data packet is pushed to one subscriber according to the set sliding window number, the data length of each node in the linked list is 8000 signal bytes, and each 4 bytes represents a sampling point and comprises 1000I-path data and 1000Q-path data.
Further, in the bit loop example, clock error and loop filter NCO are included, and the calculation of 2 values depends on the previous value to perform accumulation calculation; the intermediate loop is sent as part of the loop result response command when the signal data is switched for bit-loop micro-service instance computation.
Further, the measurement and control message middleware comprises a plurality of functional components and service data; the functional component comprises a multiplexer, a component register, a measurement and control signal receiver, a sliding window pusher, a flow controller and a state receiver, and the functional component completes interaction with each micro-service instance according to a signal data packet control command; the business data includes topic queues, loop state data, publisher and subscriber micro-service instance lists.
Further, in step 2, the sliding window pusher sends a start calculation command including an intermediate loop structure initial value.
Further, in step 3, a measurement and control signal packet sliding window is set to be 2, the unit of the sliding window is the number of one linked list packet in the theme array, and each packet is 8000 bytes of data; in step 5, the start computation command sent by the I/O multiplexer to example 2 contains the last round of loop results.
Further, the bit loop comprises an average calculation module, an interpolation filter module, a clock error extraction module and a loop filter accumulation calculation module.
The beneficial effects of the invention include:
the technical scheme of the invention can ensure the real-time performance, the sequence performance and the accumulation performance of the measurement and control signal data processing in a distributed environment.
According to the technical scheme, the signal data packet pushes the same micro-service instance based on the sliding window.
According to the technical scheme, the IQ signal data are received by a plurality of micro-service embodiments in parallel, such as a plurality of embodiments under bit ring micro-service, the signal data are segmented, each segment is pushed to the embodiments in different states in parallel, and the computing state embodiment and the data receiving state embodiment receive data packets in parallel.
The technical scheme of the invention has the advantage that the loop result is durable in the high-speed memory.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a block diagram of a data receiver-baseband signal processing architecture;
FIG. 2 is a diagram of a conventional micro-service architecture for data receiver-baseband signal processing;
FIG. 3 is a diagram of a micro-service architecture for processing a data receiver-baseband signal according to an embodiment of the present invention;
FIG. 4 is a circular array queue according to an embodiment of the present invention;
FIG. 5 is an intermediate loop structure of an embodiment of the present invention;
FIG. 6 is a measurement and control message middleware according to an embodiment of the present invention;
FIG. 7 is a workflow of an embodiment of the present invention;
FIG. 8 illustrates bit-loop example calculations in accordance with an embodiment of the present invention.
Detailed Description
All of the features disclosed in all of the embodiments of this specification, or all of the steps in any method or process disclosed implicitly, except for the mutually exclusive features and/or steps, may be combined and/or expanded and substituted in any way.
In view of the problems in the background, the current implementation structure of the baseband software up-cloud is based on the traditional monomer architecture, as shown in fig. 1, and the digital radio frequency front end downlink IP signal data is subjected to capturing, downsampling, carrier wave ring, bit ring, decoding and frame synchronization to be demodulated and output. Micro-service is taken as an important technology of cloud primordia, a cloud platform is taken as a base, a baseband measurement and control function is micro-serviced (the measurement and control function is serviced, a single measurement and control function can be provided with a plurality of examples distributed on different servers for signal processing), the important problem can be effectively solved, but the micro-service focuses on communication among services, is a concept of local processing, and does not stand on the global measurement and control link to consider the global property of signal data, so that the baseband micro-service needs to solve two characteristics of signal data of an aerospace measurement and control link: (1) sequential relevance: the IP signal data packets are sequentially sent, the packets are mutually dependent, and the signal data in figure 1 are processed sequentially through each module; (2) calculated accumulation: when the IP signal data is demodulated, the loop processing of the functional unit needs to carry out loop accumulation calculation on the signal data packet, and the calculation processing of the current signal packet depends on the result of the previous calculation.
There are two approaches to conventional microservices to solve the above problems. Taking carrier micro service and bit ring micro service communication as an example for illustration, three servers exist, and each server runs one bit ring micro service instance, then three bit ring micro service instances are total. The two schemes are specifically as follows: (1) point-to-point communication: the carrier micro-service and the bit ring micro-service are directly communicated in a unit of one packet, the carrier micro-service waits for the completion of processing of one bit ring micro-service, then signal data is sent to the next bit ring micro-service, and a loop result is read and calculated to be a durable database. (2) publish/subscribe message middleware: the services communicate through message middleware, the middleware pushes signal data, alternately waits for pushing the data to different service instances under the same micro service, and the loop result reads the calculation persistence database, as shown in fig. 2.
After further analysis by the inventors of the present invention, referring to fig. 2, it was found that the two schemes described above have the following disadvantages: (1) The signal data packets are sequentially and alternately sent to different micro service examples by taking the packets as units, one packet is sent, the next packet is passively waited to be pushed before the signal packet processing is completed, and the utilization rate of the computing resources of the server is not high. (2) The plurality of micro service examples serially receive data to perform loop calculation, only one example in a calculation state works, other examples are busy, and the like, the state examples are changed into calculation to perform data receiving and loop calculation, so that the real-time performance is poor. (3) The loop result of the instance calculation is persisted to the database, the previous result is required to be extracted from the database for each calculation, and the access efficiency is low.
In order to solve the technical problems, the technical scheme of the invention innovatively provides a micro-service data synchronization technical scheme of a cloud measurement and control baseband pool, and improves a micro-service architecture and a data synchronization flow based on the architecture so as to ensure real-time performance, sequential performance and accumulation performance of measurement and control signal data processing in a distributed environment, wherein the micro-service architecture is shown in a synchronization flow chart 7 and 8 with reference to fig. 3. The innovation points of the technical scheme of the invention mainly comprise: (1) The signal data packet pushes the same micro service instance based on the sliding window; (2) The method comprises the steps that IQ signal data are received by a plurality of micro service examples in parallel, such as a plurality of examples under bit ring micro service, the signal data are segmented, each segment is pushed to the examples in different states in parallel, and data packets are received by the computing state examples and the data receiving state examples in parallel; (3) loop result high speed memory persistence.
In a further innovation point, the corresponding data structure is improved, wherein the data structure comprises a measurement and control function theme cyclic array queue structure and an intermediate loop structure. The structure of the measurement and control function topic circular array queue is shown in fig. 4, and the array linked list is used for storing signal data packets of one topic, and one array linked list belongs to one topic. The signal data is stored in a sequence from left to right and from top to bottom to form an array of M x N signal packets. When the signal data packet is pushed to a subscriber, the signal data packet is pushed to a subscriber according to the set number of sliding windows (a window unit is a row in a signal matrix). The data length of each node in the linked list is 8000 signal bytes, and each 4 bytes represent a sampling point and comprise 1000I-path data and 1000Q-path data. Intermediate loop structure as shown in fig. 5, the bit loop example includes clock error and loop filter NCO that need to be accumulated, and the calculation of 2 values depends on the previous value to be accumulated. The intermediate loop is sent as part of the loop result response command when the signal data is switched for bit-loop micro-service instance computation.
In a specific embodiment, as shown in fig. 6, the measurement and control message middleware includes a plurality of functional components and service data. The functional components comprise a multiplexer (socket management), a component register (subject queue, publisher and subscriber management), a measurement and control signal receiver, a sliding window pusher (signal data packet pushing), a flow controller (signal command control word processing) and a state receiver, and the functional components complete interaction with each micro service instance according to the signal data packet control command. The business data includes topic queues, loop state data, lists of micro-service examples for publishers and subscribers, etc. The interaction flow between the measurement and control message middleware and the micro service embodiment is illustrated by taking a carrier micro service and bit ring micro service embodiment as examples, as shown in fig. 7, and comprises the following steps:
step 1: initializing: and (3) completing creation of a < carrier wave, bit ring > theme, namely creation of an array queue, carrier registration of a publisher, registration of each bit ring instance of a subscriber, and the calculation state of all instances in the initial state is a ready state.
Step 2: example calculation state starts: the sliding window pusher sends a start computation command (containing the initial value of the intermediate loop structure) to bit loop instance 1, bit loop instance 1 receives the command, and sets the computation state to work.
Step 3: pushing signal data: setting a measurement and control signal packet sliding window as 2, wherein the unit of the sliding window is the number of one linked list packet in a theme array, each packet is 8000 bytes of data, and a sliding window pusher pushes LISTARRAY [0] and LISTARRAY [1] linked list data packets to an example 1 and an example 2 respectively: the bit ring example 1 receives a packet, performs a packet calculation process, stores the calculated intermediate result, and finally completes accumulation of the intermediate result of multi-packet calculation, and the data output by the example 1 is written into the next theme < bit ring, frame synchronization >; the bit ring example 2 is only responsible for receiving data, and does not perform data calculation. The received signal data of the bit ring example 1 and the bit ring example 2 are received simultaneously, and the data parallel reception is completed.
Step 4: the intermediate loop result is responsive to the control command: after the example 1 calculates the N packets of data of a linked list, setting the calculation state as ready, sending a middle loop result response command code to the measurement and control middleware, directly forwarding the IO multiplexer of the measurement and control middleware to the example 2, and simultaneously delivering the IO multiplexer to a loop state machine, wherein the loop state machine stores the calculation result of the 1 st round into the loop state machine.
Step 5: the following example state starts: the IO multiplexer sends a calculation starting command (comprising a loop result of the previous round) to the example 2, the example 2 enters a starting state from a stopping state to calculate, meanwhile, the sliding window polling pusher judges whether the number of the examples pushed at the moment is 2, if so, the IO multiplexer still sends the data packet, and if not, the sliding window operation is carried out to push the data packet of the next linked list to the next example.
Step 6: and executing the steps for N-1 times in sequence, and when the number of the last instance is pushed, changing the next pushing instance of the number of the last instance into the instance 1 again, so as to realize the cyclic pushing.
The bit circulation Cheng Rutu of the technical scheme of the embodiment of the invention comprises the following steps:
the bit loop mainly comprises an average calculation module, an interpolation filter module, a clock error extraction module and a loop filter accumulation calculation module. The input signal divides the ith sampling point in the data in the package_num into a real step I and an imaginary part Q by using a sampling point unit, the message middleware pushes the signal data to different bit ring micro services by using a linked list as a unit, and the number of the micro services for receiving the signal data in parallel is 2.
The 2 bit ring examples simultaneously receive data, the bit ring example 1 performs loop calculation while performing data reception, the bit ring example 2 only performs data reception, and the loop calculation comprises the following steps:
step 1: AGC factor average calculation: and (3) calculating (Ik, I k +1, ik+2, ik+3) and (Qk, qk+1, qk+2, qk+3) according to the moving average of every 4 points for all the I and Q paths in a packet to obtain AIk and QIk, and then obtaining the averaged I and Q paths of signal points in sequence.
Step 2: interpolation filter module: the interpolation filter carries out correlation calculation according to every 4 sampling points to obtain I-path interpolated output data yI and Q-path interpolated output data yQ, and the I-path interpolated output data yI and Q-path interpolated output data yQ are used as bit loop output signal data.
Step 3: packaging data: the data packing flow will output signal data to the next theme queue according to the output signal point when the signal point is accumulated to 8000 bytes.
Step 4: a clock error extraction module: each symbol derives the current clock error from the correlation calculation.
Step 5: loop filter accumulation calculation module: and performing relevant accumulation calculation according to the filter coefficients C1 and C2 and the loop filter calculated in the previous time, the current clock error and the previous clock error to obtain a loop filter value.
Step 6: when the processing of the bit ring 1 round-robin table data is finished, the bit ring example 1 sends a loop result to the message middleware, the bit ring 1 becomes ready state, the message middleware immediately forwards the intermediate loop result (clock error and loop filter) to the bit ring example 2, the example 2 immediately enters a calculation state, loop calculation is carried out on the data which is already received on the bit ring example 2, the bit ring example 3 enters a state of receiving the data, and polling is carried out sequentially.
It should be noted that, within the scope of protection defined in the claims of the present invention, the following embodiments may be combined and/or expanded, and replaced in any manner that is logical from the above specific embodiments, such as the disclosed technical principles, the disclosed technical features or the implicitly disclosed technical features, etc.
Example 1
A micro-service data synchronization method of a cloud measurement and control baseband pool comprises the following steps:
in the interaction flow between the measurement and control message middleware and the micro service instance, the signal data packet pushes the same micro service instance based on a sliding window, and a plurality of micro service instances receive IQ signal data in parallel, so that the loop result high-speed memory of instance calculation is durable.
Example 2
On the basis of embodiment 1, the method comprises the following steps:
step 1: initializing: completing creation of a < carrier wave, bit ring > theme, namely creation of an array queue, registering carrier waves of publishers, registering all bit ring examples of subscribers, wherein the calculation state of all examples in an initial state is a ready state;
step 2: example calculation state starts: the sliding window pusher sends a calculation starting command to the bit ring example 1, and the bit ring example 1 receives the command and sets the calculation state to work;
step 3: pushing signal data: setting a measurement and control signal packet sliding window, wherein the unit of the sliding window is the number of linked list packets in a theme array, and a sliding window pusher is used for pushing linked list data packets to an example 1 and an example 2 respectively; the bit ring example 1 receives a packet, performs a packet calculation process, stores the calculated intermediate result, and finally completes accumulation of the intermediate result of multi-packet calculation, and the data output by the example 1 is written into the next theme < bit ring, frame synchronization >; the bit ring example 2 is only responsible for receiving data and does not calculate the data; the received signal data of the bit ring example 1 and the bit ring example 2 are received simultaneously, and the parallel data reception is completed;
step 4: the intermediate loop result is responsive to the control command: after the example 1 calculates the N packets of data of a linked list, setting the self calculation state as ready, sending a middle loop result response command code to the measurement and control message middleware, directly forwarding the I/O multiplexer of the measurement and control message middleware to the example 2, and simultaneously delivering the I/O multiplexer to a loop state machine, wherein the loop state machine stores the 1 st round calculation result into the loop state machine;
step 5: the following example state starts: the I/O multiplexer sends a calculation starting command to the example 2, the example 2 enters a starting state from a stopping state and calculates, meanwhile, the sliding window polling pusher judges whether the number of the examples pushed at the moment is 2, if so, the data packet is still sent, and if not, the sliding window operation is carried out to push the data packet of the next linked list to the next example;
step 6: and (3) sequentially executing the steps from step 1 to step 5 for N-1 times, and when the number of the last instance is pushed, changing the next pushing instance of the number of the last instance into the instance 1 again, so as to realize cyclic pushing.
Example 3
On the basis of embodiment 1, the plurality of micro service instances receive IQ signal data in parallel, including the steps of: the bit loop Cheng Zhongwei loops a plurality of examples under the micro-service, the signal data are segmented, each segment is pushed to the examples of different states in parallel, and the computing state examples and the data receiving state examples receive the data packet in parallel.
Example 4
On the basis of embodiment 3, the bit stream flow includes the following steps:
the measurement and control message middleware pushes signal data to different bit ring micro services by taking a linked list as a unit, the bit ring example 1 carries out loop calculation while carrying out data reception, and the bit ring example 2 only carries out data reception, wherein the step of carrying out the loop calculation specifically comprises the following steps:
step 1: AGC factor average calculation: calculating (Ik, I k +1, ik+2, ik+3) and (Qk, qk+1, qk+2, qk+3) according to the moving average of every 4 points for all I and Q paths in a packet to obtain AIk, qik, and then k=k+1 to sequentially obtain the averaged I and Q paths of signal points;
step 2: the interpolation filter carries out correlation calculation according to every 4 sampling points to obtain I-path interpolated output data yI and Q-path interpolated output data yQ which are used as bit ring output signal data I-path output points and Q-path output points;
step 3: the data packaging flow outputs signal data to the next theme queue according to the output signal point when the signal point is accumulated to 8000 bytes;
step 4: each symbol calculates the current clock error according to the correlation;
step 5: according to the filter coefficients C1 and C2 and the loop filter calculated in the previous time, carrying out relevant accumulation calculation on the current clock error and the previous clock error to obtain a loop filter value;
step 6: when the processing of the bit ring 1 round chain table data is finished, the bit ring example 1 sends a loop result to the message middleware, the bit ring 1 becomes a ready state, the measurement and control message middleware forwards the intermediate loop result to the bit ring example 2, the example 2 enters a calculation state, loop calculation is carried out on the data received on the bit ring example 2, and the bit ring example 3 enters a state of receiving the data and polls in turn.
Example 5
Based on embodiment 2, the array linked list is used for storing a signal data packet of a theme, and a array linked list belongs to a theme; the signal data is stored according to a preset sequence to form an M-N signal packet array; when the signal data packet is pushed to a subscriber, the signal data packet is pushed to one subscriber according to the set sliding window number, the data length of each node in the linked list is 8000 signal bytes, and each 4 bytes represents a sampling point and comprises 1000I-path data and 1000Q-path data.
Example 6
Based on embodiment 3, the bit loop example includes clock error and loop filter NCO to be accumulated, and the calculation of 2 values depends on the previous value to perform accumulated calculation; the intermediate loop is sent as part of the loop result response command when the signal data is switched for bit-loop micro-service instance computation.
Example 7
On the basis of embodiment 1, the measurement and control message middleware comprises a plurality of functional components and service data; the functional component comprises a multiplexer, a component register, a measurement and control signal receiver, a sliding window pusher, a flow controller and a state receiver, and the functional component completes interaction with each micro-service instance according to a signal data packet control command; the business data includes topic queues, loop state data, publisher and subscriber micro-service instance lists.
Example 8
On the basis of embodiment 2, in step 2, the sliding window pusher transmits a start calculation command including an intermediate loop structure initial value.
Example 9
Based on embodiment 2, in step 3, a measurement and control signal packet sliding window is set to 2, the unit of the sliding window is the number of one linked list packet in the theme array, and each packet is 8000 bytes of data; in step 5, the start computation command sent by the I/O multiplexer to example 2 contains the last round of loop results.
Example 10
On the basis of embodiment 3, the bit loop includes an average calculation module, an interpolation filter module, a clock error extraction module, and a loop filter accumulation calculation module.
The units involved in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
According to an aspect of embodiments of the present invention, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described above.
As another aspect, the embodiment of the present invention also provides a computer-readable medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the methods described in the above embodiments.
The invention is not related in part to the same as or can be practiced with the prior art.
The foregoing technical solution is only one embodiment of the present invention, and various modifications and variations can be easily made by those skilled in the art based on the application methods and principles disclosed in the present invention, not limited to the methods described in the foregoing specific embodiments of the present invention, so that the foregoing description is only preferred and not in a limiting sense.
In addition to the foregoing examples, those skilled in the art will recognize from the foregoing disclosure that other embodiments can be made and in which various features of the embodiments can be interchanged or substituted, and that such modifications and changes can be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A micro-service data synchronization method of a cloud measurement and control baseband pool is characterized by comprising the following steps:
in the interaction flow between the measurement and control message middleware and the micro service instance, the signal data packet pushes the same micro service instance based on a sliding window, and a plurality of micro service instances receive IQ signal data in parallel, so that the loop result high-speed memory of instance calculation is durable;
the method specifically comprises the following steps:
step 1: initializing: completing creation of a < carrier wave, bit ring > theme, namely creation of an array queue, registering carrier waves of publishers, registering all bit ring examples of subscribers, wherein the calculation state of all examples in an initial state is a ready state;
step 2: example calculation state starts: the sliding window pusher sends a calculation starting command to the bit ring example 1, and the bit ring example 1 receives the command and sets the calculation state to work;
step 3: pushing signal data: setting a measurement and control signal packet sliding window, wherein the unit of the sliding window is the number of linked list packets in a theme array, and a sliding window pusher is used for pushing linked list data packets to an example 1 and an example 2 respectively; the bit ring example 1 receives a packet, performs a packet calculation process, stores the calculated intermediate result, and finally completes accumulation of the intermediate result of multi-packet calculation, and the data output by the example 1 is written into the next theme < bit ring, frame synchronization >; the bit ring example 2 is only responsible for receiving data and does not calculate the data; the received signal data of the bit ring example 1 and the bit ring example 2 are received simultaneously, and the parallel data reception is completed;
step 4: the intermediate loop result is responsive to the control command: after the example 1 calculates the N packets of data of a linked list, setting the self calculation state as ready, sending a middle loop result response command code to the measurement and control message middleware, directly forwarding the I/O multiplexer of the measurement and control message middleware to the example 2, and simultaneously delivering the I/O multiplexer to a loop state machine, wherein the loop state machine stores the 1 st round calculation result into the loop state machine;
step 5: the following example state starts: the I/O multiplexer sends a calculation starting command to the example 2, the example 2 enters a starting state from a stopping state and calculates, meanwhile, the sliding window polling pusher judges whether the number of the examples pushed at the moment is 2, if so, the data packet is still sent, and if not, the sliding window operation is carried out to push the data packet of the next linked list to the next example;
step 6: and (3) sequentially executing the steps from step 1 to step 5 for N-1 times, and when the number of the last instance is pushed, changing the next pushing instance of the number of the last instance into the instance 1 again, so as to realize cyclic pushing.
2. The method for synchronizing micro service data of a clouding measurement and control baseband pool according to claim 1, wherein the plurality of micro service instances receive IQ signal data in parallel, comprising the steps of: the bit loop Cheng Zhongwei loops a plurality of examples under the micro-service, the signal data are segmented, each segment is pushed to the examples of different states in parallel, and the computing state examples and the data receiving state examples receive the data packet in parallel.
3. The method for synchronizing micro-service data of a clouding measurement and control baseband pool according to claim 2, wherein the bit loop flow comprises the following steps:
the measurement and control message middleware pushes signal data to different bit ring micro services by taking a linked list as a unit, the bit ring example 1 carries out loop calculation while carrying out data reception, and the bit ring example 2 only carries out data reception, wherein the step of carrying out the loop calculation specifically comprises the following steps:
step 1: AGC factor average calculation: calculating (Ik, I k +1, ik+2, ik+3) and (Qk, qk+1, qk+2, qk+3) according to the moving average of every 4 points for all I and Q paths in a packet to obtain AIk, qik, and then k=k+1 to sequentially obtain the averaged I and Q paths of signal points;
step 2: the interpolation filter carries out correlation calculation according to every 4 sampling points to obtain I-path interpolated output data yI and Q-path interpolated output data yQ which are used as bit ring output signal data I-path output points and Q-path output points;
step 3: the data packaging flow outputs signal data to the next theme queue according to the output signal point when the signal point is accumulated to 8000 bytes;
step 4: each symbol calculates the current clock error according to the correlation;
step 5: according to the filter coefficients C1 and C2 and the loop filter calculated in the previous time, carrying out relevant accumulation calculation on the current clock error and the previous clock error to obtain a loop filter value;
step 6: when the processing of the bit ring 1 round chain table data is finished, the bit ring example 1 sends a loop result to the message middleware, the bit ring 1 becomes a ready state, the measurement and control message middleware forwards the intermediate loop result to the bit ring example 2, the example 2 enters a calculation state, loop calculation is carried out on the data received on the bit ring example 2, and the bit ring example 3 enters a state of receiving the data and polls in turn.
4. The method for synchronizing microservice data of a cloud measurement and control baseband pool according to claim 1, wherein an array linked list is used for storing signal data packets of a theme, and an array linked list belongs to the theme; the signal data is stored according to a preset sequence to form an M-N signal packet array; when the signal data packet is pushed to a subscriber, the signal data packet is pushed to one subscriber according to the set sliding window number, the data length of each node in the linked list is 8000 signal bytes, and each 4 bytes represents a sampling point and comprises 1000I-path data and 1000Q-path data.
5. The method for synchronizing micro-service data of a cloud measurement and control baseband pool according to claim 2, wherein the bit-loop instance includes clock error and loop filter NCO that need to be accumulated, and the calculation of 2 values depends on the previous value to perform the accumulated calculation; the intermediate loop is sent as part of the loop result response command when the signal data is switched for bit-loop micro-service instance computation.
6. The method for synchronizing micro-service data of a cloudization measurement and control baseband pool according to claim 1, wherein the measurement and control message middleware comprises a plurality of functional components and service data; the functional component comprises a multiplexer, a component register, a measurement and control signal receiver, a sliding window pusher, a flow controller and a state receiver, and the functional component completes interaction with each micro-service instance according to a signal data packet control command; the business data includes topic queues, loop state data, publisher and subscriber micro-service instance lists.
7. The method for synchronization of microservice data of a cloudization measurement and control baseband pool according to claim 1, wherein in step 2, the sliding window pusher sends a start calculation command including an intermediate loop structure initial value.
8. The method for synchronizing micro-service data of a cloud measurement and control baseband pool according to claim 1, wherein,
in the step 3, a measurement and control signal packet sliding window is set to be 2, the unit of the sliding window is the number of linked list packets in a theme array, and each packet is 8000 bytes of data;
in step 5, the start computation command sent by the I/O multiplexer to example 2 contains the last round of loop results.
9. The method for synchronizing micro-service data of a cloud measurement and control baseband pool according to claim 2, wherein the bit loop comprises an average calculation module, an interpolation filter module, a clock error extraction module and a loop filter accumulation calculation module.
CN202211517307.XA 2022-11-30 2022-11-30 Micro-service data synchronization method for cloud measurement and control baseband pool Active CN115996229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211517307.XA CN115996229B (en) 2022-11-30 2022-11-30 Micro-service data synchronization method for cloud measurement and control baseband pool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211517307.XA CN115996229B (en) 2022-11-30 2022-11-30 Micro-service data synchronization method for cloud measurement and control baseband pool

Publications (2)

Publication Number Publication Date
CN115996229A CN115996229A (en) 2023-04-21
CN115996229B true CN115996229B (en) 2024-04-05

Family

ID=85991407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211517307.XA Active CN115996229B (en) 2022-11-30 2022-11-30 Micro-service data synchronization method for cloud measurement and control baseband pool

Country Status (1)

Country Link
CN (1) CN115996229B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111542064A (en) * 2020-04-22 2020-08-14 中国科学院计算技术研究所 Container arrangement management system and arrangement method for wireless access network
CN114338781A (en) * 2021-12-29 2022-04-12 神州数码系统集成服务有限公司 Artificial intelligence micro-service control method, system, equipment, storage medium and application
CN114422371A (en) * 2022-01-20 2022-04-29 重庆邮电大学 Elastic micro-service system based on distributed and container virtualization and implementation method
CN114490078A (en) * 2022-02-11 2022-05-13 青岛海信网络科技股份有限公司 Dynamic capacity reduction and expansion method, device and equipment for micro-service
WO2022193530A1 (en) * 2021-03-17 2022-09-22 深圳壹账通智能科技有限公司 Blockchain protocol stack architecture development method and system, device, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10735509B2 (en) * 2018-01-31 2020-08-04 Ca, Inc. Systems and methods for synchronizing microservice data stores
US10671471B2 (en) * 2018-02-12 2020-06-02 Ca, Inc. Topology-based feature selection for anomaly detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111542064A (en) * 2020-04-22 2020-08-14 中国科学院计算技术研究所 Container arrangement management system and arrangement method for wireless access network
WO2022193530A1 (en) * 2021-03-17 2022-09-22 深圳壹账通智能科技有限公司 Blockchain protocol stack architecture development method and system, device, and storage medium
CN114338781A (en) * 2021-12-29 2022-04-12 神州数码系统集成服务有限公司 Artificial intelligence micro-service control method, system, equipment, storage medium and application
CN114422371A (en) * 2022-01-20 2022-04-29 重庆邮电大学 Elastic micro-service system based on distributed and container virtualization and implementation method
CN114490078A (en) * 2022-02-11 2022-05-13 青岛海信网络科技股份有限公司 Dynamic capacity reduction and expansion method, device and equipment for micro-service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于微服务架构的基础设施设计;蒋勇;;软件;20160515(第05期);全文 *

Also Published As

Publication number Publication date
CN115996229A (en) 2023-04-21

Similar Documents

Publication Publication Date Title
WO2020211682A1 (en) Data transmission method and related apparatus
CN110300115A (en) A kind of data transmission method and relevant apparatus based on multichannel
CN101188477A (en) A data packet sequence receiving method and device
CN107196848B (en) Information push method and device
CN108881955A (en) A kind of method and system for realizing the output of distributed node equipment audio video synchronization
CN104023408A (en) Dispatcher and data dispatching method based on network multi-path parallel transmission
CN108833366B (en) Control frame compression method based on AS6802 protocol
CN110972150A (en) Network capacity expansion method and device, electronic equipment and computer storage medium
CN115996229B (en) Micro-service data synchronization method for cloud measurement and control baseband pool
CN113542043A (en) Data sampling method, device, equipment and medium of network equipment
CN102882809B (en) Network speed-limiting method and device based on message buffering
CN103685388A (en) Method and device for information management
CN114884893B (en) Forwarding and control definable cooperative traffic scheduling method and system
CN103647666A (en) Method and apparatus for counting call detail record (CDR) messages and outputting results in real time
CN101102123B (en) Mixing service RAKE receiving device based on broadband CDMA system and its method
CN110187948A (en) Method, system, medium and the server of real-time monitoring cloud desktop running environment
KR101964755B1 (en) An optimized time-synchronization Method and System for simulator interpretation
CN109392093A (en) A kind of sending method and equipment of paging message
CN103425583B (en) The tracking of a kind of multi-DSP parallel system and back method
CN102104909B (en) Data processing method and device
CN112615773A (en) Message processing method and system
CN111343589A (en) Communication networking method, sub-node equipment and main node equipment
CN101512955A (en) Method and apparatus for synchronizing applications of terminals in a communication network
CN109495931A (en) The data transmission method and relevant apparatus of link aggregation
CN110943886B (en) Performance data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant