WO2022007964A1 - 测试系统、方法、装置、设备及存储介质 - Google Patents
测试系统、方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2022007964A1 WO2022007964A1 PCT/CN2021/105609 CN2021105609W WO2022007964A1 WO 2022007964 A1 WO2022007964 A1 WO 2022007964A1 CN 2021105609 W CN2021105609 W CN 2021105609W WO 2022007964 A1 WO2022007964 A1 WO 2022007964A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- simulator
- terminal
- data packet
- identification information
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
Definitions
- the present application relates to the field of wireless technologies, and in particular, to a testing system, method, apparatus, device, and storage medium.
- terminals need to meet various types of service requirements, such as low-latency and high-reliability service requirements.
- multiple logical networks can be divided into an independent physical network to obtain multiple network slices, and different network slices can be used to carry different types of service data to realize end-to-end data transmission.
- the terminal cannot identify the service type, it cannot trigger the slicing function to realize end-to-end data transmission, and thus cannot test whether the slicing function of the terminal is normal. Therefore, it is urgent to find a method that can test whether the slicing function of the terminal is normal. technical solution.
- At least one embodiment of the present application provides a testing system, method, apparatus, device, and storage medium.
- a controller configured to acquire first service identification information; send the first service identification information to the terminal;
- the terminal is configured to receive the first service identification information; and based on the first service identification information, generate a service data packet matching the first service identification information; send the service data packet to a service simulation and send the service data packet to the network simulator through network slicing;
- the network simulator for receiving the service data packet; and sending the service data packet to the service simulator;
- the service simulator is used to receive the service data packets sent by the network simulator and the service data packets sent by the terminal; Compare to obtain a comparison result; based on the comparison result, test whether the slicing function of the terminal is normal.
- At least one embodiment of the present application provides a test method applied to a controller, the method comprising:
- the first service identification information is used for the terminal to generate a service data packet matching the first service identification information and send the service data packet to a service simulator, and to transfer the service through network slicing
- the data packet is sent to the network simulator;
- the service data packet is used for the network simulator to send to the service simulator, so that the service simulator can combine the service data packet sent by the network simulator with the
- the service data packets sent by the terminal are compared to obtain a comparison result, and whether the slicing function of the terminal is normal is tested based on the comparison result.
- At least one embodiment of the present application provides a test method, applied to a terminal, the method includes:
- the service data packet is used for the network simulator to send to the service simulator, to For the service simulator to compare the service data packet sent by the network simulator with the service data packet sent by the terminal to obtain a comparison result, and test whether the slicing function of the terminal is normal based on the comparison result.
- At least one embodiment of the present application provides a testing device, applied to a controller, comprising:
- a sending unit configured to send the first service identification information to a terminal; the first service identification information is used for the terminal to generate a service data packet matching the first service identification information and send the service data to the terminal.
- packet to the service simulator, and the service data packet is sent to the network simulator through network slicing; the service data packet is used for the network simulator to send to the service simulator for the service simulation.
- the device compares the service data packet sent by the network simulator with the service data packet sent by the terminal to obtain a comparison result, and tests whether the slicing function of the terminal is normal based on the comparison result.
- At least one embodiment of the present invention provides a test device, applied to a terminal, including:
- a receiving unit configured to receive the first service identification information
- a processing unit configured to generate a service data packet matching the first service identification information based on the first service identification information; send the service data packet to a service simulator, and transfer the service data through network slicing send the service data packet to the network simulator; the service data packet is used for the network simulator to send to the service simulator, so that the service simulator can send the service data packet sent by the network simulator to the terminal
- the sent service data packets are compared to obtain a comparison result, and based on the comparison result, it is tested whether the slicing function of the terminal is normal.
- the first communication interface is used to obtain first service identification information; send the first service identification information to the terminal; the first service identification information is used for the terminal to generate a service data packets and send the service data packets to the service simulator, and send the service data packets to the network simulator through network slicing; the service data packets are used for the network simulator to send to the service an emulator, for the service simulator to compare the service data packet sent by the network simulator with the service data packet sent by the terminal to obtain a comparison result, and to test whether the slicing function of the terminal is normal based on the comparison result .
- At least one embodiment of the present invention provides a terminal, including:
- a second communication interface configured to receive the first service identification information
- a second processor configured to generate a service data packet matching the first service identification information based on the first service identification information; send the service data packet to a service simulator, and send the service data packet to the service simulator through network slicing
- the service data packet is sent to the network simulator; the service data packet is used for the network simulator to send to the service simulator, so that the service simulator can send the service data packet sent by the network simulator and all
- the service data packets sent by the terminal are compared to obtain a comparison result, and based on the comparison result, it is tested whether the slicing function of the terminal is normal.
- At least one embodiment of the present invention provides a controller comprising a first processor and a first memory for storing a computer program executable on the processor,
- At least one embodiment of the present invention provides a terminal comprising a second processor and a second memory for storing a computer program executable on the processor,
- the second processor is configured to execute the steps of the above terminal-side method when running the computer program.
- At least one embodiment of the present invention provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any of the aforementioned methods on the controller side, or implements any of the aforementioned methods on the terminal side. steps of the method.
- the test system includes: a controller for acquiring first service identification information; sending the first service identification information to a terminal; the a terminal, configured to receive the first service identification information; and based on the first service identification information, generate a service data packet matching the first service identification information; send the service data packet to the service simulator, and send the service data packet to the network simulator through network slicing; the network simulator is used to receive the service data packet; and send the service data packet to the service simulator; the service simulator, for receiving the service data packet sent by the network simulator and the service data packet sent by the terminal; comparing the service data packet sent by the network simulator and the service data packet sent by the terminal to obtain a comparison result; Based on the comparison result, test whether the slicing function of the terminal is normal.
- the terminal can acquire the first service identification information from the controller, generate a service data packet matching the first service identification information, and send the generated service data packet to the service simulator , and send the service data packet to the network simulator through the network slice; the network simulator sends the service data packet transmitted by the terminal through the network slice to the service simulator, so that the service simulator can send the service data packet sent by the terminal and The data packets sent by the network simulator are compared, and the comparison results are obtained. Based on the comparison results, test whether the slicing function of the terminal is normal. In this way, the problem that the terminal cannot trigger the slicing function when the terminal cannot identify the service type can be avoided. It is ensured that the terminal can realize end-to-end data transmission, so as to test whether the slicing function of the terminal is normal.
- Fig. 1 is the composition structure schematic diagram of the test system of the embodiment of the present application.
- FIG. 2 is a schematic diagram of a specific composition structure of a test system according to an embodiment of the present application.
- FIG. 3 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of a slicing function of a terminal according to an embodiment of the present application.
- Fig. 5 is the implementation flow schematic diagram 1 of the test method of the embodiment of the present application.
- Fig. 6 is the realization flow schematic diagram 2 of the test method of the embodiment of the present application.
- FIG. 7 is a schematic diagram of an implementation flow of a terminal generating a service data packet according to an embodiment of the present application.
- FIG. 8 is a schematic flowchart of an implementation of a slicing function of a test terminal according to an embodiment of the present application.
- FIG. 9 is a schematic diagram 1 of the composition structure of the test device according to the embodiment of the present application.
- FIG. 10 is a second schematic diagram of the composition and structure of the test device according to the embodiment of the present application.
- FIG. 11 is a schematic diagram 1 of the composition structure of the controller according to the embodiment of the present application.
- FIG. 12 is a second schematic diagram of the composition and structure of a terminal according to an embodiment of the present application.
- terminals need to meet various types of service requirements, such as low-latency and high-reliability service requirements.
- service requirements such as low-latency and high-reliability service requirements.
- multiple logical sub-networks with different characteristics can be virtualized based on a physical network to provide on-demand customized network services for different application scenarios.
- different network slices are isolated from each other and do not affect each other.
- the terminal cannot identify the service type, the slicing function cannot be triggered to enable end-to-end data transmission. Therefore, it is urgent to find a technical solution that can test whether the slicing function of the terminal is normal.
- the testing system includes: a controller, configured to acquire first service identification information; send the first service identification information to a terminal; and the terminal, configured to receive the first service identification information service identification information; and based on the first service identification information, generate a service data packet matching the first service identification information; send the service data packet to the service simulator, and use the network slice to transfer the service data Send the packet to the network simulator; the network simulator is used for receiving the service data packet; and the service data packet is sent to the service simulator; the service simulator is used for receiving the transmission from the network simulator compare the service data packet sent by the network simulator with the service data packet sent by the terminal to obtain a comparison result; based on the comparison result, test the Whether the slicing function of the terminal is normal.
- the embodiment of the present application provides a test system, as shown in FIG. 1 , the system includes:
- the controller 11 is used for acquiring first service identification information; sending the first service identification information to the terminal 12;
- the terminal 12 is configured to receive the first service identification information; and based on the first service identification information, generate a service data packet matching the first service identification information; send the service data packet to the service The simulator 14, and sends the service data packet to the network simulator 13 through network slicing;
- the network simulator 13 is configured to receive the service data packet; and send the service data packet to the service simulator 14;
- the service simulator 14 is configured to receive the service data packets sent by the network simulator 13 and the service data packets sent by the terminal 12; Compare the service data packets of the terminal 12 to obtain a comparison result; based on the comparison result, test whether the slicing function of the terminal 12 is normal.
- the first service identification information may include information such as a service name, a service identification type, and a service identification value.
- the service simulator 14 compares the service data packets sent by the network simulator 13 with the service data packets sent by the terminal 12 to obtain a comparison result; when the comparison result indicates that the network simulator 13 sends When the service data packet sent by the terminal 12 is the same as the service data packet sent by the terminal 12, test that the slicing function of the terminal 12 is normal; when the comparison result indicates that the service data packet sent by the network simulator 13 is the same as that sent by the terminal 12 When the service data packets are different, the slicing function of the terminal 12 is tested for abnormality.
- the service simulator 14 may be independent of the controller 11 , or may be integrated in the controller 11 .
- the terminal 12 may include an application simulator, an operating system and a communication unit; wherein, the application simulator may be used to receive the first service identification information, and based on the first service identification information, Generate a service data packet matching the first service identification information; if the application simulator can identify the service type corresponding to the first service identification information, directly generate a service data packet matching the first service identification information. service data package; if the application simulator cannot identify the service type corresponding to the first service identification information, convert the first service identification information to obtain second service identification information, and generate a The service data packet that matches the second service identification information.
- the terminal 12 includes an application simulator 121, an operating system 122, and a communication unit 123;
- the application simulator 121 is configured to receive the first service identification information; determine whether the first service identification information satisfies a preset condition; when it is determined that the first service identification information does not meet the preset condition, The first service identification information is converted into second service identification information; a service data packet matching the second service identification information is generated; and the service data packet is sent to the operating system 122 and the communication unit 123 .
- the fact that the first service identification information does not meet the preset condition may refer to that the first service identification information does not meet the predefined service identification rules, for example, the format of the service identification type in the first service identification information is not Complies with the format defined in the business identity rules.
- the application simulator 121 is further configured to generate a service data packet matching the first service identification information when it is determined that the first service identification information satisfies a preset condition; send the service data packet to the operating system and communication unit.
- the first service identification information may include a service name, a service identification type, and a service identification value;
- the service identification type may include an application program (APP, Application) identification (ID, Identity Document), an Internet interconnection protocol (IP , Internet Protocol) triplet, fully qualified domain name (FQDN, Fully Qualified Domain Name)), deep neural network (DNN, Deep Neural Networks), connection capability, Non-IP, etc., as shown in Table 1.
- APP Application program
- ID Internet interconnection protocol
- IP Internet Protocol
- FQDN Fully Qualified Domain Name
- DNN Deep Neural Networks
- connection capability Non-IP, etc.
- the controller 11 can generate a network slice configuration scheme according to the service requirements that the terminal 12 needs to meet; the network slice configuration scheme represents the mapping relationship between services and network slices; the controller 11 can The name, service identification type, and identification value corresponding to one or more services are selected from the slice configuration scheme to form the first service identification information, and the first service identification information is sent to the terminal.
- the controller 11 is specifically configured to: generate a network slice configuration scheme according to test requirements; the network slice configuration scheme represents the corresponding relationship between service identification information and network slice identification information; The network slicing configuration scheme determines the first service identification information.
- the correspondence between the service identifier information and the network slice identifier information may be associated with services, service identifier types, service identifier values, slice identifiers, protocol data unit (PDU, Protocol Data Unit) sessions, and quality of service (QoS, Quality of Service) corresponding to the PDU.
- ServiceQoS quality of service
- the slice identifier may include slice type (SST, Slice/Servive Type) and SD.
- Table 2 is a schematic diagram of a slice configuration scheme generated by the controller 11, and Table 2 is a schematic diagram of a service identification type. As shown in Table 2, the controller 11 may form the first service identification information with the service name as service A, the service identification type as APP_ID, and the service identification value as 'APP1'.
- the network slice matching the service data packet can be used between the network simulator 13 and the terminal 12 to carry the service data packet.
- the network simulator 13 and the terminal 12 It is necessary to clarify the mapping relationship between services and network slices. Therefore, the controller 11 can send the generated mapping relationship between services and network slices to the network simulator 13, and the network simulator 13 sends the mapping relationship to the terminal. 14; or, the controller 11 pre-configures the generated mapping relationship between services and network slices to the terminal 14, and the terminal 14 stores it in the subscriber identification module card.
- controller 11 is further configured to send the network slice configuration scheme to the network simulator 13;
- the network simulator 13 is further configured to receive the network slice configuration scheme; and send the received network slice configuration scheme to the terminal 12;
- the sending the service data packet to the network simulator through network slicing further includes:
- the terminal 12 receives the slice configuration scheme; uses the slice configuration scheme to map the service data packet to a corresponding network slice, and sends the service data packet to the network simulator 13 through the network slice.
- the network simulator 13 can send the slice configuration scheme to the terminal 12 in one of the following ways:
- the network simulator 13 sends a call message to the terminal 12; after receiving a response message for the call message sent by the terminal 12, it sends the slice configuration scheme to the terminal 12;
- the network simulator 13 After receiving the first request sent by the terminal 12, the network simulator 13 sends the slice configuration scheme to the terminal 12; the first request is for requesting to establish a connection with the network simulator;
- the network simulator 13 After receiving the second request sent by the terminal, the network simulator 13 sends the slice configuration scheme to the terminal 12; the second request is used to request to obtain the slice configuration scheme.
- the network simulator 13 may send the slice configuration scheme to the terminal 12 through signaling.
- the main controller corresponds to the controller 11
- the terminal under test corresponds to the terminal 12
- the network simulator corresponds to the network simulator 13
- the service platform simulator corresponds to the service simulator 14 .
- FIG 2 is a schematic diagram of the composition of the test system, as shown in Figure 2, the test system includes:
- a main controller configured to generate a network slice configuration scheme according to test requirements; the network slice configuration scheme represents the corresponding relationship between service identification information and network slice identification information; and the first service identification information is determined by using the network slice configuration scheme ; Send the first service identification information to the terminal under test; also be used to send the network slicing configuration scheme to the network simulator;
- a network simulator configured to receive the network slice configuration scheme; and send the received network slice configuration scheme to the terminal under test;
- the terminal under test includes an application simulator, an operating system and a communication unit; wherein, the application simulator is used for receiving the first service identification information; and judging whether the first service identification information satisfies a preset condition; When it is determined that the first service identification information does not meet the preset conditions, the first service identification information is converted into the second service identification information; a service data packet matching the second service identification information is generated; When the first service identification information satisfies a preset condition, a service data packet matching the first service identification information is generated; and the generated service data packet is sent to the operating system and the communication unit.
- the communication unit is configured to receive the slice configuration scheme sent by the network simulator, and send the slice configuration scheme to the operating system.
- the operating system is configured to use the slice configuration scheme to determine a network slice that matches the service data packet, map the service data packet to the network slice, and send the service data packet through the network slice to the network simulator; the operating system is further configured to send the service data packet to the service platform simulator through a network transmission protocol.
- a service platform simulator configured to receive the service data packets sent by the network simulator and the service data packets sent by the terminal; compare the service data packets sent by the network simulator with the service data packets sent by the terminal , obtain a comparison result; when the comparison result indicates that the service data packet sent by the network simulator and the service data packet sent by the terminal under test are the same, it is tested that the slicing function of the terminal under test is normal; when the comparison The result indicates that when the service data packet sent by the network simulator and the service data packet sent by the terminal under test are different, it is tested that the slicing function of the terminal under test is abnormal.
- the service platform simulator may also receive a request sent by other terminals for acquiring service data packets, and send the service data packets to the corresponding terminal to form closed-loop transmission of service data.
- the service platform simulator can perform data communication with the application simulator of the terminal, and may not provide real video resources and so on.
- test system has the following advantages:
- the main controller can transmit the first service identification information to the terminal under test. Compared with the method of transmitting the service identification information through the application program provided by the third-party application developer in the related art, it can avoid the situation where the terminal cannot identify the service type. In this case, the terminal cannot trigger the occurrence of the problem of enabling the slicing function, so as to ensure that the terminal can realize end-to-end data transmission, and then can test whether the slicing function of the terminal is normal.
- the test is simple and efficient, and the test cost is low. That is, the service data packet is generated by the application simulator of the terminal, and the service data packet is sent to the network simulator and the platform simulator, and the service platform simulator performs the test of the terminal slicing capability.
- the construction of the test environment is not complicated, the test cost is low, the number of network elements involved is small, a lot of coordination work is not required, and the test success rate is high.
- the terminal 12 includes an application simulator 121 , an operating system 122 and a communication unit 123 ; wherein,
- the application simulator 121 is used to obtain the first service identification information sent by the controller 11; when the first service identification information complies with the predefined service identification rules, it generates a matching service identification information with the first service identification information.
- service data package when the first service identification information does not conform to the predefined service identification rules, convert the first service identification information into second service identification information that conforms to the service identification rules, and generate a The service data packet that matches the second service identification information.
- the operating system 122 is configured to map the service data packets to corresponding network slices.
- the first service identifier information corresponding to the service data packet is obtained from the application simulator 121; the network slice configuration scheme is obtained from the communication unit, and a routing strategy (URSP, UE Routing Selection Strategy) configured in the network slice configuration scheme is obtained. ), determine the network slice corresponding to the first service identification information; map the service data packet to the network slice, and send the service data packet to the network simulator through the network slice.
- the mapping relationship between service data packets and network slices may be established at the operating system or at the communication protocol level.
- the communication unit 123 is configured to receive the slice configuration scheme from the network simulator through slice-related protocol signaling, and send the received network slice configuration scheme to the operating system 122; it is also used to communicate with the access network and the core network. To interact, establish a mapping relationship between network slices and radio bearers by establishing a PDU session.
- the operating system and the communication unit can determine whether the terminal has the slicing capability, and are the test objects to verify whether the slicing capability of the terminal is normal.
- the application program simulator of the terminal may acquire the first service identification information from the controller, and generate service data matching the first service identification information The service data packet is sent to the service simulator, and the service data packet is sent to the network simulator through network slicing; the service simulator tests the slicing function of the terminal, thereby ensuring the stability of the test results.
- the terminal can acquire the first service identification information from the controller, generate a service data packet matching the first service identification information, and send the generated service data packet to the service simulator , and send the service data packet to the network simulator through the network slice; the network simulator sends the service data packet transmitted by the terminal through the network slice to the service simulator, so that the service simulator can send the service data packet sent by the terminal and Compare the data packets sent by the network simulator to obtain the comparison result, and test whether the slicing function of the terminal is normal based on the comparison result.
- the service simulator can compare the service data packets sent by the terminal with the data packets sent by the network simulator, and obtain The comparison result is used to test whether the slicing function of the terminal is normal based on the comparison result.
- the problem that the terminal cannot trigger the slicing function to be enabled when the terminal cannot identify the service type can be avoided, thereby ensuring that the terminal can realize end-to-end data transmission, and then It can test whether the slicing function of the terminal is normal.
- the embodiment of the present application also provides a test method, which is applied to the controller, as shown in FIG. 5 , the method includes:
- Step 501 Obtain first service identification information
- Step 502 Send the first service identification information to the terminal
- the first service identification information is used for the terminal to generate a service data packet matching the first service identification information and send the service data packet to a service simulator, and to transfer the service through network slicing
- the data packet is sent to the network simulator;
- the service data packet is used for the network simulator to send to the service simulator, so that the service simulator can combine the service data packet sent by the network simulator with the
- the service data packets sent by the terminal are compared to obtain a comparison result, and whether the slicing function of the terminal is normal is tested based on the comparison result.
- the controller can generate a slice configuration scheme representing the mapping relationship between services and network slices according to the service requirements that the terminal needs to meet; and select a name corresponding to a service, The type and identification value are sent to the terminal as the first service identification information.
- the obtaining the first service identification information includes:
- a network slice configuration scheme is generated according to test requirements; the network slice configuration scheme represents the correspondence between service identification information and network slice identification information; and the first service identification information is determined by using the network slice configuration scheme.
- the controller may send the slice configuration scheme to the terminal through the network simulator; or, the controller may pre-configure the generated mapping relationship between services and network slices to the terminal, and the The terminal is stored in the subscriber identity module card.
- the method further includes:
- the network slice configuration scheme is used for the terminal to map the service data packet to a corresponding network slice, and send the service data packet to the network simulator through the network slice.
- the controller sends the first service identification information to the terminal, so that the terminal can generate a service matching the first service identification information based on the first service identification information data packets, respectively send the generated service data packets to the service simulator, and send the service data packets to the network simulator through the network slice;
- the network simulator sends the service data packets transmitted by the terminal through the network slice to the service simulator , so that the service simulator can compare the service data packets sent by the terminal with the data packets sent by the network simulator, obtain the comparison result, and test whether the slicing function of the terminal is normal based on the comparison result.
- the terminal cannot trigger the occurrence of the problem of enabling the slicing function, so as to ensure that the terminal can realize end-to-end data transmission, and then can test whether the slicing function of the terminal is normal.
- the embodiment of the present application also provides a test method, which is applied to a terminal. As shown in FIG. 6 , the method includes:
- Step 601 Receive the first service identification information sent by the controller
- Step 602 based on the first service identification information, generate a service data packet matching the first service identification information;
- Step 603 Send the service data packet to the service simulator, and send the service data packet to the network simulator through network slicing;
- the service data packet is used for the network simulator to send to the service simulator, so that the service simulator can send the service data packet sent by the network simulator and the service data packet sent by the terminal
- a comparison result is obtained by comparison, and whether the slicing function of the terminal is normal is tested based on the comparison result.
- the terminal may include an application simulator, an operating system, and a communication unit; wherein, the application simulator may be used to receive the first service identification information, and generate the first service identification information based on the first service identification information.
- a service data package that matches the first service identification information; if the application simulator can identify the service type corresponding to the first service identification information, the application simulator directly generates and matches the first service identification information.
- the terminal includes an application simulator, an operating system, and a communication unit; the method further includes:
- the application simulator of the terminal receives the first service identification information; judges whether the first service identification information satisfies the preset condition; when it is determined that the first service cancellation identification information does not meet the preset condition, converting the first service identification information into second service identification information; generating a service data packet matching the second service identification information; and sending the service data packet to the operating system and the communication unit of the terminal.
- Step 701 the first service identification information sent by the controller to the terminal;
- Step 702 the terminal obtains the first service identification information; determines whether the first service identification information satisfies a preset condition; when it is determined that the first service cancellation identification information does not meet the preset condition, execute step 703; When it is determined that the first service cancellation identification information satisfies the preset condition, perform step 704;
- Step 703 the terminal converts the first service identification information into the second service identification information; Generate a service data packet matching with the second service identification information;
- Step 704 The terminal generates a service data packet matching the first service identification information.
- the application simulator of the terminal can send the generated service data packet to the operating system and the communication unit, the operating system maps the service data packet to the network slice, and the service data packet is sent to the network slice through the network slice.
- the terminal generates a service data packet based on the first service identification information sent by the controller, which has the following advantages:
- the terminal can obtain the first service identification information from the controller, generate a service data packet matching the first service identification information, send the generated service data packet to the service simulator, and transfer the service through network slicing.
- the data packet is sent to the network simulator; the network simulator sends the service data packet transmitted by the terminal through the network slice to the service simulator, so that the service simulator can compare the service data packet sent by the terminal and the data packet sent by the network simulator , obtain the comparison result, and test whether the slicing function of the terminal is normal based on the comparison result.
- the problem that the terminal cannot trigger the opening of the slicing function when the terminal cannot identify the service type can be avoided, thereby ensuring that the terminal can realize end-to-end data transmission. , so as to test whether the slicing function of the terminal is normal.
- a network slice matching the service data packet needs to be used between the network simulator and the terminal to carry the service data packet.
- both the network simulator and the terminal need to specify the service data packet.
- the mapping relationship with the network slice therefore, the controller can send the generated mapping relationship between the service and the network slice to the network simulator, and the network simulator sends it to the terminal, or the controller
- the generated mapping relationship between services and network slices is preconfigured to the terminal, and the terminal stores it in the subscriber identification module card.
- the sending the service data packet to the network simulator through network slicing includes:
- the slice configuration scheme is sent by the controller to the network simulator;
- the service data packet is mapped to a corresponding network slice, and the service data packet is sent to the network simulator through the network slice.
- Step 801 The controller generates a network slice configuration scheme according to test requirements; uses the network slice configuration scheme to determine the first service identification information; and sends the first service identification information to a terminal.
- the network slice configuration scheme represents the corresponding relationship between service identification information and network slice identification information
- Step 802 the controller sends the network slice configuration scheme to the network simulator
- step 801 and step 802 is not in any particular order, and may be executed in series or in parallel.
- Step 803 the network simulator receives the network slice configuration scheme; and sends the received network slice configuration scheme to the terminal;
- Step 804 the terminal receives the first service identification information; and based on the first service identification information, generates a service data packet matching the first service identification information; sends the service data packet to a service simulation device;
- Step 805 The terminal receives the slice configuration scheme; uses the slice configuration scheme to map the service data packet to a corresponding network slice, and sends the service data packet to a network simulator through the network slice ;
- Step 806 the network simulator sends the service data packet to the service simulator
- Step 807 The service simulator receives the service data packets sent by the network simulator and the service data packets sent by the terminal; and performs the service data packets sent by the network simulator and the service data packets sent by the terminal. Compare to obtain a comparison result; based on the comparison result, test whether the slicing function of the terminal is normal.
- the provided method for testing the slicing function of the terminal has the following advantages:
- the terminal can obtain the first service identification information from the controller, generate a service data packet matching the first service identification information, send the generated service data packet to the service simulator, and transfer the service through network slicing.
- the data packet is sent to the network simulator; the network simulator sends the service data packet transmitted by the terminal through the network slice to the service simulator, so that the service simulator can compare the service data packet sent by the terminal and the data packet sent by the network simulator , obtain the comparison result, and test whether the slicing function of the terminal is normal based on the comparison result.
- the problem that the terminal cannot trigger the opening of the slicing function when the terminal cannot identify the service type can be avoided, thereby ensuring that the terminal can realize end-to-end data transmission. , so as to test whether the slicing function of the terminal is normal.
- FIG. 9 is a schematic structural diagram of the test device of the embodiment of the present application; as shown in FIG. 9 , the device include:
- an obtaining unit 91 configured to obtain first service identification information
- a sending unit 92 configured to send the first service identification information to the terminal
- the first service identification information is used for the terminal to generate a service data packet matching the first service identification information and send the service data packet to a service simulator, and to transfer the service through network slicing
- the data packet is sent to the network simulator;
- the service data packet is used for the network simulator to send to the service simulator, so that the service simulator can combine the service data packet sent by the network simulator with the
- the service data packets sent by the terminal are compared to obtain a comparison result, and whether the slicing function of the terminal is normal is tested based on the comparison result.
- the obtaining unit 91 is specifically configured to:
- the network slice configuration scheme represents the corresponding relationship between the service identification information and the network slice identification information
- the first service identification information is determined.
- the sending unit 92 is further configured to:
- the network slice configuration scheme is used for the terminal to map the service data packet to a corresponding network slice, and send the service data packet to the network simulator through the network slice.
- the acquiring unit 91 and the sending unit 92 may be implemented by a communication interface in the testing device.
- test device when the test device provided in the above-mentioned embodiment performs the test, only the division of the above-mentioned program modules is used as an example.
- the internal structure is divided into different program modules to complete all or part of the processing described above.
- the testing device and the testing method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
- FIG. 10 is a schematic diagram of the composition and structure of the test device of the embodiment of the present application; as shown in FIG. 10 , the device includes: :
- a receiving unit 101 configured to receive the first service identification information sent by the controller
- a processing unit 102 configured to generate a service data packet matching the first service identification information based on the first service identification information
- the service data packet is used for the network simulator to send to the service simulator, to For the service simulator to compare the service data packet sent by the network simulator with the service data packet sent by the terminal to obtain a comparison result, and test whether the slicing function of the terminal is normal based on the comparison result.
- the terminal includes an application simulator, an operating system, and a communication unit; the processing unit 102 is further configured to:
- the receiving unit 101 is further configured to:
- the slice configuration scheme is sent by the controller to the network simulator;
- the service data packet is mapped to a corresponding network slice, and the service data packet is sent to the network simulator through the network slice.
- the receiving unit 101 can be realized by a communication interface in the test device; the processing unit 102 can be realized by a processor in the test device.
- test device when the test device provided in the above-mentioned embodiment performs the test, only the division of the above-mentioned program modules is used as an example.
- the internal structure is divided into different program modules to complete all or part of the processing described above.
- the testing device and the testing method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
- the embodiment of the present application also provides a controller, as shown in FIG. 11 , including:
- the first communication interface 111 capable of information interaction with other devices
- the first processor 112 is connected to the first communication interface 111, and is configured to execute the method provided by one or more technical solutions on the smart device side when running the computer program. And the computer program is stored on the first memory 113 .
- bus system 114 is used to implement the connection communication between these components.
- bus system 114 also includes a power bus, a control bus, and a status signal bus.
- the various buses are labeled as bus system 114 in FIG. 11 .
- the first memory 113 in this embodiment of the present application is used to store various types of data to support the operation of the controller 110 .
- Examples of such data include: any computer program used to operate on the controller 110 .
- the methods disclosed in the above embodiments of the present application may be applied to the first processor 112 or implemented by the first processor 112 .
- the first processor 112 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the first processor 112 or an instruction in the form of software.
- the above-mentioned first processor 112 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
- the first processor 112 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application.
- a general purpose processor may be a microprocessor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
- the software module may be located in a storage medium, and the storage medium is located in the first memory 113, and the first processor 112 reads the information in the first memory 113 and completes the steps of the foregoing method in combination with its hardware.
- the embodiment of the present application also provides a terminal, as shown in FIG. 12 , including:
- the second communication interface 121 is capable of information interaction with other devices
- the second processor 122 is connected to the second communication interface 121, and is configured to execute the method provided by one or more technical solutions on the smart device side when running the computer program. And the computer program is stored on the second memory 123 .
- bus system 124 is used to implement the connection communication between these components.
- bus system 124 also includes a power bus, a control bus, and a status signal bus.
- the various buses are labeled as bus system 124 in FIG. 12 .
- the second memory 123 in the embodiment of the present application is used to store various types of data to support the operation of the terminal 120 .
- Examples of such data include: any computer program used to operate on the terminal 120 .
- the methods disclosed in the above embodiments of the present application may be applied to the second processor 122 or implemented by the second processor 122 .
- the second processor 122 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method may be completed by an integrated logic circuit of hardware in the second processor 122 or an instruction in the form of software.
- the above-mentioned second processor 122 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
- the second processor 122 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application.
- a general purpose processor may be a microprocessor or any conventional processor or the like. In conjunction with the steps of the methods disclosed in the embodiments of the present application, it can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
- the software module may be located in a storage medium, and the storage medium is located in the second memory 123, and the second processor 122 reads the information in the second memory 123, and completes the steps of the foregoing method in combination with its hardware.
- the controller 110 and the terminal 120 may be implemented by one or more Application Specific Integrated Circuit (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), complex programmable logic Device (CPLD, Complex Programmable Logic Device), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), General Purpose Processor, Controller, Micro Controller (MCU, Micro Controller Unit), Microprocessor (Microprocessor), Or other electronic components are implemented for performing the aforementioned method.
- ASIC Application Specific Integrated Circuit
- DSP Programmable Logic Device
- PLD Programmable Logic Device
- CPLD Complex Programmable Logic Device
- FPGA Field Programmable Gate Array
- General Purpose Processor Controller
- MCU Micro Controller
- Micro Controller Unit Micro Controller Unit
- Microprocessor Microprocessor
- the memories (the first memory 113 and the second memory 123 ) in this embodiment of the present application may be volatile memories or non-volatile memories, and may also include both volatile and non-volatile memories.
- the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be disk memory or tape memory.
- RAM Random Access Memory
- SRAM Static Random Access Memory
- SSRAM Synchronous Static Random Access Memory
- DRAM Dynamic Random Access Memory
- SDRAM Synchronous Dynamic Random Access Memory
- DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
- ESDRAM Enhanced Type Synchronous Dynamic Random Access Memory
- SLDRAM Synchronous Link Dynamic Random Access Memory
- DRRAM Direct Rambus Random Access Memory
- an embodiment of the present application further provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 113 that stores a computer program, and the above-mentioned computer program can be controlled by the controller 110
- the first processor 112 executes the steps described in the foregoing method of controlling the server side.
- the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种测试系统、方法、装置、设备及存储介质。其中,所述系统包括:控制器,用于获取第一业务标识信息;将第一业务标识信息发送给终端;终端,用于接收所述第一业务标识信息;并基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;网络模拟器,用于接收所述业务数据包;并将所述业务数据包发送给业务模拟器;业务模拟器,用于接收所述网络模拟器发送的业务数据包和所述终端发送的业务数据包;将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较,得到比较结果;基于比较结果,测试终端的切片功能是否正常。
Description
相关申请的交叉引用
本申请基于申请号为202010665092.0、申请日为2020年07月10日的中国专利申请的主动修改申请文件提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引入的方式引入本申请。
本申请涉及无线技术领域,尤其涉及一种测试系统、方法、装置、设备及存储介质。
随着移动网络技术和终端技术的快速发展,终端需要满足多种类型的业务需求,如低时延、高可靠性的业务需求。为了满足不同类型的业务需求,可以在一个独立的物理网络中切分出多个逻辑网络,得到多个网络切片,利用不同的网络切片承载不同类型的业务数据,实现端到端的数据传输。但是,终端在无法识别业务类型的情况下,无法触发开启切片功能实现端到端的数据传输,也就无法测试终端的切片功能是否正常,因此,亟需找到一种能够测试终端的切片功能是否正常的技术方案。
发明内容
本申请的至少一个实施例提供了一种测试系统、方法、装置、设备及存储介质。
本申请的至少一个实施例提供了一种测试系统,所述系统包括:
控制器,用于获取第一业务标识信息;将所述第一业务标识信息发送给终端;
所述终端,用于接收所述第一业务标识信息;并基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模 拟器;
所述网络模拟器,用于接收所述业务数据包;并将所述业务数据包发送给业务模拟器;
所述业务模拟器,用于接收所述网络模拟器发送的业务数据包和所述终端发送的业务数据包;将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较,得到比较结果;基于所述比较结果,测试所述终端的切片功能是否正常。
本申请的至少一个实施例提供一种测试方法,应用于控制器,所述方法包括:
获取第一业务标识信息;
将所述第一业务标识信息发送给终端;
其中,所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
本申请的至少一个实施例提供一种测试方法,应用于终端,所述方法包括:
接收控制器发送的第一业务标识信息;
基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;
将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
本申请的至少一个实施例提供一种测试装置,应用于控制器,包括:
获取单元,用于获取第一业务标识信息;
发送单元,用于将所述第一业务标识信息发送给终端;所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
本发明的至少一个实施例提供一种测试装置,应用于终端,包括:
接收单元,用于接收所述第一业务标识信息;
处理单元,用于基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
本发明的至少一个实施例提供一种控制器,包括:
第一处理器,
第一通信接口,用于获取第一业务标识信息;将所述第一业务标识信息发送给终端;所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
本发明的至少一个实施例提供一种终端,包括:
第二通信接口,用于接收所述第一业务标识信息;
第二处理器,用于基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供 所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
本发明的至少一个实施例提供一种控制器,包括第一处理器和用于存储能够在处理器上运行的计算机程序的第一存储器,
其中,所述第一处理器用于运行所述计算机程序时,执行上述控制器侧所述方法的步骤。
本发明的至少一个实施例提供一种终端,包括第二处理器和用于存储能够在处理器上运行的计算机程序的第二存储器,
其中,所述第二处理器用于运行所述计算机程序时,执行上述终端侧方法的步骤。
本发明的至少一个实施例提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述控制器侧任一所述方法的步骤,或者实现终端侧任一所述方法的步骤。
本申请实施例提供的测试系统、方法、装置、设备及存储介质,所述测试系统包括:控制器,用于获取第一业务标识信息;将所述第一业务标识信息发送给终端;所述终端,用于接收所述第一业务标识信息;并基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述网络模拟器,用于接收所述业务数据包;并将所述业务数据包发送给业务模拟器;所述业务模拟器,用于接收所述网络模拟器发送的业务数据包和所述终端发送的业务数据包;将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较,得到比较结果;基于所述比较结果,测试所述终端的切片功能是否正常。采用本申请实施例的技术方案,所述终端能够从控制器获取第一业务标识信息,并生成与所述第一业务标识信息匹配的业务数据包,将生成的业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;网络模拟器将终端通过网络切片传输的业务数据包发送给业务模拟器,如此,业务模拟器可以将终端发送的业务数据包和网络模拟器发送的数据包进行比 较,得到比较结果,基于比较结果测试终端的切片功能是否正常,如此,能够避免在终端无法识别业务类型的情况下导致终端无法触发开启切片功能问题的发生,从而保证终端能够实现端到端的数据传输,进而能够测试出终端的切片功能是否正常。
图1是本申请实施例测试系统的组成结构示意图;
图2是本申请实施例测试系统的具体组成结构示意图;
图3是本申请实施例终端的组成结构示意图;
图4是本申请实施例终端的切片功能的示意图;
图5是本申请实施例测试方法的实现流程示意图一;
图6是本申请实施例测试方法的实现流程示意图二;
图7是本申请实施例终端生成业务数据包实现流程示意图;
图8是本申请实施例测试终端的切片功能的实现流程示意图;
图9是本申请实施例测试装置的组成结构示意图一;
图10是本申请实施例测试装置的组成结构示意图二;
图11是本申请实施例控制器的组成结构示意图一;
图12是本申请实施例终端的组成结构示意图二。
在对本申请实施例的技术方案进行介绍之前,先对相关技术进行说明。
相关技术中,随着移动网络技术和终端技术的快速发展,终端需要满足多种类型的业务需求,如低时延、高可靠性的业务需求。为了满足不同类型的业务需求,可以通过将网络资源灵活分配、网络能力灵活组合,基于一张物理网络虚拟出多个具备不同特性的逻辑子网络,提供面向不同应用场景的按需定制的网络服务,不同网络切片之间相互隔离,互不影响。但是,终端在无法识别业务类型的情况下,无法触发开启切片功能实现端到端的数据传输,因此,亟需找到一种能够测试终端的切片功能是否正常的技术方案。
基于此,本申请实施例中,所述测试系统包括:控制器,用于获取第一业务标识信息;将所述第一业务标识信息发送给终端;所述终端,用于接收所述第一业务标识信息;并基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述网络模拟器,用于接收所述业务数据包;并将所述业务数据包发送给业务模拟器;所述业务模拟器,用于接收所述网络模拟器发送的业务数据包和所述终端发送的业务数据包;将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较,得到比较结果;基于所述比较结果,测试所述终端的切片功能是否正常。
下面结合附图及实施例对本申请再作进一步详细的描述。
本申请实施例提供了一种测试系统,如图1所示,所述系统包括:
控制器11,用于获取第一业务标识信息;将所述第一业务标识信息发送给终端12;
所述终端12,用于接收所述第一业务标识信息;并基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器14,并通过网络切片将所述业务数据包发送给网络模拟器13;
所述网络模拟器13,用于接收所述业务数据包;并将所述业务数据包发送给业务模拟器14;
所述业务模拟器14,用于接收所述网络模拟器13发送的业务数据包和所述终端12发送的业务数据包;将所述网络模拟器13发送的业务数据包和所述终端12发送的业务数据包进行比较,得到比较结果;基于所述比较结果,测试所述终端12的切片功能是否正常。
这里,所述第一业务标识信息可以包含业务名称、业务标识类型、业务标识值等信息。
这里,所述业务模拟器14将所述网络模拟器13发送的业务数据包和所述终端12发送的业务数据包进行比较,得到比较结果;当所述比较结果表征所述网络模拟器13发送的业务数据包和所述终端12发送的业务数据 包相同时,测试所述终端12的切片功能正常;当所述比较结果表征所述网络模拟器13发送的业务数据包和所述终端12发送的业务数据包不同时,测试所述终端12的切片功能异常。
这里,所述业务模拟器14可以独立于所述控制器11,也可以集成在所述控制器11中。
实际应用时,所述终端12可以包括应用程序模拟器、操作系统和通信单元;其中,所述应用程序模拟器可以用于接收所述第一业务标识信息,基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;若所述应用程序模拟器能够识别出所述第一业务标识信息对应的业务类型,则直接生成与所述第一业务标识信息匹配的业务数据包;若所述应用程序模拟器不能够识别出所述第一业务标识信息对应的业务类型,则对所述第一业务标识信息进行转换得到第二业务标识信息,并生成与所述第二业务标识信息匹配的业务数据包。
基于此,在一实施例中,所述终端12包括应用程序模拟器121、操作系统122、通信单元123;
所述应用程序模拟器121,用于接收所述第一业务标识信息;判断所述第一业务标识信息是否满足预设条件;当确定所述第一业务标识信息未满足预设条件时,将所述第一业务标识信息转换为第二业务标识信息;生成与所述第二业务标识信息匹配的业务数据包;将所述业务数据包发送给所述操作系统122和通信单元123。
其中,所述第一业务标识信息未满足预设条件可以是指所述第一业务标识信息不符合预定义的业务标识规则,例如,所述第一业务标识信息中的业务标识类型的格式不符合业务标识规则中定义的格式。
这里,所述应用程序模拟器121,还用于当确定所述第一业务标识信息满足预设条件时,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给所述操作系统和通信单元。
其中,所述第一业务标识信息可以包括业务名称、业务标识类型以及业务标识值;所述业务标识类型可以包括应用程序(APP,Application)标识(ID,Identity Document)、网际互连协议(IP,Internet Protocol)三元组、 全限定域名(FQDN,Fully Qualified Domain Name))、深度神经网络(DNN,Deep Neural Networks)、连接能力、Non-IP等,如表1所示。当所述业务标识类型为IP三元组时,生成的业务数据包的包头中可以携带IP三元组的相关信息。
表1
实际应用时,所述控制器11可以根据所述终端12需要满足的业务需求,生成网络切片配置方案;所述网络切片配置方案表征业务到网络切片的映射关系;所述控制器11可以从所述切片配置方案中选取一种或多种业务对应的名称、业务标识类型、标识值形成所述第一业务标识信息,并将所述第一业务标识信息发送给所述终端。
基于此,在一实施例中,所述控制器11,具体用于:根据测试需求生成网络切片配置方案;所述网络切片配置方案表征业务标识信息与网络切片标识信息的对应关系;利用所述网络切片配置方案,确定所述第一业务标识信息。
其中,所述业务标识信息与网络切片标识信息的对应关系可以关联业 务、业务标识类型、业务标识值、切片标识、协议数据单元(PDU,ProtocolDataUnit)会话、PDU对应的服务质量(QoS,Quality of ServiceQoS)配置等元素;所述切片标识可以包含切片类型(SST,Slice/Serive Type)和SD。
表2是所述控制器11生成的切片配置方案示意图,表2是业务标识类型的示意图。如表2所示,所述控制器11可以将业务名称为业务A、业务标识类型为APP_ID、业务标识值为‘APP1’形成所述第一业务标识信息。
表2
实际应用时,所述网络模拟器13和所述终端12之间可以使用与所述业务数据包匹配的网络切片来承载所述业务数据包,这样,所述网络模拟器13和所述终端12均需要明确业务与网络切片的映射关系,因此,所述控制器11可以将生成的业务与网络切片的映射关系发送给所述网络模拟器13,由所述网络模拟器13发送给所述终端14;或者,所述控制器11预先将生成的业务与网络切片的映射关系配置给所述终端14,由所述终端14存储在用户识别模块卡中。
基于此,在一实施例中,所述控制器11,还用于将所述网络切片配置方案发送给所述网络模拟器13;
所述网络模拟器13,还用于接收所述网络切片配置方案;并将接收的所述网络切片配置方案发送给所述终端12;
所述通过网络切片将所述业务数据包发送给网络模拟器,进一步包括:
所述终端12接收所述切片配置方案;利用所述切片配置方案,将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给网络模拟器13。
这里,所述网络模拟器13可以通过以下方式之一向所述终端12发送 所述切片配置方案:
所述网络模拟器13向所述终端12发送呼叫消息;在接收到所述终端12发送的针对所述呼叫消息的响应消息后,将所述切片配置方案发送给所述终端12;
在接收到所述终端12发送的第一请求后,所述网络模拟器13将所述切片配置方案发送给所述终端12;所述第一请求用于请求与所述网络模拟器建立连接;
在接收到所述终端发送的第二请求后,所述网络模拟器13将所述切片配置方案发送给所述终端12;所述第二请求用于请求获取切片配置方案。
其中,所述网络模拟器13可以通过信令将切片配置方案发送给所述终端12。
下面结合具体实施例详细说明本申请实施例的技术方案。
实施例一
本实施例中,主控制器对应所述控制器11,被测终端对应所述终端12,网络模拟器对应所述网络模拟器13,业务平台模拟器对应所述业务模拟器14。
图2为测试系统的组成结构示意图,如图2所示,所述测试系统包括:
主控制器,用于根据测试需求生成网络切片配置方案;所述网络切片配置方案表征业务标识信息与网络切片标识信息的对应关系;利用所述网络切片配置方案,确定所述第一业务标识信息;将所述第一业务标识信息发送给被测终端;还用于将所述网络切片配置方案发送给所述网络模拟器;
网络模拟器,用于接收所述网络切片配置方案;并将接收的所述网络切片配置方案发送给所述被测终端;
被测终端,包括应用程序模拟器、操作系统和通信单元;其中,所述应用程序模拟器,用于接收所述第一业务标识信息;判断所述第一业务标识信息是否满足预设条件;当确定所述第一业务标识信息未满足预设条件时,将所述第一业务标识信息转换为第二业务标识信息;生成与所述第二业务标识信息匹配的业务数据包;当确定所述第一业务标识信息满足预设 条件时,生成与所述第一业务标识信息匹配的业务数据包;将生成的业务数据包发送给所述操作系统和通信单元。所述通信单元用于接收所述网络模拟器发送的切片配置方案,并将所述切片配置方案发送给所述操作系统。所述操作系统用于利用所述切片配置方案确定与所述业务数据包匹配的网络切片,将所述业务数据包映射到所述网络切片上,通过所述网络切片将所述业务数据包发送给网络模拟器;所述操作系统还用于通过网络传输协议将所述业务数据包发送给业务平台模拟器。
业务平台模拟器,用于接收所述网络模拟器发送的业务数据包和所述终端发送的业务数据包;将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较,得到比较结果;当所述比较结果表征所述网络模拟器发送的业务数据包和所述被测终端发送的业务数据包相同时,测试所述被测终端的切片功能正常;当所述比较结果表征所述网络模拟器发送的业务数据包和所述被测终端发送的业务数据包不同时,测试所述被测终端的切片功能异常。
这里,所述业务平台模拟器还可以接收其他终端发送的获取业务数据包的请求,并将所述业务数据包发送给对应的终端,形成业务数据的闭环传输。所述业务平台模拟器能够和终端的应用程序模拟器进行数据通信,且可以不提供真正的视频资源等等。
这里,所述测试系统具备以下优点:
(1)主控制器能够向被测终端传递第一业务标识信息,与相关技术中通过第三方应用开发商提供的应用程序来传递业务标识信息方式相比,能够避免在终端无法识别业务类型的情况下导致终端无法触发开启切片功能问题的发生,从而保证终端能够实现端到端的数据传输,进而能够测试出终端的切片功能是否正常。
(2)采用模拟的方式,测试简单高效、测试成本低。即,通过终端的应用模拟器生成业务数据包,并将业务数据包发送网络模拟器和平台模拟器,由业务平台模拟器执行终端切片能力的测试,与相关技术中在真实网 络中对终端切片功能进行测试的方式相比,测试环境的搭建不复杂、测试成本较低,涉及的网元数量少,无需大量的协调工作,测试成功率较高。
实施例二
结合图4所示的终端的切片功能的示意图,描述终端的组成结构示意图,如图3所示,所述终端12包括应用程序模拟器121、操作系统122和通信单元123;其中,
所述应用程序模拟器121,用于获取控制器11发送的第一业务标识信息;当所述第一业务标识信息符合预定义的业务标识规则时,生成与所述第一业务标识信息匹配的业务数据包;当所述第一业务标识信息不符合预定义的业务标识规则时,将所述第一业务标识信息转换成符合所述业务标识规则的第二业务标识信息,并生成与所述第二业务标识信息匹配的业务数据包。
所述操作系统122,用于将所述业务数据包映射到对应的网络切片。具体的,从应用程序模拟器121获取所述业务数据包对应的第一业务标识信息;从通信单元获取网络切片配置方案,根据网络切片配置方案中配置的路由选择策略(URSP,UE Routing Selection Strategy),确定与所述第一业务标识信息对应的网络切片;将所述业务数据包映射在所述网络切片,通过所述网络切片将所述业务数据包发送给所述网络模拟器。其中,业务数据包和网络切片之间的映射关系可以在操作系统建立,也可以在通信协议层面建立。
所述通信单元123,用于通过切片相关协议信令,从网络模拟器接收所述切片配置方案,并将接收的网络切片配置方案发送给操作系统122;还用于与接入网、核心网进行交互,通过建立PDU会话,建立网络切片和无线承载之间的映射关系。
需要说明的是,操作系统和通信单元可以决定终端是否具备切片能力,是验证终端切片能力是否正常的测试对象。在第三方应用开发商提供的应用程序功能尚未完善的情况下,所述终端的应用程序模拟器可以从控制器 获取第一业务标识信息,并生成与所述第一业务标识信息匹配的业务数据包,将业务数据包发送业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;由业务模拟器对终端的切片功能进行测试,从而保证测试结果的稳定性。
采用本申请实施例的技术方案,所述终端能够从控制器获取第一业务标识信息,并生成与所述第一业务标识信息匹配的业务数据包,将生成的业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;网络模拟器将终端通过网络切片传输的业务数据包发送给业务模拟器,如此,业务模拟器可以将终端发送的业务数据包和网络模拟器发送的数据包进行比较,得到比较结果,基于比较结果测试终端的切片功能是否正常,如此,业务模拟器可以将终端发送的业务数据包和网络模拟器发送的数据包进行比较,得到比较结果,基于比较结果测试终端的切片功能是否正常,如此,能够避免在终端无法识别业务类型的情况下导致终端无法触发开启切片功能问题的发生,从而保证终端能够实现端到端的数据传输,进而能够测试出终端的切片功能是否正常。
本申请实施例还提供一种测试方法,应用于控制器,如图5所示,所述方法包括:
步骤501:获取第一业务标识信息;
步骤502:将所述第一业务标识信息发送给终端;
其中,所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
实际应用时,所述控制器可以根据所述终端需要满足的业务需求,可以生成表征业务到网络切片的映射关系的切片配置方案;并从所述切片配置方案中选取一种业务对应的名称、类型、标识值作为第一业务标识信息 发送给所述终端。
基于此,在一实施例中,所述获取第一业务标识信息,包括:
根据测试需求生成网络切片配置方案;所述网络切片配置方案表征业务标识信息与网络切片标识信息的对应关系;利用所述网络切片配置方案,确定所述第一业务标识信息。
实际应用时,所述控制器可以通过网络模拟器将所述切片配置方案发送给所述终端;或者,所述控制器可以预先将生成的业务与网络切片的映射关系配置给所述终端,由所述终端存储在用户识别模块卡中。
基于此,在一实施例中,所述方法还包括:
将所述网络切片配置方案发送给所述网络模拟器,以通过所述网络模拟器将所述网络切片配置方案发送给所述终端;
其中,所述网络切片配置方案用于供所述终端将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给所述网络模拟器。
采用本申请实施例的技术方案,所述控制器将第一业务标识信息发送给终端,如此,所述终端可以基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包,将生成的业务数据包分别发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;网络模拟器将终端通过网络切片传输的业务数据包发送给业务模拟器,如此,业务模拟器可以将终端发送的业务数据包和网络模拟器发送的数据包进行比较,得到比较结果,基于比较结果测试终端的切片功能是否正常,如此,能够避免在终端无法识别业务类型的情况下导致终端无法触发开启切片功能问题的发生,从而保证终端能够实现端到端的数据传输,进而能够测试出终端的切片功能是否正常。
本申请实施例还提供一种测试方法,应用于终端,如图6所示,所述方法包括:
步骤601:接收控制器发送的第一业务标识信息;
步骤602:基于所述第一业务标识信息,生成与所述第一业务标识信息 匹配的业务数据包;
步骤603:将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;
其中,所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
实际应用时,所述终端可以包括应用程序模拟器、操作系统和通信单元;其中,所述应用程序模拟器可以用于接收所述第一业务标识信息,基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;若所述应用程序模拟器能够识别出所述第一业务标识信息对应的业务类型,则所述应用程序模拟器直接生成与所述第一业务标识信息匹配的业务数据包;若所述应用程序模拟器不能够识别出所述第一业务标识信息对应的业务类型,则所述应用程序模拟器对所述第一业务标识信息进行转换,得到第二业务标识信息,生成与所述第二业务标识信息匹配的业务数据包。
基于此,在一实施例中,所述终端包括应用程序模拟器、操作系统、通信单元;所述方法还包括:
所述终端的应用程序模拟器接收所述第一业务标识信息;判断所述第一业务标识信息是否满足预设条件;当确定所述第一业务消标识信息未满足预设条件时,将所述第一业务标识信息转换为第二业务标识信息;生成与所述第二业务标识信息匹配的业务数据包;将所述业务数据包发送给所述终端的操作系统和通信单元。
在一示例中,如图7所示,描述终端生成业务数据包的过程,包括:
步骤701:控制器向终端发送的第一业务标识信息;
步骤702:所述终端获取所述第一业务标识信息;判断所述第一业务标识信息是否满足预设条件;当确定所述第一业务消标识信息未满足预设条件时,执行步骤703;当确定所述第一业务消标识信息满足预设条件时,执行步骤704;
步骤703:所述终端将所述第一业务标识信息转换为第二业务标识信 息;生成与所述第二业务标识信息匹配的业务数据包;
步骤704:所述终端生成与所述第一业务标识信息匹配的业务数据包。
这里,所述终端的应用程序模拟器可以将生成的业务数据包发送给操作系统和通信单元,由所述操作系统将所述业务数据包映射在网络切片,通过网络切片将所述业务数据包发送给网路模拟器;由所述通信单元通过网络传输协议将所述业务数据包发送给业务模拟器。
这里,所述终端基于控制器发送的第一业务标识信息生成业务数据包,具备以下优点:
所述终端能够从控制器获取第一业务标识信息,并生成与所述第一业务标识信息匹配的业务数据包,将生成的业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;网络模拟器将终端通过网络切片传输的业务数据包发送给业务模拟器,如此,业务模拟器可以将终端发送的业务数据包和网络模拟器发送的数据包进行比较,得到比较结果,基于比较结果测试终端的切片功能是否正常,如此,能够避免在终端无法识别业务类型的情况下导致终端无法触发开启切片功能问题的发生,从而保证终端能够实现端到端的数据传输,进而能够测试出终端的切片功能是否正常。
实际应用时,所述网络模拟器和所述终端之间需要使用与所述业务数据包匹配的网络切片来承载所述业务数据包,这样,所述网络模拟器和所述终端均需要明确业务与网络切片的映射关系,因此,所述控制器可以将生成的业务与网络切片的映射关系发送给所述网络模拟器,由所述网络模拟器发送给所述终端,或者,所述控制器预先将生成的业务与网络切片的映射关系配置给所述终端,由所述终端存储在用户识别模块卡中。
基于此,在一实施例中,所述通过网络切片将所述业务数据包发送给网络模拟器,包括:
接收所述网络模拟器发送的切片配置方案;所述切片配置方案是所述控制器发送给所述网络模拟器的;
利用所述切片配置方案,将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给网络模拟器。
在一示例中,如图8所示,描述测试终端的切片功能的过程,包括:
步骤801:控制器根据测试需求生成网络切片配置方案;利用所述网络切片配置方案,确定所述第一业务标识信息;将所述第一业务标识信息发送给终端。
其中,所述网络切片配置方案表征业务标识信息与网络切片标识信息的对应关系;
步骤802:所述控制器将所述网络切片配置方案发送给网络模拟器;
这里,步骤801与步骤802的执行顺序不分先后,可以串行执行,也可以并行执行。
步骤803:所述网络模拟器接收所述网络切片配置方案;并将接收的所述网络切片配置方案发送给所述终端;
步骤804:所述终端接收所述第一业务标识信息;并基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器;
步骤805:所述终端接收所述切片配置方案;利用所述切片配置方案,将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给网络模拟器;
步骤806:所述网络模拟器将所述业务数据包发送给所述业务模拟器;
步骤807:所述业务模拟器接收所述网络模拟器发送的业务数据包和所述终端发送的业务数据包;将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较,得到比较结果;基于所述比较结果,测试所述终端的切片功能是否正常。
这里,提供的测试终端的切片功能的方法,具备以下优点:
所述终端能够从控制器获取第一业务标识信息,并生成与所述第一业务标识信息匹配的业务数据包,将生成的业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;网络模拟器将终端通过网络切片传输的业务数据包发送给业务模拟器,如此,业务模拟器可以将终端发送的业务数据包和网络模拟器发送的数据包进行比较,得到比较结果,基于比较结果测试终端的切片功能是否正常,如此,能够避免在 终端无法识别业务类型的情况下导致终端无法触发开启切片功能问题的发生,从而保证终端能够实现端到端的数据传输,进而能够测试出终端的切片功能是否正常。
为实现本申请实施例的测试方法,本申请实施例还提供一种测试装置,设置在控制器上,图9为本申请实施例测试装置的组成结构示意图;如图9所示,所述装置包括:
获取单元91,用于获取第一业务标识信息;
发送单元92,用于将所述第一业务标识信息发送给终端;
其中,所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
在一实施例中,所述获取单元91,具体用于:
根据测试需求生成网络切片配置方案;所述网络切片配置方案表征业务标识信息与网络切片标识信息的对应关系;
利用所述网络切片配置方案,确定所述第一业务标识信息。
在一实施例中,所述发送单元92还用于:
将所述网络切片配置方案发送给所述网络模拟器,以通过所述网络模拟器将所述网络切片配置方案发送给所述终端;
其中,所述网络切片配置方案用于供所述终端将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给所述网络模拟器。
实际应用时,所述获取单元91、发送单元92可由测试装置中的通信接口实现。
需要说明的是:上述实施例提供的测试装置在进行测试时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处 理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的测试装置与测试方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
为实现本申请实施例的测试方法,本申请实施例还提供一种测试装置,设置在终端上,图10为本申请实施例测试装置的组成结构示意图;如图10所示,所述装置包括:
接收单元101,用于接收控制器发送的第一业务标识信息;
处理单元102,用于基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;
将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
在一实施例中,所述终端包括应用程序模拟器、操作系统、通信单元;所述处理单元102,还用于:
接收所述第一业务标识信息;判断所述第一业务标识信息是否满足预设条件;当确定所述第一业务消标识信息未满足预设条件时,将所述第一业务标识信息转换为第二业务标识信息;生成与所述第二业务标识信息匹配的业务数据包;将所述业务数据包发送给所述终端的操作系统和通信单元;其中,所述业务数据包用于供所述终端的操作系统和通信单元发送给所述网络模拟器和业务模拟器。
在一实施例中,所述接收单元101,还用于:
接收所述网络模拟器发送的切片配置方案;所述切片配置方案是所述控制器发送给所述网络模拟器的;
利用所述切片配置方案,将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给网络模拟器。
实际应用时,所述接收单元101可由测试装置中的通信接口实现;所 述处理单元102可由测试装置中的处理器实现。
需要说明的是:上述实施例提供的测试装置在进行测试时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的测试装置与测试方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本申请实施例还提供了一种控制器,如图11所示,包括:
第一通信接口111,能够与其它设备进行信息交互;
第一处理器112,与所述第一通信接口111连接,用于运行计算机程序时,执行上述智能设备侧一个或多个技术方案提供的方法。而所述计算机程序存储在第一存储器113上。
需要说明的是:所述第一处理器112和第一通信接口111的具体处理过程详见方法实施例,这里不再赘述。
当然,实际应用时,控制器110中的各个组件通过总线系统114耦合在一起。可理解,总线系统114用于实现这些组件之间的连接通信。总线系统114除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图11中将各种总线都标为总线系统114。
本申请实施例中的第一存储器113用于存储各种类型的数据以支持控制器110的操作。这些数据的示例包括:用于在控制器110上操作的任何计算机程序。
上述本申请实施例揭示的方法可以应用于所述第一处理器112中,或者由所述第一处理器112实现。所述第一处理器112可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第一处理器112中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第一处理器112可以是通用处理器、数字数据处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第一处理器112可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器 或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第一存储器113,所述第一处理器112读取第一存储器113中的信息,结合其硬件完成前述方法的步骤。
本申请实施例还提供了一种终端,如图12所示,包括:
第二通信接口121,能够与其它设备进行信息交互;
第二处理器122,与所述第二通信接口121连接,用于运行计算机程序时,执行上述智能设备侧一个或多个技术方案提供的方法。而所述计算机程序存储在第二存储器123上。
需要说明的是:所述第二处理器122和第二通信接口121的具体处理过程详见方法实施例,这里不再赘述。
当然,实际应用时,终端120中的各个组件通过总线系统124耦合在一起。可理解,总线系统124用于实现这些组件之间的连接通信。总线系统124除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线系统124。
本申请实施例中的第二存储器123用于存储各种类型的数据以支持终端120的操作。这些数据的示例包括:用于在终端120上操作的任何计算机程序。
上述本申请实施例揭示的方法可以应用于所述第二处理器122中,或者由所述第二处理器122实现。所述第二处理器122可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第二处理器122中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第二处理器122可以是通用处理器、数字数据处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第二处理器122可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件 模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第二存储器123,所述第二处理器122读取第二存储器123中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,控制器110、终端120可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。
可以理解,本申请实施例的存储器(第一存储器113、第二存储器123)可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同 步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的第一存储器113,上述计算机程序可由控制器110的第一处理器112执行,以完成前述控制服务器侧方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
Claims (19)
- 一种测试系统,所述系统包括:控制器,用于获取第一业务标识信息;将所述第一业务标识信息发送给终端;所述终端,用于接收所述第一业务标识信息;并基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述网络模拟器,用于接收所述业务数据包;并将所述业务数据包发送给业务模拟器;所述业务模拟器,用于接收所述网络模拟器发送的业务数据包和所述终端发送的业务数据包;将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较,得到比较结果;基于所述比较结果,测试所述终端的切片功能是否正常。
- 根据权利要求1所述的系统,其中,所述终端包括应用程序模拟器、操作系统、通信单元;所述应用程序模拟器,用于接收所述第一业务标识信息;判断所述第一业务标识信息是否满足预设条件;当确定所述第一业务标识信息未满足预设条件时,将所述第一业务标识信息转换为第二业务标识信息;生成与所述第二业务标识信息匹配的业务数据包;将所述业务数据包发送给所述操作系统和通信单元。
- 根据权利要求1所述的系统,其中,所述控制器,具体用于:根据测试需求生成网络切片配置方案;所述网络切片配置方案表征业务标识信息与网络切片标识信息的对应关系;利用所述网络切片配置方案,确定所述第一业务标识信息。
- 根据权利要求3所述的系统,其中,所述控制器,还用于将所述网络切片配置方案发送给所述网络模拟器;所述网络模拟器,还用于接收所述网络切片配置方案;并将接收的所 述网络切片配置方案发送给所述终端;所述通过网络切片将所述业务数据包发送给网络模拟器,进一步包括:所述终端接收所述切片配置方案;利用所述切片配置方案,将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给网络模拟器。
- 根据权利要求4所述的系统,其中,所述网络模拟器,具体用于执行以下操作之一:向所述终端发送呼叫消息;在接收到所述终端发送的针对所述呼叫消息的响应消息后,将所述切片配置方案发送给所述终端;在接收到所述终端发送的第一请求后,将所述切片配置方案发送给所述终端;所述第一请求用于请求与所述网络模拟器建立连接;在接收到所述终端发送的第二请求后,将所述切片配置方案发送给所述终端;所述第二请求用于请求获取切片配置方案。
- 根据权利要求1所述的系统,其中,所述业务模拟器独立于所述控制器;或者,所述业务模拟器集成在所述控制器中。
- 一种测试方法,应用于控制器,所述方法包括:获取第一业务标识信息;将所述第一业务标识信息发送给终端;其中,所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
- 根据权利要求7所述的方法,其中,所述获取第一业务标识信息,包括:根据测试需求生成网络切片配置方案;所述网络切片配置方案表征业务标识信息与网络切片标识信息的对应关系;利用所述网络切片配置方案,确定所述第一业务标识信息。
- 根据权利要求8所述的方法,其中,所述方法还包括:将所述网络切片配置方案发送给所述网络模拟器,以通过所述网络模拟器将所述网络切片配置方案发送给所述终端;其中,所述网络切片配置方案用于供所述终端将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给所述网络模拟器。
- 一种测试方法,应用于终端,所述方法包括:接收控制器发送的第一业务标识信息;基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
- 根据权利要求10所述的方法,其中,所述终端包括应用程序模拟器、操作系统、通信单元;所述方法还包括:所述终端的应用程序模拟器接收所述第一业务标识信息;判断所述第一业务标识信息是否满足预设条件;当确定所述第一业务消标识信息未满足预设条件时,将所述第一业务标识信息转换为第二业务标识信息;生成与所述第二业务标识信息匹配的业务数据包;将所述业务数据包发送给所述终端的操作系统和通信单元。
- 根据权利要求10所述的方法,其中,所述通过网络切片将所述业务数据包发送给网络模拟器,包括:接收所述网络模拟器发送的切片配置方案;所述切片配置方案是所述控制器发送给所述网络模拟器的;利用所述切片配置方案,将所述业务数据包映射到对应的网络切片,并通过所述网络切片将所述业务数据包发送给网络模拟器。
- 一种测试装置,应用于控制器,包括:获取单元,用于获取第一业务标识信息;发送单元,用于将所述第一业务标识信息发送给终端;所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
- 一种测试装置,应用于终端,包括:接收单元,用于接收所述第一业务标识信息;处理单元,用于基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
- 一种控制器,包括:第一处理器,第一通信接口,用于获取第一业务标识信息;将所述第一业务标识信息发送给终端;所述第一业务标识信息用于供所述终端生成与所述第一业务标识信息匹配的业务数据包并将所述业务数据包发送给业务模拟器,以及通过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
- 一种终端,包括:第二通信接口,用于接收所述第一业务标识信息;第二处理器,用于基于所述第一业务标识信息,生成与所述第一业务标识信息匹配的业务数据包;将所述业务数据包发送给业务模拟器,并通 过网络切片将所述业务数据包发送给网络模拟器;所述业务数据包用于供所述网络模拟器发送给所述业务模拟器,以供所述业务模拟器将所述网络模拟器发送的业务数据包和所述终端发送的业务数据包进行比较得到比较结果,基于所述比较结果测试所述终端的切片功能是否正常。
- 一种控制器,包括第一处理器和用于存储能够在处理器上运行的计算机程序的第一存储器,其中,所述第一处理器用于运行所述计算机程序时,执行权利要求7至9任一项所述方法的步骤。
- 一种终端,包括第二处理器和用于存储能够在处理器上运行的计算机程序的第二存储器,其中,所述第二处理器用于运行所述计算机程序时,执行权利要求10至12任一项所述方法的步骤。
- 一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求7至9任一项所述方法的步骤,或者实现权利要求10至12任一项所述方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010665092.0 | 2020-07-10 | ||
| CN202010665092.0A CN112511366B (zh) | 2020-07-10 | 2020-07-10 | 测试系统、方法、装置、设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022007964A1 true WO2022007964A1 (zh) | 2022-01-13 |
Family
ID=74953486
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/105609 Ceased WO2022007964A1 (zh) | 2020-07-10 | 2021-07-09 | 测试系统、方法、装置、设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112511366B (zh) |
| WO (1) | WO2022007964A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115934521A (zh) * | 2022-11-29 | 2023-04-07 | 中国工商银行股份有限公司 | 业务应用的台账信息获取方法、装置和计算机设备 |
| WO2024002460A1 (en) * | 2022-06-27 | 2024-01-04 | Telefonaktiebolaget Lm Ericsson (Publ) | Function testing in a communication network |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112511366B (zh) * | 2020-07-10 | 2022-08-05 | 中国移动通信有限公司研究院 | 测试系统、方法、装置、设备及存储介质 |
| CN113438134B (zh) * | 2021-06-30 | 2023-03-31 | 未鲲(上海)科技服务有限公司 | 请求报文处理方法、装置、服务器及介质 |
| CN114258030A (zh) * | 2021-12-09 | 2022-03-29 | 北京泰德东腾通信技术有限公司 | 动态频谱共享的测试方法及系统 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018176220A1 (zh) * | 2017-03-28 | 2018-10-04 | 华为技术有限公司 | 网络接入方法、终端、接入网及核心网 |
| CN109219020A (zh) * | 2018-09-14 | 2019-01-15 | 云迅智能科技南京有限公司 | 一种网络切片方法及系统 |
| US20190026094A1 (en) * | 2017-07-18 | 2019-01-24 | Cisco Technology, Inc. | Network slice selection in a mobile network |
| CN109391648A (zh) * | 2017-08-04 | 2019-02-26 | 华为技术有限公司 | 一种应用与网络切片的关联方法、装置和通信系统 |
| CN110620676A (zh) * | 2018-06-20 | 2019-12-27 | 华为技术有限公司 | 一种故障管理方法和相关装置 |
| US20200053531A1 (en) * | 2016-10-11 | 2020-02-13 | Telefonaktiebolaget Lm Ericsson (Publ) | Network slicing-aware access network |
| CN110798857A (zh) * | 2019-09-11 | 2020-02-14 | 武汉丰迈信息技术有限公司 | 一种5g切片网络对业务影响的仿真方法 |
| CN112511366A (zh) * | 2020-07-10 | 2021-03-16 | 中国移动通信有限公司研究院 | 测试系统、方法、装置、设备及存储介质 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140337674A1 (en) * | 2013-05-10 | 2014-11-13 | Nec Laboratories America, Inc. | Network Testing |
| CN110062407B (zh) * | 2018-01-19 | 2022-05-13 | 华为技术有限公司 | 网络切片性能管理的方法和装置 |
| CN109447184A (zh) * | 2018-11-28 | 2019-03-08 | 南京理工大学 | 基于深度学习的Android应用网络行为分类方法及系统 |
| CN109661039B (zh) * | 2019-01-15 | 2020-07-21 | 北京泰德东腾通信技术有限公司 | 5g会话建立及释放的协议一致性测试方法及系统 |
| CN110708734B (zh) * | 2019-10-12 | 2022-09-27 | 中国联合网络通信集团有限公司 | 一种切换的方法、网络设备、终端及切换系统 |
-
2020
- 2020-07-10 CN CN202010665092.0A patent/CN112511366B/zh active Active
-
2021
- 2021-07-09 WO PCT/CN2021/105609 patent/WO2022007964A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200053531A1 (en) * | 2016-10-11 | 2020-02-13 | Telefonaktiebolaget Lm Ericsson (Publ) | Network slicing-aware access network |
| WO2018176220A1 (zh) * | 2017-03-28 | 2018-10-04 | 华为技术有限公司 | 网络接入方法、终端、接入网及核心网 |
| US20190026094A1 (en) * | 2017-07-18 | 2019-01-24 | Cisco Technology, Inc. | Network slice selection in a mobile network |
| CN109391648A (zh) * | 2017-08-04 | 2019-02-26 | 华为技术有限公司 | 一种应用与网络切片的关联方法、装置和通信系统 |
| CN110620676A (zh) * | 2018-06-20 | 2019-12-27 | 华为技术有限公司 | 一种故障管理方法和相关装置 |
| CN109219020A (zh) * | 2018-09-14 | 2019-01-15 | 云迅智能科技南京有限公司 | 一种网络切片方法及系统 |
| CN110798857A (zh) * | 2019-09-11 | 2020-02-14 | 武汉丰迈信息技术有限公司 | 一种5g切片网络对业务影响的仿真方法 |
| CN112511366A (zh) * | 2020-07-10 | 2021-03-16 | 中国移动通信有限公司研究院 | 测试系统、方法、装置、设备及存储介质 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024002460A1 (en) * | 2022-06-27 | 2024-01-04 | Telefonaktiebolaget Lm Ericsson (Publ) | Function testing in a communication network |
| CN115934521A (zh) * | 2022-11-29 | 2023-04-07 | 中国工商银行股份有限公司 | 业务应用的台账信息获取方法、装置和计算机设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112511366A (zh) | 2021-03-16 |
| CN112511366B (zh) | 2022-08-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112511366B (zh) | 测试系统、方法、装置、设备及存储介质 | |
| CN114025021A (zh) | 一种跨Kubernetes集群的通信方法、系统、介质和电子设备 | |
| WO2021243837A1 (zh) | 基于ursp规则的应用数据路由方法及用户设备 | |
| WO2021164125A1 (zh) | 会话创建方法及相关设备 | |
| CN110740481A (zh) | 基于服务质量的数据处理方法、设备和计算机存储介质 | |
| CN110944039A (zh) | 面向5g接入网的微服务发现方法、系统及装置 | |
| WO2023116355A1 (zh) | 通信方法、装置、相关设备及存储介质 | |
| US11057241B2 (en) | Network interworking method, network element, and system | |
| CN106453349A (zh) | 账号登录方法及装置 | |
| CN113422772A (zh) | 专网终端访问处理方法、装置及电子设备 | |
| WO2021248971A1 (zh) | 网络接入方法、电子设备及存储介质 | |
| CN113259983B (zh) | 5g切片测试方法、装置、测试系统及存储介质 | |
| CN113163024A (zh) | 报文处理方法、服务器及存储介质 | |
| CN114339798A (zh) | 切片映射方法、装置、终端及存储介质 | |
| EP4546750A1 (en) | Data transmission method, slice relationship mapping method, electronic device, and medium | |
| WO2023116356A1 (zh) | 信息配置方法、装置、相关设备及存储介质 | |
| CN113840312B (zh) | 一种5g网络切片业务的配置方法及装置 | |
| CN115529589B (zh) | 一种能力开放方法、装置、通信设备和存储介质 | |
| CN112039801B (zh) | 设置ip信息的方法、系统和代理服务器 | |
| CN115037697B (zh) | 业务访问请求处理方法及装置、系统、可读存储介质 | |
| CN116156497A (zh) | 一种网关认证方法、装置及存储介质 | |
| CN109150725B (zh) | 流量疏导方法及服务器 | |
| CN116366542B (zh) | 数据传输方法和相关设备 | |
| CN104980471A (zh) | 网络请求包上报方法、装置和系统 | |
| CN112134910B (zh) | 网络请求调试方法、装置、设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.05.2023) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21837457 Country of ref document: EP Kind code of ref document: A1 |