CN115243301A - Device for simulating 5G mobile network environment by software - Google Patents

Device for simulating 5G mobile network environment by software Download PDF

Info

Publication number
CN115243301A
CN115243301A CN202210734464.XA CN202210734464A CN115243301A CN 115243301 A CN115243301 A CN 115243301A CN 202210734464 A CN202210734464 A CN 202210734464A CN 115243301 A CN115243301 A CN 115243301A
Authority
CN
China
Prior art keywords
test
data
target
network
unit
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.)
Granted
Application number
CN202210734464.XA
Other languages
Chinese (zh)
Other versions
CN115243301B (en
Inventor
张凯
王志明
陆焱锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing LSSEC Technology Co Ltd
Original Assignee
Beijing LSSEC Technology 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 Beijing LSSEC Technology Co Ltd filed Critical Beijing LSSEC Technology Co Ltd
Priority to CN202210734464.XA priority Critical patent/CN115243301B/en
Publication of CN115243301A publication Critical patent/CN115243301A/en
Application granted granted Critical
Publication of CN115243301B publication Critical patent/CN115243301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages

Abstract

The invention provides a device for simulating 5G mobile network environment by software, which comprises: the device bridging module is used for acquiring a connection serial port between the service software and the server and bridging the target testing device based on the connection serial port; the data testing module is used for testing 5G communication network parameters between the service software and the server based on the target testing device; and the evaluation module is used for evaluating the robust performance of the service software based on the 5G communication network parameters and finishing the simulation of the service software in the 5G mobile network. By bridging the target testing device between the service software and the server, the network parameters in the 5G mobile network environment are efficiently and accurately simulated, so that the robustness of the service software can be accurately evaluated under different conditions, the detection time is greatly shortened, the detection efficiency is improved, and a large amount of manpower and material resources are saved.

Description

Device for simulating 5G mobile network environment by software
Technical Field
The invention relates to the technical field of communication, in particular to a device for simulating a 5G mobile network environment by software.
Background
At present, when the robust performance of service software is tested, usually after network parameters are modified, whether a line fails or not is checked in a way of drive test, in a general drive test process, network disconnection can be caused by switching among different base stations, the 5G network environment is complicated and changeable due to the distance and shielding conditions of the base stations, in order to test different network conditions, the drive test process not only consumes time and labor, but also many indexes cannot be quantized;
therefore, the invention provides a device for simulating a 5G mobile network environment by software, which is used for efficiently and accurately simulating network parameters in the 5G mobile network environment by bridging a target testing device between service software and a server, is convenient for accurately evaluating the robustness of the service software under different conditions, greatly shortens the detection time, improves the detection efficiency and saves a large amount of manpower and material resources.
Disclosure of Invention
The invention provides a device for simulating a 5G mobile network environment by software, which is used for efficiently and accurately simulating network parameters in the 5G mobile network environment by bridging a target testing device between service software and a server, is convenient for accurately evaluating the robustness of the service software under different conditions, greatly shortens the detection time, improves the detection efficiency and saves a large amount of manpower and material resources.
The invention provides a device for simulating 5G mobile network environment by software, which comprises:
the device bridging module is used for acquiring a connection serial port between the service software and the server and bridging the target testing device based on the connection serial port;
the data testing module is used for testing 5G communication network parameters between the service software and the server based on the target testing device;
and the evaluation module is used for evaluating the robust performance of the service software based on the 5G communication network parameters to complete the simulation of the service software in the 5G mobile network.
Preferably, the device for simulating a 5G mobile network environment by software, the device bridging module, includes:
the bridging mode based on the bridging target testing device connected with the serial port is as follows: and connecting the target testing device in series in a wired network between the service software and the server.
Preferably, the device for simulating a 5G mobile network environment by software includes:
the network analysis unit is used for acquiring the transmission characteristics and the network characteristics of the 5G mobile network after the target mapping device is bridged;
and the network operation parameter setting unit is used for setting network operation parameters in the target testing device based on the transmission characteristics and the network characteristics of the 5G mobile network.
Preferably, the device for simulating a 5G mobile network environment by software includes:
the reading subunit is used for reading the transmission characteristics and the network characteristics of the 5G mobile network and determining a first characteristic parameter corresponding to the transmission characteristics and a second characteristic parameter corresponding to the network characteristics;
the environment configuration information acquisition subunit is used for respectively inputting the first characteristic parameter and the second characteristic parameter into a preset characteristic model for analysis, and outputting environment configuration information based on an analysis result;
the network operation parameter value confirming subunit is used for determining an environment configuration item of the target testing device and determining a network operation parameter value corresponding to the environment configuration item based on the environment configuration information;
a judging subunit, configured to judge whether the network operation parameter value meets a preset condition;
a parameter setting subunit, configured to set the network operation parameter for the target test apparatus when the network operation parameter value meets the preset condition;
the parameter setting subunit is further configured to, when the network operation parameter value does not meet the preset condition, adjust the network operation parameter value based on the environment configuration information until the network operation parameter value meets the preset condition, and set the adjusted network operation parameter for the target test apparatus.
Preferably, the device for simulating a 5G mobile network environment by software includes:
the information reading unit is used for respectively acquiring first connection serial port information of the service software and second connection serial port information of the server;
a feature determining unit, configured to read the first connection serial port information to determine a first connection serial port feature of the service software, and simultaneously read the second connection serial port information to determine a second connection serial port feature of the service software;
a serial port communication mode confirming unit, configured to determine a bridged serial port communication mode based on the first connection serial port feature and the second connection serial port feature;
and the bridging unit is used for generating a serial port protocol based on the bridged serial port communication mode and bridging the target test device in a connecting serial port between the service software and the server based on the serial port protocol.
Preferably, the apparatus for simulating a 5G mobile network environment by software, the bridging unit further includes:
a protocol generation preparation subunit, configured to determine a protocol common data segment based on the serial port communication manner, and obtain a communication address of the service software and a communication address of the server;
the protocol generation preparation subunit is further configured to generate a first protocol configuration byte based on the protocol common data segment, generate a second protocol configuration byte based on the communication address of the service software, and generate a third protocol configuration byte based on the communication address of the server;
and the protocol generation subunit is used for inputting the first protocol configuration byte, the second protocol configuration byte and the third protocol configuration byte into a protocol generation network for training and generating the serial port protocol based on a training result.
Preferably, the data testing module includes:
the data testing unit is used for testing 5G communication data in the 5G mobile network based on the target testing device after the service software and the server are started;
and the display unit is used for displaying the 5G communication data based on the preset control interface.
Preferably, the data testing module includes:
the test task obtaining unit is used for obtaining a first working characteristic of the service software and a second working characteristic of the server, and determining a test task of the target test device based on the first working characteristic and the second working characteristic;
the execution logic confirmation unit is used for reading the test task of the target test device and determining the execution logic corresponding to the test task;
the test unit is used for generating an execution instruction based on the execution logic corresponding to the test task, and controlling the target test device to perform test work according to the execution instruction to obtain the 5G communication network parameters;
the display unit is used for setting a test monitoring network based on the execution logic of the test task and filling the 5G communication network parameters into the test monitoring network based on the execution logic to carry out data distribution display;
the data change trend confirming unit is used for confirming the data change trend of the test data according to the data distribution display result;
the report generating unit is used for generating a 5G communication network parameter test report based on the data change trend and the data distribution display result;
the encryption unit is used for acquiring a report identifier of the 5G communication network parameter test report and determining an encryption factor for encrypting the 5G communication network parameter test report based on the report identifier;
the encryption unit is further used for encrypting the 5G communication network parameter test report based on the encryption factor;
the data storage sharing unit is used for determining the key code of the 5G communication network parameter test report based on the encryption result, and simultaneously writing the 5G communication network parameter test report into a parent node of a target block chain based on the key code;
the data storage sharing unit is further configured to determine an associated child node corresponding to the parent node based on the key code, and transmit the 5G communication network parameter test report to the associated child node;
and the data storage sharing unit is also used for storing and sharing the 5G communication network parameter test report based on the transmission result.
Preferably, the apparatus for simulating a 5G mobile network environment by software includes:
the attribute confirming unit is used for determining the service attribute of the business software, setting a data test strategy based on the service attribute and mapping the data test strategy to a data interface of the business software;
the data test item configuration unit is used for configuring data test items for the data interface based on the data test strategy and determining the item characteristics and the item attributes in the data test items;
the test case set creating unit is used for creating a test case set according to the data test items;
the target case set extraction unit is used for determining a case extraction standard based on the item characteristics and the item attributes in the data test items, extracting cases in the test case set based on the case extraction standard, and acquiring a target case set, wherein the target case set belongs to the test case set;
the constraint condition acquisition unit is used for inputting the target case set into the target mapping and testing device for analysis and determining a constraint condition for testing the target case set;
the test unit is used for acquiring a target program segment of the target case set, inputting the target program segment into the service software for testing based on the constraint condition, and determining the operation data of the service software in the 5G communication network parameters;
the analysis unit is used for analyzing the operation data of the service software and determining the number of first cases of the test cases accurately processed by the service software;
the analysis unit is further configured to obtain a second number of instances of the target case set, where the second number of instances includes the first number of instances, and determine a target data proportion of the first number of instances to the second number of instances;
the evaluation unit is used for comparing the target data proportion with the preset proportion threshold value and judging the robust performance of the service software in the 5G network environment;
when the target data proportion is larger than the preset proportion threshold, judging that the robust performance of the service software in the 5G network environment is excellent;
when the target data proportion is equal to the preset proportion threshold, judging that the service software has good robust performance in the 5G network environment;
when the target data proportion is smaller than the preset proportion threshold, judging that the robust performance of the service software in the 5G network environment is poor;
and the evaluation report generating unit is used for finishing the performance evaluation of the robust performance of the service software in the 5G mobile network based on the comparison result, generating an evaluation report and simultaneously transmitting the evaluation report to a target terminal based on the 5G mobile network.
Preferably, the apparatus for simulating a 5G mobile network environment by software further includes:
an optimization factor confirming subunit, configured to, when the robust performance of the service software in the 5G network environment is poor, read the 5G communication network parameter, and set an optimization factor based on a read result;
and the optimization subunit is used for modifying the 5G communication network parameters based on the optimization factor to realize the optimization of the robust performance of the service software in the 5G network environment.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a block diagram of an apparatus for software simulation of a 5G mobile network environment according to an embodiment of the present invention;
FIG. 2 is a block diagram of a bridge module of an apparatus for simulating a 5G mobile network environment by software according to an embodiment of the present invention;
fig. 3 is a block diagram of a data testing module in a device for simulating a 5G mobile network environment by software according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1:
the embodiment provides an apparatus for simulating a 5G mobile network environment by software, as shown in fig. 1, including:
the device bridging module is used for acquiring a connection serial port between the service software and the server and bridging the target testing device based on the connection serial port;
the data testing module is used for testing 5G communication network parameters between the service software and the server based on the target testing device;
and the evaluation module is used for evaluating the robust performance of the service software based on the 5G communication network parameters to complete the simulation of the service software in the 5G mobile network.
In this embodiment, the device bridging module includes: the bridging mode based on the bridging target testing device connected with the serial port is as follows: and connecting the target testing device in series in a wired network between the service software and the server.
In this embodiment, the connection serial port may be used to set up a data interface between the service software and the server, and is used to construct a data transmission link, so as to implement data interfacing and transmission.
In this embodiment, the target test device may be a device that simulates a 5G mobile network environment based on software.
In this embodiment, the 5G communication network parameter may be a peak bandwidth, a delay jitter range, a packet loss rate, a random drop time, and the like.
In this embodiment, the robust performance may be the ability of the service software to adapt to or overcome the network parameter change in time when the network parameter changes in the 5G mobile network environment.
The beneficial effects of the above technical scheme are: by bridging the target testing device between the service software and the server, the network parameters in the 5G mobile network environment are efficiently and accurately simulated, so that the robustness of the service software can be accurately evaluated under different conditions, the detection time is greatly shortened, the detection efficiency is improved, and a large amount of manpower and material resources are saved.
Example 2:
on the basis of embodiment 1, this embodiment provides a device for simulating a 5G mobile network environment by software, as shown in fig. 2, where the device bridging module includes:
the network analysis unit is used for acquiring the transmission characteristics and the network characteristics of the 5G mobile network after the target mapping device is bridged;
and the network operation parameter setting unit is used for setting network operation parameters in the target testing device based on the transmission characteristics and the network characteristics of the 5G mobile network.
In this embodiment, the transmission characteristics may be a transmission bandwidth, a transmission rate, and the like in the 5G mobile network.
In this embodiment, the network characteristics may be the structure or connection relationship of the network.
The beneficial effects of the above technical scheme are: the transmission characteristics and the network characteristics of the 5G mobile network are determined, so that the parameters of the 5G mobile network are accurately and effectively set, the robustness of the service software can be conveniently evaluated according to different network operation parameters, and the evaluation rigor and comprehensiveness are improved.
Example 3:
on the basis of embodiment 2, this embodiment provides a device for simulating a 5G mobile network environment with software, where the network operation parameter setting unit includes:
the reading subunit is used for reading the transmission characteristics and the network characteristics of the 5G mobile network and determining a first characteristic parameter corresponding to the transmission characteristics and a second characteristic parameter corresponding to the network characteristics;
the environment configuration information acquisition subunit is used for respectively inputting the first characteristic parameter and the second characteristic parameter into a preset characteristic model for analysis, and outputting environment configuration information based on an analysis result;
the network operation parameter value confirming subunit is used for determining an environment configuration item of the target testing device and determining a network operation parameter value corresponding to the environment configuration item based on the environment configuration information;
the judging subunit is used for judging whether the network operation parameter value meets a preset condition or not;
a parameter setting subunit, configured to set the network operation parameter for the target test apparatus when the network operation parameter value meets the preset condition;
the parameter setting subunit is further configured to, when the network operation parameter value does not meet the preset condition, adjust the network operation parameter value based on the environment configuration information until the network operation parameter value meets the preset condition, and set the adjusted network operation parameter for the target testing device.
In this embodiment, the first characteristic parameter may indicate, through a specific parameter value, the transmission performance of the 5G mobile network, for example, a packet loss rate, a specific value of a transmission rate, and the like.
In this embodiment, the second characteristic parameter may be a specific parameter used to describe the network characteristics.
In this embodiment, the preset feature model is set in advance, and is used to determine the configuration parameters that need to be set for the mobile network according to the transmission features and the network characteristics.
In this embodiment, the environment configuration parameter may be a specific case where the target testing apparatus needs to adjust the parameter in the 5G mobile network.
In this embodiment, the environment configuration items may be types that require parameter configuration, including a packet loss rate, a transmission rate, a delay jitter range, and the like, and each item is an environment configuration item.
In this embodiment, the preset condition is set in advance and is used to measure whether the final configuration parameter meets the expected requirement, wherein the preset condition includes an expected value corresponding to each item.
The beneficial effects of the above technical scheme are: the configuration information of the mobile Internet is accurately analyzed according to the transmission characteristics of the 5G mobile network and specific parameter values corresponding to the network characteristics, meanwhile, specific data for setting the network operation parameters are determined according to the configuration information, the network operation parameters of the mobile Internet are accurately and effectively set through the target testing device, and therefore the robustness of service software is accurately evaluated.
Example 4:
on the basis of embodiment 1, this embodiment provides a device for simulating a 5G mobile network environment by software, where the device bridging module includes:
the information reading unit is used for respectively acquiring first connection serial port information of the service software and second connection serial port information of the server;
a feature determining unit, configured to read the first connection serial port information to determine a first connection serial port feature of the service software, and simultaneously read the second connection serial port information to determine a second connection serial port feature of the service software;
a serial port communication mode confirming unit, configured to determine a bridged serial port communication mode based on the first connection serial port feature and the second connection serial port feature;
and the bridging unit is used for generating a serial port protocol based on the bridged serial port communication mode and bridging the target testing device in a connecting serial port between the service software and the server based on the serial port protocol.
In this embodiment, the first connection serial port information may be data transmission attributes of a data interface used in data transmission and data docking in the service software, including transmission bandwidth, data transmission power, and the like.
In this embodiment, the second connection serial port information may be a data transmission attribute of a data interface in the server for data transmission or data interfacing, including a transmission rate and the like.
In this embodiment, the first connection serial port feature may be a key performance index parameter capable of representing the performance of the serial port in the first connection serial port information.
In this embodiment, the second connection serial port feature may be a key performance index parameter capable of representing the serial port performance in the second connection serial port information.
In this embodiment, the serial communication mode may be simplex, half-duplex, full-duplex.
The beneficial effects of the above technical scheme are: the method and the device have the advantages that the accurate analysis of the serial port communication mode between the service software and the server is realized by determining the first connection serial port information of the service software and the second connection serial port information of the server, so that the bridging mode of the target testing device can be accurately judged according to the serial port communication mode, and the network parameters in the 5G mobile network environment can be efficiently and accurately simulated.
Example 5:
on the basis of embodiment 4, this embodiment provides an apparatus for simulating a 5G mobile network environment by software, where the bridging unit further includes:
a protocol generation preparation subunit, configured to determine a protocol common data segment based on the serial port communication manner, and obtain a communication address of the service software and a communication address of the server;
the protocol generation preparation subunit is further configured to generate a first protocol configuration byte based on the protocol common data segment, generate a second protocol configuration byte based on the communication address of the service software, and generate a third protocol configuration byte based on the communication address of the server;
and the protocol generation subunit is used for inputting the first protocol configuration byte, the second protocol configuration byte and the third protocol configuration byte into a protocol generation network for training and generating the serial port protocol based on a training result.
In this embodiment, the protocol common data segment may be used to represent transmission resources that can be called by the service software and the server when the service software and the server communicate with each other via a serial port.
In this embodiment, the first protocol configuration byte may be generated from the protocol common data segment for converting the protocol common data segment into a corresponding protocol configuration.
In this embodiment, the second protocol configuration byte may be generated according to a communication address, and is used to convert the communication address of the service software into a corresponding protocol form.
In this embodiment, the third protocol configuration byte may be generated according to the communication address, and is used to convert the communication address of the server into a corresponding protocol form.
The beneficial effects of the above technical scheme are: the protocol public data segment and the communication address between the service software and the server are converted into corresponding protocol configuration bytes by determining the protocol public data segment between the service software and the server and the communication address between the service software and the server, so that the determination of the serial port protocol between the service software and the server is realized, the 5G mobile network is conveniently and accurately and effectively simulated, and the robustness of the obtained service software is ensured to be reliable and effective enough.
Example 6:
on the basis of embodiment 1, this embodiment provides a device for simulating a 5G mobile network environment by software, and as shown in fig. 3, the data testing module includes:
the data testing unit is used for testing 5G communication data in the 5G mobile network based on the target testing device after the service software and the server are started;
and the display unit is used for displaying the 5G communication data based on the preset control interface.
In this embodiment, the predetermined control interface is set in advance in the target test apparatus.
The beneficial effects of the above technical scheme are: by testing 5G communication data in the 5G mobile network when the service software and the server work and displaying the data on a preset control interface, the specific situation of the current 5G communication parameters can be conveniently and visually known in time, the 5G mobile network parameters can be conveniently and pertinently adjusted, the accuracy of a software model is improved, and a large amount of manpower and material resources are saved.
Example 7:
on the basis of embodiment 1, this embodiment provides a device for simulating a 5G mobile network environment by software, where the data testing module includes:
a test task obtaining unit, configured to obtain a first working characteristic of the service software and a second working characteristic of the server, and determine a test task of the target test apparatus based on the first working characteristic and the second working characteristic;
the execution logic confirmation unit is used for reading the test task of the target test device and determining the execution logic corresponding to the test task;
the test unit is used for generating an execution instruction based on the execution logic corresponding to the test task, and controlling the target test device to perform test work according to the execution instruction to obtain the 5G communication network parameters;
the display unit is used for setting a test monitoring network based on the execution logic of the test task and filling the 5G communication network parameters into the test monitoring network based on the execution logic to carry out data distribution display;
the data change trend confirming unit is used for confirming the data change trend of the test data according to the data distribution display result;
the report generating unit is used for generating a 5G communication network parameter test report based on the data change trend and the data distribution display result;
the encryption unit is used for acquiring a report identifier of the 5G communication network parameter test report and determining an encryption factor for encrypting the 5G communication network parameter test report based on the report identifier;
the encryption unit is further used for encrypting the 5G communication network parameter test report based on the encryption factor;
the data storage sharing unit is used for determining the key code of the 5G communication network parameter test report based on the encryption result, and simultaneously writing the 5G communication network parameter test report into a parent node of a target block chain based on the key code;
the data storage sharing unit is further configured to determine an associated child node corresponding to the parent node based on the key code, and transmit the 5G communication network parameter test report to the associated child node;
and the data storage sharing unit is also used for storing and sharing the 5G communication network parameter test report based on the transmission result.
In this embodiment, the first working characteristic may be a working attribute used to characterize the service software, including the deployment of resources during the running process of the service software.
In this embodiment, the second working characteristic may be a working attribute used for characterizing the server, including a processing method of each data by the server, and the like.
In this embodiment, the test task may be to determine the items that the target testing device needs to detect according to the service software and the working characteristics of the server, for example: the first working characteristic is the working form of the service software, and the testing task is to detect whether the service software works all day or only works in a specific time period or works randomly, and vice versa.
In this embodiment, the execution logic may be an execution order in which the target test device executes the detection steps of the test task.
In this embodiment, the report identification may be a kind of label used for marking the kind of the 5G communication network parameter test report and the purpose of the report.
In this embodiment, the encryption factor may be a key used to encrypt the test report.
In this embodiment, the key encoding may be an encoding form corresponding to the encryption factor, so as to write the 5G communication network parameter test report into the blockchain according to the encoding form.
In this embodiment, the parent node of the target blockchain may be a shared storage area for storing test reports.
In this embodiment, the associated child node may be another node in the target block chain that communicates with the parent node and that may read the test report stored in the parent node.
The beneficial effects of the above technical scheme are: by determining the working characteristics of the service software and the server, the communication data between the service software and the server can be accurately acquired according to the working characteristics, and meanwhile, the acquired communication data is encrypted and stored to the block chain, so that the network parameters of the 5G mobile network can be effectively stored, reliable data support is provided for the evaluation of the robustness of the service software, a large amount of manpower and material resources are saved, and the test efficiency is improved.
Example 8:
on the basis of embodiment 1, this embodiment provides an apparatus for simulating a 5G mobile network environment by software, where the evaluation module includes:
the attribute confirming unit is used for determining the service attribute of the business software, setting a data test strategy based on the service attribute and mapping the data test strategy to a data interface of the business software;
the data test item configuration unit is used for configuring data test items for the data interface based on the data test strategy and determining the item characteristics and the item attributes in the data test items;
the test case set creating unit is used for creating a test case set according to the data test items;
the target case set extraction unit is used for determining a case extraction standard based on the item characteristics and the item attributes in the data test items, extracting cases in the test case set based on the case extraction standard, and acquiring a target case set, wherein the target case set belongs to the test case set;
the constraint condition acquisition unit is used for inputting the target case set into the target mapping and testing device for analysis and determining a constraint condition for testing the target case set;
the test unit is used for acquiring a target program segment of the target case set, inputting the target program segment into the service software for testing based on the constraint condition, and determining the operation data of the service software in the 5G communication network parameters;
the analysis unit is used for analyzing the operation data of the business software and determining the number of first cases of the test cases accurately processed by the business software;
the analysis unit is further configured to obtain a second number of second cases of the target case set, where the second number of cases includes the first number of cases, and determine a target data proportion of the first number of cases to the second number of cases;
the evaluation unit is used for comparing the target data ratio with the preset ratio threshold value and judging the robust performance of the service software in the 5G network environment;
when the target data proportion is greater than the preset proportion threshold, judging that the robust performance of the service software in the 5G network environment is excellent;
when the target data proportion is equal to the preset proportion threshold, judging that the robustness of the service software in the 5G network environment is good;
when the target data proportion is smaller than the preset proportion threshold, judging that the robust performance of the service software in the 5G network environment is poor;
and the evaluation report generating unit is used for finishing the performance evaluation of the robust performance of the service software in the 5G mobile network based on the comparison result, generating an evaluation report and simultaneously transmitting the evaluation report to a target terminal based on the 5G mobile network.
In this embodiment, the service attribute may be a function performed by the business software and an object to be achieved.
In this embodiment, the data test item may be a test content for testing the service software under the current 5G network parameters.
In this embodiment, the item characteristics may be test requirements and test standards of the data test items, and the like.
In this embodiment, the item attribute may be a running numerical value that the data test item should theoretically reach, or the like.
In this embodiment, the test case set may simulate a data packet loss rate, a delay jitter range, and a peak bandwidth in the 5G network parameters, so as to determine the operation performance of the service software under the test case.
In this embodiment, the case extraction standard may be used to measure the type of the adopted test case, and is set in advance.
In this embodiment, the target use case set may be a set used to test the capability or running performance of the service software to overcome the parameter change after the 5G network parameter is changed.
In this embodiment, the constraint condition may be a maximum operation capacity or an operation speed of the service software under different network parameters.
In this embodiment, the target program segment may be an encoded form of the target use case set.
In this embodiment, the first number of cases may be the number of test case items in the target case set that can be accurately overcome or accurately processed by the business software.
In this embodiment, the second number of cases may be the total number of test case items included in the target case set.
In this embodiment, the target data proportion may be a ratio of the number of accurately processed test cases to the total number.
In this embodiment, the preset duty threshold is set in advance, and is used for measuring the robust performance of the service software.
The beneficial effects of the above technical scheme are: the method comprises the steps of determining a test case set corresponding to the robust performance test of the service software, evaluating the robust performance of the service software according to different test cases in test case combination, generating corresponding evaluation reports of the robust performance of the service software on the different test cases, transmitting the evaluation reports to a target terminal for displaying, improving the accuracy of the robust performance evaluation and the reliability of evaluation results, simultaneously saving a large amount of manpower and material resources by simulating the different test cases, and realizing effective simulation of a 5G mobile network environment.
Example 9:
on the basis of embodiment 8, this embodiment provides an apparatus for simulating a 5G mobile network environment by software, where the evaluation unit further includes:
an optimization factor confirming subunit, configured to, when the robust performance of the service software in the 5G network environment is poor, read the 5G communication network parameter, and set an optimization factor based on a read result;
and the optimization subunit is used for modifying the 5G communication network parameters based on the optimization factor to realize the optimization of the robust performance of the service software in the 5G network environment.
In this embodiment, the optimization factor may be a degree or a numerical value for optimizing the 5G communication network parameters when the robustness of the service software does not meet the requirement.
In this embodiment, the optimizing subunit includes:
determining a resource coordination factor of the business software and a resource coordination factor of a server in the 5G network environment;
based on the resource coordination factor of the service software and the resource coordination factor of the server, setting an optimization factor according to the following formula:
Figure BDA0003714722440000171
wherein β represents the optimization factor; alpha represents the resource coordination factor of the business software, and the value is (0.98,1.02); ζ represents a resource coordination factor of the server, and the value range is (0.99,1.01); f represents a function processing node of a transmission layer between the service software and the server; maxF represents a maximum value of the functional processing node; omega 1 (w 0 ,w 1 Eta) represents a state parameter function of the business software, and w 0 Representing the initial resource utilization condition of the service state software; w is a 1 Representing the current resource utilization condition of the service state software; eta represents a normalization factor, and the value range of the normalization factor is (1.01,1.02); omega 2 (f 0 ,f 1 Eta) represents a state parameter function of the server, and f 0 Representing an initial resource utilization of the server; f. of 1 Representing a current resource utilization of the server; f r Representing radio frequency parameter values in the 5G network environment; b is r Representing radio frequency parameter evaluation values in the 5G network environment; b represents the bearer bandwidth of the 5G network environment;
constructing an optimization model based on the optimization factors;
Figure BDA0003714722440000181
wherein M represents the optimization model; h represents the current 5G communication network parameter to be optimized(ii) a H represents the total number of the 5G communication network parameters to be optimized; phi is a h Representing the influence weight of the current 5G communication network parameter to be optimized on the service software processing service;
and inputting the 5G communication network parameters into the optimization model for optimization, and finishing the optimization of the robust performance of the service software in the 5G network environment based on the processing result.
The beneficial effects of the above technical scheme are: when the robustness of the service software does not meet the requirement, the 5G communication network parameters are optimized, so that the service software can normally run, the practicability of network parameter simulation is improved, the adaptability of the service software to the network parameters is conveniently found, and the simulation effect is improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An apparatus for simulating a 5G mobile network environment by software, comprising:
the device bridging module is used for acquiring a connection serial port between the service software and the server and bridging the target testing device based on the connection serial port;
the data testing module is used for testing 5G communication network parameters between the service software and the server based on the target testing device;
and the evaluation module is used for evaluating the robust performance of the service software based on the 5G communication network parameters to complete the simulation of the service software in the 5G mobile network.
2. The apparatus of claim 1, wherein the apparatus bridging module comprises:
the bridging mode based on the connection serial port bridging target testing device is as follows: and connecting the target testing device in series in a wired network between the service software and the server.
3. The apparatus for simulating 5G mobile network environment by software according to claim 1, wherein the apparatus bridging module comprises:
the network analysis unit is used for acquiring the transmission characteristics and the network characteristics of the 5G mobile network after the target mapping device is bridged;
and the network operation parameter setting unit is used for setting network operation parameters in the target testing device based on the transmission characteristics and the network characteristics of the 5G mobile network.
4. The apparatus of claim 3, wherein the network operation parameter setting unit comprises:
the reading subunit is used for reading the transmission characteristics and the network characteristics of the 5G mobile network and determining a first characteristic parameter corresponding to the transmission characteristics and a second characteristic parameter corresponding to the network characteristics;
the environment configuration information acquisition subunit is used for respectively inputting the first characteristic parameter and the second characteristic parameter into a preset characteristic model for analysis, and outputting environment configuration information based on an analysis result;
the network operation parameter value confirming subunit is used for determining an environment configuration item of the target testing device and determining a network operation parameter value corresponding to the environment configuration item based on the environment configuration information;
the judging subunit is used for judging whether the network operation parameter value meets a preset condition or not;
a parameter setting subunit, configured to set the network operation parameter for the target test apparatus when the network operation parameter value meets the preset condition;
the parameter setting subunit is further configured to, when the network operation parameter value does not meet the preset condition, adjust the network operation parameter value based on the environment configuration information until the network operation parameter value meets the preset condition, and set the adjusted network operation parameter for the target testing device.
5. The apparatus for simulating 5G mobile network environment by software according to claim 1, wherein the apparatus bridging module comprises:
the information reading unit is used for respectively acquiring first connection serial port information of the service software and second connection serial port information of the server;
a feature determining unit, configured to read the first connection serial port information to determine a first connection serial port feature of the service software, and simultaneously read the second connection serial port information to determine a second connection serial port feature of the service software;
a serial port communication mode confirming unit, configured to determine a bridged serial port communication mode based on the first connection serial port feature and the second connection serial port feature;
and the bridging unit is used for generating a serial port protocol based on the bridged serial port communication mode and bridging the target testing device in a connecting serial port between the service software and the server based on the serial port protocol.
6. The apparatus for simulating 5G mobile network environment by software according to claim 5, wherein the bridging unit further comprises:
a protocol generation preparation subunit, configured to determine a protocol common data segment based on the serial port communication manner, and obtain a communication address of the service software and a communication address of the server;
the protocol generation preparation subunit is further configured to generate a first protocol configuration byte based on the protocol common data segment, generate a second protocol configuration byte based on the communication address of the service software, and generate a third protocol configuration byte based on the communication address of the server;
and the protocol generation subunit is used for inputting the first protocol configuration byte, the second protocol configuration byte and the third protocol configuration byte into a protocol generation network for training and generating the serial port protocol based on a training result.
7. The apparatus of claim 1, wherein the data testing module comprises:
the data testing unit is used for testing 5G communication data in the 5G mobile network based on the target testing device after the service software and the server are started;
and the display unit is used for displaying the 5G communication data based on the preset control interface.
8. The apparatus of claim 1, wherein the data testing module comprises:
the test task obtaining unit is used for obtaining a first working characteristic of the service software and a second working characteristic of the server, and determining a test task of the target test device based on the first working characteristic and the second working characteristic;
the execution logic confirmation unit is used for reading the test task of the target test device and determining the execution logic corresponding to the test task;
the test unit is used for generating an execution instruction based on the execution logic corresponding to the test task, and controlling the target test device to perform test work according to the execution instruction to obtain the 5G communication network parameters;
the display unit is used for setting a test monitoring network based on the execution logic of the test task and filling the 5G communication network parameters into the test monitoring network based on the execution logic to carry out data distribution display;
the data change trend confirming unit is used for confirming the data change trend of the test data according to the data distribution display result;
the report generating unit is used for generating a 5G communication network parameter test report based on the data change trend and the data distribution display result;
the encryption unit is used for acquiring a report identifier of the 5G communication network parameter test report and determining an encryption factor for encrypting the 5G communication network parameter test report based on the report identifier;
the encryption unit is further used for encrypting the 5G communication network parameter test report based on the encryption factor;
the data storage sharing unit is used for determining the key code of the 5G communication network parameter test report based on the encryption result, and simultaneously writing the 5G communication network parameter test report into a parent node of a target block chain based on the key code;
the data storage sharing unit is further configured to determine an associated child node corresponding to the parent node based on the key code, and transmit the 5G communication network parameter test report to the associated child node;
and the data storage sharing unit is also used for storing and sharing the 5G communication network parameter test report based on the transmission result.
9. The apparatus of claim 1, wherein the evaluation module comprises:
the attribute confirming unit is used for determining the service attribute of the business software, setting a data test strategy based on the service attribute and mapping the data test strategy to a data interface of the business software;
the data test item configuration unit is used for configuring data test items for the data interface based on the data test strategy and determining the item characteristics and the item attributes in the data test items;
the test case set creating unit is used for creating a test case set according to the data test items;
the target case set extraction unit is used for determining a case extraction standard based on the item characteristics and the item attributes in the data test items, extracting cases in the test case set based on the case extraction standard, and acquiring a target case set, wherein the target case set belongs to the test case set;
the constraint condition acquisition unit is used for inputting the target case set into the target mapping and testing device for analysis and determining a constraint condition for testing the target case set;
the test unit is used for acquiring a target program segment of the target case set, inputting the target program segment into the service software for testing based on the constraint condition, and determining the operation data of the service software in the 5G communication network parameters;
the analysis unit is used for analyzing the operation data of the service software and determining the number of first cases of the test cases accurately processed by the service software;
the analysis unit is further configured to obtain a second number of instances of the target case set, where the second number of instances includes the first number of instances, and determine a target data proportion of the first number of instances to the second number of instances;
the evaluation unit is used for comparing the target data ratio with the preset ratio threshold value and judging the robust performance of the service software in the 5G network environment;
when the target data proportion is larger than the preset proportion threshold, judging that the robust performance of the service software in the 5G network environment is excellent;
when the target data proportion is equal to the preset proportion threshold, judging that the robustness of the service software in the 5G network environment is good;
when the target data proportion is smaller than the preset proportion threshold, judging that the robust performance of the service software in the 5G network environment is poor;
and the evaluation report generating unit is used for finishing the performance evaluation of the robust performance of the service software in the 5G mobile network based on the comparison result, generating an evaluation report and simultaneously transmitting the evaluation report to a target terminal based on the 5G mobile network.
10. The apparatus for simulating 5G mobile network environment by software according to claim 9, wherein the evaluation unit further comprises:
an optimization factor confirming subunit, configured to, when the robust performance of the service software in the 5G network environment is poor, read the 5G communication network parameter, and set an optimization factor based on a read result;
and the optimization subunit is used for modifying the 5G communication network parameters based on the optimization factor to realize the optimization of the robust performance of the service software in the 5G network environment.
CN202210734464.XA 2022-06-27 2022-06-27 Device for simulating 5G mobile network environment by software Active CN115243301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210734464.XA CN115243301B (en) 2022-06-27 2022-06-27 Device for simulating 5G mobile network environment by software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210734464.XA CN115243301B (en) 2022-06-27 2022-06-27 Device for simulating 5G mobile network environment by software

Publications (2)

Publication Number Publication Date
CN115243301A true CN115243301A (en) 2022-10-25
CN115243301B CN115243301B (en) 2023-03-24

Family

ID=83668578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210734464.XA Active CN115243301B (en) 2022-06-27 2022-06-27 Device for simulating 5G mobile network environment by software

Country Status (1)

Country Link
CN (1) CN115243301B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897216A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 The method and apparatus of test software
US9912573B1 (en) * 2015-02-26 2018-03-06 Amdocs Software Systems Limited System, method, and computer program for testing a network service associated with a communications network
CN109460363A (en) * 2018-11-09 2019-03-12 贵州医渡云技术有限公司 Automated testing method, device, electronic equipment and computer-readable medium
CN110366858A (en) * 2017-01-17 2019-10-22 图特拉技术有限公司 System and method for assessing wireless device and/or wireless network performance
CN112199293A (en) * 2020-10-19 2021-01-08 平安国际智慧城市科技股份有限公司 Software quality evaluation method and device, terminal equipment and storage medium
US20210173767A1 (en) * 2019-12-10 2021-06-10 Paypal, Inc. Systems and methods for testing software applications
CN113297060A (en) * 2020-05-11 2021-08-24 阿里巴巴集团控股有限公司 Data testing method and device
CN114286358A (en) * 2020-09-27 2022-04-05 大唐移动通信设备有限公司 Method, device and system for processing test data and readable storage medium
CN114630343A (en) * 2020-12-10 2022-06-14 大唐移动通信设备有限公司 Multi-type terminal-oriented 5G access network testing system and testing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9912573B1 (en) * 2015-02-26 2018-03-06 Amdocs Software Systems Limited System, method, and computer program for testing a network service associated with a communications network
CN110366858A (en) * 2017-01-17 2019-10-22 图特拉技术有限公司 System and method for assessing wireless device and/or wireless network performance
CN106897216A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 The method and apparatus of test software
CN109460363A (en) * 2018-11-09 2019-03-12 贵州医渡云技术有限公司 Automated testing method, device, electronic equipment and computer-readable medium
US20210173767A1 (en) * 2019-12-10 2021-06-10 Paypal, Inc. Systems and methods for testing software applications
CN113297060A (en) * 2020-05-11 2021-08-24 阿里巴巴集团控股有限公司 Data testing method and device
CN114286358A (en) * 2020-09-27 2022-04-05 大唐移动通信设备有限公司 Method, device and system for processing test data and readable storage medium
CN112199293A (en) * 2020-10-19 2021-01-08 平安国际智慧城市科技股份有限公司 Software quality evaluation method and device, terminal equipment and storage medium
CN114630343A (en) * 2020-12-10 2022-06-14 大唐移动通信设备有限公司 Multi-type terminal-oriented 5G access network testing system and testing method

Also Published As

Publication number Publication date
CN115243301B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN107222362B (en) Automatic test platform for finished vehicle CAN network and optimization method thereof
CN102946616B (en) Internet of things middleware performance testing system and testing method
US10454796B2 (en) Cloud based system and method for managing messages regarding cable test device operation
CN111937006B (en) System for determining performance based on entropy
CN108255725B (en) Test method and device
CN105787364B (en) Automatic testing method, device and system for tasks
WO2017000424A1 (en) Protocol detection method and apparatus
CN108092854B (en) Test method and device for train-level Ethernet equipment based on IEC61375 protocol
CN110532168B (en) Full-link interface pressure measurement method and device, computer equipment and storage medium
CN103036742B (en) Control method and system that communication apparatus batch detects
CN106874187A (en) code coverage collection method and device
CN109561106A (en) A kind of marine communication message real time parsing filter method
CN110855520B (en) Network performance test method and test device, electronic device and storage medium
CN105183630A (en) Method and device for testing application program
CN113207146B (en) Wireless communication network quality monitoring system and method
CN107293330A (en) The method and simulation checking system of simulating, verifying are carried out to random access memory ram
CN111935767B (en) Network simulation system
CN114780315A (en) Hardware simulation test method and device
CN115243301B (en) Device for simulating 5G mobile network environment by software
CN104703197A (en) Terminal protocol consistency testing platform and terminal protocol consistency testing method based on TTCN-3
CN105678456B (en) Method and system for automatically evaluating running state of electric energy metering device
RU2532714C2 (en) Method of acquiring data when evaluating network resources and apparatus therefor
CN103052098B (en) A kind of method of north orientation performance test and device
CN113645052B (en) Firmware debugging method and related equipment
CN204046617U (en) A kind of Auto-Test System for measuring ZigBee radio-frequency performance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant