WO2006012787A1 - A terminal data simulation method and mobile terminal data source simulation method - Google Patents

A terminal data simulation method and mobile terminal data source simulation method Download PDF

Info

Publication number
WO2006012787A1
WO2006012787A1 PCT/CN2005/001079 CN2005001079W WO2006012787A1 WO 2006012787 A1 WO2006012787 A1 WO 2006012787A1 CN 2005001079 W CN2005001079 W CN 2005001079W WO 2006012787 A1 WO2006012787 A1 WO 2006012787A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
ethernet
packet
mobile communication
communication system
Prior art date
Application number
PCT/CN2005/001079
Other languages
French (fr)
Chinese (zh)
Inventor
Jianfeng Wang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2006012787A1 publication Critical patent/WO2006012787A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Definitions

  • the present invention relates to the technical field of performing related performance testing on a mobile communication system based on the Internet Protocol (IP) technology, and particularly relates to a simulation method for testing terminal data or a data source.
  • IP Internet Protocol
  • WCDMA Wideband Code Dimensional Access
  • the internal LAN of the enterprise generally uses an IP-based network. If two computers need to communicate in such a LAN, the message sender only needs to encapsulate the message into an IP packet, and then encapsulate the packet into an Ethernet packet, and then Ethernet packets are placed on the LAN and Ethernet packets are automatically routed to the destination computer.
  • UE User Equipment
  • WCDMA Wireless Fidelity
  • a large number of real data packets are provided on the wireless link to test the access capability of the mobile communication system, the stability of the service, and the handover performance of the UE and the transmission capability of the data link.
  • the prior art generally uses a file transfer protocol (Fi le Transfer Protocol)
  • FTP "FTP" class tool to simulate the data source of the UE.
  • each computer can only provide data to one UE through an FTP class tool.
  • the UE is connected to a local area network by wire or wirelessly, and each UE provides an uplink data source for communicating with the network side through a computer in the local area network, and then the network side is generated by the uplink data source.
  • Corresponding downlink data so that a sufficient amount of data can be obtained on the wireless link between the UE and the network side to achieve the purpose of testing the access and handover performance of the mobile communication system.
  • the prior art uses some software such as netwizard or sniffer that implements packet capture and real-time monitoring, and uses some cumbersome techniques to make a computer provide data sources for testing for multiple UEs, and still needs to be in this platform. Open multiple applications such as netwizard or sniffer on the computer, so that computer resources will consume a lot of money, so high requirements are put forward for objective test.
  • the above-mentioned test requirements for access to the mobile communication system, handover performance, service transmission capability, and the like can be implemented by some dedicated hardware devices.
  • the above solutions have the following problems: First, in addition to using high-cost dedicated hardware devices to complete testing in the prior art, all other existing solutions will consume more computer resources, and at the same time The objective conditions of the laboratory space put forward more requirements. More importantly, it is difficult to provide data for multiple UEs at the same time. In addition, in the prior art, multiple applications are required to implement terminal data simulation, which is relatively complicated to implement; Some software used in the prior art to implement packet capture and real-time monitoring, such as netwizard or sniffer, cannot be applied to asymmetric services with large uplink data bandwidth and small downlink data bandwidth, which limits the actual test range of the system.
  • the main object of the present invention is to provide a simple terminal data simulation method and a data source simulation method for a mobile terminal, so that a computer can simulate multiple network devices and greatly reduce the test of the mobile communication system.
  • the number of computers that the UE cooperates with to generate test data is to provide a simple terminal data simulation method and a data source simulation method for a mobile terminal, so that a computer can simulate multiple network devices and greatly reduce the test of the mobile communication system.
  • the present invention provides a method for simulating a terminal data, including: A: generating, on a first device, a data block including at least one data packet, where the data packet is a data packet that can be identified by the storage and forwarding device;
  • the storage and forwarding device is an Ethernet device, and the data packet is an Ethernet data packet.
  • the source network interconnection protocol address of the Ethernet packet in the data block is an internetwork interconnection protocol address of the device that is to be simulated, and
  • the source media access control address of the Ethernet packet in the data block is a valid media access control address in the local area network where the first device is located.
  • the device that is desired to be simulated may be a virtual device.
  • the device to be simulated may be any one of a mobile terminal, a computer, and a personal digital assistant in the mobile communication system.
  • the Ethernet device is any one of a router, a hub, and an Ethernet switch.
  • the present invention also provides a data source simulation method for a mobile terminal in a mobile communication system, comprising: D. generating a data file including a plurality of Ethernet data packets on a computer connected to the Ethernet device;
  • the Ethernet device sends the Ethernet packet in the buffer area to the network side of the mobile communication system through a plurality of mobile terminals connected thereto.
  • the destination media access control address of each Ethernet data packet in the data file is a media access control address of the mobile terminal
  • the destination internetwork protocol address of each Ethernet data packet in the data file is the internetwork protocol address of the network side computer of the mobile communication system, and the source network interconnection protocol address of the Ethernet data packet may be different.
  • the Ethernet device is any one of a router, a hub, and a switch.
  • the data of the internetwork protocol packet included in the Ethernet packet is an Internet Control Message Protocol message, and the Internet Control Message Protocol packet of type code 0x0800.
  • the data of the internetwork protocol packet included in the Ethernet packet is an Internet Control Message Protocol message, and the Internet Control Message Protocol packet whose type code value is 0x0000.
  • the data check field of the internetwork protocol packet in the Ethernet packet is filled in as an error value.
  • the technical solution of the present invention is different from the prior art in that the present invention simulates an Ethernet packet of a plurality of network devices by setting an IP and a MAC address on a computer. Organizing these Ethernet packets into part or all of a possible snapshot of the cache of the Ethernet device with the packet store-and-forward function, and then loading the simulated data into the cache of the Ethernet device, and transmitting the data packets through the Ethernet device .
  • the data source simulation of the UE can be done with a much smaller number of computers.
  • the difference in the technical solution brings about a more obvious beneficial effect, that is, on the one hand, the data source can be simulated for multiple UEs simultaneously by only the computer and the Ethernet device, which saves the device resources compared with the prior art. , reducing the test environment space.
  • the solution of the present invention reduces the repetitive operation, effectively filling the wireless links of multiple UEs and the network side with data by one or a few computers and one Ethernet device, compared with the existing In terms of technology, it is more conducive to automating test of mobile communication systems.
  • the inventive solution can be used in practical applications for system performance testing of communication terminal data sources in a mobile communication system.
  • FIG. 1 is a schematic structural diagram of a data source simulation method of a communication terminal according to an embodiment of the present invention
  • FIG. 1 is a diagram showing a data format of a data block pre-generated in a computer according to an embodiment of the present invention
  • Fig. 3 is a flow chart showing the simulation of a mobile communication terminal data source in a mobile communication system according to an embodiment of the present invention.
  • a store-and-forward device In a typical network, there are a store-and-forward device, a terminal device, and a network processing device (a core device, such as a server).
  • the storage area and the forwarding area of the storage and forwarding device generally also share an area.
  • the storage and forwarding device functions as a cache device, and the data packets sent by the terminal device to the destination device are temporarily stored and forwarded to the corresponding destination device in time. Therefore, to simulate enough data sent by the terminal, as long as enough data packets are sent and loaded into the store-and-forward buffer and forwarding buffer of the store-and-forward device in the name of the terminal, it can be simulated.
  • the data sent by the terminal to simulate enough data sent by the terminal.
  • the present invention only needs to generate a data block including one or more data packets on one device of the network, the size of the data block, that is, the number of data packets from the required number Depending on the number of packets, as long as the store-and-forward device can identify the data packet, the data block containing the data packet can be loaded into the store-and-forward buffer area of the store-and-forward device. .
  • the solution of the present invention is to pre-frame the data frame format in the buffer area according to the data packet storage and forwarding capability of the Ethernet storage and forwarding device in a device such as a computer, that is, to construct the Ethernet storage and forwarding.
  • the data packet that the device can identify, and the pre-composed data frame is loaded into the buffer area of the Ethernet storage and forwarding device by the computer device and forwarded, so that the wireless link on the UE and the test network side is filled with data,
  • the purpose of testing the performance of a communication system in a mobile communication system is a mobile communication system.
  • the present invention is effective for performing data simulation on a terminal at any network level.
  • the solution of the present invention is directed to a specific Ethernet device having a store-and-forward function, according to its chain.
  • the data frame format in the path buffer area pre-generates a data block containing a plurality of Ethernet data packets in the computer, and the source IP address of each Ethernet data packet in the data block is according to the IP address of the computer that is desired to be simulated.
  • the destination IP address is the IP of the core network (Core Net, referred to as "CN") on the network side
  • the destination MAC address of each Ethernet packet in the Ethernet packet data block is the MAC of the UE that the packet wants to serve.
  • the address is then placed in the buffer of the Ethernet device and forwarded out.
  • the Ethernet device sends these Ethernet packets to its destination MAC address, and the UE sends the destination IP address of these Ethernet packets along the uplink wireless link to the computer on the CN side.
  • the CN side computer will feedback.
  • the Ethernet packet is sent to the UE along the downlink radio link, and the UE forwards it to the corresponding computer (the computer indicated by the source IP address of the upstream Ethernet packet).
  • the radio link between the UE and the network side can be filled with data, thereby achieving the purpose of testing the access capability and handover performance of the mobile communication system and the ability to transmit service data to the mobile communication system.
  • the UE actually functions as a gateway.
  • Fig. 1 is a block diagram showing the structure of a data source emulation method of a communication terminal according to an embodiment of the present invention.
  • the present invention provides a data source for the UE 30 via a computer 10 and a local area network 20 and an Ethernet device 21 therein.
  • the Ethernet device 21 is used in the local area network 20.
  • Any one of a router, a hub, and a switch that implements a switching function, and the UE 30 is a mobile terminal in a mobile communication system or any of a computer, a personal digital assistant ("PDA").
  • PDA personal digital assistant
  • a communication terminal data simulation method of an embodiment of the present invention will be described in detail below with reference to FIG.
  • a data block including at least one Ethernet packet is generated in the computer 10 according to the Ethernet packet format in the buffer area, and the data block is a cache of the Ethernet device.
  • the source IP address of the Ethernet packet in the data block may be the IP address of the device to be simulated, and the destination address is the IP of the destination device (if the packet passes the UE to the computer on the CN side) Then, the destination IP is a computer on the CN side, and the destination Medium Access Control (MAC) address should be set to the MAC address of the UE 30, and the source MAC address is a valid MAC address in the local area network where the computer 10 is located.
  • the valid MAC address referred to herein may be the MAC address of the computer 10 or the MAC address of other working network devices (including network terminals) in the local area network where the computer 10 is located.
  • the data block pre-generated in the Ethernet packet format in the buffer area of the Ethernet device 21 in the computer 10 is a cap file of the format cap, as shown in FIG. 2.
  • Figure 2 illustrates the data format of a data block pre-generated in a computer in accordance with one embodiment of the present invention. As shown in (1) of Fig. 2, the data blocks generated in the computer 10 are combined by at least one Ethernet packet. Each Ethernet packet contains the destination address to which the packet needs to be sent, the source address, and the type of the Ethernet packet and the IP packet portion.
  • the data format is as shown in Figure 1.
  • the data portion of each Ethernet packet is a complete and correct IP packet.
  • the IP header in the IP packet contains the source IP address and the destination IP address.
  • the source IP address in the IP packet refers to the IP address of the sender that wants to simulate the sending of the data packet. The sender may actually exist or It is virtual.
  • the destination IP address in the IP packet is the IP address of the destination network device to which the packet is to be sent.
  • the terminal data source in the communication system is to be simulated, a plurality of Ethernet packets pre-generated in the computer 10 need to be provided to the UE 30 as the data source of the UE 30. Therefore, the destination MAC address is set to the IP address of the UE 30 in the pre-generated Ethernet packets, so that these Ethernet packets can be transmitted to the UE 30. Also, the source IP address of the Ethernet packet in the data block should be set to the IP address of the device that you want to simulate, in order to achieve the purpose of the simulation. It is important to note that the MAC address of the Ethernet packet pre-generated in the computer 10 needs to be set to the valid MAC address in the local area network where the computer 10 is located, because it is necessary to ensure that these Ethernet packets are loaded into the subsequent steps. The buffering of the Ethernet device 21 in the local area network 20 does not cause an abnormality and an error.
  • the computer 10 loads the generated data block containing at least one Ethernet packet into the link layer buffer of the Ethernet device 21.
  • the process of loading the data block of the cap file format into the link layer buffer of the Ethernet device 21 can be implemented by off-the-shelf software such as netwizard or sniffer. It is important to note that the loading mentioned here places the data block directly into the link layer buffer area of the Ethernet device 21, instead of being conventionally packaged by the multi-layer protocol and sent to the Ethernet device 21.
  • the Ethernet device 21 forwards each Ethernet packet in the data block in its buffer area through the UE 30 that is wired or wirelessly connected thereto.
  • the network structure of the data source simulation method of the communication terminal related to the present invention and the data format of the data block generated in advance in the computer in the present invention are described above, and the data source simulation method of the communication terminal of the present invention is in the mobile communication system.
  • the data source simulation method of the communication terminal of the present invention is in the mobile communication system.
  • a data file containing a plurality of Ethernet packets is generated in one computer according to the Ethernet packet format in the buffer area, and the data file is also The data format of the cap file shown in Figure 2 is identical.
  • the computer for generating a data file in the application example of the data source simulation of the mobile communication terminal in the mobile communication system refers to the computer 10 mentioned above.
  • Number According to the source IP address of the Ethernet packet in the file it may be the IP address of the computer that you want to simulate, and the source IP address of the Ethernet packet may be different.
  • Its destination MAC address is set to the MAC address of one of the multiple UEs.
  • the source MAC address is the MAC address of this computer. What needs to be specially explained here is that the ICMP protocol data content filled in the data segment of the IP packet in the Ethernet packet, when the analog symmetric service data source needs to be simulated, the type code value included in the Ethernet packet should be set to 0x0800.
  • ICMP packet after the packet is uplinked along the wireless link to the destination mobile communication network side, the server on the network side will return a packet of the same size, and the response packet is sent back to the UE along the wireless link and then sent by the UE.
  • the upper local area network 20 is then received or dies due to exceeding its life cycle on the link. In this way, the wireless links of multiple UEs can be successfully filled with data packets.
  • the Ethernet packet should contain an ICMP packet with a type code value of 0x0000, or fill in the IP packet header check field in the Ethernet packet as an error value, so that the Ethernet packet arrives.
  • the server on the destination network side is thrown away.
  • each UE needs to be configured with one computer. In order to use multiple UEs for testing, multiple computers need to be configured.
  • a computer and an Ethernet device e.g., HUB
  • step 310 the contents of the data file are loaded into the link layer buffer of the Ethernet device 21 by this computer.
  • this loading process can be directly loaded via the existing software netwizard or sniffer without encapsulation of multi-layer protocols. Then, proceed to step 320.
  • the Ethernet device 21 then transmits the Ethernet packet in its buffer to the network side of the mobile communication system through a plurality of UEs connected thereto in a wired or wireless manner.
  • a plurality of Ethernets in the data file of the cap file format can be forwarded to the network side by a plurality of UEs in a file file format by a computer and the Ethernet device 21.
  • the solution of the present invention can be The forwarding of multiple Ethernet packets to the mobile communication network side can be achieved by one computer and one Ethernet device 21 in one operation. Then, proceed to step 330.
  • the network side performs the corresponding operation based on the type of the type code value in the received Ethernet packet. If the type code value in the Ethernet packet is an ICMP packet of 0x0800, then the corresponding server on the network side will return a packet of the same size, and the data packet of these responses After the wireless link is downlinked to the mobile terminal and then retransmitted to the local area network 20, the wireless link of multiple UEs can be filled with data packets through the above scheme; if the type code value of the Ethernet packet is 0x0000 The ICMP packet, or the content of the IP packet header check field in the Ethernet packet is found to be an error value, and the corresponding server on the network side will throw it away after receiving such an Ethernet packet.
  • multiple UEs and the wireless link on the network side can be filled with data packets, thereby achieving the purpose of testing the access capability, handover performance, and service transmission capability of the mobile communication system. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the concerned performance testing with respect to the mobile communication system based on IP technology, discloses a terminal data simulation method and mobile terminal data source simulation method, as so to only one computer may simulate plurality of the network devices, greatly reduces the number of computer in the mobile communication system testing and during UE cooperating to produce testing data. The invention set IP and MAC address to simulate Ethernet packets of the multi-network devices, organizes said Ethernet packets as the portion or the whole of one possible snapshot of the buffer of Ethernet devices with storage-transferring manner, then loading the simulated data into the buffer of Ethernet devices, transmits said data packets by the Ethernet devices.

