The constructing system of multiple base stations and multiple user simulating scenes and method
Technical field
The present invention relates to wireless communication technology field, particularly the constructing system of multiple base stations and multiple user simulating scenes and method.
Background technology
Emulation is meant the process by setting up the real system model and utilizing institute's established model that real system is experimentized and studies.Emulation is in technical fields such as electric, mechanical, chemical industry, waterpower, heating power, and all is widely used in the social field such as society, economy, ecology, management.The wireless communication system architecture complexity, involve great expense, the public's social life is had a far reaching influence, therefore, emulation technology also is widely used in wireless communication field.
The simulating scenes of multi-BS (base station) multi-user is the simulating scenes of crucial a kind of system level in the wireless communication field simulation process.So-called many base stations, multi-user are meant in this simulating scenes, a plurality of base stations and a plurality of user have been made up, thereby phenomenons such as the inter-user interference in can the simulating reality scene and collaborative, inter base station interference and collaborative, channel large scale decline, for switch between the wireless resource scheduling of system level, base station, simulation operations such as work in coordination with the base station, broadcast multi-broadcasting provide support.
The correlation technique and the system that have had the simulating scenes that is used to make up multi-BS (base station) multi-user in the prior art, but these method and systems often need at specific emulation, only can embody a kind of of constructed scene or a few characteristic, lack versatility and autgmentability different emulation demands.For example, in list of references 1 " by of heap of stone; Wang Yifan; Zhang Yong; Mao Anfeng; Cai Jie; Song Junde is based on the functional mode and the 25th the 8th phase of volume of emulation arithmetic computer application study of the IEEE 802.16Mesh pattern of NS2 ", 802.16 protocol modules that provide among the open source software NS2, and in the list of references 2 " pretty imperial WCDMA station layout of woods and network simulation research Shanghai Communications University 20070101 ", the UMTS module that provides among the business software OPNET at all be certain protocol, these methods can not be provided with and support the various protocols characteristic, and in use also can relate to complicated data setting and a large amount of understanding work.
Summary of the invention
The objective of the invention is to overcome prior art and only can embody a kind of of constructed scene or a few characteristic, lack the versatility of different emulation demands and the defective of autgmentability, thereby a kind of simulating scenes constructing system and method with versatility is provided.
To achieve these goals, the invention provides a kind of constructing system of multiple base stations and multiple user simulating scenes, comprise the base station entity maintenance module, the user subject maintenance module that is used for maintenance customer's entity that are used for the base station maintenance entity, be used for to scene do initialization operation scene initialization module, the scene update module that is used for scene is upgraded, the link sampling module of link data and the physical channel module that is used to provide the response of polymorphic type physical channel are used to sample; Wherein,
Described base station entity maintenance module and user subject maintenance module are created base station entity and the user subject that specifies number according to the configuration information of scene; Described scene initialization module is according to the described base station entity of configuration information initialization of scene and the information in the user subject, random initializtion comprises the content of user subject movement velocity, the direction of motion, position, and the relation between described base station entity and user subject is carried out initialization; Described scene update module is at regular hour week after date, upgrades information in described base station entity and the user subject according to the real-time change of user subject position; Described link sampling module is gathered the link information of active link, and is generated the instant channel response of each active link by the physical channel module.
In the technique scheme, include and base-station-related information in the described base station entity, comprise physical message and function information; Wherein, described physical message comprises sector auxiliary information, service-user index information, coverage information, base station position information; Described function information comprises base station frequency resource information, load information, antenna for base station configuration information, base station transmitting power information, base station indices.
In the technique scheme, described user subject includes and subscriber-related information, comprises that user index information, user monitor base station indices information, serving BS information, customer position information, user's motion track information, user load information, user antenna configuration information.
The present invention also provides a kind of construction method of multiple base stations and multiple user simulating scenes, comprising:
Step 1), according to the content configuration information that will make up scene;
Step 2), create the base station entity that specifies number;
The user subject that step 3), establishment specify number;
Step 4), according to the information in step 1) described base station entity of resulting configuration information initialization and the user subject, random initializtion comprises the content of user subject movement velocity, the direction of motion, position, and the relation between described base station entity and user subject is carried out initialization.
In the technique scheme, also comprise the scene update step, comprising:
Step 5), judge whether current time has arrived the update cycle, after arriving the update cycle, upgrade information in described base station entity and the user subject, carry out next step then according to the real-time change of user subject position; Otherwise, directly carry out next step;
Step 6), gather the link information of active link between each user subject and base station, generate the instant channel response of each active link.
In the technique scheme, in described step 1), described configuration information comprises base station and user's number, the position at place, base station, the coverage of base station, user's number of antennas, the physical message in each base station and function information, user load information, the user antenna configuration information among each user.
In the technique scheme, in described step 4), comprise: the sector auxiliary information in the base station entity, coverage information, base station position information, base station frequency resource information, antenna for base station configuration information, base station transmitting power information, base station indices are carried out initialization according to the information in the described base station entity of configuration information initialization.
In the technique scheme, in described step 4), comprise: the user load information in the user subject, user antenna configuration information are given initialization according to the information in the described user subject of configuration information initialization.
In the technique scheme, in described step 4), relation between described base station entity and user subject is carried out initialization to be comprised: according to the monitoring base station indices information and the serving BS information of the initial position initialization user subject of user subject, and according to the base station load information and the service user index information of described monitoring base station indices information and service base station information initialization respective base station entity.
In the technique scheme, described step 5) comprises:
Step 5-1), calculate the current location of a user subject in the scene;
Step 5-2), upgrade the customer position information in the user subject and monitor base station indices information according to the current location of user subject;
Step 5-3), judge whether the serving BS at user subject place variation has taken place, if change, upgrade the load information in the respective base station entity, upgrade the monitoring base station indices information of user subject simultaneously, carry out next step then; Otherwise, directly carry out next step;
Step 5-4), other user subjects in the scene are re-executed step 5-1)-and step 5-3), all user subjects in scene have all obtained handling.
In the technique scheme, described step 6) comprises:
Step 6-1), obtain the monitoring base station indices information of a user subject;
Step 6-2), obtain monitoring the positional information of base station by monitoring base station indices information, length, the angle information of link between calculating user subject and monitoring base station;
Step 6-3), the instant channel response of the link of the link of calculating active user and serving BS and active user and all monitoring base stations.
The invention has the advantages that:
1, the stronger versatility of simulating scenes structure.The scene structure that the present invention is directed under different the requirement has carried out object and function extraction, has obtained a basic parameter and function collection, can satisfy the demand that most multi-BS (base station) multi-user scene makes up, thereby possess stronger versatility
2, the stronger flexibility of simulating scenes structure.Method of the present invention provides support to the state of dynamic change system, can satisfy static and dynamic demand, simultaneously, control to base station and customer parameter, can simulate various situation, and parameter and controlled function are separated to a certain extent, thereby to the increase and decrease of base station and customer parameter and the support of newly adding function, possess stronger flexibility
3, the ease for use of simulating scenes structure.System and method data of the present invention respectively become module with function, and interface definition is clear, can meet the different needs under less modification, therefore, possess very strong ease for use.
Description of drawings
Fig. 1 is the structure chart of the constructing system of multiple base stations and multiple user simulating scenes of the present invention;
Fig. 2 is the flow chart of the construction method of multiple base stations and multiple user simulating scenes of the present invention;
Fig. 3 is the flow chart when scene is done initialization;
Flow chart when Fig. 4 upgrades for scene is done;
Flow chart when Fig. 5 samples for link.
Embodiment
The present invention will be further described below in conjunction with the drawings and specific embodiments.
With reference to figure 1, the constructing system of multiple base stations and multiple user simulating scenes of the present invention comprises base station entity maintenance module, user subject maintenance module, scene initialization module, scene update module, link sampling module and physical channel module.Function to above-mentioned module in the system is illustrated respectively below.
The base station entity maintenance module is used for safeguarding the base station entity of simulated environment.Described maintenance comprises associative operations such as establishment, modification, deletion, inquiry.So-called base station entity is meant the recording of information entity of the base station in the simulating scenes, and the information that this record entity is write down comprises physical message and function information.Physical message comprises sector auxiliary information, service-user index information, coverage information, base station position information etc.Function information comprises base station frequency resource information, load information, antenna for base station configuration information, base station transmitting power information, base station indices etc.In a scene, the base station entity that the base station entity maintenance module is safeguarded can have a plurality of, and the information that is write down in the different base station entity can be different.
The user subject maintenance module is used for safeguarding the user subject of simulated environment.So-called user subject is meant the record entity of the user profile in the simulating scenes, and the information that this record entity write down comprises that user index information, user monitor base station indices information, serving BS information, customer position information, user's motion track information, user load information, user antenna configuration information etc.User in the above-mentioned information monitors base station indices information and is used to describe the sequence number of monitoring the base station, is meant that the user is appreciable and monitor the base station, and the possible base station of the service of providing is provided.Corresponding with it serving BS is meant and provides serving base station to the user.In a scene, the user subject that the user subject maintenance module is safeguarded can have a plurality of, and the information that is write down in the different user entity can be different.
Scene initialization module is used for the scene of want emulation is done initialization operation, comprise that the configuration with the whole simulation scene is initialised in base station entity and the user subject, simultaneously, the content (as user's movement locus, comprising the speed and the direction of motion, user's position etc.) that does not have configuration in the simulating scenes is carried out random initializtion.
The scene update module is used for upgrading the information of base station entity and user subject, comprise that the movement locus according to the user upgrades user's position, and then upgrade user's serving BS and monitor base station information, and information such as the load of base station and service user index.
The link sampling module is used for the link that user subject user monitored of current time is done the link information sampling, from user subject and base station entity, obtain the information such as distance, angle of link, and input to the physical channel module, thereby obtain the instant channel response of link.
The physical channel module is used for providing polytype physical channel response according to configuration information, for example AWGN, Rayleigh, Lai Si, TU, SCME or the response of self-defining physical channel.
It more than is explanation to scene constructing system of the present invention, in Fig. 2, further provided explanation to the complete building process of scene, comprise: at first want pre-configured corresponding scene parameter, then according to parameter initialization base station entity and user subject, then in the emulation cycle, scene is upgraded operation, described renewal operation comprises the renewal to base station entity and user subject, and obtains the instant channel response of current all links, until the termination in emulation cycle.Below in conjunction with the scene constructing system detailed process that scene makes up is illustrated.
In simulation process, need to make up the scene of a certain type, for example to make up a scene that comprises 19 base stations and 32 users, according to the content that will make up scene, need pre-configured corresponding information, as the user load information among the coverage of the position at base station and user's number, place, base station, base station, user's number of antennas, physical message in each base station and function information, each user, user antenna configuration information etc.For example, the antenna of base station is 4, and transmitting power is 46dBm, and coverage is 500 meters, three sectors, and the system bandwidth of 20MHz, user's antenna is 2, thermal noise power is-127dBm/Hz, the user antenna gain, customer location and translational speed are at random.
After finishing above-mentioned information configuration, call scene initialization module below and do initialization operation.With reference to figure 3, in initialization procedure, scene initialization module is called the base station entity maintenance module and is created 19 base station entity that specify number according to configuration information, and the initial position of base station entity that initialization is created.After creating base station entity, also to carry out initialization to physical message and the function information except that the load of base station except that the service user index in the establishment base station entity according to configuration information, for example, the antenna number of each base station is set at 4, transmission power setting is 46dBm, and coverage is set at 500 meters.In above-mentioned initial procedure, can there be difference in the physical message of different base station entity and function information.In addition, scene initialization module also will be according to 32 user subjects of configuration information invoke user entity maintaining module creation, and the user load information in each user subject, user antenna configuration information are given initialization.
Scene initialization module also will not have the content of configuration to do random initializtion to some except according to the information that has been configured in advance base station entity being done the initialization operation.For example, the position of each user subject in the scene, translational speed, moving direction all can give initialization by mode at random.
After determining the initial position of user subject, scene initialization module just can be known a certain user subject in the service range of which base station entity, thereby is that correlation between user subject and base station entity is carried out initialization operation.In initialization procedure, can know by the initial position of user subject which the base station around it has, monitoring base station indices information according to this information updating user subject, can also know user subject provides service by which base station, according to the serving BS information of this information updating user subject.After obtaining monitoring base station indices information and service base station information, can also be according to the base station load information and the service user index information of the base station entity of these information updating correspondence positions.
From above-mentioned initialization procedure as can be seen, the present invention can be provided with the number of base station as required when making up scene, user's number, simultaneously, when the characterisitic parameter that disposes each base station and each user's characterisitic parameter, owing to adopted the data manipulation that is separated with simulation run, so can be provided with according to different demands, such as different antenna for base station number simulation MIMO scenes is set, the different different received signal intensity of base station transmitting power simulation, the large scale decline that different base station range simulations is different, the frequency resource of different base station section number anolog base stations reuse effect, the different different scheduling of resource situations of base station frequency resource simulation, the handover-target base station scene that different base station initial load situation simulations is different etc., different user's initialized location is set for another example makes the user concentrate on certain or certain several base stations, different user movement tracks is set simulates different Doppler effect, different user antenna numbers is set simulates MIMO scene etc., thereby increased the flexibility and the versatility of scene greatly.
The constructed scene of the present invention can change along with the change of time, and for example, the position of the user subject in the scene is moved possibly, and the base station entity under the user subject also may change because of the change of user subject position.Therefore, at week regular hour after date, need upgrade scene.The renewal of scene is mainly realized by the scene update module.
With reference to figure 4, the scene update module is obtained current time information, travels through all user subjects in the scene then, each user subject is done as follows: the current location of calculating this user subject according to translational speed, moving direction, current time; After obtaining the current location of user subject, just can upgrade the customer position information of active user's entity and monitor base station indices information; If variation has also taken place in the serving BS of user subject, then upgrade the load information in the relevant base station entity, upgrade the monitoring base station indices information of user subject simultaneously.In aforesaid operations, why to upgrade that to monitor base station indices information be because along with the moving of user, the appreciable base station around the user may change.In addition, after changing serving BS, serving BS originally can change one into monitors the base station, therefore also needs the monitoring base station indices information of user subject is upgraded.
In simulated environment, communicate by physical channel between user subject and the base station entity, the foundation of physical channel needs corresponding link information, therefore, also will be gathered the link information of all active links in the scene by the link sampling module when scene makes up.With reference to figure 5, all 32 user subjects in the link sampling module traversal scene are done as follows each user subject: obtain the base station indices information of monitoring; Obtain monitoring the positional information of base station by monitoring base station indices information, by information such as the length of link between the positional information calculation user subject of monitoring the base station and monitoring base station, angles; Call the physical channel module and obtain the instant channel response that the link of active user and serving BS and active user and all are monitored the link of base stations.The link information that the link sampling module is gathered can be used to base station gain, shadow fading, path loss are calculated, and also can be used for making up the physical channel of smooth or frequency selectivity, rapid fading or slow fading.
The physical channel module at first will be obtained the type of current physical channel and the link information that the link sampling module is produced when producing channel response, call corresponding physical channel function to produce the instant channel response according to the type of physical channel then.In preamble, mention, physical channel module of the present invention all provides support to several typical channel models in the prior art, for example, what the generation of Rayleigh channel was used is the jakes model, Rice channel is to have increased the zero-frequency component on the basis of Rayleigh channel, the TU model is the multipath channel that has made up 9 Rayleigh fading characteristics on the basis of rayleigh model, and what the SCME channel then adopted is the model of 3GPP.When producing the instant channel response, comprised following steps:
Step 1, traversal link;
Transmitting antenna under step 2, the current link of traversal;
Reception antenna under step 3, the current transmitting antenna correspondence of traversal;
Step 4, obtain instant channel response;
If step 5 reception antenna has traveled through, then forward step 6 to, otherwise, forward step 3 to;
If step 6 transmitting antenna has traveled through, then forward step 7 to, otherwise, forward step 2 to;
If step 7 link traversal is intact, then finish, otherwise, forward step 1 to.
It more than is explanation to multiple base stations and multiple user simulating scenes constructing system of the present invention and corresponding construction method.From above-mentioned explanation as can be seen, the present invention can create specific scene as required, is not limited to the establishment of a certain scene, has good versatility and autgmentability.Multiple base stations and multiple user simulating scenes constructing system of the present invention can be applied in the analogue system.
It should be noted last that above embodiment is only unrestricted in order to technical scheme of the present invention to be described.Although the present invention is had been described in detail with reference to embodiment, those of ordinary skill in the art is to be understood that, technical scheme of the present invention is made amendment or is equal to replacement, do not break away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.