Gateway device testing method, device, electronic device and storage medium
By automatically obtaining and processing gateway device information, generating information lists and determining test results, the problem of incomplete or inaccurate gateway device routing information is solved, and the efficiency and accuracy of game acceleration is improved.
Patent Information
- Application Number
- CN202111202670.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-15
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-10-15
AI Technical Summary
In the prior art, incomplete or inaccurate routing information of gateway devices leads to failure of game acceleration, and manual detection efficiency is low and error-prone, which cannot effectively improve game acceleration efficiency and accuracy.
Provide a gateway device testing method, which automatically obtains gateway device information, generates an information list, and determines the test results through network delay parameters, selects suitable gateway devices for acceleration processing, including information transmission modules and processing modules, realizing automated testing and selection.
Accurate and automated testing of the status of gateway equipment is realized, the acceleration efficiency and accuracy of the target application are improved, and the cumbersomeness of manual operations and incorrect judgments are reduced.
Smart Images

Figure CN115996182B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to network simulation processing technology, and in particular to a gateway device testing method, device, electronic device and storage medium. Background Art
[0002] In the related art, the completeness and accuracy of routing information during the acceleration process of online game accelerators affects the acceleration effect. Incomplete routing information may even cause game acceleration failure. Currently, the main method of determining the completeness and accuracy of game routing information is through regular testing by technicians or user feedback. If the routing information is determined to be incomplete or inaccurate, technicians need to manually set the routing information. Manual testing of routing information is not only inefficient but also prone to misjudging the router status, preventing game users from enjoying the game acceleration service. Summary of the Invention
[0003] In view of this, an embodiment of the present invention provides a gateway device testing method, apparatus, electronic device and storage medium, which can not only automatically and accurately test the status of the gateway devices to be tested in the use environment and determine the status of each gateway device to be tested, but also can select a suitable gateway device to be tested for use based on the test results of the gateway devices to be tested to improve the efficiency and accuracy of the target application acceleration.
[0004] The technical solution of the embodiment of the present invention is achieved as follows:
[0005] An embodiment of the present invention provides a gateway device testing method, comprising:
[0006] Acquire information of a gateway device to be tested, and obtain configuration information of the gateway device to be tested according to the information of the gateway device to be tested;
[0007] In response to a gateway device test instruction, triggering a gateway device test component;
[0008] Connecting the gateway device to be tested with a target application running terminal through the gateway device testing component according to the configuration information of the gateway device to be tested, and generating an information list of the gateway device to be tested;
[0009] Accelerating the traffic to be accelerated received by the terminal running the target application through the gateway device to be tested;
[0010] When the acceleration processing of the traffic to be accelerated is completed, obtaining the network delay parameter of the gateway device to be tested;
[0011] A test result of the gateway device to be tested is determined according to the network delay parameter of the gateway device to be tested.
[0012] An embodiment of the present invention further provides a gateway device testing device, comprising:
[0013] An information transmission module is used to obtain information of the gateway device to be tested, and obtain configuration information of the gateway device to be tested according to the information of the gateway device to be tested;
[0014] An information processing module, configured to trigger a gateway device test component in response to a gateway device test instruction;
[0015] The information processing module is used to connect the gateway device to be tested with the running terminal of the target application program through the gateway device testing component according to the configuration information of the gateway device to be tested, and generate an information list of the gateway device to be tested;
[0016] The information processing module is used to accelerate the traffic to be accelerated received by the terminal running the target application through the gateway device to be tested;
[0017] The information processing module is configured to obtain the network delay parameter of the gateway device to be tested when the acceleration processing of the traffic to be accelerated is completed;
[0018] The information processing module is used to determine the test result of the gateway device to be tested according to the network delay parameter of the gateway device to be tested.
[0019] In the above scheme,
[0020] The information transmission module is used to scan the identification information of the gateway device to be tested;
[0021] The information processing module is used to search for the service set identifier, wireless local area network account information and password information of the gateway device to be tested according to the identification information of the gateway device to be tested;
[0022] The information processing module is configured to obtain the root user account information and password information of the gateway device to be tested from the root directory information according to the identification information of the gateway device to be tested.
[0023] In the above scheme,
[0024] The information transmission module is configured to send the service set identifier included in the information of the wireless local area network to the operator of the wireless local area network, so that the operator authenticates the wireless local area network through the service set identifier;
[0025] The information processing module is configured to determine that the connection state of the wireless local area network is a connectable state when receiving an authentication passing message sent by the operator to the access controller of the wireless local area network.
[0026] In the above scheme,
[0027] The information transmission module is used to configure a corresponding IP address for the gateway device to be tested through the gateway device testing component;
[0028] The information processing module is used to connect the external IP address interface of the gateway device to be tested to the interface of the wireless local area network;
[0029] The information processing module is used to trigger the network connection service process of the terminal running the target application;
[0030] The information processing module is used to connect the gateway device to be tested with the terminal running the target application based on the network connection service process of the terminal running the target application;
[0031] The information processing module is used to obtain information of each gateway device to be tested through the running terminal of the target application;
[0032] The information processing module is configured to form an information list of the gateway devices to be tested based on the information of each gateway device to be tested, so as to detect each gateway device to be tested in the information list of the gateway devices to be tested.
[0033] In the above scheme,
[0034] The information transmission module is configured to transmit information of each gateway device to be tested based on the information list of the gateway device to be tested.
[0035] The information processing module is used to determine a delay control mode that matches the gateway device to be tested, wherein the delay control mode includes: fixed delay control, jitter delay control and blocking delay control;
[0036] The information processing module is used to accelerate the traffic to be accelerated received by the terminal running the target application based on the delay control method.
[0037] In the above scheme,
[0038] The information processing module is used for, when the data transmission protocol type of the traffic to be accelerated is transmission control protocol traffic,
[0039] The information processing module is configured to perform deduplication processing on the Internet Protocol addresses of the transmission control protocol traffic to obtain a list of first Internet Protocol addresses that need to be bound;
[0040] The information processing module is configured to rewrite the Internet Protocol addresses of the transmission control protocol traffic to obtain a rewritten first Internet Protocol address list;
[0041] The information processing module is configured to perform deduplication processing on the rewritten first Internet Protocol address list to obtain a first Internet Protocol address port list that matches the non-networked device.
[0042] In the above scheme,
[0043] The information processing module is used in the above solution, when the data transmission protocol type of the traffic to be accelerated is User Datagram Protocol traffic,
[0044] The information processing module is configured to perform deduplication processing on the Internet Protocol addresses of the User Datagram Protocol traffic to obtain a list of second Internet Protocol addresses to be bound;
[0045] The information processing module is configured to rewrite the Internet Protocol addresses of the User Datagram Protocol traffic to obtain a rewritten second Internet Protocol address list;
[0046] The information processing module is configured to perform deduplication processing on the rewritten second Internet Protocol address list to obtain a second Internet Protocol address port list that matches the non-networked device.
[0047] In the above scheme,
[0048] The information processing module is used in the above solution to determine that the gateway device to be tested has passed the test when the network delay parameter of the gateway device to be tested is less than or equal to the delay parameter threshold;
[0049] The information processing module is configured to determine that the gateway device to be tested fails the test when the network delay parameter of the gateway device to be tested is greater than the delay parameter threshold;
[0050] The information processing module is used to generate a test report for the gateway device to be tested according to the test result of each gateway device to be tested and send it to the corresponding cloud server, so as to record the test result of the gateway device to be tested through the cloud server.
[0051] In the above scheme,
[0052] The information processing module is used in the above solution. When the gateway device to be tested is connected to the running terminal of the target application and the target game process is accelerated,
[0053] The information processing module is used to analyze the target game process and obtain the priority identifier of the target game process;
[0054] The information processing module is configured to sort the priorities of the received target game processes according to the priority identifiers of the target game processes;
[0055] The information processing module is used to create a corresponding identification queue according to the priority of the target game process.
[0056] In the above scheme,
[0057] The information processing module is used in the above solution to traverse all identification queues and determine the identification queue with the highest priority when the number of gateway devices to be tested exceeds 2;
[0058] The information processing module is used to determine the link quality of each link in the gateway to be tested;
[0059] The information processing module is used to configure the link with the highest link quality in the gateway to be tested for the identification queue with the highest priority, so as to transmit the target game in the identification queue through the configured link.
[0060] In the above scheme,
[0061] The information processing module is used to determine the identification information of the target user when the game process is a cloud game;
[0062] The information processing module is configured to determine, based on a cloud server network, a data source cluster that matches the identification information;
[0063] The information processing module is used to store the cloud gaming history information of the user matching the target user in the cloud gaming server according to the data source cluster.
[0064] An embodiment of the present invention further provides an electronic device, comprising:
[0065] a memory for storing executable instructions;
[0066] The processor is configured to implement the aforementioned gateway device testing method when running the executable instructions stored in the memory.
[0067] An embodiment of the present invention further provides a computer-readable storage medium storing executable instructions, wherein the executable instructions, when executed by a processor, implement the aforementioned gateway device testing method.
[0068] The embodiments of the present invention have the following beneficial effects:
[0069] The embodiment of the present invention obtains information of a gateway device to be tested, and obtains configuration information of the gateway device to be tested based on the information of the gateway device to be tested; triggers a gateway device test component in response to a gateway device test instruction; connects the gateway device to be tested with a running terminal of a target application program through the gateway device test component according to the configuration information of the gateway device to be tested, and generates an information list of the gateway device to be tested; accelerates the traffic to be accelerated received by the running terminal of the target application program through the gateway device to be tested; obtains the network delay parameters of the gateway device to be tested when the acceleration processing of the traffic to be accelerated is completed; and determines the test result of the gateway device to be tested based on the network delay parameters of the gateway device to be tested. In this way, it is possible to automatically and accurately test the status of the gateway device to be tested in the use environment and determine the status of each gateway device to be tested, and it is possible to select a suitable gateway device to be tested for use based on the test result of the gateway device to be tested to improve the efficiency and accuracy of the acceleration of the target application program. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 This is a schematic diagram of the use environment of the gateway device testing method provided by an embodiment of the present invention;
[0071] Figure 2 A schematic diagram of the structure of a gateway device testing device provided in an embodiment of the present invention;
[0072] Figure 3 An optional flowchart of a gateway device testing method provided in an embodiment of the present invention;
[0073] Figure 4 An optional flowchart of the wireless local area network authentication process in the gateway device testing method provided in an embodiment of the present invention;
[0074] Figure 5 A schematic diagram of a connection between a gateway device to be tested and a terminal running a target application program according to an embodiment of the present invention;
[0075] Figure 6 An optional flowchart of a gateway device testing method provided in an embodiment of the present invention;
[0076] Figure 7 Schematic diagram of delay parameters in an embodiment of the present invention. DETAILED DESCRIPTION
[0077] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0078] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0079] Before further explaining the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.
[0080] 1) Wireless LAN: A local area network that uses radio frequency technology, such as electromagnetic waves, to connect devices over the air. Typical transmission technologies include Wireless Fibre Channel (Wi-Fi).
[0081] 2) Wireless LAN information: This information includes information related to a wireless LAN (WLAN). This information includes the BSSID (Basic Service Set Identifier), SSID (Service Set Identifier), and encryption method. The BSSID is the MAC (Media Access Control) address of the router, and the SSID is the name of the WLAN.
[0082] 3) Wireless Access Point Controller: A network device used to centrally control wireless LANs. It is the core of a wireless network and is responsible for managing all wireless LANs in the wireless network. LAN management includes: issuing configurations, modifying related configuration parameters, intelligent RF management, and access security control.
[0083] 4) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0084] 5) SSID: Service Set Identifier. SSID technology can divide a wireless LAN into several subnets, each requiring different authentication levels. Each subnet requires independent authentication, allowing only authenticated users to access the corresponding subnet, preventing unauthorized users from accessing the network. In this embodiment, SSID refers to the Wi-Fi network name.
[0085] 6) BSSID: The MAC address of the station. In the embodiment of the present invention, it can be considered to refer to the physical address of the Wi-Fi.
[0086] 7) URL: Uniform Resource Locator, a concise representation of the location and access method of resources available on the Internet. It is the address of standard resources on the Internet. Every file on the Internet has a unique URL.
[0087] 8) MAC Address: Media Access Control, also known as a MAC address or hardware address, is used to identify the location of a network device. The MAC address is integrated into the network card and is unique.
[0088] 9) Based on: It is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0089] 10) Cloud technology refers to a hosting technology that unifies hardware, software, and network resources within a wide area network (WAN) or local area network (LAN) to enable data computing, storage, processing, and sharing. It is a general term for network, information technology, integration, management platform, and application technologies used in the cloud computing business model. This technology forms a resource pool for on-demand, flexible, and convenient use. Cloud computing technology will become a crucial support. Backend services for technical network systems, such as those for video and image websites and more portals, require significant computing and storage resources. With the rapid development and application of the internet industry, every item will likely have its own unique identifier, requiring transmission to backend systems for logical processing. Data of varying levels will be processed separately, and data from all industries will require a robust system backend, which can only be achieved through cloud computing.
[0090] 11) Cloud Gaming: This refers to a game in which the game itself runs on a cloud server device. The game screen rendered by the cloud device is encoded and transmitted to the user terminal via the network. The user terminal decodes the encoded file and renders it to the display screen for display. Therefore, the user does not need to install the game locally, but only needs to establish a communication network connection with the cloud to complete the game interaction process.
[0091] Before introducing the gateway device testing method provided by this application, we first take router acceleration in game acceleration testing as an example to explain the gateway device testing method in traditional technology. According to the acceleration method, the acceleration methods of online game accelerators include process acceleration and routing acceleration. Routing acceleration mainly relies on the routing information of the game. Routing information directly affects the acceleration effect of routing acceleration. When the routing information is incomplete, it may even cause the game acceleration to fail. In order to achieve the acceleration of network data transmission in the game in traditional technology, the following test methods can be used:
[0092] After getting the new plug-in program, the tester manually logs in to the router to deploy it, manually runs the plug-in control terminal and starts the game for testing. The tester needs to manually log in to each router device to deploy the plug-in program, which is tedious and very time-consuming. At the same time, due to the large number of devices and complicated operations, operations are prone to errors and test results are prone to errors. As the number of compatible device models increases, the testing workload will continue to increase.
[0093] In order to address the above-mentioned defects, an embodiment of the present invention provides a gateway device testing method, which can not only automatically and accurately test the status of the gateway devices to be tested in the use environment and determine the status of each gateway device to be tested, but also select a suitable gateway device to be tested for use based on the test results of the gateway devices to be tested to improve the efficiency and accuracy of the target application acceleration.
[0094] Figure 1 Schematic diagram of the use scenario of the gateway device testing method provided by the embodiment of the present invention, see Figure 1 , an embodiment of the present invention provides a wireless local area network connection system, the system comprising: a gateway device to be tested and a gateway device testing device, wherein the hardware implementation or software implementation example of the gateway device testing device is the same as Figure 2 The same will be introduced in detail later.
[0095] Among them, taking the acceleration of cloud games as an example, the application acceleration device can be packaged in a professional game terminal or in different mobile electronic devices. This application does not impose specific restrictions. Among them, when the application is a game program, the application acceleration device can be a game accelerator. The game itself runs in the cloud server device. After the game screen rendered by the cloud device is encoded, it is transmitted to the user terminal through the network. The user terminal decodes the encoded file and renders it to the display screen for display. Therefore, the user does not need to install the game locally, but only needs to establish a communication network connection with the cloud to complete the game interaction process. The organizational structure of cloud games includes terminals and cloud servers, wherein the terminal is used to receive the user's control operations on the game process and send the control instructions corresponding to the control operations to the cloud server. The cloud server is used to control the game process and send the video stream of the game process to the terminal for playback. That is, in the organizational structure of cloud gaming, the terminal is primarily responsible for receiving the game video and audio from the corresponding server for rendering and playback during the game, and sending the game user's operations on the terminal side (including but not limited to operations performed by the game user through the mouse, keyboard, operating handle, voice commands, touch commands, etc.) to the server through the signaling channel connected to the server. The server sends this operation information to the matching mouse driver process, sound card driver process, and keyboard driver process, thereby achieving control of the cloud game. By executing the gateway device testing method provided in this application, the game accelerator can automatically determine the status of each gateway device to be tested and select the most suitable gateway device to connect to the wireless LAN.
[0096] Combined with the above description, Figure 1 In the usage scenario shown, the terminal (including terminal 10-1 and terminal 10-2) is a non-networked device, which is provided with a client for connecting to the Internet. When the wireless local area network 300 among multiple wireless local area networks passes the authentication of the gateway device testing device 200, the terminal (including terminal 10-1 and terminal 10-2) accesses the wireless local area network 300. The wireless local area network 300 can be a wide area network or a local area network, or a combination of the two, and uses a wireless link to realize data transmission. The wireless local area network 300 can be connected to the Internet 400, so that the terminals (including terminal 10-1 and terminal 10-2) can be connected to the Internet 400 through the wireless local area network 300.
[0097] As an example, the terminal (terminal 10-1 and / or terminal 10-2) is used to obtain and output the wireless LAN resources in the area where the non-networked device is located. When the gateway device testing device 200 can sort all the wireless LANs in the wireless LAN resources based on the status of each wireless LAN in the wireless LAN resources; based on the sorting results of the wireless LANs in the wireless LAN resources, the access information of the wireless LAN is saved in the corresponding identification database and presented to the user in the display interface. The terminal (terminal 10-1 and / or terminal 10-2) makes a selection according to the sorting result, and accesses the corresponding wireless LAN according to the access information of the wireless LAN, thereby realizing connection with the Internet 400 through the connected wireless LAN 300.
[0098] The terminals (including the terminal 10 - 1 and the terminal 10 - 2 ) are further configured to receive access information of at least one wireless local area network output by the gateway device testing apparatus 200 and store the access information of at least one wireless local area network in a corresponding storage medium.
[0099] The structure of the gateway device testing device of an embodiment of the present invention is described in detail below. The gateway device testing device can be implemented in various forms, such as terminals such as smartphones, tablet computers, and desktop computers with network management functions, or servers with network management functions. Figure 2 The schematic diagram of the structure of the gateway device testing device provided in the embodiment of the present invention can be understood as follows: Figure 2 Only an exemplary structure of the gateway device test device is shown, not all structures, and can be implemented as needed. Figure 2 Partial or complete structure shown.
[0100] The gateway device test apparatus provided in the embodiment of the present invention includes: at least one processor 201, a memory 202, a user interface 203 and at least one network interface 204. The various components in the gateway device test apparatus 20 are coupled together via a bus system 205. It is understood that the bus system 205 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 205 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 205 is not described in detail. Figure 2 Various buses are labeled as bus system 205.
[0101] The user interface 203 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0102] It will be appreciated that memory 202 may be volatile memory or non-volatile memory, or may include both. Memory 202 in this embodiment of the present invention can store data to support the operation of a terminal (e.g., terminal 10-1). Examples of such data include any computer program used to operate on a terminal (e.g., terminal 10-1), such as an operating system and application programs. An operating system includes various system programs, such as a framework layer, a core library layer, and a driver layer, which implement various basic services and handle hardware-based tasks. Application programs may include various application programs.
[0103] In some embodiments, the wireless local area network connection device provided by the embodiments of the present invention can be implemented in hardware. As an example, the wireless local area network connection device provided by the embodiments of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the gateway device testing method provided by the embodiments of the present invention. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0104] The wireless local area network connection device provided in an embodiment of the present invention is implemented in software. The wireless local area network connection device provided in an embodiment of the present invention can be directly embodied as a combination of software modules executed by the processor 201. The software module can be located in a storage medium, and the storage medium is located in the memory 202. The processor 201 reads the executable instructions included in the software module in the memory 202, and combines with the necessary hardware (for example, including the processor 201 and other components connected to the bus 205) to complete the gateway device testing method provided in the embodiment of the present invention.
[0105] For example, Figure 2 The wireless LAN connection device 2020 stored in the memory 202 is shown. The wireless LAN connection device 2020 may be software in the form of a program or plug-in, and includes the following software modules: an information transmission module 2081 and an information processing module 2082. When the software modules in the wireless LAN connection device 2020 are read into the RAM by the processor 201 and executed, the gateway device testing method provided by the embodiment of the present invention will be implemented. Figure 2 The wireless LAN connection device 2020 shown illustrates the functions of each software module.
[0106] The information transmission module 2081 is used to obtain information of the gateway device to be tested, and obtain configuration information of the gateway device to be tested according to the information of the gateway device to be tested;
[0107] An information processing module 2082 is configured to trigger a gateway device test component in response to a gateway device test instruction;
[0108] The information processing module 2082 is used to connect the gateway device to be tested with the running terminal of the target application program through the gateway device testing component according to the configuration information of the gateway device to be tested, and generate an information list of the gateway device to be tested;
[0109] The information processing module 2082 is configured to accelerate the traffic to be accelerated received by the terminal running the target application through the gateway device to be tested;
[0110] The information processing module 2082 is configured to obtain the network delay parameter of the gateway device to be tested when the acceleration processing of the traffic to be accelerated is completed;
[0111] The information processing module 2082 is configured to determine a test result of the gateway device to be tested according to the network delay parameter of the gateway device to be tested.
[0112] according to Figure 2 In one aspect of the present application, the present application further provides a computer program product or computer program, including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the various embodiments and combinations of embodiments provided in the various optional implementations of the aforementioned gateway device testing method.
[0113] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.
[0114] In combination with the exemplary application and implementation of the gateway device testing apparatus provided in the embodiment of the present invention, the gateway device testing method provided in the embodiment of the present invention is explained. According to the above, it can be understood that the gateway device testing method provided in the embodiment of the present invention can be used by various types of devices with network management functions, such as devices running network management software, computers, mobile phones, and online game consoles.
[0115] Continue to combine Figure 1 The usage environment and Figure 2 The gateway device testing apparatus 2020 shown in the figure illustrates the gateway device testing method provided by the embodiment of the present invention, wherein Figure 1 In the context of the network connection management method shown, terminals such as mobile phones and tablet computers can access the Internet via wireless local area networks (WLANs). With the widespread use of user terminals, wireless local area networks have become an important form of Internet access for user terminals. A common wireless local area network is a Wi-Fi (Wireless-Fidelity) network. During this process, before performing a game acceleration operation, the accelerator client program sends an acceleration node acquisition request to the server through a gateway device, such as a Hypertext Transfer Protocol (HTTP) request, to request configuration information related to the acceleration node associated with the current game to be tested. After receiving the acceleration node acquisition request sent by the accelerator client program, the server can send the pre-configured acceleration node information to the accelerator client program. The acceleration node information can be in a format pre-set by the server alone or in a format pre-agreed upon by the server and the accelerator client program. For example, the server sends the acceleration node information to the accelerator client program in JSON format.
[0116] See also Figure 3 , Figure 3 An optional flow chart of the gateway device testing method provided in an embodiment of the present invention is provided. It can be understood that: Figure 3 The steps shown can be performed by various electronic devices running the gateway device test device, for example, terminals such as computers and smart phones with network connection and management functions, or network game consoles. Non-networked devices can be any terminals with network functions such as mobile phones and tablets. The wireless local area network can be Wi-Fi provided by a router. Figure 3 The steps shown are explained.
[0117] Step 301: The gateway device testing apparatus obtains information of a gateway device to be tested, and obtains configuration information of the gateway device to be tested according to the information of the gateway device to be tested.
[0118] In some embodiments of the present invention, the identification information of the gateway device to be tested can be scanned first; based on the identification information of the gateway device to be tested, the service set identifier, wireless local area network account information, and password information of the gateway device to be tested can be searched; and based on the identification information of the gateway device to be tested, the root user account information and password information of the gateway device to be tested can be obtained from the root directory information. Taking a router as an example, by scanning the router's identification information (e.g., the factory QR code information), the router model, Wi-Fi SSID, Wi-Fi account and password, and system root account and password of the model to be tested can be collected. After obtaining the information of all routers to be tested, a device configuration file in XML format can be generated for download and use during the testing phase.
[0119] In some embodiments of the present invention, when it is determined based on the information of the at least one wireless local area network that the type of the at least one wireless local area network is the wireless local area network of the gateway device to be tested, the connection status of the wireless local area network of the gateway device to be tested is authenticated through the information of the wireless local area network of the gateway device to be tested. Figure 4 An optional flow chart of the wireless local area network authentication process in the gateway device testing method provided in an embodiment of the present invention; the detailed processing process of the network management device shown in step 302 in the previous embodiment authenticating at least one wireless local area network in the wireless local area network resources based on the information of the at least one wireless local area network is as follows Figure 4 As shown, the target application's running terminal can be a mobile phone, the target application can be a game program, a short video program, or any other program that requires traffic acceleration, the type of wireless LAN provided by the wireless LAN device is the wireless LAN of the gateway device to be tested, and the network management device is a network server group. Figure 4 The steps shown are explained:
[0120] Step 401: The network management device parses the encrypted signal output by the device to be connected to the network, and determines that the type of the wireless local area network is the wireless local area network of the gateway device to be tested.
[0121] Step 402: The network management device obtains the service set identifier included in the wireless local area network information of the gateway device to be tested.
[0122] Since there are many gateway devices to be tested, it is necessary to ensure that the wireless LAN used can carry the traffic to be accelerated generated by the gateway device test phase during the test phase. Figure 4In the process shown, you can choose to use a valid wireless LAN during the test phase. At the same time, the wireless LAN can carry the traffic to be accelerated generated during the gateway device test phase, avoiding the inability to obtain the test results of the gateway device to be tested due to defects in the wireless LAN during the gateway device test phase.
[0123] Step 403: The network management device sends the service set identifier to the operator of the wireless local area network.
[0124] Step 404: The operator authenticates the wireless local area network of the gateway device to be tested using the basic service set identifier and the service set identifier, and determines whether the authentication is successful. If the authentication is successful, step 405 is executed; otherwise, step 406 is executed.
[0125] Step 405: The operator sends an authentication success message to the access controller of the wireless local area network of the gateway device to be tested.
[0126] Among them, when the network management device receives the message that multiple cooperative wireless LANs have passed authentication sent by the operator to the access controller of the cooperative wireless LAN, the network management device can arrange the display order of the multiple cooperative wireless LANs according to the corresponding network bandwidth, and use the cooperative wireless LAN A at the top of the order as the wireless LAN for testing all gateway devices to ensure the uniformity of the test environment.
[0127] Step 406: The operator sends a message indicating that the authentication has not been passed to the access controller of the wireless local area network of the gateway device to be tested.
[0128] Therefore, it can be determined that the first choice of using a valid wireless LAN in the test phase is invalid. Timely replacement of the wireless LAN can ensure accurate test results of the gateway device to be tested, while improving the test rate of the gateway device and updating the status of the gateway device in time.
[0129] Step 407: When the network management device receives the authentication success message sent by the operator to the access controller of the wireless local area network of the gateway device to be tested, it encrypts and outputs the wireless local area network access information of the gateway device to be tested.
[0130] Due to the fast update speed of gateway devices, the process of manually configuring the information of the gateway devices to be tested is cumbersome. Therefore, after determining the wireless LAN used in the test phase, the first-level router can be configured to dynamically assign an IP to each gateway device to be tested, so that the gateway devices to be tested can be added at any time without maintaining the IP information, effectively reducing the manual workload. At the same time, the Wan ports of all gateway devices to be tested (such as routers) can be connected to the Lan port of the first-level router with a network cable to ensure that there is no interference from wireless transmission during the test phase. Furthermore, in the test phase, the terminal that executes the test task can be a test computer. The test computer turns on Wifi (an external wireless network card can be connected) for the automated test program to automatically connect to the gateway device to be tested. At the same time, the test computer turns on the http service for the test router to download the plug-in package from the file directory of the test computer, so that the test computer starts the automated test program and uses the downloaded plug-in package to start testing all gateway devices to be tested.
[0131] When passing Figure 4 After the steps shown complete the detection of the wireless local area network of the gateway device to be tested, you can continue to execute step 302 and use the gateway device test component to detect each gateway to be tested to avoid the presence of operator-prohibited devices in the gateway device to be tested, which will affect the user's normal game acceleration use.
[0132] Step 302: The gateway device testing apparatus triggers the gateway device testing component in response to the gateway device testing instruction.
[0133] In some embodiments of the present invention, reference Figure 5 , Figure 5 FIG. 1 is a schematic diagram of a connection between a gateway device to be tested and a terminal running a target application program in an embodiment of the present invention. Figure 5As shown, taking a router as an example, a router performs network layer relay and layer 3 relay tasks in OSI / RM, storing and forwarding data packets between different networks. Its primary function is to logically separate networks. Data transmission from one subnet to another can be handled by the router's routing function. In network communications, a router determines network addresses and selects IP paths. It can build a flexible link system across multiple network environments, linking subnets using different data grouping and media access methods. The gateway device testing component configures a corresponding IP address for the gateway device under test; connects the external IP address interface of the gateway device under test to the interface of the wireless local area network; triggers the network connection service process of the game running terminal; connects the gateway device under test to the target application running terminal based on the network connection service process of the game running terminal; obtains information about each gateway device under test through the game running terminal; and, based on the information about each gateway device under test, compiles an information list of the gateway devices under test, thereby enabling testing of each gateway device under test in the information list.
[0134] Step 303: The gateway device testing apparatus connects the gateway device to be tested with the target application running terminal through the gateway device testing component according to the configuration information of the gateway device to be tested, and generates an information list of the gateway device to be tested.
[0135] Step 304: The gateway device testing apparatus accelerates the traffic to be accelerated received by the terminal running the target application through the gateway device to be tested.
[0136] In some embodiments of the present invention, the acceleration processing of the traffic to be accelerated received by the terminal running the target application can be achieved by:
[0137] Based on the information of each gateway device to be tested in the information list of the gateway devices to be tested, determine a delay control method that matches the gateway device to be tested, wherein the delay control method includes: fixed delay control, jitter delay control and blocking delay control; based on the delay control method, accelerate the traffic to be accelerated received by the running terminal of the target application.
[0138] In some embodiments of the present invention, when the data transmission protocol type of the traffic to be accelerated is Transmission Control Protocol traffic, the Internet Protocol address of the Transmission Control Protocol traffic is deduplicated to obtain a first Internet Protocol address list that needs to be bound; the Internet Protocol address of the Transmission Control Protocol traffic is rewritten to obtain a rewritten first Internet Protocol address list; the rewritten first Internet Protocol address list is deduplicated to obtain a first Internet Protocol address port list that matches the non-networked device.
[0139] In some embodiments of the present invention, when the data transmission protocol type of the traffic to be accelerated is user datagram protocol traffic, the Internet Protocol address of the user datagram protocol traffic is deduplicated to obtain a second Internet Protocol address list that needs to be bound; the Internet Protocol address of the user datagram protocol traffic is rewritten to obtain a rewritten second Internet Protocol address list; the rewritten second Internet Protocol address list is deduplicated to obtain a second Internet Protocol address port list that matches the non-networked device.
[0140] Specifically, in one embodiment of the present application, when the application is a game process, the type of accelerated traffic information can be Transmission Control Protocol traffic (TCP traffic), User Datagram Protocol traffic (UDP traffic), Hypertext Transfer Protocol traffic and encrypted Hypertext Transfer Protocol traffic, wherein the window unit of Transmission Control Protocol traffic TCP is bytes, not segments, and the sending window of the data transmission end cannot exceed the value of the receiving window given by the receiving end. The flow control mechanism is to control the packet loss rate, and its main purpose is to let the data transmission end understand the current receiving capacity of the data receiving end and flexibly adjust the transmission rate.
[0141] UDP traffic is a connectionless, unreliable datagram transport protocol. UDP traffic simply transmits outgoing datagrams to the network and receives incoming datagrams from the network without establishing a connection with the remote UDP module. UDP provides services for user network applications, such as the Network File System (NFS) and the Simple Network Management Protocol (SNMP). UDP preserves application-defined message boundaries; it neither concatenates messages from one application nor splits a single application's message into multiple parts.
[0142] When testing the smoothness of a game session on a personal game console using the gateway device testing method provided in this application, the UDP header field consists of four parts, two of which are optional. Each 16-bit source and destination port number identifies the sending and receiving application processes. Because UDP does not require a response, the source port number is optional; if not used, it is set to zero. Following the destination port number is a fixed-length length field in bytes that specifies the length of the UDP datagram, including the data portion. The minimum length is 8 octets.
[0143] Step 305: When the acceleration processing of the traffic to be accelerated is completed, the gateway device testing apparatus obtains the network delay parameter of the gateway device to be tested.
[0144] Step 306: The gateway device testing apparatus determines a test result of the gateway device to be tested according to the network delay parameter of the gateway device to be tested.
[0145] In some embodiments of the present invention, when the network delay parameter of the gateway device to be tested is less than or equal to the delay parameter threshold, the gateway device to be tested is determined to have passed the test; when the network delay parameter of the gateway device to be tested is greater than the delay parameter threshold, the gateway device to be tested is determined to have failed the test; based on the test results of each gateway device to be tested, a test report for the gateway device to be tested is generated and sent to the corresponding cloud server, so that the test results of the gateway device to be tested are recorded by the cloud server. In particular, when fixed time delay control is used, the uplink and downlink delays of the current network are approximately equal to the set value, and the set delay threshold can be 10ms, 20ms, or 30ms. When jitter delay control is used, jitter selection is performed on each data packet with a set probability, and the delay range is randomly generated between 0 and the jitter value.
[0146] In some embodiments of the present invention, when the gateway device to be tested is connected to the running terminal of the target application and the target game process is accelerated, the target game can also be parsed to obtain the priority identifier of the target game; the priority of the received target game is sorted according to the priority identifier of the target game; and a corresponding identification queue is created according to the priority of the target game. Since the parallel task processing capability of the streaming media service is limited, and the link quality of each link corresponding to the content distribution network streaming media server is not the same, it is necessary to sort the priority of the received target games; create a corresponding identification queue according to the priority of the target game, so as to give priority to executing the identification queue with the highest priority, so as to achieve differentiated processing of different games.
[0147] Furthermore, when the number of gateway devices to be tested exceeds two, all identification queues can be traversed to determine the highest-priority identification queue; the link quality of each link in the network resource can be determined; and the highest-quality link in the network resource can be assigned to the highest-priority identification queue to ensure that the target game in the identification queue is transmitted via the assigned link. Thus, when the highest-priority identification queue is determined, the highest-quality link in the network resource can be assigned to the highest-priority identification queue, ensuring that the highest-priority identification queue transmits the corresponding target game via the assigned link.
[0148] In some embodiments of the present invention, when the target game is a cloud game, the target user's identification information is determined; based on the cloud server network, a data source cluster matching the identification information is determined; and based on the data source cluster, the cloud gaming history information of the user matching the target user is stored in the cloud gaming server. The user's cloud gaming history information includes the identification information of the gateway device corresponding to the cloud game. The user's cloud gaming history information can also be accessed by other applications (such as game simulators or motion-sensing gaming devices). Of course, game data processing models that match different types of games can also be migrated to online FPS games played in instant messaging processes, offline FPS games, and cloud games. When a user uses a cloud gaming application, the gateway device identification information corresponding to the cloud game can be obtained from the user's cloud gaming history information and connected to the gateway device corresponding to the gateway device identification information (for example, connecting to a fixed router using the router's identification information) to obtain a better cloud gaming experience.
[0149] The following describes the gateway device testing method provided by the present application, taking the network management device to be tested as a router and the target applications that need to be accelerated for traffic as video applications and game programs as examples. It should be noted that when performing network testing on cloud games through the gateway device testing method provided by the present application, since the cloud game is operated by the cloud server during operation, and the video stream obtained after the operation is transmitted to the terminal for playback, that is, the terminal is responsible for video playback during the operation of the cloud game. The operation of the cloud game does not have very high requirements on the computing power of the terminal, and it is not easy to cause lag during the playback of the game video. The cloud server has a large amount of computing power during the game operation, which is prone to lag. Therefore, the video stream generated by the cloud server itself is a video stream with lag, and there is no lag caused by the terminal during the playback of the video stream. Therefore, the gateway device testing method provided by the present application can also be used to test the transmission of video stream information of the cloud server in the cloud game to determine the effect of different routers on the video traffic acceleration and game traffic acceleration of cloud games. Reference Figure 6 , Figure 6 An optional flow chart of a gateway device testing method provided in an embodiment of the present invention specifically includes the following steps:
[0150] Step 601: Configure device information for all routers to be tested, and download plug-in packages of all router models from the corresponding test platform to the http server directory of the test terminal.
[0151] Among them, because the routing information of the game usually changes during the operation of the game program, at this stage, it mainly depends on the technicians to regularly detect or rely on user feedback to determine whether the routing information of the game is complete and accurate. When it is determined that the routing information of the game is incomplete or inaccurate (that is, the routing information stored in the game client is different from the current routing information of the game), the technicians need to manually set the routing information of the accelerator server. However, this method takes a certain amount of time, the efficiency of updating routing information is not high, and the game acceleration experience is poor. Although the router acceleration plug-in can achieve automatic acceleration, the router acceleration plug-in needs to adapt to the router models produced by different manufacturers, so it can be achieved through Figure 6 In the manner shown, centralized automated testing is performed on all routers to be tested, thereby saving tedious manual operations.
[0152] Step 602: Read the configuration files of all routers to be tested.
[0153] Step 603: Parse the device configuration file and generate an information list of the router to be tested.
[0154] The information list of the routers to be tested includes the identification information of all the routers to be tested, the test sequence information, and the configuration information of each router, so as to facilitate the Figure 6 The method shown polls each router to be tested in the information list of the routers to be tested, and completes centralized automated testing of all the routers to be tested.
[0155] Step 604: Obtain information of the first router to be tested in the information list of the routers to be tested.
[0156] Step 605: Connect to the router to be tested according to the service set identifier and the wireless local area network account and password.
[0157] Step 606: Log in to the router to be tested using the remote terminal protocol according to the root user account and password.
[0158] Step 607: Execute the plug-in program matching the router to be tested in the router to be tested.
[0159] Step 608: Unzip and run the plug-in program, and run the plug-in control program on the test computer to implement traffic game acceleration processing.
[0160] Step 609: Obtain corresponding delay parameters.
[0161] Figure 7 This is a schematic diagram of the delay parameters in an embodiment of the present invention, wherein, when the acceleration processing of the traffic to be accelerated is completed, the network delay parameters of the gateway device to be tested in the test phase can be obtained. Taking the delay parameter threshold of 100ms as an example, when the network delay parameter of the gateway device to be tested is less than or equal to 100ms, it is determined that the gateway device to be tested has passed the test; when the network delay parameter of the gateway device to be tested is greater than 100ms, it is determined that the gateway device to be tested has failed the test.
[0162] Step 610: Continue testing for a period of time to verify whether the network delay is within the delay range after acceleration.
[0163] Due to the instability of network status and the different traffic processing capabilities of routers, continuous testing and verification of the delay range of network delay can avoid misjudgment of the router under test.
[0164] Step 611: Record the test result of the current device and continue testing the next router.
[0165] Step 612: Determine whether all the routers to be tested have completed the test. If so, execute step 613; otherwise, execute step 604.
[0166] Step 613: Generate a test report based on the test results of each router to be tested.
[0167] The generated test report includes the test parameters configured for each router to be tested. Referring to Table 1, it includes at least the following information: the ID number of each router to be tested, the ID number in the corresponding pcap, the data uplink processing identifier and the data downlink processing identifier, the delay time, and the size of each accelerated flow.
[0168]
[0169] Table 1
[0170] In summary, the embodiments of the present invention have the following technical effects:
[0171] The embodiment of the present invention obtains information of a gateway device to be tested, and obtains configuration information of the gateway device to be tested based on the information of the gateway device to be tested; triggers a gateway device test component in response to a gateway device test instruction; connects the gateway device to be tested with a running terminal of a target application program through the gateway device test component according to the configuration information of the gateway device to be tested, and generates an information list of the gateway device to be tested; accelerates the traffic to be accelerated received by the running terminal of the target application program through the gateway device to be tested; obtains the network delay parameters of the gateway device to be tested when the acceleration processing of the traffic to be accelerated is completed; and determines the test result of the gateway device to be tested based on the network delay parameters of the gateway device to be tested. In this way, it is possible to automatically and accurately test the status of the gateway device to be tested in the use environment and determine the status of each gateway device to be tested, and it is possible to select a suitable gateway device to be tested for use based on the test result of the gateway device to be tested to improve the efficiency and accuracy of the acceleration of the target application program.
[0172] The above description is merely an embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A gateway device testing method, characterized in that: The method comprises: Download the plug-in package of each gateway device model to be tested from the test platform to the Hypertext Transfer Protocol (HTTP) server directory of the terminal running the target application; Acquire information of any of the gateway devices to be tested, and obtain configuration information of the gateway device to be tested according to the information of the gateway device to be tested; In response to a gateway device test instruction, triggering a gateway device test component; Connecting the gateway device to be tested with the operating terminal according to the configuration information of the gateway device to be tested through the gateway device testing component, and generating an information list of the gateway device to be tested; Opening the HTTP service so that the gateway device to be tested downloads a matching plug-in program from the HTTP server directory, decompresses the plug-in program, and runs the plug-in program, wherein the plug-in program is used to accelerate the traffic to be accelerated received by the running terminal through the gateway device to be tested; When the acceleration processing of the traffic to be accelerated is completed, obtaining the network delay parameter of the gateway device to be tested; Determining a test result of the gateway device to be tested according to a network delay parameter of the gateway device to be tested; Record the test result of the gateway device to be tested, and continue to test the next gateway device to be tested.
2. The method according to claim 1, characterized in that The gateway device testing component connects the gateway device to be tested with the operation terminal according to the configuration information of the gateway device to be tested, and generates an information list of the gateway device to be tested, including: Configuring a corresponding IP address for the gateway device to be tested through the gateway device testing component; Connecting the external IP address interface of the gateway device to be tested to the interface of the wireless local area network; Triggering a network connection service process of a terminal running the target application; Connecting the gateway device to be tested to the terminal running the target application based on the network connection service process of the terminal running the target application; Acquiring information of each of the gateway devices to be tested through the running terminal of the target application; Based on the information of each of the gateway devices to be tested, an information list of the gateway devices to be tested is formed to implement detection of each of the gateway devices to be tested in the information list of the gateway devices to be tested.
3. The method according to claim 1, characterized in that The accelerating process of the traffic to be accelerated received by the operating terminal through the gateway device to be tested includes: Based on the information of each gateway device to be tested in the information list of the gateway devices to be tested, Determine a delay control mode that matches the gateway device to be tested, wherein the delay control mode includes: fixed delay control, jitter delay control, and blocking delay control; Based on the delay control method, the traffic to be accelerated received by the terminal running the target application is accelerated.
4. The method according to claim 1, wherein The acquiring information of the gateway device to be tested, and obtaining configuration information of the gateway device to be tested according to the information of the gateway device to be tested, includes: Scanning identification information of the gateway device to be tested; According to the identification information of the gateway device to be tested, searching for the service set identifier, wireless local area network account information and password information of the gateway device to be tested; According to the identification information of the gateway device to be tested, the root user account information and password information of the gateway device to be tested are obtained from the root directory information.
5. The method according to claim 4, characterized in that The method further comprises: Sending the service set identifier included in the information of the wireless local area network to the operator of the wireless local area network, so that the operator authenticates the wireless local area network through the service set identifier; When receiving a message indicating that the authentication is passed and sent by the operator to the access controller of the wireless local area network, it is determined that the connection state of the wireless local area network is a connectable state.
6. The method according to claim 1, characterized in that The method further comprises: When the data transmission protocol type of the traffic to be accelerated is Transmission Control Protocol traffic, Deduplication processing is performed on the Internet Protocol addresses of the transmission control protocol traffic to obtain a first Internet Protocol address list that needs to be bound; rewriting the Internet Protocol addresses of the transmission control protocol traffic to obtain a rewritten first Internet Protocol address list; The rewritten first Internet Protocol address list is deduplicated to obtain a first Internet Protocol address port list that matches a non-networked device, where the non-networked device is a terminal device that is in a non-networked state.
7. The method according to claim 1, characterized in that The method further comprises: When the data transmission protocol type of the traffic to be accelerated is User Datagram Protocol traffic, Deduplicating Internet Protocol addresses of the User Datagram Protocol traffic to obtain a list of second Internet Protocol addresses to be bound; rewriting the Internet Protocol addresses of the User Datagram Protocol traffic to obtain a rewritten second Internet Protocol address list; The rewritten second Internet Protocol address list is deduplicated to obtain a second Internet Protocol address port list that matches the non-networked device, where the non-networked device is a terminal device that is in a non-networked state.
8. The method according to claim 1, characterized in that The determining, based on the network delay parameter of the gateway device to be tested, a test result of the gateway device to be tested, includes: When the network delay parameter of the gateway device to be tested is less than or equal to the delay parameter threshold, determining that the gateway device to be tested passes the test; When the network delay parameter of the gateway device to be tested is greater than the delay parameter threshold, determining that the gateway device to be tested fails the test; According to the test result of each of the gateway devices to be tested, a test report of the gateway device to be tested is generated and sent to the corresponding cloud server, so that the test result of the gateway device to be tested is recorded by the cloud server.
9. The method according to claim 1, characterized in that The method further comprises: When the gateway device to be tested is connected to the running terminal of the game program and the game traffic of the target game process is accelerated, Parsing the target game process to obtain a priority identifier of the target game process; sorting the priorities of the received target game processes according to the priority identifiers of the target game processes; According to the priority of the target game process, a corresponding identification queue is created.
10. The method according to claim 9, characterized in that The method further comprises: When the number of gateway devices to be tested exceeds 2, all identification queues are traversed to determine the identification queue with the highest priority; Determining the link quality of each link in the gateway to be tested; The link with the highest link quality in the gateway to be tested is configured for the identification queue with the highest priority, so as to transmit the target game in the identification queue through the configured link.
11. The method according to claim 9, characterized in that The method further comprises: When the game process is a cloud game, determining identification information of a target user; Determining, based on a cloud server network, a data source cluster that matches the identification information; According to the data source cluster, cloud game history information of a user matching the target user is stored in a cloud game server, wherein the cloud game history information of the user includes gateway device identification information corresponding to the cloud game.
12. A gateway device testing device, characterized in that: The device comprises: An information transmission module is used to download the plug-in package of each gateway device to be tested from the test platform to the Hypertext Transfer Protocol (HTTP) server directory of the target application's running terminal; obtain information of any of the gateway devices to be tested, and obtain configuration information of the gateway device to be tested based on the information of the gateway device to be tested; An information processing module, configured to trigger a gateway device test component in response to a gateway device test instruction; The information processing module is used to connect the gateway device to be tested with the operation terminal through the gateway device testing component according to the configuration information of the gateway device to be tested, and generate an information list of the gateway device to be tested; The information processing module is used to start the HTTP service so that the gateway device to be tested downloads a matching plug-in program from the HTTP server directory, decompresses the plug-in program and runs the plug-in program, wherein the plug-in program is used to accelerate the traffic to be accelerated received by the running terminal through the gateway device to be tested; The information processing module is configured to obtain the network delay parameter of the gateway device to be tested when the acceleration processing of the traffic to be accelerated is completed; The information processing module is used to determine the test result of the gateway device to be tested according to the network delay parameter of the gateway device to be tested; record the test result of the gateway device to be tested, and continue to test the next gateway device to be tested.
13. The device according to claim 12, characterized in that The information transmission module is further configured to configure a corresponding IP address for the gateway device to be tested through the gateway device testing component; The information processing module is further configured to connect the external IP address interface of the gateway device to be tested to the interface of the wireless local area network; The information processing module is further used to trigger the network connection service process of the terminal running the target application; The information processing module is further configured to connect the gateway device to be tested to the terminal running the target application based on the network connection service process of the terminal running the target application; The information processing module is further configured to obtain information of each gateway device to be tested through a running terminal of the target application; The information processing module is further configured to form an information list of the gateway devices to be tested based on the information of each gateway device to be tested, so as to detect each gateway device to be tested in the information list of the gateway devices to be tested.
14. The device according to claim 12, characterized in that The information transmission module is further configured to send the service set identifier included in the information of the wireless local area network to the operator of the wireless local area network, so that the operator authenticates the wireless local area network through the service set identifier; The information processing module is further configured to determine that the connection state of the wireless local area network is a connectable state when receiving a message indicating that the authentication is passed, which is sent by the operator to the access controller of the wireless local area network.
15. A software program, characterized in that The software program includes: a memory for storing executable instructions; The processor is configured to implement the gateway device testing method according to any one of claims 1 to 11 when running the executable instructions stored in the memory.
16. An electronic device, characterized in that: The electronic device comprises: a memory for storing executable instructions; The processor is configured to implement the gateway device testing method according to any one of claims 1 to 11 when running the executable instructions stored in the memory.
17. A computer-readable storage medium storing executable instructions, characterized in that: When the executable instructions are executed by a processor, the gateway device testing method according to any one of claims 1 to 11 is implemented.
18. A computer program product, characterized in that The computer program product includes computer instructions, which are used to implement the gateway device testing method according to any one of claims 1 to 11 when executed by a processor.
Citation Information
Patent Citations
Resource transmission control method and device based on multimode base station
CN110876160A
Live broadcast state data sending method, device and system and storage medium
CN111262864A