Description

终端数据模拟方法及移动终端数据源模拟方法 技术领域  Terminal data simulation method and mobile terminal data source simulation method
本发明涉及对基于网间互联协议(Internet Protocol , 简称 "IP" ) 技术的移动通信系统进行相关性能测试的技术领域, 特别涉及测试使用的 终端数据或数据源的模拟方法。  The present invention relates to the technical field of performing related performance testing on a mobile communication system based on the Internet Protocol (IP) technology, and particularly relates to a simulation method for testing terminal data or a data source.
背景技术 Background technique
随着移动通信技术和 IP技术的发展和日益渗透, 诸如第 3代移动通 信技术标准中的宽带码分多址 (Wideband Code Divi s ion Mul t iple Access , 简称 "WCDMA" )移动通信系统在其 R4/R5版本规范中就已经定义 了基于 IP技术的移动通信网络技术方案。  With the development and penetration of mobile communication technologies and IP technologies, the Wideband Code Dimensional Access (WCDMA) mobile communication system such as the 3rd generation mobile communication technology standard is in its The mobile communication network technology solution based on IP technology has been defined in the R4/R5 version specification.
如今企业内部局域网一般使用的是基于 IP技术的网络, 如果在这样 的局域网内两台计算机需要通信, 消息发送端只要把消息封装进一个 IP 数据包, 再封装成以太网数据包, 然后将该以太网数据包放到局域网上, 以太网数据包便会自动路由到目的计算机。  Nowadays, the internal LAN of the enterprise generally uses an IP-based network. If two computers need to communicate in such a LAN, the message sender only needs to encapsulate the message into an IP packet, and then encapsulate the packet into an Ethernet packet, and then Ethernet packets are placed on the LAN and Ethernet packets are automatically routed to the destination computer.
在对移动通信系统进行相关性能测试时, 例如对 WCDMA的业务稳定性 及其切换性能的测试, 需要为该移动通信系统中的移动用户设备(User Equipment , 简称 "UE" )侧和 WCDMA网络侧的无线链路上提供大量真实的 数据包, 以测试该移动通信系统的接入能力、 业务的稳定性以及 UE的切 换性能和数据链路的传输能力等。  When performing relevant performance tests on the mobile communication system, for example, testing the service stability of WCDMA and its handover performance, it is required to be a mobile user equipment (User Equipment, referred to as "UE") side and a WCDMA network side in the mobile communication system. A large number of real data packets are provided on the wireless link to test the access capability of the mobile communication system, the stability of the service, and the handover performance of the UE and the transmission capability of the data link.
现有技术一般是使用文件传输协议(Fi le Transfer Protocol , 筒称 The prior art generally uses a file transfer protocol (Fi le Transfer Protocol)
"FTP" )类工具来模拟 UE的数据源。 通常, 每台计算机只能通过 FTP类 工具给一个 UE提供数据。 具体说, UE通过有线或无线的方式连接到一个 局域网中, 每个 UE通过局域网中的一台计算机为其提供和网络侧进行通 信的上行数据源, 并通过这个上行数据源再激发网络侧产生相应的下行数 据, 从而使得 UE与网络侧之间的无线链路上能够有足够量的数据而达到 对该移动通信系统的接入以及切换性能等进行测试的目的。 "FTP") class tool to simulate the data source of the UE. Usually, each computer can only provide data to one UE through an FTP class tool. Specifically, the UE is connected to a local area network by wire or wirelessly, and each UE provides an uplink data source for communicating with the network side through a computer in the local area network, and then the network side is generated by the uplink data source. Corresponding downlink data, so that a sufficient amount of data can be obtained on the wireless link between the UE and the network side to achieve the purpose of testing the access and handover performance of the mobile communication system.
由于局域网中只能通过一台计算机为一个 UE提供数据源, 这便在很 大程度上限制了移动通信系统需要测试的范围和测试所要实现的目标。 即 使现有技术中使用一些实现数据包捕获和实时监测的诸如 netwizard 或 sniffer的软件,并采用一些繁瑣的技巧使得一台计算机为多个 UE提供用 于测试的数据源, 也仍然需要在此台计算机上开启多个 netwizard 或 sniffer这样的应用程序, 如此一来计算机资源会产生较大的消耗, 因此 对客观的测试奈件提出了较高的要求。 Since the LAN can only provide a data source for one UE through one computer, this greatly limits the scope of the mobile communication system to be tested and the objectives to be achieved by the test. which is The prior art uses some software such as netwizard or sniffer that implements packet capture and real-time monitoring, and uses some cumbersome techniques to make a computer provide data sources for testing for multiple UEs, and still needs to be in this platform. Open multiple applications such as netwizard or sniffer on the computer, so that computer resources will consume a lot of money, so high requirements are put forward for objective test.
同时, 现有技术中也可以采用通过一些专用的硬件设备来实现上述对 移动通信系统接入以及切换性能和业务传输能力等的测试要求。  At the same time, in the prior art, the above-mentioned test requirements for access to the mobile communication system, handover performance, service transmission capability, and the like can be implemented by some dedicated hardware devices.
在实际应用中, 上述方案存在以下问题: 首先, 现有技术中除了采用 成本较高的专用硬件设备来完成测试之外 , 其余所有的现有方案都会对计 算机资源产生较多的消耗, 同时对实验室空间的客观条件提出较多要求, 更重要的是难以同时为多个 UE提供数据; 此外, 现有技术中需要开启多 个应用程序来实现终端数据的模拟, 实现起来相对比较复杂; 再者, 现有 技术中用来实现数据包捕获和实时监测的一些软件, 诸如 netwizard 或 sniffer不能应用在上行数据带宽小下行数据带宽大的不对称业务上, 对 系统实际测试范围有所限制。  In practical applications, the above solutions have the following problems: First, in addition to using high-cost dedicated hardware devices to complete testing in the prior art, all other existing solutions will consume more computer resources, and at the same time The objective conditions of the laboratory space put forward more requirements. More importantly, it is difficult to provide data for multiple UEs at the same time. In addition, in the prior art, multiple applications are required to implement terminal data simulation, which is relatively complicated to implement; Some software used in the prior art to implement packet capture and real-time monitoring, such as netwizard or sniffer, cannot be applied to asymmetric services with large uplink data bandwidth and small downlink data bandwidth, which limits the actual test range of the system.
发明内容 Summary of the invention
有養于此, 本发明的主要目的在于提供一种实现简单的终端数据模拟 方法及移动终端数据源模拟方法, 使得用一台计算机可以就模拟多台网络 设备, 大大减少移动通信系统测试中和 UE配合产生测试数据的计算机数 量。  The main object of the present invention is to provide a simple terminal data simulation method and a data source simulation method for a mobile terminal, so that a computer can simulate multiple network devices and greatly reduce the test of the mobile communication system. The number of computers that the UE cooperates with to generate test data.
为实现上述目的, 本发明提供了一种终端数据模拟方法, 包括: A、 在第一设备上生成包括至少一个数据包的数据块, 所述数据包为 存储转发设备能够识别的数据包;  In order to achieve the above object, the present invention provides a method for simulating a terminal data, including: A: generating, on a first device, a data block including at least one data packet, where the data packet is a data packet that can be identified by the storage and forwarding device;
B 将所述数据块加载到所述存储转发设备的存储转发緩存区中; 作。  B loading the data block into a store-and-forward buffer of the store-and-forward device;
所述存储转发设备为以太网设备, 所述数据包为以太网数据包。 所述数据块中以太网包的源网间互联协议地址为希望模拟的设备的 网间互联协议地址, 并且, 所述数据块中以太网包的源媒体访问控制地址是所述第一设备所在 局域网中的有效媒体访问控制地址。 The storage and forwarding device is an Ethernet device, and the data packet is an Ethernet data packet. The source network interconnection protocol address of the Ethernet packet in the data block is an internetwork interconnection protocol address of the device that is to be simulated, and The source media access control address of the Ethernet packet in the data block is a valid media access control address in the local area network where the first device is located.
所述希望模拟的设备可以是虚拟设备。  The device that is desired to be simulated may be a virtual device.
所述希望模拟的设备可以是移动通信系统中的移动终端、 计算机、 个 人数字助理中的任意一种。  The device to be simulated may be any one of a mobile terminal, a computer, and a personal digital assistant in the mobile communication system.
所述以太网设备是路由器、 集线器和以太网交换机中的任意一种。 本发明还提供一种移动通信系统中移动终端数据源模拟方法 , 包括: D、 在与以太网设备连接的计算机上生成包含多个以太网数据包的数 据文件;  The Ethernet device is any one of a router, a hub, and an Ethernet switch. The present invention also provides a data source simulation method for a mobile terminal in a mobile communication system, comprising: D. generating a data file including a plurality of Ethernet data packets on a computer connected to the Ethernet device;
E、 将所述数据文件中的内容加载到所述以太网设备的的链路层緩存 区中;  E. Loading content in the data file into a link layer buffer of the Ethernet device;
F、 所述以太网设备将緩存区中的以太网包通过与其连接的多个移动 终端发送到所述移动通信系统的网络侧。  F. The Ethernet device sends the Ethernet packet in the buffer area to the network side of the mobile communication system through a plurality of mobile terminals connected thereto.
所述数据文件中每一个以太网数据包的目的媒体访问控制地址是所 述移动终端的媒体访问控制地址; 并且,  The destination media access control address of each Ethernet data packet in the data file is a media access control address of the mobile terminal; and
数据文件中每一个以太网数据包的目的网间互联协议地址是所述移 动通信系统网络侧计算机的网间互联协议地址, 所述以太网数据包的源网 间互联协议地址可以不同。  The destination internetwork protocol address of each Ethernet data packet in the data file is the internetwork protocol address of the network side computer of the mobile communication system, and the source network interconnection protocol address of the Ethernet data packet may be different.
所述以太网设备是路由器、 集线器和交换机中的任意一种。  The Ethernet device is any one of a router, a hub, and a switch.
当模拟对称业务数据源时, 所述以太网包中包含的网间互联协议包的 数据为因特网控制报文协议报文, 其类型码值为 0x0800 的因特网控制报 文协议包。  When the symmetric service data source is simulated, the data of the internetwork protocol packet included in the Ethernet packet is an Internet Control Message Protocol message, and the Internet Control Message Protocol packet of type code 0x0800.
当模拟纯上行业务数据源时, 所述以太网包中包含的网间互联协议包 的数据为因特网控制报文协议报文, 其类型码值为 0x0000的因特网控制 报文协议包。  When the pure uplink service data source is simulated, the data of the internetwork protocol packet included in the Ethernet packet is an Internet Control Message Protocol message, and the Internet Control Message Protocol packet whose type code value is 0x0000.
而且, 当模拟纯上行业务数据源时, 将所述以太网包中网间互联协议 包的数据校验字段填写为错误值。  Moreover, when simulating a pure uplink service data source, the data check field of the internetwork protocol packet in the Ethernet packet is filled in as an error value.
通过比较可以发现, 本发明的技术方案与现有技术的区别在于, 本发 明在一台计算机上通过设置 IP和 MAC地址模拟多个网络设备的以太网包, 将这些以太网包组织成具有包存储转发功能的以太网设备的緩存的一个 可能快照的部分或全部, 然后将模拟的数据加载到以太网设备的緩存中, 通过该以太网设备发送这些数据包。 通过一台计算 ΐ 莫拟与多台 UE连接 的多台计算机, 可以用少得多的计算机完成 UE的数据源模拟工作。 By comparison, it can be found that the technical solution of the present invention is different from the prior art in that the present invention simulates an Ethernet packet of a plurality of network devices by setting an IP and a MAC address on a computer. Organizing these Ethernet packets into part or all of a possible snapshot of the cache of the Ethernet device with the packet store-and-forward function, and then loading the simulated data into the cache of the Ethernet device, and transmitting the data packets through the Ethernet device . With a single computer that is designed to connect to multiple UEs, the data source simulation of the UE can be done with a much smaller number of computers.
这种技术方案上的区别, 带来了较为明显的有益效果, 即一方面, 仅 仅通过计算机和以太网设备就可以同时为多个 UE模拟数据源, 这与现有 技术相比节省了设备资源, 减少了测试环境空间。 另一方面, 本发明方案 减少了重复操作, 通过一台或很少的计算机和一台以太网设备有效地实现 将多个 UE与网络侧的无线链路灌满数据, 这相比于现有技术而言, 更利 于实现对移动通信系统的测试自动化。 本发明方案可用于对移动通信系统 中对通信终端数据源模拟的系统性能测试的实际应用中。  The difference in the technical solution brings about a more obvious beneficial effect, that is, on the one hand, the data source can be simulated for multiple UEs simultaneously by only the computer and the Ethernet device, which saves the device resources compared with the prior art. , reducing the test environment space. On the other hand, the solution of the present invention reduces the repetitive operation, effectively filling the wireless links of multiple UEs and the network side with data by one or a few computers and one Ethernet device, compared with the existing In terms of technology, it is more conducive to automating test of mobile communication systems. The inventive solution can be used in practical applications for system performance testing of communication terminal data sources in a mobile communication system.
附图说明 图 1 是根据本发明的一个实施例的通信终端数据源模拟方法的 结构示意图; BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic structural diagram of a data source simulation method of a communication terminal according to an embodiment of the present invention;
图 1 是根据本发明的一个实施例的在计算机中预先生成的数据 块的数据格式示意图;  1 is a diagram showing a data format of a data block pre-generated in a computer according to an embodiment of the present invention;
图 3 是才艮据本发明的一个实施例的移动通信系统中移动通信终 端数据源模拟的流程示意图。  Fig. 3 is a flow chart showing the simulation of a mobile communication terminal data source in a mobile communication system according to an embodiment of the present invention.
具体实施方式 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本 发明作进一步地详细描述。 DETAILED DESCRIPTION OF THE INVENTION In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail with reference to the accompanying drawings.
在通常的网络中 ,都存在存储转发设备、终端设备和网络处理设备(核 心设备, 如服务器), 所述存储转发设备的存储区和转发区一般也共用一 块区域。 通常, 所述存储转发设备作为緩存设备, 可以将终端设备发给目 的设备的数据包暂时存储并及时转发给相应的目的设备。 因此, 要模拟终 端发出的足够多的数据, 只要以终端的名义将足够多的数据包发送和加栽 到所述存储转发设备的存储转发緩冲区和转发緩冲区中, 就能够模拟出终 端发出的数据。 因此, 本发明只要在网络的一个设备上生成包括一个以上 数据包的数据块, 所述数据块的大小, 即其中数据包的多少由所需要的数 据包的数量决定, 只要所述存储转发设备能够识别数据包, 就可以将包含 数据包的所述数据块加载到所述存储转发设备的存储转发缓存区中, 由 下面以以太网为例说明。 本发明方案是通过在的诸如计算机之类的设 备中, 依照以太网存储转发设备具有的数据包存储转发能力, 参考其緩存 区内的数据帧格式预先组帧 , 即构建所述以太网存储转发设备能够识别的 数据包, 并通过该计算机设备将预先组成的数据帧加载置入以太网存储转 发设备的緩存区并转发, 从而在 UE与测试网络一側的无线链路上灌满数 据, 达到在移动通信系统中测试通信系统相关性能的目的。 In a typical network, there are a store-and-forward device, a terminal device, and a network processing device (a core device, such as a server). The storage area and the forwarding area of the storage and forwarding device generally also share an area. Generally, the storage and forwarding device functions as a cache device, and the data packets sent by the terminal device to the destination device are temporarily stored and forwarded to the corresponding destination device in time. Therefore, to simulate enough data sent by the terminal, as long as enough data packets are sent and loaded into the store-and-forward buffer and forwarding buffer of the store-and-forward device in the name of the terminal, it can be simulated. The data sent by the terminal. Therefore, the present invention only needs to generate a data block including one or more data packets on one device of the network, the size of the data block, that is, the number of data packets from the required number Depending on the number of packets, as long as the store-and-forward device can identify the data packet, the data block containing the data packet can be loaded into the store-and-forward buffer area of the store-and-forward device. . The solution of the present invention is to pre-frame the data frame format in the buffer area according to the data packet storage and forwarding capability of the Ethernet storage and forwarding device in a device such as a computer, that is, to construct the Ethernet storage and forwarding. The data packet that the device can identify, and the pre-composed data frame is loaded into the buffer area of the Ethernet storage and forwarding device by the computer device and forwarded, so that the wireless link on the UE and the test network side is filled with data, The purpose of testing the performance of a communication system in a mobile communication system.
具体地说, 本发明对处于任何网络层次的终端进行数据模拟都是有效 的, 以以太网的终端数据模拟为例, 本发明方案针对具体的且具备存储转 发功能的以太网设备, 按照其链路緩存区中的数据帧格式预先在计算机中 生成包含多个以太网数据包的数据块, 并将该数据块中的每一个以太网数 据包的源 IP地址按照希望模拟的计算机的 IP地址来作设置, 目的 IP地 址为核心网 (Core Net , 简称 "CN" ) 网络侧的计算机的 IP, 以太网包数 据块中的每个以太网包的目的 MAC地址为这个包希望服务的 UE的 MAC地 址, 然后再将该数据块置入以太网设备的緩存区并转发出去。 以太网设备 将这些以太网包 居其目的 MAC地址发送到 UE, UE再才艮据这些以太网包 的目的 IP地址沿着上行无线链路发送到 CN侧的计算机, CN侧的计算机将 反馈的以太网包沿着下行无线链路发送到 UE, UE再转发到相应的计算机 (上行以太网包的源 IP地址指示的计算机)。 由此可以将 UE与网络侧的 无线链路上灌满数据, 从而达到对移动通信系统接入能力和切换性能以及 对该移动通信系统传输业务数据的能力等测试的目的。 熟悉本发明领域的 技术人员可以知道,在上面描述的方案中, UE实际上起到了一种网关的作 用。  Specifically, the present invention is effective for performing data simulation on a terminal at any network level. Taking the terminal data simulation of Ethernet as an example, the solution of the present invention is directed to a specific Ethernet device having a store-and-forward function, according to its chain. The data frame format in the path buffer area pre-generates a data block containing a plurality of Ethernet data packets in the computer, and the source IP address of each Ethernet data packet in the data block is according to the IP address of the computer that is desired to be simulated. For setting, the destination IP address is the IP of the core network (Core Net, referred to as "CN") on the network side, and the destination MAC address of each Ethernet packet in the Ethernet packet data block is the MAC of the UE that the packet wants to serve. The address is then placed in the buffer of the Ethernet device and forwarded out. The Ethernet device sends these Ethernet packets to its destination MAC address, and the UE sends the destination IP address of these Ethernet packets along the uplink wireless link to the computer on the CN side. The CN side computer will feedback. The Ethernet packet is sent to the UE along the downlink radio link, and the UE forwards it to the corresponding computer (the computer indicated by the source IP address of the upstream Ethernet packet). Thereby, the radio link between the UE and the network side can be filled with data, thereby achieving the purpose of testing the access capability and handover performance of the mobile communication system and the ability to transmit service data to the mobile communication system. Those skilled in the art of the invention will appreciate that in the solution described above, the UE actually functions as a gateway.
图 1示出了根据本发明的一个实施例的通信终端数据源模拟方法的结 构示意图。  Fig. 1 is a block diagram showing the structure of a data source emulation method of a communication terminal according to an embodiment of the present invention.
如图 1所示, 本发明通过一个计算机 10和局域网 20以及其中的以太 网设备 21为 UE30提供数据源。 其中, 以太网设备 21是局域网 20中的用 于实现交换功能的路由器、 集线器和交换机中的任意一种, 而 UE30是移 动通信系统中的移动终端或者是计算机、个人数字助理(Personal Digi ta l Ass i s tant , 简称 "PDA" ) 中的任意一种。 As shown in FIG. 1, the present invention provides a data source for the UE 30 via a computer 10 and a local area network 20 and an Ethernet device 21 therein. The Ethernet device 21 is used in the local area network 20. Any one of a router, a hub, and a switch that implements a switching function, and the UE 30 is a mobile terminal in a mobile communication system or any of a computer, a personal digital assistant ("PDA"). One.
下面结合图 1来详细描述本发明的一个实施例的通信终端数据模拟方 法。  A communication terminal data simulation method of an embodiment of the present invention will be described in detail below with reference to FIG.
首先,针对具有包存储转发功能的以太网设备 21 ,按照其緩存区中的 以太网包格式在计算机 10 中生成包含至少一个以太网包的数据块, 该数 据块为所述以太网设备的緩存的一个可能快照的部分或全部, 该数据块中 以太网包的源 IP地址可以是希望模拟的设备的 IP地址, 其目的地址则为 目的设备的 IP (如果这个包路过 UE前往 CN侧的计算机, 那么目的 IP为 CN 侧的计算机), 其目的媒体访问控制 (Medium Access Control , 简称 "MAC" )地址应该设置为 UE30的 MAC地址, 其源 MAC地址是计算机 10所 在局域网中的有效 MAC地址。 这里说的有效 MAC地址可以是计算机 10的 MAC地址,也可以是计算机 10所在局域网中其他正在工作的网络设备 (包 括网络终端) 的 MAC地址。  First, for the Ethernet device 21 having the packet store-and-forward function, a data block including at least one Ethernet packet is generated in the computer 10 according to the Ethernet packet format in the buffer area, and the data block is a cache of the Ethernet device. Part or all of a possible snapshot, the source IP address of the Ethernet packet in the data block may be the IP address of the device to be simulated, and the destination address is the IP of the destination device (if the packet passes the UE to the computer on the CN side) Then, the destination IP is a computer on the CN side, and the destination Medium Access Control (MAC) address should be set to the MAC address of the UE 30, and the source MAC address is a valid MAC address in the local area network where the computer 10 is located. The valid MAC address referred to herein may be the MAC address of the computer 10 or the MAC address of other working network devices (including network terminals) in the local area network where the computer 10 is located.
需要指出的是, 这个在计算机 10中依据以太网设备 21的緩存区中以 太网包格式预先生成的数据块是格式为 cap的. cap文件,如图 2所示。 图 2 示出了本发明的一个实施例的在计算机中预先生成的数据块的数据格 式。 如图 2中的( 1 )所示, 计算机 10中生成的数据块是由至少一个以太 网包组合而成的。 每个以太网包中包含该数据包需要发往的目的地址、 源 地址和该以太网包所属类型以及 IP数据包部分, 其数据格式如图 1中的 It should be noted that the data block pre-generated in the Ethernet packet format in the buffer area of the Ethernet device 21 in the computer 10 is a cap file of the format cap, as shown in FIG. 2. Figure 2 illustrates the data format of a data block pre-generated in a computer in accordance with one embodiment of the present invention. As shown in (1) of Fig. 2, the data blocks generated in the computer 10 are combined by at least one Ethernet packet. Each Ethernet packet contains the destination address to which the packet needs to be sent, the source address, and the type of the Ethernet packet and the IP packet portion. The data format is as shown in Figure 1.
( 2 )所示。 而这个以太网包中的 IP数据包部分的数据格式则如图 1中的(2) shown. The data format of the IP packet part of this Ethernet packet is as shown in Figure 1.
( 3 )所示, 包含 IP头部和数据两个部分, 其中的这个数据部分则是由因 特网控制 4艮文协议 ( Internet Control Message protocol , 简称 "I CMP" ) 首部和 ICMP内容两部分组成的, 如图 2中的 (4 )所示。 在 ICMP首部中 包含 ICMP协议的类型码。 (3) shows the IP header and the data part, and the data part is composed of the Internet Control Message Protocol ("I CMP") header and the ICMP content. , as shown in (4) of Figure 2. The type code of the ICMP protocol is included in the ICMP header.
每个以太网包的数据部分是一个完整的正确的 IP包,该 IP包中的 IP 首部中包含源 IP地址和目的 IP地址。 IP包中的源 IP地址是指希望模拟 的发送该数据包的发送方的 IP地址, 该发送方可以是实际存在的也可以 是虛拟的。 IP包中的目的 IP地址是该数据包所要发送目的网络设备的 IP 地址。 The data portion of each Ethernet packet is a complete and correct IP packet. The IP header in the IP packet contains the source IP address and the destination IP address. The source IP address in the IP packet refers to the IP address of the sender that wants to simulate the sending of the data packet. The sender may actually exist or It is virtual. The destination IP address in the IP packet is the IP address of the destination network device to which the packet is to be sent.
由于要模拟通信系统中终端数据源, 需要将计算机 10 中预先生成的 若干以太网包作为 UE30的数据源提供给 UE30。 故而, 在预先生成的这些 以太网包中将其目的 MAC地址设置为 UE30的 IP地址, 以使得这些以太网 包能发送到达 UE30。 并且, 数据块中以太网包的源 IP地址应该设置成为 希望模拟的设备的 IP地址, 这样才能达到模拟的目的。 需要特别注意的 是, 在这里需要将计算机 10中预先生成的以太网包的 MAC地址设置为计 算机 10所在局域网中的有效 MAC地址, 这是因为需要确保将这些以太网 包在后续步骤中加载进入局域网 20中的以太网设备 21的緩存时不至于产 生异常而出错。  Since the terminal data source in the communication system is to be simulated, a plurality of Ethernet packets pre-generated in the computer 10 need to be provided to the UE 30 as the data source of the UE 30. Therefore, the destination MAC address is set to the IP address of the UE 30 in the pre-generated Ethernet packets, so that these Ethernet packets can be transmitted to the UE 30. Also, the source IP address of the Ethernet packet in the data block should be set to the IP address of the device that you want to simulate, in order to achieve the purpose of the simulation. It is important to note that the MAC address of the Ethernet packet pre-generated in the computer 10 needs to be set to the valid MAC address in the local area network where the computer 10 is located, because it is necessary to ensure that these Ethernet packets are loaded into the subsequent steps. The buffering of the Ethernet device 21 in the local area network 20 does not cause an abnormality and an error.
接下来, 计算机 10将生成的包含至少一个以太网包的数据块加载到 以太网设备 21 的链路层緩存区中。 在本发明的一个较佳实施例中, 将这 个 cap文件格式的数据块加载到以太网设备 21的链路层緩存区中的过程 可以通过现成的软件诸如 netwizard或 sniffer来实现。 需要特别注意的 是, 这里所说的加载是将数据块直接置入以太网设备 21的链路层緩存区, 而不是传统意义上通过多层协议封装后发送到以太网设备 21。  Next, the computer 10 loads the generated data block containing at least one Ethernet packet into the link layer buffer of the Ethernet device 21. In a preferred embodiment of the present invention, the process of loading the data block of the cap file format into the link layer buffer of the Ethernet device 21 can be implemented by off-the-shelf software such as netwizard or sniffer. It is important to note that the loading mentioned here places the data block directly into the link layer buffer area of the Ethernet device 21, instead of being conventionally packaged by the multi-layer protocol and sent to the Ethernet device 21.
随后, 以太网设备 21通过与其有线或无线连接的 UE30对其緩存区内 数据块中的每个以太网包进行转发。  Subsequently, the Ethernet device 21 forwards each Ethernet packet in the data block in its buffer area through the UE 30 that is wired or wirelessly connected thereto.
以上对本发明相关的通信终端数据源模拟方法的网络结构以及本发 明中在计算机中预先生成的数据块的数据格式进行了描述,针对上述本发 明的通信终端数据源模拟方法在移动通信系统中的具体应用, 下面再参照 图 3来详细描述本发明的一个实施例的移动通信系统中移动通信终端数据 源模拟的具体流程。  The network structure of the data source simulation method of the communication terminal related to the present invention and the data format of the data block generated in advance in the computer in the present invention are described above, and the data source simulation method of the communication terminal of the present invention is in the mobile communication system. Specific Application Hereinafter, a specific flow of data source simulation of the mobile communication terminal in the mobile communication system according to an embodiment of the present invention will be described in detail with reference to FIG.
首先, 在步骤 300, 针对具有包存储转发功能的以太网设备 21, 按照 其緩存区中的以太网包格式, 在一台计算机中生成包含多个以太网包的数 据文件, 该数据文件也与图 2中所示 cap文件的数据格式完全一致。 值得 一提的是, 本发明在移动通信系统中移动通信终端数据源模拟的的应用例 子中生成数据文件的这台计算机, 就是指前面内容所提到的计算机 10。数 据文件中以太网包的源 IP地址可以是希望模拟的计算机的 IP地址, 而且 以太网包的源 IP地址可以不同。 其目的 MAC地址设成多个 UE之一的 MAC 地址。其源 MAC地址是这台计算机的 MAC地址。这里需要作特别说明的是, 在以太网包中 IP数据包的数据段中填入的 ICMP协议数据内容, 当需要模 拟对称业务数据源时, 以太网包中包含类型码值应该设置成 0x0800 的 ICMP包,这个包沿着无线链路上行到目的地移动通信网络侧后,该网络侧 的服务器会回一个同样大小的数据包,这些响应包沿着无线链路下行到 UE 后被 UE复送上局域网 20, 然后被接收或者由于在链路上超过其生存周期 而死亡掉, 通过这种方式可以成功使得多个 UE的无线链路上充满数据包。 如果需要模拟纯上行业务数据源时, 以太网包中应该包含类型码值为 0x0000的 ICMP包, 或者将以太网包中 IP包首部校验字段填写为错误值, 这样就让以太网包在到达目的地网络侧的服务器后就被扔掉。 同时也可以 结合上面的两种方式, 实现上行大下行小的业务。 需要说明的是, 如果不 采用本发明所提出的模拟方法, 每一个 UE都要配置一台计算机, 为了使 用多个 UE进行测试, 需要配置多台计算机。 而釆用本发明的方法后可以 用一台计算机和一个以太网设备(例如 HUB )替代原先的多台计算机。 First, in step 300, for the Ethernet device 21 having the packet store-and-forward function, a data file containing a plurality of Ethernet packets is generated in one computer according to the Ethernet packet format in the buffer area, and the data file is also The data format of the cap file shown in Figure 2 is identical. It is worth mentioning that the computer for generating a data file in the application example of the data source simulation of the mobile communication terminal in the mobile communication system refers to the computer 10 mentioned above. Number According to the source IP address of the Ethernet packet in the file, it may be the IP address of the computer that you want to simulate, and the source IP address of the Ethernet packet may be different. Its destination MAC address is set to the MAC address of one of the multiple UEs. The source MAC address is the MAC address of this computer. What needs to be specially explained here is that the ICMP protocol data content filled in the data segment of the IP packet in the Ethernet packet, when the analog symmetric service data source needs to be simulated, the type code value included in the Ethernet packet should be set to 0x0800. ICMP packet, after the packet is uplinked along the wireless link to the destination mobile communication network side, the server on the network side will return a packet of the same size, and the response packet is sent back to the UE along the wireless link and then sent by the UE. The upper local area network 20 is then received or dies due to exceeding its life cycle on the link. In this way, the wireless links of multiple UEs can be successfully filled with data packets. If you need to simulate a pure uplink service data source, the Ethernet packet should contain an ICMP packet with a type code value of 0x0000, or fill in the IP packet header check field in the Ethernet packet as an error value, so that the Ethernet packet arrives. The server on the destination network side is thrown away. At the same time, it is also possible to combine the above two methods to realize uplink, large, downlink and small services. It should be noted that if the simulation method proposed by the present invention is not used, each UE needs to be configured with one computer. In order to use multiple UEs for testing, multiple computers need to be configured. Instead of using the method of the present invention, a computer and an Ethernet device (e.g., HUB) can be used to replace the original plurality of computers.
随后, 在接下来的步骤 310中, 通过这台计算机将数据文件中的内容 加载到以太网设备 21 的的链路层緩存区中。 如上所述, 这个加载过程可 以通过现有的软件 netwizard或 sniffer来实现直接加载, 不需要进行多 层协议的封装。 然后, 进入步骤 320。  Subsequently, in the next step 310, the contents of the data file are loaded into the link layer buffer of the Ethernet device 21 by this computer. As mentioned above, this loading process can be directly loaded via the existing software netwizard or sniffer without encapsulation of multi-layer protocols. Then, proceed to step 320.
在步骤 320,以太网设备 21再将其緩存区中的以太网包通过与其以有 线或无线方式连接的多个 UE发送到移动通信系统的网络侧。 这里就可以 通过一台计算机和这个以太网设备 21实现了将 cap文件格式的数据文件 中的多个以太网经多个 UE转发到了网络侧, 与现有技术不同的是, 本发 明方案可以仅仅通过一台计算机和一个以太网设备 21 经一次操作即可实 现将多个以太网包转发到移动通信网络一侧。 随后, 进入步骤 330。  At step 320, the Ethernet device 21 then transmits the Ethernet packet in its buffer to the network side of the mobile communication system through a plurality of UEs connected thereto in a wired or wireless manner. Here, a plurality of Ethernets in the data file of the cap file format can be forwarded to the network side by a plurality of UEs in a file file format by a computer and the Ethernet device 21. Unlike the prior art, the solution of the present invention can be The forwarding of multiple Ethernet packets to the mobile communication network side can be achieved by one computer and one Ethernet device 21 in one operation. Then, proceed to step 330.
在步骤 330, 网络侧才艮据接收到的以太网包中类型码数值的类型来执 行相应的操作。 如果以太网包中类型码值是为 0x0800的 ICMP包, 于是, 网络侧的相应服务器便会回一个同样大小的数据包, 这些回应的数据包通 过无线链路下行到移动终端而后再被复送上局域网 20,这样就可以通过上 述方案将多个 UE的无线链路上灌满数据包; 如果以太网包中包含类型码 值是为 0x0000的 ICMP包, 或者发现以太网包中 IP包首部校验字段填写 的内容是错误值, 网络侧的对应服务器在收到这样类型的以太网包后就会 将其扔掉。 总之, 通过本发明的上述方法, 就可以将多个 UE与网络侧的 无线链路上充满数据包, 从而达到了对移动通信系统的接入能力、 切换性 能以及业务传输能力等进行测试的目的。 At step 330, the network side performs the corresponding operation based on the type of the type code value in the received Ethernet packet. If the type code value in the Ethernet packet is an ICMP packet of 0x0800, then the corresponding server on the network side will return a packet of the same size, and the data packet of these responses After the wireless link is downlinked to the mobile terminal and then retransmitted to the local area network 20, the wireless link of multiple UEs can be filled with data packets through the above scheme; if the type code value of the Ethernet packet is 0x0000 The ICMP packet, or the content of the IP packet header check field in the Ethernet packet is found to be an error value, and the corresponding server on the network side will throw it away after receiving such an Ethernet packet. In summary, with the above method of the present invention, multiple UEs and the wireless link on the network side can be filled with data packets, thereby achieving the purpose of testing the access capability, handover performance, and service transmission capability of the mobile communication system. .
虽然通过参照本发明的某些优选实施例, 已经对本发明进行了图示和 描述, 但本领域的普通技术人员应该明白, 可以在形式上和细节上对其作 各种各样的改变, 而不偏离所附权利要求书所限定的本发明的精神和范 围。  Although the present invention has been illustrated and described with reference to the preferred embodiments of the present invention, those skilled in the art The spirit and scope of the invention is defined by the appended claims.

