Carrier test method, device, equipment, medium, product and system
Through the carrier testing method, the terminal device sends carrier test commands and communicates with the physical base station to realize convenient testing of the CC carrier function of multiple network access terminals under test, solving the problem of high verification costs and difficulty for non-professionals in the prior art.
Patent Information
- Application Number
- CN202510165200.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art is difficult to verify the component bearer (CC) functionality in terminal devices easily, resulting in high verification costs and difficulty for non-professionals to participate.
A carrier test method is provided, through the terminal sending a carrier test command, encapsulating the carrier items to be tested on multiple network access terminals to the same test request packet, and communicating with a physical base station, so as to realize the CC carrier function test of multiple network access terminals to the test.
The CC carrier function test of multiple network access terminals under test is realized in a single test process, which reduces the verification cost and allows non-professional personnel to participate in the verification work, and the verification process is simple and easy to implement.
Smart Images

Figure CN119892687A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a carrier testing method, device, equipment, medium, product and system. Background Art
[0002] Component Carrier (CC) is an important element for evaluating the data transmission speed between the network and the terminal device. Currently, in order to verify the CC function in the terminal device, special equipment is needed to simulate the communication base station. The professionalism and standardized usage documents of this special equipment have brought difficulties and thresholds to the verification work. It is difficult for ordinary people and non-professionals to participate in the verification work, resulting in high cost and difficulty in implementation of the verification work.
[0003] Therefore, how to make the verification of the CC function of the terminal more convenient is a problem that those skilled in the art need to solve. Summary of the invention
[0004] In view of this, the purpose of this application is to provide a carrier test method, device, equipment, medium, product and system to facilitate the verification of the CC function of the terminal. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a carrier testing method, comprising:
[0006] In response to the carrier test command sent by the terminal, encapsulate at least one carrier to-be-tested item corresponding to each of the plurality of network access terminals under test into the same test request packet, and send the test request packet to the physical base station;
[0007] receiving a test response packet of the test request packet returned by the physical base station;
[0008] The test response packet is parsed to obtain the test results of at least one carrier test item corresponding to each of the multiple tested network access terminals, and the test results are transmitted to the terminal so that the terminal displays the test results.
[0009] Optionally, encapsulating at least one carrier test item corresponding to each of the plurality of network access terminals under test into the same test request packet includes:
[0010] activating carrier functions of the plurality of network access terminals under test, and determining at least one carrier to-be-tested item corresponding to each of the plurality of network access terminals under test;
[0011] Encapsulate at least one carrier test item corresponding to each of the multiple network access terminals under test into the test request packet in the RRC protocol format or the NAS protocol format.
[0012] Optionally, activating carrier functions of the multiple network access terminals under test includes:
[0013] Sending a radio resource control request to the physical base station;
[0014] receiving a parameter response packet of the radio resource control request returned by the physical base station;
[0015] Parsing the parameter response packet to obtain network configuration parameters and network access terminal control parameters of the physical base station;
[0016] According to the network configuration parameters and the network access terminal control parameters, the carrier functions of the multiple tested network access terminals are activated respectively.
[0017] Optionally, determining at least one carrier test item corresponding to each of the plurality of network access terminals under test includes:
[0018] Query a pre-stored network access terminal carrier list to obtain at least one carrier test item corresponding to each of the multiple tested network access terminals; the at least one carrier test item includes: EN-DC combination, carrier aggregation type, upload frequency band, and download frequency band.
[0019] Optionally, encapsulating at least one carrier test item corresponding to each of the plurality of network access terminals under test into the same test request packet includes:
[0020] Constructing a plurality of test rows according to at least one carrier test item respectively corresponding to the plurality of network access terminals under test;
[0021] The multiple test rows are encapsulated as data payload into the same test request packet.
[0022] Optionally, transmitting the test result to the terminal includes:
[0023] Generate a corresponding test report according to a preset format based on the activation status of the carrier functions of the multiple network access terminals under test and the test results of at least one carrier test item corresponding to the multiple network access terminals under test;
[0024] The test report is transmitted to the terminal.
[0025] In a second aspect, the present application provides a carrier testing device, including:
[0026] A sending module, configured to encapsulate at least one carrier test item corresponding to each of the plurality of network access terminals under test into the same test request packet in response to a carrier test command sent by the terminal, and send the test request packet to the physical base station;
[0027] A receiving module, used for receiving a test response packet of the test request packet returned by the physical base station;
[0028] The parsing module is used to parse the test response packet to obtain the test results of at least one carrier test item corresponding to the multiple tested network access terminals respectively, and transmit the test results to the terminal so that the terminal displays the test results.
[0029] In a third aspect, the present application provides an electronic device, including:
[0030] Memory for storing computer programs;
[0031] The processor is used to execute the computer program to implement the carrier testing method disclosed above.
[0032] In a fourth aspect, the present application provides a readable storage medium for storing a computer program, wherein the computer program implements the aforementioned disclosed carrier testing method when executed by a processor.
[0033] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the aforementioned disclosed carrier testing method when executed by a processor.
[0034] In a sixth aspect, the present application provides a carrier test system, including:
[0035] A terminal, used for sending a carrier test command;
[0036] The test end is used to encapsulate at least one carrier test item corresponding to each of the multiple network access terminals under test into the same test request packet in response to the carrier test command, and send the test request packet to the physical base station;
[0037] The physical base station is used to generate a corresponding test response packet according to the test request packet, and send the test response packet to the test end;
[0038] The test end is further used to receive the test response packet; parse the test response packet to obtain the test result of at least one carrier test item corresponding to each of the multiple tested network access ends, and transmit the test result to the terminal;
[0039] The terminal is also used to display the test result.
[0040] Optionally, the terminal communicates with the test end via Bluetooth, and the test end communicates with the physical base station via a cellular network.
[0041] It can be seen from the above scheme that the present application provides a carrier testing method, including: in response to a carrier test command sent by a terminal, encapsulating at least one carrier test item corresponding to multiple network access terminals under test into the same test request packet, and sending the test request packet to a physical base station; receiving a test response packet of the test request packet returned by the physical base station; parsing the test response packet to obtain the test results of at least one carrier test item corresponding to the multiple network access terminals under test, and transmitting the test results to the terminal so that the terminal displays the test results.
[0042] It can be seen that the present application can verify the CC carrier function of multiple network access terminals under test at the same time. Specifically, based on the carrier test command sent by the terminal, the present application encapsulates at least one carrier test item corresponding to the multiple network access terminals under test into the same test request packet, and sends the test request packet to the physical base station, thereby realizing the CC carrier function test of multiple network access terminals under test through one test request packet; then, based on the test response packet of the test request packet returned by the physical base station, the test results of at least one carrier test item corresponding to the multiple network access terminals under test are obtained, and the test results are transmitted to the terminal, so that the terminal obtains and displays the corresponding test results. The scheme realizes the carrier function test of at least one carrier test item of multiple network access terminals under test in a single test process, and can test the CC function of multiple network access terminals under test at one time, making the verification work more convenient, and non-professionals can also participate in the verification work, and the verification process is simple and easy to implement; and the scheme does not need to use special equipment to simulate the base station, but communicates with the actual physical base station to complete the test, so it can confirm whether the real physical base station supports the CC function of each network access terminal under test, so that the verification cost is reduced.
[0043] Correspondingly, a carrier test device, equipment, medium, product and system provided by the present application also have the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0045] Figure 1 A flow chart of a carrier testing method disclosed in this application;
[0046] Figure 2 A CC list schematic diagram disclosed in this application;
[0047] Figure 3 A schematic diagram of a carrier test system disclosed in this application;
[0048] Figure 4 A schematic diagram of a three-layer structure for communication disclosed in this application;
[0049] Figure 5 A schematic diagram of a user plane protocol stack disclosed in this application;
[0050] Figure 6 A schematic diagram of the structure of an encapsulation protocol disclosed in this application;
[0051] Figure 7 A schematic diagram of a test report disclosed in this application;
[0052] Figure 8 A server structure diagram provided for this application;
[0053] Fig. 9 A structural diagram of a network access terminal provided for this application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] At present, the component carrier (CC) is an important element for evaluating the data transmission speed between the network and the terminal device. At present, in order to verify the CC function in the terminal device, it is necessary to use special equipment to simulate the communication base station. The professionalism and standardized use documents of the special equipment have brought difficulties and thresholds to the verification work. It is difficult for ordinary people and non-professionals to participate in the verification work, resulting in high cost and difficulty in implementation of the verification work. To this end, the present application provides a carrier test scheme, which can implement the carrier function test of at least one carrier to be tested item of multiple tested network access terminals in a single test process, and can test the CC function of multiple tested network access terminals at one time, making the verification work more convenient, and non-professionals can also participate in the verification work. The verification process is simple and easy to implement; and the scheme does not need to use special equipment to simulate the base station, but communicates with the actual physical base station to complete the test, so it can confirm whether the real physical base station supports the CC function of each tested network access terminal, so that the verification cost is reduced.
[0056] See also Figure 1 As shown, the embodiment of the present application discloses a carrier test method, which is applied to a test end and includes:
[0057] S101. In response to a carrier test command sent by a terminal, encapsulate at least one carrier test item corresponding to a plurality of network access terminals under test into a same test request packet, and send the test request packet to a physical base station.
[0058] It should be noted that the test end includes: a processor, a Bluetooth module, an antenna module, etc., and can be a hardware device. The terminal can be a desktop computer, a mobile phone, a smart watch, etc. The network access end under test can be any device with a built-in cellular communication module, such as a mobile phone, a smart watch, a walkie-talkie, etc.
[0059] In this embodiment, the terminal is used to trigger the test process, collect and display the test results, and can interact with people. The test end can receive the carrier test command sent by the terminal and execute S101 to S103 based on the command. The carrier test command can be set by the user on the terminal side, and specifically can include: test mode and test content; the number, type and ID of the network access terminal to be tested, etc.
[0060] In one implementation, at least one carrier test item corresponding to each of the multiple network access terminals under test is encapsulated into the same test request packet, including: activating the carrier functions (such as CC function, CA function, etc.) of the multiple network access terminals under test, and determining at least one carrier test item corresponding to each of the multiple network access terminals under test; encapsulating at least one carrier test item corresponding to each of the multiple network access terminals under test into a test request packet in an RRC protocol format or a NAS protocol format. The RRC (Radio Resource Control) protocol is a key protocol in a mobile communication network, which is mainly responsible for the allocation and management of wireless resources, and can realize wireless resource management, connection control, security activation, and measurement control. The NAS (Non Access Stratum) protocol is another core protocol in a mobile communication network, which is mainly responsible for processing the signaling interaction between the user equipment (UE) and the core network, and is used to realize registration and authentication, session management, mobility management, and billing information processing. Therefore, the test request packet can be constructed with the help of the RRC protocol or the NAS protocol.
[0061] In one example, the carrier test items may include: EN-DC combination, carrier aggregation type, upload frequency band, and download frequency band. EN-DC combination refers to the dual connection technology of 5G NR (New Radio) and LTE (Long Term Evolution) networks, which is used to optimize data transmission performance; this technology solves the problem of insufficient coverage or capacity of 5G services by using 5G and 4G networks at the same time. Carrier aggregation types include: LTE_2DLCA: Combining dual connectivity (Dual Connectivity) and carrier aggregation (Carrier Aggregation, CA) technology, used for downloading using 2 RF bands in LTE networks, this technology is used to improve performance. LTE_3DLCA: Combining dual connectivity and carrier aggregation technology, used for downloading using 3 RF bands in LTE networks; LTE_4DLCA: Combining dual connectivity and carrier aggregation technology, used for downloading using 4 RF bands in LTE networks; NR 2DLCA: Combining dual connectivity and carrier aggregation technology, used for downloading using 2 RF bands in NR networks, this technology is used to improve performance.
[0062] Among them, encapsulating at least one carrier test item corresponding to each of the multiple network access terminals under test into the same test request packet includes: constructing multiple test rows according to the at least one carrier test item corresponding to each of the multiple network access terminals under test; encapsulating the multiple test rows as data payloads into the same test request packet. It can be seen that this embodiment constructs multiple test rows based on the EN-DC combination to be tested, the carrier aggregation type, the upload frequency band, and the download frequency band, and then performs data encapsulation accordingly. The specific content of the test row is as follows: Figure 2 The individual rows in the list are shown.
[0063] In one implementation, activating the carrier functions of multiple network access terminals under test includes: sending a wireless resource control request to a physical base station; receiving a parameter response packet of the wireless resource control request returned by the physical base station; parsing the parameter response packet to obtain the network configuration parameters of the physical base station (i.e., the relevant network parameters supported by the physical base station) and the network access terminal control parameters (i.e., the relevant network parameters supported by the network access terminal); activating the carrier functions of multiple network access terminals under test respectively according to the network configuration parameters and the network access terminal control parameters. The physical base station provides carrier function support information through SIB (System Information Block) and DCI (Downlink Control Information), and after receiving this information, the terminal device sets and activates the carrier function through the wireless resource control connection process and DCI.
[0064] Among them, SIB is used to provide various parameters required for network configuration and operation, including frequency band, network identification, access rights and other information, which enables the network access terminal to obtain the necessary network configuration information and decide how to connect to the network. The network access terminal obtains carrier component related information, network identification information and other physical layer and logical layer parameters through the received SIB. In the 5G network, SIB1 contains basic information such as cell identification, frequency bandwidth, and access network, while SIB2 contains more detailed physical layer parameters, such as modulation method, signal transmission time, etc.
[0065] DCI is control information sent by the base station to the network access terminal. It contains information about the scheduling and resource allocation of data transmission. It is mainly responsible for controlling the downlink data transmission process of the network access terminal, including time, frequency resources, modulation mode, etc. DCI is the key to controlling the downlink. The information it contains helps the network access terminal to correctly receive data and dynamically adjust resource usage to optimize transmission efficiency. For example, DCI can instruct the network access terminal which frequency resource to use, when to transmit, and what modulation mode to use.
[0066] It should be noted that the information related to the carriers supported by each tested network access terminal is pre-stored in the test terminal, for example: the information related to the carriers supported by each tested network access terminal is stored in the network access terminal carrier list in the form of a list. Then in one embodiment, determining at least one carrier to-be-tested item corresponding to a plurality of tested network access terminals respectively includes: querying a pre-stored network access terminal carrier list to obtain at least one carrier to-be-tested item corresponding to a plurality of tested network access terminals respectively; the at least one carrier to-be-tested item includes: EN-DC combination, carrier aggregation type, upload frequency band, and download frequency band.
[0067] S102: Receive a test response packet of the test request packet returned by the physical base station.
[0068] S103: Parse the test response packet to obtain test results of at least one carrier test item corresponding to each of the plurality of tested network access terminals, and transmit the test results to the terminal so that the terminal displays the test results.
[0069] In one embodiment, transmitting the test results to the terminal includes: generating a corresponding test report according to a preset format based on the carrier function activation status of multiple network access terminals under test and the test results of at least one carrier test item corresponding to the multiple network access terminals under test; and transmitting the test report to the terminal.
[0070] In this embodiment, the terminal communicates with the test end via Bluetooth, and the test end communicates with the physical base station via a cellular network.
[0071] It can be seen that this embodiment can verify the CC carrier function of multiple network access terminals under test at the same time. Specifically, this embodiment encapsulates at least one carrier test item corresponding to multiple network access terminals under test into the same test request packet based on the carrier test command sent by the terminal, and sends the test request packet to the physical base station, thereby realizing the CC carrier function test of multiple network access terminals under test through one test request packet; then, based on the test response packet of the test request packet returned by the physical base station, the test results of at least one carrier test item corresponding to multiple network access terminals under test are obtained, and the test results are transmitted to the terminal, so that the terminal obtains and displays the corresponding test results. This solution realizes the carrier function test of at least one carrier test item of multiple network access terminals under test in a single test process, and can test the CC functions of multiple network access terminals under test at one time, making the verification work more convenient, and non-professionals can also participate in the verification work, and the verification process is simple and easy to implement; and this solution does not need to use special equipment to simulate the base station, but communicates with the actual physical base station to complete the test, so it can confirm whether the real physical base station supports the CC function of each network access terminal under test, so that the verification cost is reduced.
[0072] See also Figure 3 , the carrier test system can include three parts: A, B, and C. Part A is the management and communication signal sending unit of the wireless network, which is composed of a mobile communication switch (MSC) and a physical base station (BTS), responsible for responding to the test command and sending it to Part B; Part B is the test end, including modules such as application processor, modem, memory, and antenna unit, which can receive and process the test response packet sent by A, and transmit the relevant processing results to Part C; Part C is the user equipment, such as smart phones, tablets, etc., which is used to receive and display the aforementioned processing results and control the work of the B device.
[0073] Among them, the test end can confirm multiple frequency bands supported by the physical base station. Specifically, it can send a request to the physical base station through RRC or NAS to request the frequency band information supported by the physical base station (ie, CC / CA list).
[0074] Among them, whether the physical base station provides multi-band connection or only supports specific frequency bands can be confirmed through RRC Connection Reconfiguration message or Measurement Report message. These messages are transmitted through S1AP or X2AP protocol. Once a response is received on whether the physical base station supports the CC / CA list, the test end will decide the subsequent operation based on this response. If the physical base station supports the corresponding CC / CA list, a SUCCESS message is returned; if not, a negative message such as ERROR or NOT SUPPORTED is returned. The test end will perform subsequent steps based on these responses.
[0075] The specific contents to be tested for each network access terminal are as follows: Figure 2 As shown, Figure 2 The meanings of the contents are as follows:
[0076] ①Subcategory: 1DL+2FR1
[0077] 1DL: One RF band is used for downloading.
[0078] 2FR1: Configuration using two FR1 bands.
[0079] FR1: refers to the frequency range of 450MHz to 6GHz, mainly including the Sub-6GHz band. This band provides wide coverage and stable connection.
[0080] FR2: refers to the frequency range of 24.25GHz to 52.6GHz, mainly including the millimeter wave band. This band supports ultra-high-speed data transmission, but has a shorter coverage distance and higher obstacle sensitivity.
[0081] ②EN-DC combination (E-UTRANR dual connection)
[0082] EN-DC refers to dual connectivity technology for 5G NR (New Radio) and LTE (Long Term Evolution) networks to optimize data transmission performance. This technology solves the problem of insufficient coverage or capacity of 5G services by using 5G and 4G networks simultaneously. This example defines the EN-DC combination that can be supported by the access point of the network under test.
[0083] ③RN93xx (model code of the network access terminal under test)
[0084] The tested network access point classification code involved in this example is used to identify the product model. Each model supports different functions and ranges, so the classification code can be used to distinguish different models. This represents the tested network access point belonging to a specific series.
[0085] ④SA522M (list of functions supported by chipset)
[0086] A list of technical features supported by the chipset used in this example. The chipset supports a variety of communication functions, which are key factors in determining the performance and functional scope of the network access point under test.
[0087] ⑤RN932 / 4 / 8V (sub-model concept)
[0088] The sub-models of the RN93xx series defined in this example. Each sub-model has unique technical characteristics that can be used to achieve performance differentiation between the network access points under test.
[0089] ⑥UL_LTE and UL_NR (RF bands supported by upload function)
[0090] UL_LTE: Lists the RF bands that support uploads on LTE networks.
[0091] UL_NR: Lists the RF bands that support NR network uploads.
[0092] ⑦4x4DLMIMOLTE and NR (download MIMO supported RF bands)
[0093] 4x4DLMIMOLTE: Downloads a list of RF bands for an LTE network that supports MIMO (Multiple Input Multiple Output) technology, using 4 antennas.
[0094] 4x4DLMIMONR: Downloads the RF band list for NR networks that support MIMO technology and use 4 antennas.
[0095] ⑧Carrier aggregation technology
[0096] LTE_2DLCA: Combines dual connectivity and carrier aggregation technologies to use two RF bands for downloading in LTE networks. This technology is used to improve performance.
[0097] LTE_3DLCA: combines dual connectivity and carrier aggregation technologies to use three RF bands for downloading in LTE networks.
[0098] LTE_4DLCA: combines dual connectivity and carrier aggregation technologies to use 4 RF bands for downloading in LTE networks.
[0099] NR2DLCA: Combines dual connectivity and carrier aggregation technologies for downloading using two RF bands in NR networks. This technology is used to improve performance.
[0100] ⑨EN-DC (E-UTRANR dual connection)
[0101] EN-DC refers to the dual connectivity technology of 5GNR and LTE networks to optimize data transmission performance. This example proposes a method to maximize data transmission performance by utilizing 5G and 4G networks simultaneously.
[0102] See also Figure 4 , the communication between the user equipment (UE), the physical base station (eNodeB) and the MME (mobile management entity) of the core network adopts a three-layer structure: L1 (physical layer): PHY layer, responsible for the actual signal processing and transmission. L2 (data link layer): responsible for MAC wireless resource allocation and data priority setting; RLC data retransmission and reorganization function; PDCP encryption and compression function. L3 (network layer): responsible for RRC wireless resource configuration, connection establishment and release control; NAS non-access layer communication with MME, handling authentication and session management.
[0103] Among them, the data service transmission path of the user plane (User Plane) is: user data (such as Internet traffic) is transmitted through the PDCP, RLC, MAC, and PHY layers. The control plane (Control Plane) is the connection management and signal transmission path, which includes the RRC and NAS layers, and processes the control signals between the eNodeB and the MME. The connection between the UE, eNodeB, and MME includes: between the UE and the eNodeB, that is, data exchange between the L1 and L2 layers and signal control between the L3 layer; between the eNodeB and the MME, that is, communication with the MME of the core network through the NAS layer.
[0104] See also Figure 5 In the user plane protocol stack shown, between UE (user equipment) and eNodeB, each layer exchanges data with its corresponding peer layer and performs corresponding functions.
[0105] The protocol layer between the tested network access terminal equipment (UE) and the physical base station (eNodeB) is described as follows:
[0106] PDCP (Packet Data Convergence Protocol): Responsible for header compression, data integrity protection, encryption and other functions to efficiently handle data transmission.
[0107] RLC (Radio Link Control): performs functions such as packet segmentation and reassembly, error recovery, and flow control.
[0108] MAC (Media Access Control): Responsible for wireless resource scheduling, multiple access control and data transmission priority setting.
[0109] PHY (Physical Layer): handles the actual modulation, coding, and transmission and reception of wireless signals.
[0110] Among them, PDCP, as the highest layer of the data flow, is responsible for encrypting and header compression before transmitting the data to the RLC layer. RLC divides the data into transmission blocks or reassembles the data before passing it to the MAC layer. MAC effectively manages the wireless resources and passes the data to the PHY layer. PHY converts the data into actual RF signals for transmission or processes the received RF signals.
[0111] See also Figure 6 , the packaging of the test package can refer to Figure 6 The structure shown is implemented. Figure 6 The structure shown Figure 2 All test lines in the list are encapsulated into a request and sent to the physical base station. The physical base station replies with a response packet containing the results of whether each test line is supported. If the physical base station supports the corresponding CC / CA list, it returns a SUCCESS message; if not, it returns a negative message such as ERROR or NOT SUPPORTED. Finally, the test end summarizes the test results to obtain a test report and sends it to the terminal for the user to view.
[0112] In one example, the test report can be displayed by means of a web application. The test report can be referred to Figure 7 The test reports can be visualized using front-end frameworks such as React or Vue.js; in addition, the test reports can be presented graphically using data visualization libraries such as D3.js or Plotly.js.
[0113] For example, the code to generate an RRC connection request message and process the response using the Scapy library is as follows:
[0114] Python
[0115] import scapy.all as scapy
[0116] # Example: Create an RRC connection request message
[0117] def create_rrc_connection_request():
[0118] rrc_request = scapy.Ether() / scapy.IP() / scapy.UDP() / scapy.RRCConnectionRequest()
[0119] return rrc_request
[0120] # Send RRC request and receive response
[0121] def send_rrc_request():
[0122] rrc_request = create_rrc_connection_request()
[0123] response = scapy.sr1(rrc_request)
[0124] if response:
[0125] print("Received response:", response.show())
[0126] # implement
[0127] send_rrc_request()
[0128] A carrier testing device provided in an embodiment of the present application is introduced below. The carrier testing device described below can be referenced to other embodiments described in this document.
[0129] The present application discloses a carrier testing device, including:
[0130] A sending module, configured to encapsulate at least one carrier test item corresponding to each of the plurality of network access terminals under test into the same test request packet in response to a carrier test command sent by the terminal, and send the test request packet to the physical base station;
[0131] A receiving module, used to receive a test response packet of the test request packet returned by the physical base station;
[0132] The parsing module is used to parse the test response packet, obtain the test results of at least one carrier test item corresponding to multiple tested network access terminals respectively, and transmit the test results to the terminal so that the terminal displays the test results.
[0133] In one implementation, the sending module is specifically used for:
[0134] Activating carrier functions of multiple network access terminals under test, and determining at least one carrier test item corresponding to each of the multiple network access terminals under test;
[0135] At least one carrier test item corresponding to each of the plurality of tested network access terminals is encapsulated into a test request packet in an RRC protocol format or a NAS protocol format.
[0136] In one implementation, the sending module is specifically used for:
[0137] Sending a radio resource control request to a physical base station;
[0138] Receive a parameter response packet of a radio resource control request returned by the physical base station;
[0139] Parse the parameter response packet to obtain the network configuration parameters of the physical base station and the network access terminal control parameters;
[0140] According to the network configuration parameters and the network access terminal control parameters, the carrier functions of the multiple tested network access terminals are activated respectively.
[0141] In one implementation, the sending module is specifically used for:
[0142] A pre-stored network access terminal carrier list is queried to obtain at least one carrier test item corresponding to each of the multiple tested network access terminals; the at least one carrier test item includes: EN-DC combination, carrier aggregation type, upload frequency band, and download frequency band.
[0143] In one implementation, the sending module is specifically used for:
[0144] Constructing a plurality of test rows according to at least one carrier test item corresponding to each of the plurality of network access terminals under test;
[0145] Encapsulate multiple test rows as data payload into the same test request packet.
[0146] In one implementation, the parsing module is specifically used to:
[0147] Generate a corresponding test report according to a preset format based on the activation status of the carrier functions of the multiple tested network access terminals and the test results of at least one carrier test item corresponding to the multiple tested network access terminals respectively;
[0148] Transmit the test report to the terminal.
[0149] Among them, for more specific working processes of each module and unit in this embodiment, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0150] It can be seen that the present embodiment provides a carrier testing device, which can implement the carrier function test of at least one carrier test item of multiple network access terminals under test in a single test process, and can test the CC functions of multiple network access terminals under test at one time, so that the verification work is more convenient, and non-professionals can also participate in the verification work, and the verification process is simple and easy to implement; and the scheme does not need to rely on special equipment to simulate the base station, but communicates with the actual physical base station to complete the test, so it can confirm whether the real physical base station supports the CC function of each network access terminal under test, so that the verification cost is reduced.
[0151] A carrier test system provided in an embodiment of the present application is introduced below. The carrier test system described below can be referenced to other embodiments described in this document.
[0152] An embodiment of the present application discloses a carrier test system, including: a terminal, a test terminal and a physical base station.
[0153] A terminal, used for sending a carrier test command;
[0154] The test end is used to encapsulate at least one carrier test item corresponding to each of the multiple network access terminals under test into the same test request packet in response to the carrier test command, and send the test request packet to the physical base station;
[0155] A physical base station, used to generate a corresponding test response packet according to the test request packet, and send the test response packet to the test end;
[0156] The test end is also used to receive a test response packet; parse the test response packet to obtain the test results of at least one carrier test item corresponding to each of the multiple tested network access terminals, and transmit the test results to the terminal;
[0157] The terminal is also used to display test results.
[0158] In one implementation, the terminal communicates with the test end via Bluetooth, and the test end communicates with the physical base station via a cellular network.
[0159] In one implementation, the test end is capable of activating the carrier functions of multiple network access ends under test, and determining at least one carrier test item corresponding to each of the multiple network access ends under test; and encapsulating at least one carrier test item corresponding to each of the multiple network access ends under test into a test request packet in an RRC protocol format or a NAS protocol format.
[0160] In one implementation, the test end can send a wireless resource control request to a physical base station; receive a parameter response packet of the wireless resource control request returned by the physical base station; parse the parameter response packet to obtain the network configuration parameters and network access terminal control parameters of the physical base station; and activate the carrier functions of multiple network access terminals under test respectively according to the network configuration parameters and the network access terminal control parameters.
[0161] In one implementation, the test end can query a pre-stored network access end carrier list to obtain at least one carrier test item corresponding to multiple tested network access ends; the at least one carrier test item includes: EN-DC combination, carrier aggregation type, upload frequency band, and download frequency band.
[0162] In one implementation, the test end can construct multiple test rows according to at least one carrier test item corresponding to each of the multiple network access ends under test; and encapsulate the multiple test rows as data payloads into the same test request packet.
[0163] In one implementation, the test end can generate a corresponding test report according to a preset format based on the carrier function activation status of multiple network access terminals under test and the test results of at least one carrier test item corresponding to each of the multiple network access terminals under test; and transmit the test report to the terminal.
[0164] Among them, for more specific working processes of each end in this embodiment, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0165] It can be seen that the present embodiment provides a carrier testing system, which can implement the carrier function test of at least one carrier test item of multiple network access terminals under test in a single test process, and can test the CC functions of multiple network access terminals under test at one time, so that the verification work is more convenient, and non-professionals can also participate in the verification work, and the verification process is simple and easy to implement; and the scheme does not need to use special equipment to simulate the base station, but communicates with the actual physical base station to complete the test, so it can confirm whether the real physical base station supports the CC function of each network access terminal under test, so that the verification cost is reduced.
[0166] An electronic device provided in an embodiment of the present application is introduced below. The electronic device described below can be referenced to other embodiments described in this document.
[0167] The present application discloses an electronic device, including:
[0168] Memory, used to store computer programs;
[0169] A processor is used to execute the computer program to implement the method disclosed in any of the above embodiments.
[0170] Furthermore, the present application also provides an electronic device. The electronic device can be Figure 8 The server shown can also be Fig. 9 The network access port shown. Figure 8 and Fig. 9 All of them are structural diagrams of electronic devices according to an exemplary embodiment, and the contents in the diagrams cannot be regarded as any limitation on the scope of use of the present application.
[0171] Figure 8A schematic diagram of the structure of a server provided in an embodiment of the present application. The server may specifically include: at least one processor, at least one memory, a power supply, a communication interface, an input / output interface, and a communication bus. The memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the relevant steps in the carrier test disclosed in any of the aforementioned embodiments.
[0172] In this embodiment, the power supply is used to provide working voltage for each hardware device on the server; the communication interface can create a data transmission channel between the server and external devices, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0173] In addition, the memory as a carrier for resource storage can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon include operating system, computer programs and data, etc. The storage method can be temporary storage or permanent storage.
[0174] The operating system is used to manage and control the hardware devices and computer programs on the server to realize the operation and processing of the data in the memory by the processor, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the carrier test method disclosed in any of the above embodiments, the computer program can also further include computer programs that can be used to complete other specific tasks. In addition to data such as application update information, the data can also include data such as application developer information.
[0175] Fig. 9 A schematic diagram of the structure of a network access terminal provided in an embodiment of the present application, the network access terminal may specifically include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.
[0176] Generally, the network access terminal in this embodiment includes: a processor and a memory.
[0177] Among them, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0178] The memory may include one or more computer-readable storage media, which may be non-transitory. The memory may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory is at least used to store the following computer program, wherein, after the computer program is loaded and executed by the processor, it can implement the relevant steps in the carrier test method performed by the network access terminal side disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory may also include an operating system and data, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system may include Windows, Unix, Linux, etc. The data may include, but is not limited to, update information of the application.
[0179] In some embodiments, the network access terminal may also include a display screen, an input and output interface, a communication interface, a sensor, a power supply, and a communication bus.
[0180] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the network access terminal, and may include more or fewer components than those shown in the figure.
[0181] A readable storage medium provided in an embodiment of the present application is introduced below. The readable storage medium described below can be cross-referenced with other embodiments described in this document.
[0182] A readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the carrier test method disclosed in the above embodiment. The readable storage medium is a computer-readable storage medium, which, as a carrier for storing resources, may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system, a computer program and data, etc., and the storage method may be temporary storage or permanent storage.
[0183] A computer program product provided in an embodiment of the present application is introduced below. The computer program product described below can be cross-referenced with other embodiments described in this document.
[0184] A computer program product comprises a computer program / instruction, wherein the computer program / instruction implements the steps of the carrier testing method disclosed above when executed by a processor.
[0185] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0186] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of readable storage medium known in the art.
[0187] Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A carrier testing method, characterized in that: include: In response to the carrier test command sent by the terminal, encapsulate at least one carrier to-be-tested item corresponding to each of the plurality of network access terminals under test into the same test request packet, and send the test request packet to the physical base station; receiving a test response packet of the test request packet returned by the physical base station; The test response packet is parsed to obtain the test results of at least one carrier test item corresponding to each of the multiple tested network access terminals, and the test results are transmitted to the terminal so that the terminal displays the test results.
2. The method according to claim 1, characterized in that Encapsulating at least one carrier test item corresponding to each of the plurality of network access terminals under test into the same test request packet, including: activating carrier functions of the plurality of network access terminals under test, and determining at least one carrier to-be-tested item corresponding to each of the plurality of network access terminals under test; Encapsulate at least one carrier test item corresponding to each of the multiple network access terminals under test into the test request packet in the RRC protocol format or the NAS protocol format.
3. The method according to claim 2, characterized in that Activating the carrier functions of the plurality of network access terminals under test includes: Sending a radio resource control request to the physical base station; receiving a parameter response packet of the radio resource control request returned by the physical base station; Parsing the parameter response packet to obtain network configuration parameters and network access terminal control parameters of the physical base station; According to the network configuration parameters and the network access terminal control parameters, the carrier functions of the multiple tested network access terminals are activated respectively.
4. The method according to claim 2, characterized in that: Determining at least one carrier test item corresponding to each of the plurality of network access terminals under test, including: Query a pre-stored network access terminal carrier list to obtain at least one carrier test item corresponding to each of the multiple tested network access terminals; the at least one carrier test item includes: EN-DC combination, carrier aggregation type, upload frequency band, and download frequency band.
5. The method according to claim 1, characterized in that Encapsulating at least one carrier test item corresponding to each of the plurality of network access terminals under test into the same test request packet, including: Constructing a plurality of test rows according to at least one carrier test item respectively corresponding to the plurality of network access terminals under test; The multiple test rows are encapsulated as data payload into the same test request packet.
6. The method according to any one of claims 1 to 5, characterized in that: Transmitting the test result to the terminal includes: Generate a corresponding test report according to a preset format based on the activation status of the carrier functions of the multiple network access terminals under test and the test results of at least one carrier test item corresponding to the multiple network access terminals under test; The test report is transmitted to the terminal.
7. A carrier testing device, characterized in that: include: A sending module, configured to encapsulate at least one carrier test item corresponding to each of the plurality of network access terminals under test into the same test request packet in response to a carrier test command sent by the terminal, and send the test request packet to the physical base station; A receiving module, used for receiving a test response packet of the test request packet returned by the physical base station; The parsing module is used to parse the test response packet to obtain the test results of at least one carrier test item corresponding to the multiple tested network access terminals respectively, and transmit the test results to the terminal so that the terminal displays the test results.
8. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method according to any one of claims 1 to 6.
9. A readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
11. A carrier test system, characterized in that: include: A terminal, used for sending a carrier test command; The test end is used to encapsulate at least one carrier test item corresponding to each of the multiple network access terminals under test into the same test request packet in response to the carrier test command, and send the test request packet to the physical base station; The physical base station is used to generate a corresponding test response packet according to the test request packet, and send the test response packet to the test end; The test end is further used to receive the test response packet; parse the test response packet to obtain the test result of at least one carrier test item corresponding to each of the multiple tested network access ends, and transmit the test result to the terminal; The terminal is also used to display the test result.
12. The system according to claim 11, characterized in that The terminal communicates with the test end via Bluetooth, and the test end communicates with the physical base station via a cellular network.