A dynamic network access management method and system

By sending registration information to the management end in the Bluetooth automated test system, dynamically updating the configuration files of the execution end, the problem of difficulty in joining the access end in the existing technology is solved, efficient access and resource utilization is achieved, and the Operation process and cost savings.

CN112134749BActive Publication Date: 2024-12-06SPREADTRUM SEMICON(CHENGDU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010591202.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-24
Publication Date
2024-12-06
Estimated Expiration
2040-06-24

AI Technical Summary

Technical Problem

In the existing Bluetooth automated testing system, the new access end cannot dynamically join the test environment, and must modify the configuration file and restart all execution ends, resulting in inefficiency and cumbersome operation.

Method used

By sending registration information to the management end when the access end is started, the management end updates the configuration files of each execution end in real time, realizing dynamic network access management of the access end without manual interference and does not affect the normal operation of the test platform.

Benefits of technology

It improves access efficiency, simplifies operations, improves platform resource utilization, saves resource costs, and avoids downtime and restarts in the test environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112134749B_ABST
    Figure CN112134749B_ABST
Patent Text Reader

Abstract

The invention discloses a dynamic network access management method and system, belonging to the technical field of Bluetooth testing. The method comprises: an automated testing platform comprises a plurality of access terminals for accessing a device under test, a plurality of execution terminals for executing test tasks, and a management terminal for managing the access terminals and the execution terminals, each execution terminal stores a configuration file, and the execution terminal calls the corresponding access terminal according to the configuration file; the access terminal sends first registration information to the management terminal after accessing the test network, the management terminal sends the first registration information to each execution terminal in real time, and the execution terminal updates the first registration information and writes it into the configuration file; the system comprises: an access module, an execution module, and a management module; the beneficial effects are: not only improving the access efficiency and simplifying the operation, but also improving the platform resource utilization rate and saving the resource cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Bluetooth testing, and in particular to a dynamic network access management method and system. Background Art

[0002] The Bluetooth Auto Test System (BTS) is a Bluetooth hardware test system based on the Bluetooth protocol that supports distributed management. The system includes multiple TC (Test Center) terminals for executing test cases, TU (Test User) terminals connected to the TC terminals for connecting to the device under test, and TS (Test Server) terminals for managing the TC terminals and TU terminals, issuing test tasks, and analyzing and summarizing test results. The specific working process is that after receiving the test task, the TS terminal searches for an idle TC terminal in the TC terminal list and issues the test task. After receiving the task, the TC terminal obtains all TU terminal test resource information from the local configuration file, and searches for available test resources to apply for use, specifically completing the test task, and releasing the resources after the task is completed.

[0003] In the existing BST test system, the TU end cannot be dynamically added to the test list of the TC end. If a new TU end is to be added, the TC end configuration file must be modified and all TC ends must be restarted before the new TU end information can be added to the entire test environment. This is not only inefficient but also cumbersome to operate. Summary of the invention

[0004] In view of the above problems existing in the prior art, a dynamic network access management method and system are now provided, which not only improves access efficiency and simplifies operation, but also improves platform resource utilization and saves resource costs by quickly and dynamically adding new access terminals to the test environment.

[0005] The above technical solution specifically includes:

[0006] A dynamic network access management method is applied to an automated test platform, wherein the automated test platform provides a test network, wherein the automated test platform includes a plurality of access terminals for accessing a device under test, a plurality of execution terminals for executing test tasks, and a management terminal for managing the access terminals and the execution terminals, wherein each of the execution terminals stores a configuration file, and the execution terminal calls the corresponding access terminal according to the configuration file;

[0007] After accessing the test network, the access end sends first registration information to the management end, the management end sends the first registration information to each of the execution ends in real time, and the execution end updates the first registration information and writes it into the configuration file.

[0008] Preferably, the execution end sends second registration information to the management end after accessing the test network, and the management end sends the first registration information to each of the execution ends according to the second registration information.

[0009] Preferably, the access end applies for registration to the management end through the first registration information, and after successful registration, maintains a long connection with the management end through a heartbeat mechanism.

[0010] Preferably, the execution end applies for registration to the management end through the second registration information, and after successful registration, maintains a long connection with the management end through a heartbeat mechanism.

[0011] Preferably, the automated testing platform further comprises a storage module for storing the first registration information and the second registration information;

[0012] The management end sending the first registration information to each of the execution ends according to the second registration information further includes:

[0013] Step S1, after receiving the first registration information, the management end determines whether the first registration information already exists in the storage module:

[0014] If yes, exit;

[0015] If not, go to step S2;

[0016] Step S2: the management end synchronously sends the first registration information to the execution ends corresponding to all the second registration information stored in the storage module.

[0017] Preferably, the automated testing platform further comprises an input terminal for inputting a test task, the input terminal is connected to the management terminal, and the management terminal is further used to send the test task to the idle execution terminal for execution.

[0018] A dynamic network access management system, applied to an automated test platform, including:

[0019] An access module, the access module is connected to a plurality of access terminals, and the access terminals are used to access the device under test;

[0020] An execution module connected to the access module, the execution module connected to a plurality of execution terminals, the execution terminals being used to execute the test task, wherein each of the execution terminals stores a configuration file, and the execution terminal calls the corresponding access terminal according to the configuration file;

[0021] A management module is provided, connecting the access module and the execution module. When the access end is connected to the access module, the access end sends the first registration information to the management module. The management module sends the first registration information to each of the execution ends in real time. The execution end updates the first registration information and writes it into the configuration file.

[0022] Preferably, the execution end sends second registration information to the management end after accessing the test network, and the management end sends the first registration information to each of the execution ends according to the second registration information.

[0023] Preferably, the management module further comprises:

[0024] A first monitoring unit, configured to receive the first registration information;

[0025] A second monitoring unit, configured to receive the second registration information;

[0026] A processing unit is connected to the first monitoring unit and the second monitoring unit, and is used to send the first registration information to the execution end in real time according to the second registration information.

[0027] Preferably, the access end applies for registration to the management end through the first registration information, and after successful registration, maintains a long connection with the management end through a heartbeat mechanism.

[0028] Preferably, the execution end applies for registration to the management end through the second registration information, and after successful registration, maintains a long connection with the management end through a heartbeat mechanism.

[0029] Preferably, the network access management system further comprises a storage module, connected to the management module, and configured to store the first registration information and the second registration information;

[0030] The processing unit further comprises:

[0031] a detection subunit, used for detecting whether the first registration information already exists in the storage module, and sending a detection signal if it does not exist;

[0032] The sending subunit is connected to the detection subunit, and synchronously sends the first registration information to the execution ends corresponding to all the second registration information stored in the storage module according to the detection signal.

[0033] Preferably, the management system further includes an input module for inputting test tasks, the input module is connected to the management module, and the management module further includes a forwarding unit for detecting the idle execution end and forwarding the test task to the idle execution end for execution.

[0034] The beneficial effects of the above technical solution are:

[0035] A dynamic network access management method and system are provided, which can not only improve access efficiency and simplify operation, but also improve platform resource utilization and save resource cost by quickly and dynamically adding new access terminals to a test environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a structural schematic diagram of an automated testing platform in a preferred embodiment of the present invention;

[0037] Figure 2 It is a structural diagram of a dynamic network access management system in a preferred embodiment of the present invention;

[0038] Figure 3 is a schematic diagram of the internal structure of the management module in a preferred embodiment of the present invention;

[0039] Figure 4 It is a schematic diagram of the internal structure of the processing unit in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0042] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0043] A dynamic network access management method is applied to an automated test platform, wherein the automated test platform provides a test network, wherein the automated test platform includes a plurality of access terminals 1 for accessing a device under test, a plurality of execution terminals 2 for executing test tasks, and a management terminal 3 for managing the access terminals 1 and the execution terminals 2, wherein each execution terminal 2 stores a configuration file, and the execution terminal 2 calls the corresponding access terminal 1 according to the configuration file;

[0044] After accessing the test network, the access terminal 1 sends the first registration information to the management terminal 3, and the management terminal 3 sends the first registration information to each execution terminal 2 in real time, and the execution terminal 2 updates the first registration information and writes it into the configuration file.

[0045] As a preferred implementation, the automated test platform is used to implement the Bluetooth automated test system function, the access terminal 1 is used to implement the TU terminal function in the automated test system to access the Bluetooth device to be tested, the execution terminal 2 is used to implement the TC terminal function in the automated test system to execute the test task, and the management terminal 3 corresponds to the TS terminal in the automated test system, which is used to manage the access terminal 1 and the execution terminal 2, and is responsible for the distribution of test tasks and the analysis and summary of test results. Each execution terminal 2 includes a storage unit for storing a configuration file, which includes a first registration information list of all access terminals 1 connected to the test network provided by the automated test platform. When the execution terminal 2 receives the test task sent by the management terminal 3, it obtains all the access terminal 1 test resource information through the first registration information list in the configuration file. In the prior art, if a new access terminal 1 is to be added to the test network, the configuration file in each execution terminal 2 is usually manually modified first, and the registration information of the newly added access terminal 1 is added to the configuration file of each execution terminal 2, and then all the execution terminals 2 are restarted. Only after the restart, the execution terminal 2 can access the newly added access terminal 1 according to the updated configuration file. At this point, the newly added access terminal 1 completes the process of accessing the test network. This process is not only cumbersome, but also affects the work efficiency of the entire automated test platform. In the present invention, each access terminal 1 needs to send a registration message to the management terminal 3 when it is started or newly added to the test network, so as to realize registration at the management terminal 3. After the registration is completed, the management terminal 3 sends the received registration information to each execution terminal 2, and the execution terminal 2 automatically updates the configuration file according to the received registration information, thereby realizing the dynamic network access management of the access terminal 1 without manual intervention, and the automated test platform does not need to be shut down and restarted during the network access process, thereby improving the work efficiency of the equipment.

[0046] In a preferred embodiment of the present invention, the execution terminal 2 sends the second registration information to the management terminal 3 after accessing the test network, and the management terminal 3 sends the first registration information to each execution terminal 2 according to the second registration information.

[0047] Specifically, in this embodiment, each execution terminal 2 will send a second registration message to the management terminal 3 to register synchronization information when it is started or newly connected to the test network. The management terminal 3 will identify and contact the execution terminal 2 connected to the test network based on the second registration information; after receiving the first registration information from the access terminal 1, the management terminal 3 sends the first registration information to each execution terminal 2 connected to the test network through the second registration information. After receiving the first registration information, the execution terminal 2 updates the internal configuration file, so that the execution terminal 2 can identify and apply to call the newly added access terminal 1.

[0048] In a preferred embodiment of the present invention, the access terminal 1 applies for registration to the management terminal 3 through the first registration information, and after successful registration, maintains a long connection with the management terminal 3 through the heartbeat mechanism.

[0049] In a preferred embodiment of the present invention, the execution terminal 2 applies for registration to the management terminal 3 through the second registration information, and after successful registration, maintains a long connection with the management terminal 3 through a heartbeat mechanism.

[0050] Specifically, in the above embodiment, the management terminal 3 maintains a long connection with both the execution terminal 2 and the access terminal 1 after successful registration. After startup, the management terminal 3 starts two listening ports at the same time, one listening port is used to receive the second registration information of the execution terminal 2, and at the same time receive the heartbeat information of the long connection of the execution terminal 2 after successful registration, so as to identify the online status of the execution terminal 2, and the other listening port is used to receive the first registration information of the access terminal 1, and at the same time receive the heartbeat information of the long connection of the access terminal 1 after successful registration.

[0051] In a preferred embodiment of the present invention, the automated testing platform further includes a storage module 404 for storing the first registration information and the second registration information;

[0052] In a preferred embodiment of the present invention, the automated testing platform further includes an input terminal 5 for inputting a test task, the input terminal 5 is connected to the management terminal 3, and the management terminal 3 is also used to send the test task to the idle execution terminal 2 for execution.

[0053] Specifically, in the above-mentioned embodiment, the automated testing platform also includes a storage module 404 for storing the first registration information and the second registration information to form a first registration information list of the associated access terminal 1 and a second registration information list of the associated execution terminal 2. The input terminal 5 of the automated testing platform is used to receive or input test tasks. The input terminal 5 is also connected to the storage module 404 to save the received test tasks into the storage module 404.

[0054] The management terminal 3 sends the first registration information to each execution terminal 2 according to the second registration information further including:

[0055] Step S1, after receiving the first registration information, the management terminal 3 determines whether the first registration information already exists in the storage module 404:

[0056] If yes, exit;

[0057] If not, go to step S2;

[0058] Step S2 , the management terminal 3 synchronously sends the first registration information to the execution terminals 2 corresponding to all the second registration information stored in the storage module 404 .

[0059] Specifically, in this embodiment, when an access terminal 1 accesses the test network, it first registers with the management terminal 3 through the first registration information. After receiving the registration information, the management terminal 3 matches it with the first registration information list in the storage module 404. If it is found that the registration information does not exist in the list, it is considered to be a newly added access terminal 1. At this time, a task is triggered to send the first registration information to all execution terminals 2, specifically, to synchronously send it to the execution terminals 2 corresponding to all second registration information stored in the storage module 404.

[0060] A dynamic network access management system, applied to an automated test platform, including:

[0061] An access module 10, the access module 10 is connected to a plurality of access terminals 1, and the access terminals 1 are used to access the device under test;

[0062] An execution module 20 is connected to the access module 10. The execution module 20 is connected to a plurality of execution terminals 2. The execution terminals 2 are used to execute the test task. Each execution terminal 2 stores a configuration file. The execution terminal 2 calls the corresponding access terminal 1 according to the configuration file.

[0063] The management module 30 is connected to the access module 10 and the execution module 20. When the access terminal 1 accesses the access module 10, it sends the first registration information to the management module 30. The management module 30 sends the first registration information to each execution terminal 2 in real time, and the execution terminal 2 updates the first registration information and writes it into the configuration file.

[0064] As a preferred implementation, the access module in the dynamic network access management system is used to connect the access terminal 1. In the existing automated test platform, if a new access terminal 1 is to be added to the access module 10, the configuration file in each execution terminal 2 is usually manually modified through the execution module 20, and the registration information of the newly added access terminal 1 is added to the configuration file of each execution terminal 2, and then all the execution terminals 2 are restarted. The restarted execution terminal 2 can access the newly added access terminal 1 according to the updated configuration file. At this point, the newly added access terminal 1 completes the process of accessing the test network. This process is not only cumbersome, but also affects the work efficiency of the entire automated test platform. In the present invention, each access terminal 1 needs to send a registration message to the management module 30 when it is started or newly added to the test network, so as to realize registration in the management module 30. After the registration is completed, the management module 30 sends the received registration information to each execution terminal 2 in real time, and the execution terminal 2 automatically updates the configuration file according to the received registration information, thereby realizing the dynamic network access management of the access terminal 1 without manual intervention, and the automated test platform does not need to be shut down and restarted during the network access process, thereby improving the work efficiency of the equipment.

[0065] In a preferred embodiment of the present invention, the execution terminal 2 sends the second registration information to the management terminal 3 after accessing the test network, and the management terminal 3 sends the first registration information to each execution terminal 2 according to the second registration information.

[0066] In a preferred embodiment of the present invention, the management module 30 further includes:

[0067] A first monitoring unit 31, configured to receive first registration information;

[0068] A second monitoring unit 32, configured to receive second registration information;

[0069] The processing unit 33 is connected to the first monitoring unit 31 and the second monitoring unit 32, and is used to send the first registration information to the execution end 2 in real time according to the second registration information.

[0070] Specifically, in this embodiment, the first monitoring unit 31 is used to start a monitoring port to receive the first registration information of the access terminal 1, and at the same time receive the heartbeat information of the long connection of the access terminal 1 after the registration is successful. The second monitoring unit 32 is used to start another monitoring port to receive the second registration information of the execution terminal 2, and at the same time receive the heartbeat information of the long connection of the execution terminal 2 after the registration is successful. The processing unit 33 receives the first registration information and the second registration information to complete the registration and network access of the access terminal 1 and the execution terminal 2, and at the same time forwards the first registration information to all the execution terminals 2 according to the second registration information. The execution terminal 2 updates the internal configuration file according to the received first registration information.

[0071] In a preferred embodiment of the present invention, the access terminal 1 applies for registration to the management terminal 3 through the first registration information, and after successful registration, maintains a long connection with the management terminal 3 through the heartbeat mechanism.

[0072] In a preferred embodiment of the present invention, the execution terminal 2 applies for registration to the management terminal 3 through the second registration information, and after successful registration, maintains a long connection with the management terminal 3 through a heartbeat mechanism.

[0073] In a preferred embodiment of the present invention, the network access management system further comprises a storage module 404, the connection management module 30, for storing the first registration information and the second registration information;

[0074] The processing unit 33 further comprises:

[0075] The detection subunit 35 is used to detect whether the first registration information already exists in the storage module 404, and send a detection signal if it does not exist;

[0076] The sending subunit 36 ​​is connected to the detecting subunit 35 , and synchronously sends the first registration information to the execution terminals 2 corresponding to all the second registration information stored in the storage module 404 according to the detection signal.

[0077] In a preferred embodiment of the present invention, the management system also includes an input module 50 for inputting test tasks. The input module 50 is connected to the management module 30. The management module 30 also includes a forwarding unit 34 for detecting an idle execution end 2 and forwarding the test task to the idle execution end 2 for execution.