Claims

权 利 要 求 Rights request
1. 一种终端数据模拟方法, 其特征在于, 包括:  A terminal data simulation method, comprising:
A、 在第一设备上生成包括至少一个数据包的数据块, 所述数据包为 存储转发设备能够识别的数据包;  A. generating, on the first device, a data block including at least one data packet, where the data packet is a data packet that can be identified by the storage and forwarding device;
B 将所述数据块加载到所述存储转发设备的存储转发緩存区中; 作。 ' i 、 ' ί ' ' 、 ' 。 B loading the data block into a store-and-forward buffer of the store-and-forward device; ' i , ' ί '' , ' .
2. 根据权利要求 1 所述的终端数据模拟方法, 其特征在于, 所述存 储转发设备为以太网设备, 所述数据包为以太网数据包。  The terminal data emulation method according to claim 1, wherein the storage and forwarding device is an Ethernet device, and the data packet is an Ethernet data packet.
3. 根据权利要求 2 所述的终端数据模拟方法, 其特征在于, 所述数 据块中以太网包的源网间互联协议地址为希望模拟的设备的网间互联协 议地址, 并且,  The terminal data emulation method according to claim 2, wherein the source network interconnection protocol address of the Ethernet packet in the data block is an inter-network interconnection protocol address of the device to be simulated, and
所述数据块中以太网包的源媒体访问控制地址是所述第一设备所在 局域网中的有效媒体访问控制地址。  The source media access control address of the Ethernet packet in the data block is a valid media access control address in the local area network where the first device is located.
4. 根据权利要求 3所述的终端数据模拟方法, 其特征在于, 所述希 望模拟的设备是虚拟设备。  4. The terminal data simulation method according to claim 3, wherein the device that is desired to be simulated is a virtual device.
5. 根据权利要求 3所述的终端数据模拟方法, 其特征在于, 所述希 望模拟的设备是移动通信系统中的移动终端、 计算机、 个人数字助理中的 任意一种。  The terminal data emulation method according to claim 3, wherein the device for the simulation is any one of a mobile terminal, a computer, and a personal digital assistant in the mobile communication system.
6. 根据权利要求 2所述的终端数据模拟方法, 其特征在于, 所述以 太网设备是路由器、 集线器和以太网交换机中的任意一种。  The terminal data emulation method according to claim 2, wherein the Ethernet device is any one of a router, a hub, and an Ethernet switch.
7. 一种移动通信系统中移动终端数据源模拟方法, 其特征在于, 包 括:  A data source simulation method for a mobile terminal in a mobile communication system, characterized in that it comprises:
D、 在与以太网设备连接的计算机上生成包含多个以太网数据包的数 据文件;  D. Generate a data file containing a plurality of Ethernet packets on a computer connected to the Ethernet device;
E、 将所述数据文件中的内容加载到所述以太网设备的的链路层緩存 区中;  E. Loading content in the data file into a link layer buffer of the Ethernet device;
F、 所述以太网设备将緩存区中的以太网包通过与其连接的多个移动 终端发送到所述移动通信系统的网络侧。 F. The Ethernet device sends the Ethernet packet in the buffer area to the network side of the mobile communication system through a plurality of mobile terminals connected thereto.
8. 根据权利要求 7所述的移动通信系统中移动终端数据源模拟方法, 其特征在于, 所述数据文件中每一个以太网数据包的目的媒体访问控制地 址是所述移动终端的媒体访问控制地址; 并且, 8. The mobile terminal data source emulation method in a mobile communication system according to claim 7, wherein the destination media access control address of each Ethernet data packet in the data file is a media access control address of the mobile terminal. And,
数据文件中每一个以太网数据包的目的网间互联协议地址是所述移 动通信系统网络侧计算机的网间互联协议地址, 所述以太网数据包的源网 间互联协议地址可以不同。  The destination internetwork protocol address of each Ethernet data packet in the data file is the internetwork protocol address of the network side computer of the mobile communication system, and the source network interconnection protocol address of the Ethernet data packet may be different.
9. 根据权利要求 7所述的移动通信系统中移动终端数据源模拟方法, 其特征在于, 所述以太网设备是路由器、 集线器和交换机中的任意一种。  9. The mobile terminal data source emulation method in a mobile communication system according to claim 7, wherein the Ethernet device is any one of a router, a hub, and a switch.
10.根据权利要求 7所述的移动通信系统中移动终端数据源模拟方法 , 其特征在于, 所述以太网包中包含的网间互联协议包的数据为因特网控制 报文协议报文, 其类型码值为 0x0800的因特网控制报文协议包。  The method for simulating a data source of a mobile terminal in a mobile communication system according to claim 7, wherein the data of the inter-network interconnection protocol packet included in the Ethernet packet is an Internet Control Message Protocol message, and the type code thereof An Internet Control Message Protocol packet with a value of 0x0800.
11.根据权利要求 7所述的移动通信系统中移动终端数据源模拟方法, 其特征在于, 所述以太网包中包含的网间互联协议包的数据为因特网控制 报文协议报文, 其类型码值为 0x0000的因特网控制报文协议包。  The method for simulating a data source of a mobile terminal in a mobile communication system according to claim 7, wherein the data of the inter-network interconnection protocol packet included in the Ethernet packet is an Internet Control Message Protocol message, and the type code thereof An Internet Control Message Protocol packet with a value of 0x0000.
12.根据权利要求 7所述的移动通信系统中移动终端数据源模拟方法, 其特征在于, 将所述以太网包中网间互联协议包的数据校验字段填写为错 误值。  The data source simulation method for a mobile terminal in a mobile communication system according to claim 7, wherein the data check field of the internetwork protocol packet in the Ethernet packet is filled in as an error value.
PCT/CN2005/001079 2004-07-31 2005-07-20 A terminal data simulation method and mobile terminal data source simulation method WO2006012787A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200410054860.X 2004-07-31
CNB200410054860XA CN100396019C (en) 2004-07-31 2004-07-31 Method for simulating terminal data and method for simulating data source of mobile terminal

