CN103002464B - A kind of parameter information retransmission method of Wireless Network Simulation, device and analogue system - Google Patents
A kind of parameter information retransmission method of Wireless Network Simulation, device and analogue system Download PDFInfo
- Publication number
- CN103002464B CN103002464B CN201110265492.3A CN201110265492A CN103002464B CN 103002464 B CN103002464 B CN 103002464B CN 201110265492 A CN201110265492 A CN 201110265492A CN 103002464 B CN103002464 B CN 103002464B
- Authority
- CN
- China
- Prior art keywords
- module
- propagation model
- parameter information
- information
- wireless network
- 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
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 111
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000005538 encapsulation Methods 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种无线网络仿真的参数信息转发方法、装置及仿真系统,用以解决现有技术中无线网络仿真系统的复杂度高的问题。该方法获取数据库模块中的参数信息,并将获取到的参数信息封装成设定的通用格式的信息,将封装的该设定的通用格式的信息发送给至少一个传播模型模块。由于本发明实施例中将获取到的参数信息统一封装为通用格式的信息发送给传播模型模块,因此降低了无线网络仿真系统的复杂度。
The invention discloses a wireless network simulation parameter information forwarding method, device and simulation system, which are used to solve the problem of high complexity of the wireless network simulation system in the prior art. The method acquires parameter information in the database module, encapsulates the acquired parameter information into information in a set general format, and sends the encapsulated information in the set general format to at least one propagation model module. Because in the embodiment of the present invention, the obtained parameter information is uniformly encapsulated into information in a common format and sent to the propagation model module, the complexity of the wireless network simulation system is reduced.
Description
技术领域 technical field
本发明涉及无线通信技术领域,尤其涉及一种无线网络仿真的参数信息转发方法、装置及仿真系统。The invention relates to the technical field of wireless communication, in particular to a parameter information forwarding method, device and simulation system for wireless network simulation.
背景技术 Background technique
在无线网络规划的过程中,通常要利用无线网络仿真系统对网络的整体性能进行模拟,根据仿真结果对无线网络进行规划。由于无线信号的传播环境多种多样,因此需要通过各种不同的传播模型进行仿真运算。In the process of wireless network planning, it is usually necessary to use a wireless network simulation system to simulate the overall performance of the network, and plan the wireless network according to the simulation results. Due to the variety of wireless signal propagation environments, it is necessary to perform simulation calculations through various propagation models.
在现有技术中,无线网络仿真系统包括若干个传播模型模块,以及数据库模块。其中,每个传播模型模块中保存有一个传播模型,数据库模块中保存有仿真所需的各种参数信息,包括网络中的基站参数信息、地理参数信息、天线参数信息、无线环境参数信息等。In the prior art, a wireless network simulation system includes several propagation model modules and a database module. Among them, each propagation model module saves a propagation model, and the database module saves various parameter information required for simulation, including base station parameter information, geographic parameter information, antenna parameter information, wireless environment parameter information, etc. in the network.
现有技术的不足在于,当无线网络仿真系统包括若干个传播模型模块时,还没有技术方案来处理在仿真过程中导致无线网络仿真系统复杂度提高的问题。The disadvantage of the prior art is that when the wireless network simulation system includes several propagation model modules, there is no technical solution to deal with the problem of increasing the complexity of the wireless network simulation system during the simulation process.
发明内容 Contents of the invention
本发明实施例提供一种无线网络仿真的参数信息转发方法、装置及仿真系统,用以解决现有技术中无线网络仿真系统的复杂度高的问题。Embodiments of the present invention provide a wireless network simulation parameter information forwarding method, device, and simulation system to solve the problem of high complexity of the wireless network simulation system in the prior art.
本发明实施例提供的一种无线网络仿真的参数信息转发方法,包括:A parameter information forwarding method for wireless network simulation provided by an embodiment of the present invention includes:
在数据库模块中获取参数信息;并Get parameter information in the database module; and
将获取到的所述参数信息封装成设定的通用格式的信息;以及Encapsulating the acquired parameter information into information in a set general format; and
将封装的所述设定的通用格式的信息发送给从多个传播模型模块中选择出的传播模型模块。sending the encapsulated information in the set general format to a propagation model module selected from a plurality of propagation model modules.
本发明实施例提供的一种无线网络仿真的参数信息转发装置,包括:A parameter information forwarding device for wireless network simulation provided by an embodiment of the present invention includes:
获取模块,用于在数据库模块中获取参数信息;The acquisition module is used to acquire parameter information in the database module;
封装模块,用于将获取到的所述参数信息封装成设定的通用格式的信息;An encapsulation module, configured to encapsulate the acquired parameter information into information in a set general format;
发送模块,用于将封装的所述设定的通用格式的信息发送给从多个传播模型模块中选择出的传播模型模块。A sending module, configured to send the encapsulated information in the set general format to a propagation model module selected from a plurality of propagation model modules.
本发明实施例提供的一种无线网络仿真系统,包括数据库模块和至少一个传播模型模块,还包括与所述数据库模块以及至少一个传播模型模块相连的无线网络仿真的参数信息转发装置;A wireless network simulation system provided by an embodiment of the present invention includes a database module and at least one propagation model module, and also includes a wireless network simulation parameter information forwarding device connected to the database module and at least one propagation model module;
所述数据库模块,用于保存参数信息;The database module is used to store parameter information;
所述无线网络仿真的参数信息转发装置,用于在所述数据库模块中获取参数信息,将获取到的所述参数信息封装成设定的通用格式的信息,将封装的所述设定的通用格式的信息发送给从多个传播模型模块中选择出的传播模型模块;The parameter information forwarding device for wireless network simulation is used to acquire parameter information in the database module, encapsulate the acquired parameter information into information in a set general format, and encapsulate the set general format The information in the format is sent to a propagation model module selected from a plurality of propagation model modules;
传播模型模块,用于对接收到的所述设定的通用格式的信息解封装,获取所述参数信息,并根据所述参数信息对无线网络进行仿真。The propagation model module is configured to decapsulate the received information in the set general format, obtain the parameter information, and simulate the wireless network according to the parameter information.
本发明实施例提供一种无线网络仿真的参数信息转发方法、装置及仿真系统,该方法获取数据库模块中的参数信息,并将获取到的参数信息封装成设定的通用格式的信息,将封装的该设定的通用格式的信息发送给至少一个传播模型模块。由于本发明实施例中将获取到的参数信息统一封装为通用格式的信息发送给传播模型模块,因此降低了无线网络仿真系统的复杂度。Embodiments of the present invention provide a parameter information forwarding method, device, and simulation system for wireless network simulation. The information of the set common format is sent to at least one propagation model module. Because in the embodiment of the present invention, the obtained parameter information is uniformly encapsulated into information in a common format and sent to the propagation model module, the complexity of the wireless network simulation system is reduced.
附图说明 Description of drawings
图1A为现有技术中的无线网络仿真系统结构示意图;FIG. 1A is a schematic structural diagram of a wireless network simulation system in the prior art;
图1B为现有技术中无线网络仿真系统的具体实现结构示意图;FIG. 1B is a schematic structural diagram of a specific implementation of a wireless network simulation system in the prior art;
图2为本发明实施例提供的无线网络仿真的参数信息转发过程;FIG. 2 is a parameter information forwarding process of wireless network simulation provided by an embodiment of the present invention;
图3为本发明实施例提供的无线网络仿真的详细过程;FIG. 3 is a detailed process of wireless network simulation provided by an embodiment of the present invention;
图4为本发明实施例提供的无线网络仿真的参数信息转发装置结构示意图;FIG. 4 is a schematic structural diagram of a parameter information forwarding device for wireless network simulation provided by an embodiment of the present invention;
图5为本发明实施例提供的无线网络仿真系统结构示意图。FIG. 5 is a schematic structural diagram of a wireless network simulation system provided by an embodiment of the present invention.
具体实施方式 Detailed ways
图1A为现有技术中的无线网络仿真系统结构示意图,如图1A所示,现有技术中的无线网络仿真系统包括若干个传播模型模块,以及数据库模块。在使用该系统对无线网络进行仿真时,需要调用某个传播模型模块,也即选择仿真所使用的传播模型。该传播模型模块在该数据库模块中获取仿真所需要的参数信息,并根据自身保存的传播模型,以及获取的参数信息,对无线网络进行计算仿真。FIG. 1A is a schematic structural diagram of a wireless network simulation system in the prior art. As shown in FIG. 1A , the wireless network simulation system in the prior art includes several propagation model modules and a database module. When using this system to simulate a wireless network, it is necessary to call a certain propagation model module, that is, to select the propagation model used for simulation. The propagation model module obtains parameter information required for simulation from the database module, and performs calculation and simulation on the wireless network according to the propagation model saved by itself and the obtained parameter information.
由于传播模型模块和数据库模块都可以由第三方提供,不同的第三方所采用的接口协议也各不相同,因此各个传播模型模块和数据库模块的接口协议不具备规范性和通用性,因此传播模型模块和数据库模块在进行交互时,需要通过专门的通信实体将传播模型模块与数据库模块交互的信息进行协议转换,以进行通信,如图1B所示。图1B为现有技术中无线网络仿真系统的具体实现结构示意图,在图1B中,无线网络仿真系统包括传播模型模块a和b,数据库模块A,由于这3个模块的接口协议各不相同,因此传播模型模块a和b与数据库模块A进行交互时,需要建立相应的传播模型代理实体,以进行通信。如图1B所示,当传播模型模块a与数据库模块A进行交互时,需要通过建立的传播模型代理实体aA为传播模型模块a与数据库模块A之间进行协议转换,以使传播模型模块a获取数据库模块A中的参数信息,当传播模型模块b与数据库模块A进行交互时,需要通过建立的传播模型代理实体bA为传播模型模块b与数据库模块A之间进行协议转换,以使传播模型模块b获取数据库模块A中的参数信息。Since both the communication model module and the database module can be provided by a third party, the interface protocols adopted by different third parties are also different, so the interface protocols of each communication model module and database module are not standardized and universal, so the communication model When the module and the database module interact, a dedicated communication entity needs to convert the information exchanged between the propagation model module and the database module through protocol conversion for communication, as shown in FIG. 1B . Fig. 1B is a schematic diagram of the specific implementation structure of the wireless network simulation system in the prior art. In Fig. 1B, the wireless network simulation system includes propagation model modules a and b, and database module A. Since the interface protocols of these three modules are different, Therefore, when communication model modules a and b interact with database module A, corresponding communication model agent entities need to be established for communication. As shown in Figure 1B, when the communication model module a interacts with the database module A, the established communication model proxy entity aA needs to perform protocol conversion between the communication model module a and the database module A, so that the communication model module a can obtain The parameter information in the database module A, when the communication model module b interacts with the database module A, it is necessary to perform protocol conversion between the communication model module b and the database module A through the established communication model proxy entity bA, so that the communication model module b Obtain the parameter information in database module A.
由图1B可见,在现有的无线网络仿真系统中,需要为每个传播模型模块相应建立一个传播模型代理实体,导致无线网络仿真系统的复杂度提高,降低了对无线网络进行仿真的效率。It can be seen from FIG. 1B that in the existing wireless network simulation system, a propagation model proxy entity needs to be established for each propagation model module, which increases the complexity of the wireless network simulation system and reduces the efficiency of wireless network simulation.
在本发明实施例中,为了降低无线网络仿真系统的复杂度,在传播模型模块和数据库模块之间加入无线网络仿真的参数信息转发装置,由无线网络仿真的参数信息转发装置在数据库模块中获取参数信息,并将获取的参数信息封装成通用格式的信息发送给传播模型模块,无论传播模型模块采用何种接口协议,都能够识别该通用格式的信息,将其解封装,以获取参数信息,从而不需要针对每个传播模型模块都分别建立一个传播模型代理实体,降低了无线网络仿真系统的复杂度,提高了对无线网络进行仿真的效率。In the embodiment of the present invention, in order to reduce the complexity of the wireless network simulation system, a parameter information forwarding device for wireless network simulation is added between the propagation model module and the database module, and the parameter information forwarding device for wireless network simulation is obtained in the database module parameter information, and encapsulate the obtained parameter information into information in a common format and send it to the propagation model module. No matter what interface protocol the propagation model module adopts, it can recognize the information in the general format and decapsulate it to obtain parameter information. Therefore, there is no need to establish a propagation model proxy entity for each propagation model module, which reduces the complexity of the wireless network simulation system and improves the efficiency of wireless network simulation.
下面结合说明书附图,对本发明实施例进行详细描述。Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
图2为本发明实施例提供的无线网络仿真的参数信息转发过程,具体包括以下步骤:FIG. 2 is a parameter information forwarding process of wireless network simulation provided by an embodiment of the present invention, which specifically includes the following steps:
S201:在数据库模块中获取参数信息。S201: Obtain parameter information in a database module.
在本发明实施例中,在无线网络仿真系统中的传播模型模块和数据库模块之间加入一个无线网络仿真的参数信息转发装置,该无线网络仿真的参数信息转发装置也可以称为中间件,下面所述的中间件即为该无线网络仿真的参数信息转发装置。In the embodiment of the present invention, a parameter information forwarding device for wireless network simulation is added between the propagation model module and the database module in the wireless network simulation system. The parameter information forwarding device for wireless network simulation can also be called middleware, as follows The middleware is the parameter information forwarding device of the wireless network simulation.
该中间件与各个传播模型模块以及数据库模块相连。在进行无线网络仿真时,由中间件在数据库模块中获取参数信息。其中,用户可以根据需要,向该中间件发送指令,以指示该中间件在数据库模块中获取指定的参数信息。该参数信息包括:基站参数信息、小区参数信息、地理参数信息、天线参数信息、无线环境参数信息以及其他仿真所需的参数信息。The middleware is connected with each propagation model module and database module. When performing wireless network simulation, the middleware acquires parameter information in the database module. Wherein, the user may send an instruction to the middleware as required, to instruct the middleware to acquire specified parameter information in the database module. The parameter information includes: base station parameter information, cell parameter information, geographical parameter information, antenna parameter information, wireless environment parameter information and other parameter information required for simulation.
S202:将获取到的参数信息封装成设定的通用格式的信息。S202: Encapsulate the obtained parameter information into information in a set general format.
其中,该设定的通用格式包括可扩展标记语言(Extensible MarkupLanguage,XML)格式,由于XML为数据交换的公共语言,因此无论传播模型模块采用何种接口协议,传播模型模块都能够识别XML格式的信息,以获取参数信息。当然,设定的通用格式还可以包括其他的通用格式,只要是传播模型模块采用任何接口协议都能够识别的格式即可。Among them, the general format of the setting includes the Extensible Markup Language (XML) format. Since XML is a common language for data exchange, the propagation model module can recognize the XML format regardless of the interface protocol adopted by the propagation model module. information to get parameter information. Of course, the set common format may also include other common formats, as long as the propagation model module adopts a format that can be recognized by any interface protocol.
S203:将封装的该设定的通用格式的信息发送给从多个传播模型模块中选择出的传播模型模块。S203: Send the encapsulated information of the set general format to the propagation model module selected from the plurality of propagation model modules.
在本发明实施例中,用户在进行无线网络仿真时,可以选择所要使用的至少一个传播模型的标识信息,中间件则可以根据用户选择的至少一个传播模型模块的标识信息,将封装的该设定的通用格式的信息发送给选择出的至少一个传播模型模块。In the embodiment of the present invention, when the user performs wireless network simulation, he can select the identification information of at least one propagation model to be used, and the middleware can use the identification information of at least one propagation model module selected by the user to package the device Send information in a predetermined common format to at least one selected propagation model module.
在上述过程中,中间件获取数据库模块中的参数信息,并将获取到的参数信息封装成设定的通用格式的信息发送给至少一个传播模型模块。由于本发明实施例中由中间件获取数据库模块中的参数信息,并将参数信息封装为通用格式的信息发送给传播模型模块,因此无论传播模型模块采用哪种接口协议都能够将该通用格式的信息解封装,以获取参数信息,而不需要在无线网络仿真系统中针对每个传播模型模块都分别建立一个相应的传播模型代理实体以进行协议转换,降低了无线网络仿真系统的复杂度,提高了对无线网络进行仿真的效率。In the above process, the middleware obtains the parameter information in the database module, and encapsulates the obtained parameter information into information in a set general format and sends it to at least one propagation model module. Since the middleware obtains the parameter information in the database module in the embodiment of the present invention, and encapsulates the parameter information into information in a general format and sends it to the propagation model module, no matter which interface protocol the propagation model module adopts, the information in the general format can be Information decapsulation to obtain parameter information, without the need to establish a corresponding propagation model proxy entity for each propagation model module in the wireless network simulation system for protocol conversion, which reduces the complexity of the wireless network simulation system and improves Improve the efficiency of wireless network simulation.
在本发明实施例中,中间件在数据库模块中获取参数信息的具体过程为,中间件通过该数据库模块的接口协议,向该数据库模块发送获取参数信息的获取请求,并接收数据库模块返回的采用该接口协议封装的参数信息。其中,中间件支持该数据库模块的接口协议。In the embodiment of the present invention, the specific process for the middleware to obtain parameter information in the database module is that the middleware sends an acquisition request for obtaining parameter information to the database module through the interface protocol of the database module, and receives the returned response from the database module. The parameter information encapsulated by the interface protocol. Wherein, the middleware supports the interface protocol of the database module.
由于数据库模块返回的参数信息为采用该数据库模块的接口协议封装的参数信息,因此中间件将该参数信息封装成设定的通用格式的信息时,要将采用该接口协议封装的该参数信息进行解封装,并将解封装的参数信息封装成该设定的通用格式的信息。其中,中间件可以调用设定的协议模板,将数据库模块的接口协议进行解封装,并将解封装后的参数信息封装成该设定的通用格式的信息。当该设定的通用格式为XML格式时,该协议模板可以采用XML结构定义(XML Schemas Definition,XSD)格式的文件保存。Since the parameter information returned by the database module is the parameter information encapsulated by the interface protocol of the database module, when the middleware encapsulates the parameter information into the information of the set general format, the parameter information encapsulated by the interface protocol should be processed. Decapsulate, and encapsulate the decapsulated parameter information into information in the general format of the setting. Among them, the middleware can invoke the set protocol template, decapsulate the interface protocol of the database module, and encapsulate the decapsulated parameter information into the set general format information. When the general format of the setting is XML format, the protocol template can be saved in a file in XML Schemas Definition (XSD) format.
在本发明实施例中,考虑到无线网络仿真系统中的某些传播模型模块可能会出现故障而导致失效,而失效的传播模型模块必然不能准确的对无线网络进行仿真。因此针对至少一个传播模型模块,中间件在将封装的该设定的通用格式的信息发送给该传播模型模块之前,还要根据自身保存的传播模型模块注册信息,确定该传播模型模块在该中间件中已注册,也即,中间件确定该传播模型模块为可用的传播模型模块。其中,无线网络仿真系统启动时,无线网络仿真系统中的每个可用的传播模型模块向中间件发送传播模型模块注册信息,中间件则保存这些传播模型模块注册信息,表示发送这些传播模型模块注册信息的传播模型模块可用。In the embodiment of the present invention, it is considered that some propagation model modules in the wireless network simulation system may malfunction and cause failure, and the failed propagation model modules must not be able to accurately simulate the wireless network. Therefore, for at least one propagation model module, before the middleware sends the encapsulated information of the set general format to the propagation model module, it also needs to determine that the propagation model module is in the middle according to the registration information of the propagation model module saved by itself. has been registered in the software, that is, the middleware determines that the propagation model module is an available propagation model module. Wherein, when the wireless network simulation system is started, each available propagation model module in the wireless network simulation system sends the registration information of the propagation model modules to the middleware, and the middleware saves the registration information of these propagation model modules, indicating that sending these propagation model module registration information The information dissemination model module is available.
中间件将封装的该设定的通用格式的信息发送给传播模型模块后,传播模型模块则可以将该设定的通用格式的信息解封装,获取参数信息,并根据参数信息对无线网络进行仿真。以该设定的通用格式为XML格式为例进行说明,传播模型模块接收到该XML格式的信息后,对该XML格式的信息解封装,获取参数信息,并根据自身保存的传播模型以及参数信息,对无线网络进行仿真计算。After the middleware sends the encapsulated information in the general format of the setting to the propagation model module, the propagation model module can decapsulate the information in the general format of the setting, obtain parameter information, and simulate the wireless network according to the parameter information . Take the set general format as XML format as an example. After the propagation model module receives the information in the XML format, it decapsulates the information in the XML format, obtains the parameter information, and based on the propagation model and parameter information saved by itself , to simulate the wireless network.
在本发明实施例中,传播模型模块根据参数信息对无线网络进行仿真之后,还要将仿真结果返回给中间件,该中间件接收至少一个传播模型模块返回的仿真结果,将该仿真结果同样封装成该设定的通用格式的数据发送给数据库模块保存。其中,该中间件支持各个传播模型模块的接口协议。In the embodiment of the present invention, after the propagation model module simulates the wireless network according to the parameter information, it also returns the simulation result to the middleware, and the middleware receives the simulation result returned by at least one propagation model module, and encapsulates the simulation result The data in the set general format is sent to the database module for storage. Wherein, the middleware supports the interface protocols of each propagation model module.
也即,中间件将数据库模块发送给传播模型模块的参数信息,以及传播模型模块向数据库模块返回的仿真结果都封装成该设定的通用格式的信息,使接口协议各不相同的每个传播模型模块和数据库模块能够通过该中间件,将发送的信息统一封装为设定的通用格式,以实现信息的交互,降低了无线网络仿真系统的复杂度,提高了对无线网络进行仿真的效率。That is to say, the middleware encapsulates the parameter information sent by the database module to the propagation model module, and the simulation results returned by the propagation model module to the database module into information in the set general format, so that each propagation with different interface protocols The model module and the database module can uniformly encapsulate the sent information into a set general format through the middleware to realize information interaction, reduce the complexity of the wireless network simulation system, and improve the efficiency of wireless network simulation.
在本发明实施例中,考虑到各个传播模型模块在根据参数信息对无线网络进行仿真的过程中,还可能会出现异常情况而导致仿真结果不准确,这些异常情况包括:传播模型模块的运算意外中断、运算所需的资源不足等情况。因此,中间件针对至少一个传播模型模块,在该传播模型根据参考信息对无线网络进行仿真的过程中,监控该传播模型模块是否出现异常,当监控到出现异常时,指示该传播模型模块终止仿真,也即终止使用该传播模型模块对无线网络进行仿真的过程,并输出错误报告。In the embodiment of the present invention, it is considered that in the process of simulating the wireless network according to the parameter information of each propagation model module, there may be abnormal situations that may lead to inaccurate simulation results. These abnormal situations include: the operation of the propagation model module is unexpected Interruption, insufficient resources required for operation, etc. Therefore, for at least one propagation model module, the middleware monitors whether the propagation model module is abnormal during the process of simulating the wireless network according to the reference information, and instructs the propagation model module to terminate the simulation when an abnormality is detected. , that is, terminate the process of simulating the wireless network using the propagation model module, and output an error report.
图3为本发明实施例提供的无线网络仿真的详细过程,具体包括以下步骤:Fig. 3 is the detailed process of the wireless network emulation that the embodiment of the present invention provides, specifically comprises the following steps:
S301:中间件通过数据库模块的接口协议,向数据库模块发送获取参数信息的获取请求。S301: The middleware sends an acquisition request for acquiring parameter information to the database module through an interface protocol of the database module.
S302:接收数据库模块返回的采用该接口协议封装的该参数信息。S302: Receive the parameter information encapsulated by the interface protocol returned by the database module.
S303:该中间件将采用该接口协议封装的参数信息进行解封装,并将解封装的参数信息封装成XML格式的信息。S303: The middleware decapsulates the parameter information encapsulated by the interface protocol, and encapsulates the decapsulated parameter information into information in XML format.
S304:该中间件针对选择的至少一个传播模型模块,根据自身保存的传播模型模块注册信息,判断该传播模型模块是否在该中间件中已注册,若判断结果为是,进行步骤S305,否则进行步骤S308。S304: For at least one selected propagation model module, the middleware judges whether the propagation model module has been registered in the middleware according to the registration information of the propagation model module saved by itself, if the judgment result is yes, proceed to step S305, otherwise proceed to Step S308.
S305:将封装的XML格式的信息发送给该传播模型模块。S305: Send the encapsulated information in XML format to the propagation model module.
S306:该传播模型模块将XML格式的信息解封装,获取参数信息,并根据参数信息对无线网络进行仿真,将仿真结果返回中间件。S306: The propagation model module decapsulates the information in XML format, acquires parameter information, simulates the wireless network according to the parameter information, and returns the simulation result to the middleware.
S307:中间件接收该传播模型模块返回的仿真结果,将仿真结果封装成XML格式的数据发送给数据库模块保存。S307: The middleware receives the simulation result returned by the propagation model module, encapsulates the simulation result into data in XML format, and sends it to the database module for storage.
S308:确定该传播模型模块不可用,不将该XML格式的信息发送给该传播模型模块。S308: It is determined that the propagation model module is unavailable, and the information in the XML format is not sent to the propagation model module.
其中,中间件还可以在该传播模型模块根据参数信息对无线网络进行仿真的过程中,监控该传播模型模块是否出现异常,若出现异常,则指示该传播模型模块终止仿真,并输出错误报告。Wherein, the middleware can also monitor whether the propagation model module is abnormal during the process of the propagation model module simulating the wireless network according to the parameter information, and if abnormality occurs, instruct the propagation model module to terminate the simulation and output an error report.
图4为本发明实施例提供的无线网络仿真的参数信息转发装置结构示意图,具体包括:FIG. 4 is a schematic structural diagram of a parameter information forwarding device for wireless network simulation provided by an embodiment of the present invention, specifically including:
获取模块401,用于在数据库模块中获取参数信息;An acquisition module 401, configured to acquire parameter information in the database module;
封装模块402,用于将获取到的所述参数信息封装成设定的通用格式的信息;An encapsulation module 402, configured to encapsulate the acquired parameter information into information in a set general format;
发送模块403,用于将封装的所述设定的通用格式的信息发送给从多个传播模型模块中选择出的传播模型模块。The sending module 403 is configured to send the encapsulated information in the set general format to a propagation model module selected from a plurality of propagation model modules.
所述封装模块402,具体用于将获取到的所述参数信息封装成可扩展标记语言XML格式的信息。The encapsulation module 402 is specifically configured to encapsulate the acquired parameter information into information in the Extensible Markup Language (XML) format.
所述获取模块401,具体用于通过所述数据库模块的接口协议,向所述数据库模块发送获取所述参数信息的获取请求,并接收所述数据库模块返回的采用所述接口协议封装的所述参数信息。The acquisition module 401 is specifically configured to send an acquisition request to the database module to acquire the parameter information through the interface protocol of the database module, and receive the returned information from the database module encapsulated in the interface protocol. Parameter information.
所述封装模块402具体用于,将采用所述接口协议封装的所述参数信息进行解封装,将解封装的参数信息封装成所述设定的通用格式的信息。The encapsulation module 402 is specifically configured to decapsulate the parameter information encapsulated by the interface protocol, and encapsulate the decapsulated parameter information into information in the set general format.
所述装置还包括:The device also includes:
接收模块404,用于接收仿真结果,所述仿真结果为传播模型模块将接收到的所述设定的通用格式的信息解封装,获取所述参数信息后,根据所述参数信息对无线网络进行仿真之后返回的仿真结果;The receiving module 404 is configured to receive a simulation result, the simulation result is that the propagation model module decapsulates the received information of the set general format, and after obtaining the parameter information, performs the wireless network according to the parameter information Simulation results returned after simulation;
所述发送模块403还用于,将所述仿真结果封装成所述设定的通用格式的数据发送给所述数据库模块保存。The sending module 403 is further configured to encapsulate the simulation result into data in the set common format and send it to the database module for storage.
所述装置还包括:The device also includes:
监控模块405,用于针对至少一个传播模型模块,在该传播模型模块根据所述参数信息对无线网络进行仿真的过程中,监控该传播模型模块是否出现异常,当监控到出现异常时,指示该传播模型模块终止仿真。The monitoring module 405 is configured to, for at least one propagation model module, monitor whether the propagation model module is abnormal during the process of simulating the wireless network according to the parameter information, and when an abnormality is detected, indicate the The propagation model block terminates the simulation.
图5为本发明实施例提供的无线网络仿真系统结构示意图,如图5所示,该无线网络仿真系统中包括传播模型模块1~N的N个传播模型模块,其中N不小于1,数据库模块,以及位于N个传播模型模块以及数据库模块之间,且与N个传播模型模块以及数据库模块相连的无线网络仿真的参数信息转发装置。其中,所述数据库模块,用于保存参数信息;所述无线网络仿真的参数信息转发装置,用于在所述数据库模块中获取参数信息,将获取到的所述参数信息封装成设定的通用格式的信息,将封装的所述设定的通用格式的信息发送给从多个传播模型模块中选择出的传播模型模块;所述传播模型模块,用于对接收到的所述设定的通用格式的信息解封装,获取所述参数信息,并根据所述参数信息对无线网络进行仿真。Fig. 5 is a schematic structural diagram of a wireless network simulation system provided by an embodiment of the present invention. As shown in Fig. 5, the wireless network simulation system includes N propagation model modules of propagation model modules 1 to N, wherein N is not less than 1, and the database module , and a wireless network simulation parameter information forwarding device located between and connected to the N propagation model modules and the database modules. Wherein, the database module is used to store parameter information; the parameter information forwarding device for wireless network simulation is used to obtain parameter information in the database module, and encapsulate the obtained parameter information into a set general Format information, sending the encapsulated information of the set general format to a propagation model module selected from a plurality of propagation model modules; the propagation model module is used to generalize the received settings The format information is decapsulated, the parameter information is obtained, and the wireless network is simulated according to the parameter information.
由图5所示的本发明实施例提供的无线网络仿真系统,以及图1B所示的现有技术中的无线网络仿真系统可见,本发明实施例提供的无线网络仿真系统相比于现有技术中的无线网络仿真系统,降低了无线网络仿真系统的复杂度。It can be seen from the wireless network simulation system provided by the embodiment of the present invention shown in FIG. 5, and the wireless network simulation system in the prior art shown in FIG. 1B, the wireless network simulation system provided by the embodiment of the present invention is compared with the prior art The wireless network simulation system in , reduces the complexity of the wireless network simulation system.
本发明实施例提供一种无线网络仿真的参数信息转发方法、装置及仿真系统,该方法获取数据库模块中的参数信息,并将获取到的参数信息封装成设定的通用格式的信息,将封装的该设定的通用格式的信息发送给至少一个传播模型模块。由于本发明实施例中将获取到的参数信息封装为通用格式的信息发送给传播模型模块,因此无论传播模型模块采用哪种接口协议都能够将该通用格式的信息解封装,以获取参数信息,而不需要在无线网络仿真系统中针对每个传播模型模块都分别建立一个相应的传播模型代理实体,以实现为数据库模块与每个传播模型模块之间进行接口协议的转换,从而降低了无线网络仿真系统的复杂度,提高了对无线网络进行仿真的效率。Embodiments of the present invention provide a parameter information forwarding method, device, and simulation system for wireless network simulation. The information of the set common format is sent to at least one propagation model module. Because in the embodiment of the present invention, the obtained parameter information is encapsulated into information in a general format and sent to the propagation model module, no matter which interface protocol the propagation model module adopts, the information in the general format can be decapsulated to obtain the parameter information, It is not necessary to establish a corresponding propagation model proxy entity for each propagation model module in the wireless network simulation system, so as to realize the conversion of the interface protocol between the database module and each propagation model module, thereby reducing the cost of the wireless network. The complexity of the simulation system improves the efficiency of wireless network simulation.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110265492.3A CN103002464B (en) | 2011-09-08 | 2011-09-08 | A kind of parameter information retransmission method of Wireless Network Simulation, device and analogue system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110265492.3A CN103002464B (en) | 2011-09-08 | 2011-09-08 | A kind of parameter information retransmission method of Wireless Network Simulation, device and analogue system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103002464A CN103002464A (en) | 2013-03-27 |
CN103002464B true CN103002464B (en) | 2015-08-19 |
Family
ID=47930494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110265492.3A Active CN103002464B (en) | 2011-09-08 | 2011-09-08 | A kind of parameter information retransmission method of Wireless Network Simulation, device and analogue system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103002464B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007071882A2 (en) * | 2005-12-19 | 2007-06-28 | Dxo Labs | Method for providing data to a digital processing means |
CN101060537A (en) * | 2007-06-01 | 2007-10-24 | 北京航空航天大学 | A communication network simulation tool real-time viewing platform and its realizing method |
CN101303706A (en) * | 2008-07-01 | 2008-11-12 | 中国电子科技集团公司第三十研究所 | Method and system for sharing data between modeling tool and simulation tool |
-
2011
- 2011-09-08 CN CN201110265492.3A patent/CN103002464B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007071882A2 (en) * | 2005-12-19 | 2007-06-28 | Dxo Labs | Method for providing data to a digital processing means |
CN101060537A (en) * | 2007-06-01 | 2007-10-24 | 北京航空航天大学 | A communication network simulation tool real-time viewing platform and its realizing method |
CN101303706A (en) * | 2008-07-01 | 2008-11-12 | 中国电子科技集团公司第三十研究所 | Method and system for sharing data between modeling tool and simulation tool |
Also Published As
Publication number | Publication date |
---|---|
CN103002464A (en) | 2013-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12267275B2 (en) | Reference signal configuration determining method and apparatus | |
CN103428627B (en) | The transfer approach of data, Internet of things system and related device in Internet of things system | |
US9135130B2 (en) | Debugging method, chip, board, and system | |
CN104053164B (en) | Internet of things gateway testing system and method | |
CN105703883A (en) | Apparatus, method and system to exchange error information in a unified protocol communication | |
CN102214140B (en) | Method and system for automatic software testing | |
CN109547524B (en) | User behavior storage method, device, device and storage medium based on Internet of Things | |
CN103530211A (en) | PCIE loop back self-test method based on UVM platform | |
CN104657555A (en) | TOE (TCP/IP Offload Engine) verification method based on UVM (Universal Verification Methodology) and TOE verification platform based on UVM | |
CN107770786B (en) | Method, equipment and system for testing network performance | |
WO2017113848A1 (en) | Testing method, testing platform and simulated testing device for test case | |
US20230353459A1 (en) | Test method and device for simulating customer series deployment environment | |
JP2025506241A (en) | Root cause failure determination method and apparatus | |
CN102665237B (en) | Simulative Ir interface protocol conformance testing device and interoperability testing method | |
CN103368663A (en) | Debugging and test method and system for radio frequency remote base station | |
US20190086533A1 (en) | Wireless fidelity wi-fi ranging method and system, and related device | |
CN112399446B (en) | Edge gateway communication method, device, computer equipment and storage medium | |
CN103634163A (en) | Method for testing interchangeability of remote communication unit of acquisition terminal | |
CN103002464B (en) | A kind of parameter information retransmission method of Wireless Network Simulation, device and analogue system | |
WO2017197829A1 (en) | Test information management method and apparatus, and test case execution system and device | |
CN104881985A (en) | Electronic scale wireless intelligent transmission method, system and equipment applied to Internet of things | |
CN111405589B (en) | Information processing method, network side equipment and terminal | |
US9755904B2 (en) | Reconfiguration record measurement test method and network side | |
US9078282B2 (en) | Method and apparatus for implementing network device function of wireless communication terminal | |
CN105763347A (en) | Method for obtaining parameter, network equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |