Disclosure of Invention
The embodiment of the invention provides a method and a system for acquiring a frequency point occupied by a virtual multi-carrier communication system terminal, which are used for solving the problems that the type of carrier which is accessed cannot be identified in the judgment of the frequency point occupied by an access terminal in the prior art, and an additional hardware is needed to realize the acquisition of an identification scheme.
In a first aspect, an embodiment of the present invention provides a method for acquiring a frequency point occupied by a virtual multi-carrier communication system terminal, including:
acquiring a single coverage cell established by a BBU (base band unit), wherein the BBU starts virtual multi-carrier access, and a terminal to be analyzed is accessed to the BBU;
counting the powers of all virtual carrier uplink channels accessed to the single coverage cell by the terminal to be analyzed, and sequencing the powers of all virtual carrier uplink channels according to the magnitude to obtain an uplink access channel power sequencing sequence;
extracting the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and closing the uplink access channel according to a preset time interval;
after the preset time interval is finished, opening the uplink access channel;
counting the times of correctly demodulating the uplink signal of the terminal to be analyzed by the BBU within the preset time interval, and reporting the times to a management system;
the management system judges whether the terminal to be analyzed is accessed on the uplink access channel or not according to the times;
and removing the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and counting other uplink access channels in the uplink access channel power sequencing sequence until all occupied frequency points of the terminal to be analyzed in the single coverage cell are obtained.
Preferably, the extracting the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and closing the uplink access channel according to a preset time interval specifically includes:
according to the preset time interval, triggering the FPGA to close the uplink access channels which are sequenced into one in the uplink access channel power sequencing sequence;
and in the preset time interval, the FPGA sends the switching signal and the baseband signal to a baseband decoding part of the CPU.
Preferably, the opening the uplink access channel after the preset time interval is ended specifically includes:
and after the preset time interval is finished, the FPGA opens the closed uplink access channel to ensure that the terminal to be analyzed keeps accessing.
Preferably, the counting the number of times that the BBU unit correctly demodulates the uplink signal of the terminal to be analyzed in the preset time interval, and reporting the number of times to a management system specifically includes:
and in the preset time interval, the baseband decoding part counts the relative CRC correct times between the terminal to be analyzed and the baseband decoding part, and reports the CRC correct times to an operation maintenance management part of the CPU.
Preferably, the management system determines whether the terminal to be analyzed is accessed on the uplink access channel according to the number of times, and specifically includes:
if the CRC is judged to be correct, the terminal to be analyzed is accessed to the uplink access channel, the number of occupied frequency points is increased by 1, otherwise, the terminal to be analyzed is not accessed to the uplink access channel, and the number of occupied frequency points is not increased.
In a second aspect, an embodiment of the present invention provides a system for acquiring a frequency point occupied by a virtual multi-carrier communication system terminal, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a single coverage cell established by a BBU (base band unit), the BBU starts virtual multi-carrier access, and a terminal to be analyzed is accessed to the BBU;
the statistical module is used for counting all the virtual carrier uplink channel powers of the terminal to be analyzed, which is accessed to the single coverage cell, and sequencing all the virtual carrier uplink channel powers according to the sizes to obtain an uplink access channel power sequencing sequence;
a closing module, configured to extract an uplink access channel with the highest power in the uplink access channel power sequencing sequence, and close the uplink access channel according to a preset time interval;
the opening module is used for opening the uplink access channel after the preset time interval is finished;
the verification module is used for counting the times of correctly demodulating the uplink signal of the terminal to be analyzed by the BBU within the preset time interval and reporting the times to a management system;
the judging module is used for judging whether the terminal to be analyzed is accessed on the uplink access channel or not by the management system according to the times;
and the repeating module is used for removing the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and counting other uplink access channels in the uplink access channel power sequencing sequence until all occupied frequency points of the terminal to be analyzed in the single coverage cell are obtained.
Preferably, the closing module is specifically configured to trigger the FPGA to close the uplink access channels sequenced as one in the uplink access channel power sequencing sequence according to the preset time interval; and in the preset time interval, the FPGA sends the switching signal and the baseband signal to a baseband decoding part of the CPU.
Preferably, the opening module is specifically configured to open the closed uplink access channel by the FPGA after the preset time interval is ended, so that the terminal to be analyzed keeps accessing.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
the virtual multi-carrier communication system comprises a memory, a processor and a computer program which is stored in the memory and can be run on the processor, wherein the processor realizes any step of the method for acquiring the frequency points occupied by the virtual multi-carrier communication system terminal when executing the program.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the steps of the method for acquiring occupied frequency points of a virtual multi-carrier communication system terminal.
According to the video output mode selection method and the video output mode selection equipment, the uplink channel power of each virtual carrier and the response times of the terminal to be analyzed are counted, the method and the equipment have the characteristics of being few in search times and high in accuracy, accurate counting of occupied frequency points can be achieved without adding new hardware, and cost, power consumption and size are obviously reduced.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the defects of the method for acquiring the frequency points occupied by the terminal in the prior art, the embodiment of the invention provides a method for acquiring the frequency points occupied by the terminal of a virtual multi-carrier communication system, based on the LTE multi-carrier communication system shown in figure 1, firstly counting the uplink power of each virtual carrier, then sequencing channels of each virtual carrier according to the power, wherein the channels with high power have higher probability of occupying the frequency points for the terminal, and finishing primary screening; and then, by utilizing the characteristic that the terminal has hysteresis when being disconnected, sequentially closing the uplink channels of the virtual carriers for a fixed time according to the previous power arrangement sequence, namely ensuring that the terminal is as long as possible under the condition of no disconnection, counting the correct times of uplink decoding CRC of the terminal in the time, and judging the frequency points occupied by the terminal according to the correct times of the CRC.
Fig. 2 is a flowchart of a method for acquiring a frequency point occupied by a terminal in a virtual multi-carrier communication system according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
s1, acquiring a single coverage cell established by a BBU (base band unit), wherein the BBU starts virtual multi-carrier access, and a terminal to be analyzed is accessed to the BBU;
s2, counting all the virtual carrier uplink channel powers of the terminal to be analyzed accessing the single coverage cell, and sequencing all the virtual carrier uplink channel powers according to the sizes to obtain an uplink access channel power sequencing sequence;
s3, extracting the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and closing the uplink access channel according to a preset time interval;
s4, opening the uplink access channel after the preset time interval is over;
s5, counting the times of correctly demodulating the uplink signal of the terminal to be analyzed by the BBU in the preset time interval, and reporting the times to a management system;
s6, the management system judges whether the terminal to be analyzed is accessed on the uplink access channel according to the times;
and S7, removing the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and counting other uplink access channels in the uplink access channel power sequencing sequence until all occupied frequency points of the terminal to be analyzed in the single coverage cell are obtained.
Specifically, in step S1, a single coverage cell is established by the BBU unit in the base station, and a virtual multi-carrier access function is started in the single coverage cell until the terminal to be analyzed accesses the cell;
in step S2, counting the powers of all virtual carrier uplink channels accessed by the terminal to be analyzed in a single coverage cell, and sorting the powers according to the power, so as to form an uplink access channel power sorting sequence from large to small;
in step S3, according to the channel power sequence obtained in step S2, first extracting the uplink access channel with the largest power, and closing the channel according to a preset time interval, where the preset time interval is set on the premise of ensuring that the terminal is as long as possible without dropping, and where the terminal dropping has a hysteresis characteristic;
in step S4, after the preset time interval is over, immediately turning on the turned-off virtual carrier uplink channel to avoid a terminal drop caused by an excessively long turn-off time;
in step S5, at the same time, in a preset time interval, counting the number of times that the BBU unit correctly demodulates the uplink signal of the terminal to be analyzed, counting the number of times that the response is correct, and reporting the number of times to the management system;
in step S6, the management system further determines the number of times of correct response within the preset time interval of the current statistics, and determines whether the terminal to be analyzed is connected to the virtual carrier or not;
in step S7, after completing the statistics of the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, the above statistics and determination procedure is continued to be repeated for other uplink access channels in the cell until all uplink channels, i.e., occupied frequency points, occupied by the terminals to be analyzed in the single coverage cell are obtained.
The embodiment of the invention has the characteristics of less search times and high accuracy by counting the uplink channel power of each virtual carrier and the response times of the terminal to be analyzed.
Based on the above embodiment, the extracting the uplink access channel with the highest power in the uplink access channel power sequencing sequence, and closing the uplink access channel according to a preset time interval specifically includes:
according to the preset time interval, triggering the FPGA to close the uplink access channels which are sequenced into one in the uplink access channel power sequencing sequence;
and in the preset time interval, the FPGA sends the switching signal and the baseband signal to a baseband decoding part of the CPU.
Specifically, according to a preset time interval, for example, set as T1, the FPGA is triggered to close the first uplink channel in the uplink access channel power sequencing sequence, that is, the uplink access channel with the maximum power has a period of time T1; during time T1, the FPGA sends the switching signal to the baseband decoding portion of the CPU along with the baseband signal.
The embodiment of the invention realizes the switching off of the uplink access channel through the FPGA of the BBU, does not need to add extra hardware for operation, and saves the implementation cost.
Based on any of the above embodiments, opening the uplink access channel after the preset time interval is ended specifically includes:
and after the preset time interval is finished, the FPGA opens the closed uplink access channel to ensure that the terminal to be analyzed keeps accessing.
Specifically, after the time of T1 is up, the FPGA immediately turns on the turned-off virtual carrier uplink channel, so as to avoid disconnection of the terminal to be analyzed due to too long turning-off time.
The embodiment of the invention is based on the hysteresis of the disconnection of the terminal, and the virtual carrier uplink channel is opened again after the channel is closed for as long as possible, so that the statistical process has continuity and integrity.
Based on any of the above embodiments, the counting the number of times that the BBU unit correctly demodulates the uplink signal of the terminal to be analyzed within the preset time interval, and reporting the number of times to the management system specifically includes:
and in the preset time interval, the baseband decoding part counts the relative CRC correct times between the terminal to be analyzed and the baseband decoding part, and reports the CRC correct times to an operation maintenance management part of the CPU.
Specifically, a baseband decoding part of the CPU counts the number of correct CRC (Cyclic Redundancy Check) times of decoding a baseband signal related to a terminal to be analyzed within a time period T1, and reports the number of correct CRC times to an Operation Maintenance management part of the CPU, that is, an Operation Administration and Maintenance (OAM) part of the CPU.
Based on any of the above embodiments, the determining, by the management system, whether the terminal to be analyzed is accessed on the uplink access channel according to the number of times specifically includes:
if the CRC is judged to be correct, the terminal to be analyzed is accessed to the uplink access channel, the number of occupied frequency points is increased by 1, otherwise, the terminal to be analyzed is not accessed to the uplink access channel, and the number of occupied frequency points is not increased.
Specifically, the CPU determines the correct CRC number of times related to the terminal to be analyzed in the current closing time period T1, if the number of times is 0, it indicates that the terminal to be analyzed is accessed on the virtual carrier and occupies the access frequency point, otherwise, it indicates that the terminal to be analyzed is not accessed on the virtual carrier and does not occupy the frequency point, and the overall determination algorithm flowchart is shown in fig. 3.
The embodiment of the invention judges whether the terminal accesses the uplink channel or not through the correct times of CRC check, and has the characteristics of less search times and high accuracy.
Fig. 4 is a system structure diagram for acquiring a frequency point occupied by a virtual multi-carrier communication system terminal according to an embodiment of the present invention, as shown in fig. 4, including: an acquisition module 41, a statistics module 42, a closing module 43, an opening module 44, a verification module 45, a judgment module 46 and a repetition module 47; wherein:
the acquiring module 41 is configured to acquire a single coverage cell established by a BBU unit, where the BBU unit starts virtual multi-carrier access, and a terminal to be analyzed accesses the BBU unit; the counting module 42 is configured to count uplink channel powers of all virtual carriers accessed to the single coverage cell by the terminal to be analyzed, and sort the uplink channel powers of all virtual carriers according to magnitudes to obtain an uplink access channel power sorting sequence; the closing module 43 is configured to extract an uplink access channel with the highest power in the uplink access channel power sequencing sequence, and close the uplink access channel according to a preset time interval; the opening module 44 is configured to open the uplink access channel after the preset time interval is ended; the verification module 45 is configured to count the number of times that the BBU unit correctly demodulates the uplink signal of the terminal to be analyzed in the preset time interval, and report the number of times to the management system; the judging module 46 is configured to judge, by the management system, whether the terminal to be analyzed is accessed on the uplink access channel according to the number of times; the repeating module 47 is configured to remove the uplink access channel with the largest power in the uplink access channel power sequencing sequence, and count other uplink access channels in the uplink access channel power sequencing sequence until all occupied frequency points of the terminal to be analyzed in the single coverage cell are obtained.
The system provided by the embodiment of the present invention is used for executing the corresponding method, the specific implementation manner of the system is consistent with the implementation manner of the method, and the related algorithm flow is the same as the algorithm flow of the corresponding method, which is not described herein again.
The embodiment of the invention has the characteristics of less search times and high accuracy by counting the uplink channel power of each virtual carrier and the response times of the terminal to be analyzed.
Based on any of the above embodiments, the closing module 43 is specifically configured to trigger the FPGA to close the uplink access channels sequenced as one in the uplink access channel power sequencing sequence according to the preset time interval; and in the preset time interval, the FPGA sends the switching signal and the baseband signal to a baseband decoding part of the CPU.
The embodiment of the invention realizes the switching off of the uplink access channel through the FPGA of the BBU, does not need to add extra hardware for operation, and saves the implementation cost.
Based on any of the above embodiments, the opening module 44 is specifically configured to, after the preset time interval is ended, open the closed uplink access channel by the FPGA, so that the terminal to be analyzed keeps accessing.
The embodiment of the invention is based on the hysteresis of the disconnection of the terminal, and the virtual carrier uplink channel is opened again after the channel is closed for as long as possible, so that the statistical process has continuity and integrity.
Based on any of the above embodiments, the verification module 45 is specifically configured to count, by the baseband decoding portion, the number of correct CRCs related between the terminal to be analyzed and the baseband decoding portion within the preset time interval, and report the number of correct CRCs to the operation maintenance management portion of the CPU.
Based on any of the above embodiments, the determining module 46 is specifically configured to access the terminal to be analyzed on the uplink access channel if it is determined that the CRC correctness count is 0, and increase the number of occupied frequency points by 1, otherwise, the terminal to be analyzed does not access the uplink access channel, and the number of occupied frequency points is not increased.
The embodiment of the invention judges whether the terminal accesses the uplink channel or not through the correct times of CRC check, and has the characteristics of less search times and high accuracy.
Fig. 5 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 5: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530 and a communication bus 540, wherein the processor 510, the communication Interface 520 and the memory 530 communicate with each other via the communication bus 540. Processor 510 may call logic instructions in memory 530 to perform the following method: acquiring a single coverage cell established by a BBU (base band unit), wherein the BBU starts virtual multi-carrier access, and a terminal to be analyzed is accessed to the BBU; counting the powers of all virtual carrier uplink channels accessed to the single coverage cell by the terminal to be analyzed, and sequencing the powers of all virtual carrier uplink channels according to the magnitude to obtain an uplink access channel power sequencing sequence; extracting the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and closing the uplink access channel according to a preset time interval; after the preset time interval is finished, opening the uplink access channel; counting the times of correctly demodulating the uplink signal of the terminal to be analyzed by the BBU within the preset time interval, and reporting the times to a management system; the management system judges whether the terminal to be analyzed is accessed on the uplink access channel or not according to the times; and removing the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and counting other uplink access channels in the uplink access channel power sequencing sequence until all occupied frequency points of the terminal to be analyzed in the single coverage cell are obtained.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, and for example, the method includes: acquiring a single coverage cell established by a BBU (base band unit), wherein the BBU starts virtual multi-carrier access, and a terminal to be analyzed is accessed to the BBU; counting the powers of all virtual carrier uplink channels accessed to the single coverage cell by the terminal to be analyzed, and sequencing the powers of all virtual carrier uplink channels according to the magnitude to obtain an uplink access channel power sequencing sequence; extracting the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and closing the uplink access channel according to a preset time interval; after the preset time interval is finished, opening the uplink access channel; counting the times of correctly demodulating the uplink signal of the terminal to be analyzed by the BBU within the preset time interval, and reporting the times to a management system; the management system judges whether the terminal to be analyzed is accessed on the uplink access channel or not according to the times; and removing the uplink access channel with the maximum power in the uplink access channel power sequencing sequence, and counting other uplink access channels in the uplink access channel power sequencing sequence until all occupied frequency points of the terminal to be analyzed in the single coverage cell are obtained.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.