[0078] The beneficial effects of the above technical solution are:

[0079] A dynamic network access management method and system are provided, which can not only improve access efficiency and simplify operation, but also improve platform resource utilization and save resource cost by quickly and dynamically adding new access terminals to a test environment.

[0080] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A dynamic network access management method is applied to an automated test platform, wherein the automated test platform provides a test network, characterized in that: The automated test platform includes a plurality of access terminals for accessing the device under test, a plurality of execution terminals for executing test tasks, and a management terminal for managing the access terminals and the execution terminals, each of the execution terminals stores a configuration file, and the execution terminal calls the corresponding access terminal according to the configuration file; After accessing the test network, the access end sends first registration information to the management end, the management end sends the first registration information to each of the execution ends in real time, and the execution end updates the first registration information and writes it into the configuration file.

2. The dynamic network access management method according to claim 1, characterized in that: The execution end sends second registration information to the management end after accessing the test network, and the management end sends the first registration information to each of the execution ends according to the second registration information.

3. The dynamic network access management method according to claim 1, characterized in that: The access end applies for registration to the management end through the first registration information, and after successful registration, maintains a long connection with the management end through a heartbeat mechanism.

4. The dynamic network access management method according to claim 2, characterized in that: The execution end applies for registration to the management end through the second registration information, and after successful registration, maintains a long connection with the management end through a heartbeat mechanism.

5. The dynamic network access management method according to claim 2, characterized in that: The automated testing platform further includes a storage module for storing the first registration information and the second registration information; The management end sending the first registration information to each of the execution ends according to the second registration information further includes: Step S1, after receiving the first registration information, the management end determines whether the first registration information already exists in the storage module: If yes, exit; If not, go to step S2; Step S2: the management end synchronously sends the first registration information to the execution ends corresponding to all the second registration information stored in the storage module.

6. The dynamic network access management method according to claim 1, characterized in that: The automated testing platform also includes an input end for inputting a test task, the input end is connected to the management end, and the management end is also used to send the test task to the idle execution end for execution.

7. A dynamic network access management system, applied to an automated test platform, wherein the automated test platform provides a test network, characterized in that: include: An access module, the access module is connected to a plurality of access terminals, and the access terminals are used to access the device under test; An execution module connected to the access module, the execution module connected to a plurality of execution terminals, the execution terminals being used to execute the test task, wherein each of the execution terminals stores a configuration file, and the execution terminal calls the corresponding access terminal according to the configuration file; A management module is provided, connecting the access module and the execution module. When the access end is connected to the access module, the access end sends the first registration information to the management module. The management module sends the first registration information to each of the execution ends in real time. The execution end updates the first registration information and writes it into the configuration file.

8. The dynamic network access management system according to claim 7, characterized in that: The execution end sends second registration information to the management module after accessing the test network, and the management module sends the first registration information to each of the execution ends according to the second registration information.

9. The dynamic network access management system according to claim 8, characterized in that: The management module further comprises: A first monitoring unit, configured to receive the first registration information; A second monitoring unit, configured to receive the second registration information; A processing unit is connected to the first monitoring unit and the second monitoring unit, and is used to send the first registration information to the execution end in real time according to the second registration information.

10. The dynamic network access management system according to claim 7, characterized in that: The access terminal applies for registration to the management module through the first registration information, and after successful registration, maintains a long connection with the management module through a heartbeat mechanism.

11. The dynamic network access management system according to claim 8, characterized in that: The execution end applies for registration with the management module through the second registration information, and after successful registration, maintains a long connection with the management module through a heartbeat mechanism.

12. The dynamic network access management system according to claim 9, characterized in that: The network access management system further includes a storage module, connected to the management module, and configured to store the first registration information and the second registration information; The processing unit further comprises: a detection subunit, used for detecting whether the first registration information already exists in the storage module, and sending a detection signal if it does not exist; The sending subunit is connected to the detection subunit, and synchronously sends the first registration information to the execution ends corresponding to all the second registration information stored in the storage module according to the detection signal.

13. The dynamic network access management system according to claim 7, characterized in that: The management system also includes an input module for inputting test tasks, the input module is connected to the management module, and the management module also includes a forwarding unit for detecting the idle execution end and forwarding the test task to the idle execution end for execution.

Citation Information

Patent Citations

  • System and apparatus for testing wireless network controller signaling processing module

    CN101207525A

  • Method and system for remotely managing intelligent terminal

    CN109240770A