CN115134279A - Terminal testing method and device and computer readable storage device - Google Patents

Terminal testing method and device and computer readable storage device Download PDF

Info

Publication number
CN115134279A
CN115134279A CN202110546548.6A CN202110546548A CN115134279A CN 115134279 A CN115134279 A CN 115134279A CN 202110546548 A CN202110546548 A CN 202110546548A CN 115134279 A CN115134279 A CN 115134279A
Authority
CN
China
Prior art keywords
test
terminal
address information
terminals
connection
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.)
Pending
Application number
CN202110546548.6A
Other languages
Chinese (zh)
Inventor
冯波
刘建兵
付书云
王茹月
徐圣杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanvil Technology Co ltd
Original Assignee
Fanvil Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanvil Technology Co ltd filed Critical Fanvil Technology Co ltd
Priority to CN202110546548.6A priority Critical patent/CN115134279A/en
Publication of CN115134279A publication Critical patent/CN115134279A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The application relates to a terminal testing method, a device and a computer readable storage device, wherein the testing method comprises the following steps: respectively receiving connection requests sent by a plurality of terminals, wherein the connection requests comprise first address information of the terminals; respectively establishing TCP connections corresponding to the test channels of the plurality of terminals according to the connection requests; and after the connection is successful, sending test instructions to the terminals corresponding to the test channels respectively. According to the method and the device, the Labview is used for developing the DHCP service module to provide IP for the terminal, the TCP monitoring module is used for monitoring the active connection request sent by the terminal, and meanwhile, the MAC address of the terminal is used as the unique identifier, so that the binding of TCP connection and test channels can be realized, each test channel has independent TCP connection, and the independent communication and parallel test of multiple test channels are realized.

Description

Terminal testing method and device and computer readable storage device
Technical Field
The present application relates to the field of automated testing technologies, and in particular, to a terminal testing method, device, and computer readable storage medium.
Background
With the continuous increase of labor cost, the requirements on production quality and production efficiency are higher and higher, and the requirements on the production of telephone products cannot be met by using the traditional manual detection and single-channel test scheme. At present, the testing scheme of the IP phone mainly uses TCP (Transmission Control Protocol) as an interactive Protocol, and to implement a multi-channel parallel testing scheme, the corresponding relationship between TCP connection and channels needs to be solved.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a terminal testing method, terminal testing equipment and a computer readable storage medium, and the problem that multi-channel parallel testing cannot be realized during IP phone testing in the prior art can be solved.
In order to solve the technical problem, the application adopts a technical scheme that: a terminal testing method is provided, and the testing method comprises the following steps: respectively receiving connection requests sent by a plurality of terminals, wherein the connection requests comprise first address information of the terminals; respectively establishing TCP connections corresponding to the test channels of the plurality of terminals according to the connection requests; and after the connection is successful, sending a test instruction to the terminal corresponding to the test channel respectively.
Wherein, respectively establishing the TCP connections corresponding to the test channels of the plurality of terminals according to the connection request, further comprising: respectively acquiring test channels corresponding to the first address information; binding the test channel and the TCP connection; and sending connection success information to the terminal corresponding to the test channel.
Before the obtaining of the test channels corresponding to the first address information, respectively, the method further includes: and setting the first address information corresponding to the plurality of terminals in a test channel corresponding to a test server terminal in advance.
Wherein, the receiving connection requests sent by a plurality of terminals respectively, and the connection requests including the first address information further includes: receiving discovery messages sent by a plurality of terminals; selecting an address pool in the same network with the address information of the discovery message interface, selecting available second address information from the address pool, and sending the second address information to the terminal by providing a message; receiving request messages sent by a plurality of terminals, wherein the request messages at least comprise second address information of the terminals; and sending a confirmation message to the terminal so that the terminal performs configuration and use according to the second address information.
Wherein, the providing message and the confirming message further include an option field for the terminal to perform judgment and test mode selection.
In order to solve the technical problem, the other technical scheme adopted by the application is as follows: a terminal testing method is provided, and the testing method comprises the following steps: respectively sending connection requests to a test server, wherein the connection requests comprise the first address information; and after the connection is successful, receiving a test instruction sent by the test service terminal.
Wherein, the sending connection requests to the test server respectively further comprises, before the connection request includes the first address information: respectively sending a discovery message to position the test server; receiving a providing message sent by the test server, wherein the providing message at least comprises second address information; respectively sending request messages to the test server end; and receiving the confirmation message sent by the test server side, and configuring and using the confirmation message according to the second address information.
Wherein, the providing message and the confirming message further include an option field for the terminal to perform judgment and test mode selection.
In order to solve the above technical problem, the present application adopts another technical solution: there is provided a terminal testing device comprising a processor and a memory, the memory having stored thereon computer instructions, the processor being coupled to the memory and, in operation, executing the computer instructions to implement a terminal testing method as claimed in any preceding claim.
In order to solve the above technical problem, the present application adopts another technical solution that: there is provided a computer readable storage medium having stored thereon a computer program for execution by a processor to implement the terminal testing method of any one of the above.
The beneficial effect of this application is: different from the situation in the prior art, in the foregoing embodiment, a terminal testing method, device, and computer-readable storage medium are provided, where a Labview is used to develop a DHCP service module to provide an IP for a terminal, a TCP monitoring module is used to monitor an active connection request sent by the terminal, and an MAC address of the terminal is used as a unique identifier, so that the TCP connection and the testing channels can be bound, and thus each testing channel has an independent TCP connection, and independent communication and parallel testing of multiple testing channels are achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a schematic flow chart of a first embodiment of a terminal testing method according to the present application;
FIG. 2 is a schematic flow chart of a second embodiment of a terminal testing method according to the present application;
FIG. 3 is a first interaction diagram of the terminal and the test server of the present application;
FIG. 4 is a second interaction diagram of the terminal and the test server of the present application;
FIG. 5 is a schematic flowchart illustrating an embodiment of step S110 of the present application;
FIG. 6 is a schematic flow chart of a third embodiment of a terminal testing method according to the present application;
FIG. 7 is a schematic flowchart illustrating a fourth embodiment of a terminal testing method according to the present application;
FIG. 8 is a schematic structural diagram of an embodiment of a terminal test apparatus according to the present application;
FIG. 9 is a schematic block diagram of an embodiment of a computer-readable storage medium provided herein.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is to be understood that the described embodiments are only some embodiments, but not all embodiments, of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart of a first embodiment of a terminal testing method according to the present application, in this embodiment, the terminal testing method is based on test software developed by labview, in a specific embodiment, the terminal is an IP phone, the test server is a test software end developed by labview, the test software developed by labview further includes a DHCP server module (Dynamic Host Configuration Protocol) and a TCP monitoring module, and the DHCP server module and the TCP monitoring module need to be opened simultaneously when the test software end is started in a testing process. Specifically, the first embodiment of the present application describes the testing method of the terminal in detail by taking the testing server as an example, and further includes, before executing the first embodiment of the present application:
the specific test method comprises the following steps:
please refer to fig. 2 to fig. 4 together, fig. 2 is a schematic flowchart of a second embodiment of the terminal testing method of the present application, fig. 3 is a schematic diagram of a first interaction between the terminal and the testing server, fig. 4 is a schematic diagram of a second interaction between the terminal and the testing server, and as shown in fig. 2, before executing step S100, the method further includes the following steps:
s200, receiving discovery messages sent by a plurality of terminals.
It can be understood that, when a terminal (in this embodiment, an IP telephone terminal) first accesses a network, the terminal does not know an IP address of a test server, and in order to learn the IP address of the test server, the terminal sends a discovery message (DHCP DISCOVER) in a broadcast manner, where the discovery message may carry first address information of the terminal, where the first address information may be an MAC address of the terminal. And the DHCP server in the same network segment with the terminal receives the sending message.
S210, selecting and finding the address information of the message interface in the address pool of the same network, selecting the available second address information from the address pool, and sending the message to the terminal by providing the message.
Further, the DHCP server module selects and receives an address pool in which address information of the message interface is found in the same network segment, and selects an available second address information from the address pool, and then sends the address pool to the terminal by providing a message (DHCP OFFER). In this embodiment, the second address information may be IP address information.
S220, receiving request messages sent from multiple terminals, where the request messages at least include the second address information of the terminal.
Further, the terminal receives only the first received offer message and then transmits a REQUEST message (DHCP REQUEST) in a broadcast manner to notify the DHCP server module of the second address information it has to select. Wherein, the request message at least includes the second address information (IP address information) of the terminal. Certainly, in other embodiments, the request message may further include an identifier of the DHCP server module, which is not specifically limited herein. And the DHCP server module receives a request message sent by the terminal.
And S230, sending a confirmation message to the terminal so that the terminal can configure and use according to the second address information.
Further, after receiving the request message sent from the terminal, the DHCP server module responds to the terminal a, that is, sends a confirmation message (DHCP ACK) to the terminal a, which indicates that the second address information (IP address) requested in the request message is allocated to the terminal for use, that is, the terminal can perform configuration and use according to the second address information.
Further, the provide message and the confirm message in the embodiment of the present application further include an option field, where the option field is used for the terminal to determine and select a corresponding test mode.
S100, respectively receiving connection requests sent by a plurality of terminals, wherein the connection requests comprise first address information of the terminals.
Optionally, after receiving the response message sent by the test server, the terminal (IP phone) of each channel determines the fixed option field in the acknowledgement message, and sends a connection request to the test server after selecting the corresponding test mode. The connection request includes first address information of the terminal, where the first address information may be a MAC address of the terminal, and is not specifically limited herein. And the test server side receives the connection requests sent by the terminals respectively.
And S110, respectively establishing TCP connections corresponding to the test channels of the plurality of terminals according to the connection requests.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating an embodiment of step S110 in the present application, and as shown in fig. 5, step S110 in the present application further includes the following sub-steps:
and S111, respectively acquiring the test channels corresponding to the first address information.
It can be understood that, before the obtaining of the test channels corresponding to the first address information, the method further includes setting the first address information corresponding to the plurality of terminals in the test channel corresponding to the test server in advance. That is to say, in the present application, the MAC address of the terminal may be preset in a test channel (test software end) corresponding to the test server end, that is, each test channel corresponds to a terminal. Optionally, after the test server receives connection requests sent by the plurality of terminals, respectively, because the connection requests include MAC address information of the terminals, a test channel corresponding to the MAC address information is searched in first address information preset by the test server according to the MAC address information.
And S112, binding the test channel with the TCP connection.
Further, after the test channel corresponding to the first address information is inquired and obtained, the test channel is matched and bound with the TCP connection. Therefore, each test channel has independent TCP connection, and each TCP connection can be in parallel communication, so that simultaneous testing of multiple channels is realized.
And S113, sending the connection success information to the terminal corresponding to the test channel.
Further, the information of successful connection is replied to the terminal corresponding to the test channel.
And S120, after the connection is successful, respectively sending test instructions to the terminals corresponding to the test channels.
And further, starting the successfully connected test channels and respectively sending test instructions to the terminals corresponding to the test channels, and testing by the terminals according to the test instructions.
Optionally, after the test is completed, a disconnection request is sent to the terminal, and the test of the test channel and the TCP connection are ended. And circulating the test process when the next terminal test is needed, namely continuously associating the corresponding test channel with the corresponding TCP connection by the mutual matching of the monitoring services of the DHCP server module and the TCP monitoring module, thereby realizing the simultaneous test of multiple terminals.
In the embodiment, the Labview is used to develop the DHCP service module to provide IP for the terminal, the TCP monitoring module is used to monitor the active connection request sent by the terminal, and the MAC address of the terminal is used as the unique identifier, so that the binding of the TCP connection and the test channels can be realized, each test channel has independent TCP connection, and the independent communication and parallel test of multiple test channels are realized.
Further, the test method of the application also has the following beneficial effects:
for terminal software development, the original TCP protocol is used for extension, so that the development period of the terminal can be shortened.
For a testing software end, the scheme of the application can provide independent, stable and reliable communication connection, and the number of testing channels is convenient to expand. Each test channel is independent, and the parallel test of different numbers of terminals can be compatible at the same time.
For production, complex personnel training is not needed, and only one person is needed to watch the tests of the plurality of test channels. When a test channel is operated, the test state of other test channels can not be interfered, the production detection efficiency can be improved by multiple times, and the labor cost is reduced to the great extent.
Example 2
Referring to fig. 6, fig. 6 is a flowchart illustrating a third embodiment of a method for testing a terminal according to the present application, wherein the third embodiment of the present application describes the method for testing the terminal in detail by taking the terminal (IP phone) as an example, and further includes the following steps before the third embodiment of the present application is executed
S300, respectively sending the discovery messages to position the test server.
Referring to fig. 7, fig. 7 is a schematic flowchart of a fourth embodiment of the terminal testing method according to the present application. It can be understood that, when a terminal (referred to as an IP telephone terminal in this embodiment) first accesses a network, it does not know an IP address of a test server terminal, and in order to learn the IP address of the test server terminal, the terminal sends a discovery message (DHCP DISCOVER) in a broadcast manner to locate a DHCP server located in the same network segment as the terminal. The discovery message may carry first address information of the terminal, where the first address information may be a MAC address of the terminal. And the DHCP server in the same network segment with the terminal receives the sending message.
S310, receiving a providing message sent by the test server, wherein the providing message at least comprises second address information.
Further, the DHCP server module selects and receives an address pool in which the address information of the interface of the discovery message is in the same network segment, and selects an available second address information from the address pool, and then sends the address pool to the terminal by providing a message (DHCP OFFER). In this embodiment, the second address information may be IP address information. And the terminal receives a providing message sent by the test server terminal, wherein the providing message at least comprises second address information.
S320, respectively sending the request messages to the test server.
Further, the terminal receives only the first received offer message and then sends a REQUEST message (DHCP REQUEST) in a broadcast manner to notify the DHCP server module of the second address information it has to select. Wherein, the request message at least includes the second address information (IP address information) of the terminal. Of course, in other embodiments, the request message may further include an identifier of the DHCP server module, which is not limited herein. And the DHCP server module receives a request message sent by the terminal.
S330, receiving the confirmation message sent by the test server, and configuring and using according to the second address information.
Further, after receiving the request message sent from the terminal, the DHCP server module responds to the terminal a, that is, sends a confirmation message (DHCP ACK) to the terminal a, and the terminal receives the confirmation message sent by the test server and performs configuration and use according to the second address information.
Further, the providing message and the confirmation message in the embodiment of the present application further include an option field, where the option field is used for the terminal to determine and select a corresponding test mode.
With further reference to fig. 6, the third embodiment of the present application includes the following steps:
s400, respectively sending connection requests to the test server, wherein the connection requests comprise the first address information.
Optionally, after receiving the response message sent by the test server, the terminal (IP phone) of each channel determines the fixed option field in the acknowledgement message, and sends a connection request to the test server after selecting the corresponding test mode. The connection request includes first address information of the terminal, where the first address information may be a MAC address of the terminal, and is not specifically limited herein. The test server end receives connection requests sent by the terminals respectively.
And S410, after the connection is successful, receiving a test instruction sent by the test service end.
Optionally, after the test channel is bound to the TCP connection, the test server sends a connection success message to the terminal corresponding to the test channel. Further, the test server side starts the test channel which is successfully connected and respectively sends test instructions to the terminals corresponding to the test channel, and the terminals respond to the test instructions to carry out testing.
After the test is completed, the terminal receives a disconnection request sent by the test server, responds to the disconnection request, and ends the test of the test channel and the TCP connection. Optionally, the test process is circulated when a next terminal test is required, that is, the monitoring services of the DHCP server module and the TCP monitoring module are mutually matched to continuously associate the corresponding test channel with the corresponding TCP connection, thereby implementing a simultaneous test of multiple terminals.
In the embodiment, the Labview is used to develop the DHCP service module to provide IP for the terminal, the TCP monitoring module is used to monitor the active connection request sent by the terminal, and the MAC address of the terminal is used as the unique identifier, so that the binding of the TCP connection and the test channels can be realized, each test channel has independent TCP connection, and the independent communication and parallel test of multiple test channels are realized.
Further, the test method of the application also has the following beneficial effects:
for terminal software development, the original TCP protocol is used for extension, so that the development period of the terminal can be shortened.
For a testing software end, the scheme of the application can provide independent, stable and reliable communication connection, and the number of testing channels is convenient to expand. Each test channel is independent, and the parallel test of different numbers of terminals can be compatible at the same time.
For production, complex personnel training is not needed, and the tests of a plurality of test channels can be attended by only one person. When a test channel is operated, the test state of other test channels can not be interfered, the production detection efficiency can be improved by multiple times, and the labor cost is reduced to a great extent.
Fig. 8 shows a schematic structural diagram of an embodiment of a terminal test device in the present application, and a specific embodiment of the present application does not limit a specific implementation of the terminal test device.
As shown in fig. 8, the terminal test apparatus may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein: the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408. A communication interface 404 for communicating with network elements of other devices, such as clients or other servers. The processor 402 is configured to execute the program 410, and may specifically execute the relevant steps in the embodiment of the terminal testing method described above.
In particular, program 410 may include program code comprising computer-executable instructions.
The processor 402 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present application. The planning equipment of the 5G station address comprises one or more processors which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may specifically be invoked by the processor 402 to perform the following operations:
respectively receiving connection requests sent by a plurality of terminals, wherein the connection requests comprise first address information of the terminals; respectively establishing TCP connections corresponding to the test channels of the plurality of terminals according to the connection requests; and after the connection is successful, sending a test instruction to the terminal corresponding to the test channel respectively.
And the program 410 may be further specifically invoked by the processor 402 to execute the following operations:
respectively sending connection requests to a test server, wherein the connection requests comprise the first address information; and after the connection is successful, receiving a test instruction sent by the test service end.
Please refer to the detailed description of steps S100 to S120 and steps S400 to S410 in the above embodiments, and details of the steps in this embodiment are not repeated herein.
In the embodiment, the Labview is used to develop the DHCP service module to provide IP for the terminal, the TCP monitoring module is used to monitor the active connection request sent by the terminal, and the MAC address of the terminal is used as the unique identifier, so that the binding of the TCP connection and the test channels can be realized, each test channel has independent TCP connection, and the independent communication and parallel test of multiple test channels are realized.
Further, the test method of the application also has the following beneficial effects:
for terminal software development, the original TCP protocol is used for extension, so that the development period of the terminal can be shortened.
For a testing software end, the scheme of the application can provide independent, stable and reliable communication connection, and the number of testing channels is convenient to expand. Each test channel is independent, and the parallel test of different numbers of terminals can be compatible at the same time.
For production, complex personnel training is not needed, and the tests of a plurality of test channels can be attended by only one person. When a test channel is operated, the test state of other test channels can not be interfered, the production detection efficiency can be improved by multiple times, and the labor cost is reduced to the great extent.
Referring to fig. 9, fig. 9 is a schematic block diagram of an embodiment of a computer-readable storage medium provided in the present application, where the computer-readable storage medium stores a computer program 310, and the computer program 310 can be executed by a processor to implement the terminal testing method in any of the above embodiments.
Optionally, the readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or may be a terminal device such as a computer, a server, a mobile phone, or a tablet.
In summary, it is easily understood by those skilled in the art that the present application provides a terminal testing method, device and computer readable storage medium, and an IP is provided for a terminal by using a Labview development DHCP service module, and an active connection request sent by the terminal is monitored by a TCP monitoring module, and meanwhile, a MAC address of the terminal is used as a unique identifier, so that a TCP connection and a testing channel can be bound, and thus each testing channel has an independent TCP connection, and independent communication and parallel testing of multiple testing channels are realized.
In the above description of the present specification, the terms "fixed," "mounted," "connected," or "connected" should be construed broadly unless otherwise explicitly specified or limited. For example, with the term "coupled", it can be fixed, removable, or integral; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship. Therefore, unless the specification explicitly defines otherwise, those skilled in the art can understand the specific meaning of the above terms in the present application according to specific circumstances.
From the above description of the present specification, those skilled in the art will also understand the terms used below, terms indicating orientation or positional relationship, such as "upper", "lower", "front", "rear", "left", "right", "length", "width", "thickness", "vertical", "horizontal", "top", "bottom", "inner", "outer", "axial", "radial", "circumferential", "central", "longitudinal", "transverse", "clockwise" or "counterclockwise", etc., are based on the orientation or positional relationship as shown in the drawings of the present specification, it is used for convenience in explanation of the disclosure and for simplicity in description, and does not explicitly show or imply that the devices or elements involved must be in the particular orientation described, constructed and operated, therefore, the above terms of orientation or positional relationship should not be understood or interpreted as limitations to the present application.
In addition, the terms "first" or "second", etc. used in this specification are used to refer to numbers or ordinal terms for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present specification, "a plurality" means at least two, for example, two, three or more, and the like, unless specifically defined otherwise.
While various embodiments of the present application have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Numerous modifications, changes, and substitutions will occur to those skilled in the art without departing from the spirit and scope of the present application. It should be understood that various alternatives to the embodiments of the application described herein may be employed in practicing the application. The following claims are intended to define the scope of the application and, accordingly, to cover module compositions, equivalents, or alternatives falling within the scope of these claims.

Claims (10)

1. A terminal testing method is characterized by comprising the following steps:
respectively receiving connection requests sent by a plurality of terminals, wherein the connection requests comprise first address information of the terminals;
respectively establishing TCP connections corresponding to the test channels of the plurality of terminals according to the connection requests;
and after the connection is successful, sending a test instruction to the terminal corresponding to the test channel respectively.
2. The method according to claim 1, wherein the establishing of the TCP connections corresponding to the test channels of the plurality of terminals according to the connection requests respectively further comprises:
respectively acquiring test channels corresponding to the first address information;
binding the test channel and the TCP connection;
and sending connection success information to the terminal corresponding to the test channel.
3. The method according to claim 2, wherein before the obtaining the test channels corresponding to the first address information, respectively, further comprising:
and setting the first address information corresponding to the plurality of terminals in a test channel corresponding to a test server terminal in advance.
4. The method according to claim 1, wherein the receiving connection requests sent by a plurality of the terminals, respectively, the connection requests including the first address information further comprises:
receiving discovery messages sent by a plurality of terminals;
selecting an address pool in the same network with the address information of the discovery message interface, selecting available second address information from the address pool, and sending the second address information to the terminal by providing a message;
receiving request messages sent by a plurality of terminals, wherein the request messages at least comprise second address information of the terminals;
and sending a confirmation message to the terminal so that the terminal performs configuration and use according to the second address information.
5. The method according to claim 4, wherein the provide message and the confirm message further comprise an option field for the terminal to make decisions and test mode selections.
6. A terminal testing method is characterized by comprising the following steps:
respectively sending connection requests to a test server, wherein the connection requests comprise the first address information;
and after the connection is successful, receiving a test instruction sent by the test service terminal.
7. The method according to claim 6, wherein the sending connection requests to the test server respectively, the connection requests including the first address information further comprises:
respectively sending a discovery message to position the test server;
receiving a providing message sent by the test server, wherein the providing message at least comprises second address information;
respectively sending request messages to the test server end;
and receiving the confirmation message sent by the test server side, and configuring and using the confirmation message according to the second address information.
8. The method of claim 7, wherein the provide message and the confirm message further comprise an option field for the terminal to make decisions and test mode selections.
9. A terminal test apparatus, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform the operations of the terminal testing method of any of claims 1-5 or 6-8.
10. A computer-readable storage medium, characterized in that it stores at least one executable instruction that, when run on a testing device/apparatus of a terminal, causes the terminal testing device/apparatus to perform the operations of the terminal testing method according to any one of claims 1-5 or 6-8.
CN202110546548.6A 2021-05-19 2021-05-19 Terminal testing method and device and computer readable storage device Pending CN115134279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110546548.6A CN115134279A (en) 2021-05-19 2021-05-19 Terminal testing method and device and computer readable storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110546548.6A CN115134279A (en) 2021-05-19 2021-05-19 Terminal testing method and device and computer readable storage device