Publications (1)

Publication Number Publication Date
WO2006012787A1 true WO2006012787A1 (en) 2006-02-09

Family

ID=35786870

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/001079 WO2006012787A1 (en) 2004-07-31 2005-07-20 A terminal data simulation method and mobile terminal data source simulation method

Country Status (2)

Country Link
CN (1) CN100396019C (en)
WO (1) WO2006012787A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426301A (en) * 2022-08-24 2022-12-02 北京华耀科技有限公司 Equipment detection method, device, equipment and storage medium based on self-generated message
EP4105231A1 (en) 2011-05-05 2022-12-21 Merck Patent GmbH Amino acid sequences directed against il-17a, il-17f and/or il17-a/f and polypeptides comprising the same

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238080B (en) * 2011-01-18 2015-04-22 郑浩 Method for bearing Internet protocol (IP) telecommunication network in superposition way by utilizing Ethernet
CN104469822A (en) * 2014-11-26 2015-03-25 大唐移动通信设备有限公司 Testing method, base station and system
US11476899B2 (en) * 2019-04-18 2022-10-18 Huawei Technologies Co., Ltd. Uplink multi-user equipment (UE) cooperative transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1028139A (en) * 1996-07-10 1998-01-27 Nec Corp Packet simulator device having transmission sequence switch function
KR20020051594A (en) * 2000-12-23 2002-06-29 오길록 Mobile station simulator for hand-off protocol and test device for hand-off using it and method threof
US20030093252A1 (en) * 2001-11-09 2003-05-15 Frankel Carl B Message packet logging in a distributed simulation system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100270376B1 (en) * 1998-08-19 2000-11-01 윤종용 Circuit call generator and functional test method for functional test of wireless data service device
CN100426812C (en) * 2002-08-15 2008-10-15 中兴通讯股份有限公司 Simulationi realizing method based on grouping data business process and system
CN100486182C (en) * 2002-12-28 2009-05-06 鸿富锦精密工业(深圳)有限公司 Network test equipment, system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1028139A (en) * 1996-07-10 1998-01-27 Nec Corp Packet simulator device having transmission sequence switch function
KR20020051594A (en) * 2000-12-23 2002-06-29 오길록 Mobile station simulator for hand-off protocol and test device for hand-off using it and method threof
US20030093252A1 (en) * 2001-11-09 2003-05-15 Frankel Carl B Message packet logging in a distributed simulation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4105231A1 (en) 2011-05-05 2022-12-21 Merck Patent GmbH Amino acid sequences directed against il-17a, il-17f and/or il17-a/f and polypeptides comprising the same
CN115426301A (en) * 2022-08-24 2022-12-02 北京华耀科技有限公司 Equipment detection method, device, equipment and storage medium based on self-generated message
CN115426301B (en) * 2022-08-24 2023-11-10 北京华耀科技有限公司 Device detection method, device, equipment and storage medium based on self-generated message

Also Published As

Publication number Publication date
CN1728656A (en) 2006-02-01
CN100396019C (en) 2008-06-18

Similar Documents

Publication Publication Date Title
Wang et al. The design and implementation of the NCTUns 1.0 network simulator
Fall Network emulation in the Vint/NS simulator
Kojo et al. Seawind: a Wireless Network Emulator.
Wang et al. Cross-layer signalling for next-generation wireless systems
JP2021528014A (en) Information transmission method and equipment
FI122516B (en) A method and system for transferring a communication session between data sources
CN106936875A (en) Improvement TCP agent method based on wide area network data compression
Nardini et al. Using Simu5G as a realtime network emulator to test MEC apps in an end-to-end 5G testbed
WO2018149342A1 (en) Public network accessing method and device and computer storage medium for user terminal of mobile private network
WO2006012787A1 (en) A terminal data simulation method and mobile terminal data source simulation method
JP5792688B2 (en) Synchronized commands for network inspection
US20080080536A1 (en) Media access control layer bridging of a real communication device to a simulated network
US8707100B2 (en) Testing a network using randomly distributed commands
Cong et al. Ceupf: Offloading 5g user plane function to programmable hardware base on co-existence architecture
Pinczel et al. Towards high performance packet processing for 5G
CN101437029B (en) Data transmission method, local maintenance terminal, proxy equipment and system
US8774202B2 (en) Methods, systems, and computer readable media for generating general packet radio service tunneling protocol (GTP) encapsulated real-time transport protocol (RTP) packets in a long term evolution (LTE) node simulator
CN109873763A (en) A kind of communication means and equipment
Chen et al. A 6LoWPAN OPNET simulation model for machine‐to‐machine communications
Comer et al. WIST: Wi-SUN FAN Protocol Emulation Testbed
Chodorek et al. Expanding the Ns-2 emulation environment with the use of flexible mapping
CN112738032B (en) Communication system for preventing IP deception
Wang et al. Innovative network emulations using the NCTUns tool
Mogensen Reliability enhancement for lte using mpquic in a mixed traffic scenario
Weinrank SCTP as an Universal Multiplexing Layer

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase