Disclosure of Invention
The invention aims to overcome the defect of strong network interference in the prior art and provides a method and a system for automatically configuring cell communication parameters.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
a method for automatic configuration of cell communication parameters, comprising the steps of:
scanning wireless signals in an area where a new cell station needs to be erected, and scanning to obtain parameters of n currently working cells, wherein the parameters comprise the frequency point, the scrambling code, the large cell number and the cell number of each cell in the n cells, and the m [ n ] (cell number)]Frequency points and scrambling codes of the neighbor cells; m [ j ]]Indicating the number of neighbor cells broadcast by the jth cell,
n is a natural number and is more than or equal to 1;
configuring the frequency point and the scrambling code of the new cell according to the frequency point and the scrambling code of the neighbor cell of the n cells; configuring the large area number of the new cell according to the large area numbers of the n cells; configuring the cell number of the new cell according to the cell numbers of the n cells;
and configuring the frequency points and the scrambling codes of the neighbor cells to be broadcasted by the new cell according to the frequency points and the scrambling codes of the n cells.
In the above scheme, the configuring the frequency point and the scrambling code of the new cell according to the frequency point and the scrambling code of the neighbor cell of the n cells includes the steps of: taking the frequency point and the scrambling code of a neighbor cell as a group of values, counting the values which appear most times in the mn number groups, and taking the values as the frequency point and the scrambling code of the new cell;
the configuring the large area number of the new cell according to the large area numbers of the n cells comprises the following steps: taking the most frequently appeared large area number in the n large area numbers as the large area number of the new cell;
the configuring the cell number of the new cell according to the cell numbers of the n cells comprises the following steps: and selecting a value which is not equal to all the cell numbers between 1 and 65535 as the cell number of the new cell.
The invention provides a system for automatically configuring the communication parameters of the cell, which comprises a parameter scanning acquisition module, a self parameter configuration module and a broadcast parameter configuration module; wherein the content of the first and second substances,
a parameter scanning obtaining module, configured to scan wireless signals in an area where a new cell site needs to be established, and obtain parameters of currently working n cells through scanning, where the parameters include a frequency point, a scrambling code, a large cell number, a cell number, and an mn of each cell in the n cells]Frequency points and scrambling codes of the neighbor cells; m [ j ]]Indicating the number of neighbor cells broadcast by the jth cell,
n is a natural number and is more than or equal to 1;
a self parameter configuration module, which is used for configuring the frequency point and the scrambling code of the new cell according to the frequency point and the scrambling code of the neighbor cell of the n cells; configuring the large area number of the new cell according to the large area numbers of the n cells; configuring the cell number of the new cell according to the cell numbers of the n cells;
and the broadcast parameter configuration module is used for configuring the frequency points and the scrambling codes of the neighbor cells to be broadcast by the new cell according to the frequency points and the scrambling codes of the n cells.
In the above system, the self-parameter configuration module includes:
the first submodule is used for taking the frequency point and the scrambling code of a neighbor cell as a group of values, counting the value which appears for the most times in the m [ n ] number group and taking the value as the frequency point and the scrambling code of the new cell;
a second sub-module for taking the largest of the n major area codes as the major area code of the new cell;
and the third submodule is used for selecting a value which is not equal to all the cell numbers between 1 and 65535 as the cell number of the new cell.
In the system, the broadcast parameter configuration module is specifically configured to take the frequency point and the scrambling code of the cell as a group of values, when n is greater than 6, sort the values from large to small according to the signal strength values, and take a group of the first 6 bits in the signal strength value sorting as the frequency point and the scrambling code of the neighbor cell to be broadcast by the new cell; and when n is less than or equal to 6, taking the frequency point and the scrambling code of the n cells as the frequency point and the scrambling code of the neighbor cell to be broadcasted by the new cell.
In another aspect, the present invention provides a computer readable storage medium comprising computer readable instructions, wherein the computer readable instructions, when executed, cause a processor to perform the operations of the method of the present invention.
Another aspect of the present invention further provides an electronic device, including: a memory storing program instructions; and the processor is connected with the memory and executes the program instructions in the memory to automatically configure the communication parameters according to the method of the invention.
Compared with the prior art, the invention has the beneficial effects that: the method and the system of the invention are used for configuring the communication parameters of the cell, thereby enhancing the accuracy of parameter configuration, reducing the network interference between adjacent cells and improving the network quality.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present embodiment provides a method for automatically configuring cell communication parameters, including the following steps:
s10, scanning wireless signals in the area where new cell station needs to be set up, and scanning to obtain the working parameters of the currently working cell, including the parameters of the cell itself and the parameters of the neighbor cells broadcasted by the cell.
The parameters of the cell itself and those of the neighbor cells it broadcasts may differ based on the communication technology used, and for example only 4G cells, LTE-FDD or TD-LTE communication technology is used. The parameters of the neighbor cell include a frequency point (ARFCN), a primary scrambling code (PCI), a large cell number (TAC), and a cell number (CELLid), and the parameters of the neighbor cell include a frequency point (ARFCN) and a primary scrambling code (PCI).
And S20, automatically configuring the working parameters of the new cell according to the scanning result.
Still taking the 4G cell as an example, for a certain cell X, the label is the following "cell parameter array":
ARFCN[X],PCI[X],TAC[X],CELLid[X],[X]-N[1]-ARFCN,[X]-N[1]-PCI,[X]-N[2]-ARFCN,[X]-N[2]-PCI,[X]-N[3]-ARFCN,[X]-N[3]-PCI,……,[X]-N[6]-ARFCN,[X]-N[6]-PCI。
ARFCN [ X ], PCI [ X ], TAC [ X ], CELLid [ X ] respectively represent frequency point, scrambling code, large area number, cell number of cell X; [ X ] -N1-ARFCN, [ X ] -N1-PCI represents the frequency point and scrambling code of the 1 st neighbor cell broadcasted by cell X, and so on, [ X ] -N6-ARFCN, [ X ] -N6-PCI represents the frequency point and scrambling code of the 6 th neighbor cell broadcasted by cell X.
In this embodiment, for a 4G cellular network, the cell needs to broadcast parameters of 6 neighbor cells of the cell, and the parameters of the neighbor cells are broadcasted, so that the cell can be conveniently used in parameter configuration of a new cell. It should be noted that, the number of neighbor cells to be broadcasted by each cell is not limited, and the number of neighbor cells broadcasted by each cell in the n cells may also be different. In addition, theoretically, the more parameters of the broadcasted neighbors, i.e. the more data sources, the more accurate the parameters of the new cell calculated using these parameters. However, in the research of the present inventors, it is found that when the method of the present invention is used for parameter configuration, the more the parameters of the neighboring cells that are not broadcasted are, the higher the accuracy of parameter configuration of the new cell is, and on the contrary, the more the broadcasted content is, the more the pressure of the device is increased, and the performance of the device is reduced. In this embodiment, by setting and broadcasting the frequency points and scrambling parameters of 6 neighbor cells, not only the accuracy of parameter configuration can be ensured, interference between networks of adjacent cells is reduced or even avoided, but also the pressure of the device can be reduced, and the performance of the device is ensured.
Assuming that n (n is greater than or equal to 1) existing cells capable of correctly receiving wireless signals in the area where the new cell station needs to be erected currently, the working parameters of each cell and the parameters of the neighbor cells broadcasted by the cell can be obtained in step S10, that is, the cell parameter arrays above n are obtained: ARFCN [ X ], PCI [ X ], TAC [ X ], CELLid [ X ], [ X ] -ni ] -ARFCN, [ X ] -ni ] -PCI, wherein X ═ 1, 2, 3, … …, N; i is 1, 2, 3, … …, 6. When receiving and scanning, the signal intensity of each cell can be obtained through scanning, and is marked as Quality [ X ], the Quality [ X ] is also recorded into the cell parameter array, namely n cell parameter arrays are obtained through scanning: ARFCN [ X ], PCI [ X ], TAC [ X ], CELLid [ X ], [ X ] -N [ i ] -ARFCN, [ X ] -N [ i ] -PCI, Quality [ X ].
The new cell for which the operating parameters need to be determined is marked as code number 0. The step of automatically configuring the working parameters of the new cell according to the scanning result specifically comprises the following steps:
s201, taking [ X ] -N [ i ] -ARFCN and [ X ] -N [ i ] -PCI as a group of values, and counting the values which appear most times in N cell parameter arrays as ARFCN [0] and PCI [0 ]. If the values which appear most frequently have a plurality of groups, counting the [ X ] -N [ i ] -ARFCN in the plurality of groups of values which appear most frequently, and taking the group which appears most frequently of the [ X ] -N [ i ] -ARFCN; if there are still multiple alternatives, one of them is selected.
For example, assuming that N is 7, then the scan yields 7 arrays of the cell parameters described above, with 6 sets of [ X ] -N [ i ] -ARFCN, [ X ] -N [ i ] -PCI in each array, and a total of 42 sets of [ X ] -N [ i ] -ARFCN, [ X ] -N [ i ] -PCI. If the number of times of appearance of a certain group [ X ] -N [ i ] -ARFCN, [ X ] -N [ i ] -PCI in the 42 groups of data is the most, the value of the group is taken as ARFCN [0] and PCI [0 ]. Assuming that the two groups (2-N4-ARFCN, 2-N4-PCI and 3-N1-ARFCN, 3-N1-PCI, respectively) of the 42 groups of values occur 5 times at most, the times of the 42 groups of values of [ X ] -N i-ARFCN are further compared, and if 9 times of the [ 2-N4-ARFCN and 7 times of the [ 3-N1-ARFCN occur, the [ 2-N4-ARFCN and the [ 2-N4-PCI are used as ARFCN 0 and PCI 0. It should be noted that [ X ] -N [ i ] -ARFCN or [ X ] -N [ i ] -PCI in the above description refers to its corresponding value, i.e. data, for example [2] -N4 ] -ARFCN refers to the value of the 4 th neighbor parameter ARFCN of cell 2.
It should be noted that there are 42 arrays in the step S201, which is for the case that the number of neighbor cells broadcasted for each cell is equal and is all 6, and for the general case, m [ n ] can be used]Denotes the total number of neighbor cells broadcasted by n cells, M [ j]Representing the number of neighbor cells broadcast by the jth (j ≦ n) cell,
theoretically, when the values appearing most frequently have multiple groups, the [ X ] -N [ i ] -PCI in the multiple groups of values appearing most frequently can be counted, but the inventor researches and discovers that the [ X ] -N [ i ] -PCI is used for counting and comparing, the ARFCN [0] and the PCI [0] configured by the statistics can not obtain the optimal parameter configuration precision, and under the same condition, the cell interference degree when the [ X ] -N [ i ] -ARFCN is used as the reference for parameter configuration is slightly smaller than that when the X ] -N [ i ] -PCI is used as the reference for parameter configuration.
S202, counting the values of all TAC [ X ], counting the TAC [0] which appears most times, if a plurality of alternatives exist, sorting the alternatives according to the Quality [ X ] from big to small, and taking the TAC [ X ] which is most front in the Quality [ X ] sorting, namely taking the TAC [ X ] corresponding to the maximum Quality [ X ] as the TAC [0 ]; and if a plurality of alternatives still exist at the top of the sequence, selecting one of the alternatives.
For example, if the values of TAC [2] and TAC [3] appear 3 times in 7 TAC [ X ], the values of Quality [2] and Quality [3] are further compared, and if the value of Quality [2] is greater than the value of Quality [3], the value of TAC [2] is taken as TAC [0 ].
S203, selecting a value unequal to all CELLid [ X ] between 1-65535 as CELLid [0 ].
After the above steps, the working parameters of the new cell, ARFCN 0, PCI 0, TAC 0 and CELLid 0, can be obtained.
S30, filling all ARFCN [ X ], PCI [ X ], with [0] -N [ i ] -ARFCN, [0] -N [ i ] -PCI, where i ═ 1, 2, 3, … …, N, respectively. When N is larger than 6, according to the order of the Quality [ X ] from big to small, the value of ARFCN [ X ] of the first 6 bits of the Quality [ X ] order is taken as [0] -N [ i ] -ARFCN and [0] -N [ i ] -PCI. And when n is less than or equal to 6, taking the frequency point and the scrambling code of the n cells as the frequency point and the scrambling code of the neighbor cell to be broadcasted by the new cell. The parameters of the neighbor cells to be broadcasted by the new cell can be obtained through the step.
Based on the same inventive concept of the above method, the embodiment of the present invention also provides a system for automatically configuring cell communication parameters, and please refer to the above method embodiment for the undescribed parts in the embodiment of the system. Referring to fig. 2, the system for automatically configuring cell communication parameters according to the embodiment of the present invention includes a parameter scanning obtaining module 21, a self-parameter configuring module 22, and a broadcast parameter configuring module 23.
The parameter scanning obtaining module 21 is configured to perform wireless signal scanning in an area where a new cell station needs to be erected, and scan and obtain operating parameters of a currently operating cell, including parameters of the cell itself and parameters of a neighboring cell broadcasted by the cell.
The self-parameter configuration module 22 is configured to automatically configure the self-operating parameters of the new cell according to the scanning result. Specifically, the self parameter configuration module 22 includes a first sub-module 221, a second sub-module 222, and a third sub-module 223.
The first sub-module 221 is configured to take [ X ] -N [ i ] -ARFCN, [ X ] -N [ i ] -PCI as a group of values, and count the values that occur most frequently in the N cell parameter arrays as ARFCN [0] and PCI [0 ]. If the values which appear most frequently have a plurality of groups, counting the [ X ] -N [ i ] -ARFCN in the plurality of groups of values which appear most frequently, and taking the group which appears most frequently of the [ X ] -N [ i ] -ARFCN; if there are still multiple alternatives, one of them is selected.
The second sub-module 222 is configured to count values of all TAC [ X ], count the TAC [0] appearing most frequently, sort the TAC [ X ] according to the priority order among the candidates if there are multiple candidates, and take the TAC [ X ] which is the most front-most sorted from the priority order [ X ], that is, take the TAC [ X ] corresponding to the maximum priority [ X ] as the TAC [0 ]; and if a plurality of alternatives still exist at the top of the sequence, selecting one of the alternatives.
The third sub-module 223 is used for selecting a value unequal to all CELLid [ X ] between 1-65535 as CELLid [0 ].
The broadcast parameter configuration module 23 is configured to fill all ARFCN [ X ], PCI [ X ], into [0] -N [ i ] -ARFCN, [0] -N [ i ] -PCI, where i is 1, 2, 3, … …, N. When N is larger than 6, according to the order of the Quality [ X ] from big to small, the value of ARFCN [ X ] of the first 6 bits of the Quality [ X ] order is taken as [0] -N [ i ] -ARFCN and [0] -N [ i ] -PCI. And when n is less than or equal to 6, taking the frequency point and the scrambling code of the n cells as the frequency point and the scrambling code of the neighbor cell to be broadcasted by the new cell.
As shown in fig. 3, the present embodiment also provides an electronic device, which may include a processor 51 and a memory 52, wherein the memory 52 is coupled to the processor 51. It is noted that the figure is exemplary and that other types of structures may be used in addition to or in place of the structure to implement parameter scan acquisition, self-parameter and broadcast configuration, communication, or other functions.
As shown in fig. 3, the electronic device may further include: an input unit 53, a display unit 54, and a power supply 55. It is noted that the electronic device does not necessarily have to comprise all the components shown in fig. 3. Furthermore, the electronic device may also comprise components not shown in fig. 3, reference being made to the prior art.
The processor 51, also sometimes referred to as a controller or operational control, may comprise a microprocessor or other processor device and/or logic device, the processor 51 receiving input and controlling operation of the various components of the electronic device.
The memory 52 may be one or more of a buffer, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices, and may store the configuration information of the processor 51, the instructions executed by the processor 51, and other information. The processor 51 may execute a program stored in the memory 52 to realize information storage or processing, or the like. In one embodiment, a buffer memory, i.e., a buffer, is also included in the memory 52 to store the intermediate information.
The input unit 53 may be, for example, a document reading device for supplying the parameter data obtained by scanning to the processor 51. The display unit 54 is used to display the calculated parameters, including the parameters of the new cell itself and the parameters of the broadcast, and may be, for example, an LCD display, but the invention is not limited thereto. The power supply 55 is used to provide power to the electronic device.
Embodiments of the present invention also provide a computer readable instruction, where the program, when executed in an electronic device, causes the electronic device to perform the operation steps included in the method for configuring cell communication parameters as shown in fig. 1.
Embodiments of the present invention also provide a storage medium storing computer-readable instructions, where the computer-readable instructions cause an electronic device to perform the operation steps included in the method for configuring cell communication parameters as shown in fig. 1.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, and the integrated unit may be implemented in a form of hardware, or may be implemented in a form of software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including 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.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.