Publications (1)

Publication Number Publication Date
CN115134279A true CN115134279A (en) 2022-09-30

Family

ID=83375251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110546548.6A Pending CN115134279A (en) 2021-05-19 2021-05-19 Terminal testing method and device and computer readable storage device

Country Status (1)

Country Link
CN (1) CN115134279A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538671A (en) * 2003-04-14 2004-10-20 华为技术有限公司 Digital user line broad band business testing method
CN1981508A (en) * 2004-07-06 2007-06-13 索福帮Bb股份有限公司 VoIP device test system and test method
CN105338131A (en) * 2015-11-30 2016-02-17 上海斐讯数据通信技术有限公司 Testing method and system for address pool capacity of DHCP server
CN105490875A (en) * 2015-11-25 2016-04-13 广州视源电子科技股份有限公司 Automatic testing method, device and system and product to be tested
US20190243752A1 (en) * 2018-02-05 2019-08-08 Webomates LLC Method and system for multi-channel testing
CN112367362A (en) * 2020-10-23 2021-02-12 深圳市信锐网科技术有限公司 Data processing method, device and equipment and computer storage medium
CN112601211A (en) * 2020-12-23 2021-04-02 青岛海信电子产业控股股份有限公司 Intelligent household appliance control equipment, mobile terminal and testing method
CN112653392A (en) * 2020-12-17 2021-04-13 中电科仪器仪表(安徽)有限公司 Photovoltaic power station multi-group string multi-component power detection device and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538671A (en) * 2003-04-14 2004-10-20 华为技术有限公司 Digital user line broad band business testing method
CN1981508A (en) * 2004-07-06 2007-06-13 索福帮Bb股份有限公司 VoIP device test system and test method
CN105490875A (en) * 2015-11-25 2016-04-13 广州视源电子科技股份有限公司 Automatic testing method, device and system and product to be tested
CN105338131A (en) * 2015-11-30 2016-02-17 上海斐讯数据通信技术有限公司 Testing method and system for address pool capacity of DHCP server
US20190243752A1 (en) * 2018-02-05 2019-08-08 Webomates LLC Method and system for multi-channel testing
CN112367362A (en) * 2020-10-23 2021-02-12 深圳市信锐网科技术有限公司 Data processing method, device and equipment and computer storage medium
CN112653392A (en) * 2020-12-17 2021-04-13 中电科仪器仪表(安徽)有限公司 Photovoltaic power station multi-group string multi-component power detection device and method
CN112601211A (en) * 2020-12-23 2021-04-02 青岛海信电子产业控股股份有限公司 Intelligent household appliance control equipment, mobile terminal and testing method

Similar Documents

Publication Publication Date Title
EP3595366A1 (en) Network access method, terminal, access network, and core network
US10772140B2 (en) Communications device connection method, terminal device, and server system
CN112737816B (en) Equipment binding method and device
CN111741509A (en) Network distribution method and device, storage medium and processor
CN107734592B (en) core network selection method, access network entity, UE and system
WO2022116797A1 (en) Sim card selection method and apparatus, and terminal and storage medium
CN114567919A (en) Network access method, device, equipment and storage medium
CN113132929B (en) Equipment network access method and device, computer equipment and storage medium
CN108462984A (en) A kind of method and terminal carrying out access network management
CN105681122A (en) Method and system for telecommunication device monitoring
CN107819599B (en) Message processing method and device
CN115134279A (en) Terminal testing method and device and computer readable storage device
CN105451367A (en) Wireless network connection method, device and system
US20230126360A1 (en) Wifi network access method, communication method, peripheral apparatus, and storage medium
CN116684836A (en) Method, device, equipment and readable storage medium for operating computing power network
CN112637121B (en) Data port updating method and device, electronic equipment and readable storage medium
CN114363204A (en) Request monitoring method, network device and storage medium
CN114585026A (en) Frequency point switching method, terminal, base station and storage medium
CN106850246A (en) The recognition methods of facility information and device
WO2024001564A1 (en) Configuration data refreshing method, apparatus, system, storage medium, and electronic apparatus
CN116436755B (en) Network management method and device and electronic equipment
CN115002077B (en) Method for DHCP client to acquire IP address and related equipment
CN113596890B (en) Communication method, system, device and storage medium
CN113453207B (en) Identity type determining method and device, storage medium and electronic device
CN114466403B (en) TRP discovery method, device and storage medium

Legal Events

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