Automatic configuration method for network environment detection
By setting up network environment detection software in the terminal computer and automatically detecting and configuring the optimal network address, the problem that customers cannot communicate with the server in a special network environment is solved, and communication efficiency and customer experience are improved.
Patent Information
- Application Number
- CN202510158121.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-05-23
AI Technical Summary
In special network environments, customers cannot use terminal software to establish communication connections with servers, resulting in users needing to communicate with technical personnel to investigate network environment problems, especially in the case of foreign customers, communication efficiency is low.
Provides an automatic configuration method for network environment detection. By setting up network environment detection software in the terminal computer, loading the network addresses of all servers, performing domain name detection, IP address detection and communication detection, recommending network addresses with the best comprehensive performance, and configuring the server network address to establish a connection between the terminal computer and the server.
Automatically avoid network address restrictions in different network environments, configure the available optimal network address, and realize the connection between terminal computers and servers, reducing the communication needs between customers and technicians and improving customer experience.
Smart Images

Figure CN120034429A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of communications and relates to an automatic configuration method for network environment detection. Background Art
[0002] Wireless walkie-talkies are a kind of professional wireless communication tools in mobile communications, which are widely used in the fields of public safety, logistics and transportation, tourism and sightseeing. With the development of wireless communication technology, the intercom communication system has realized digitalization and broadband, that is, digital intercoms realize the transmission of audio data through mobile communication networks.
[0003] The digital intercom communication system needs to rely on the server to provide wireless services in its coverage area, and manage the intercom equipment with the help of the terminal computer loaded with terminal software. However, in special network environments, such as the country's restrictions on network addresses, the inability of the local area network to access the public network address, and the IP restrictions of the gateway in the private network, customers will be unable to use the terminal software to establish communication with the server. Users do not know the communication principle between the software and the server, nor do they know what changes have occurred in the network environment. At this time, they need to communicate with the technical staff of the intercom communication system to verify the specific network environment, especially for foreign customers, the communication efficiency will be lower.
[0004] The network environment in the present invention includes the network environment where the computer or terminal is located, such as a local area network, a private network, a region, etc. The restrictions on network communication include domain name restrictions, IP restrictions, IP restrictions in different regions, port restrictions, such as TCP communication protocol, UDP communication protocol, HTTP communication protocol, HTTPS communication protocol and other protocol restrictions. Summary of the invention
[0005] The purpose of the present invention is to utilize the network environment detection automatic configuration method so that the terminal computer can automatically circumvent network address restrictions in different network environments, configure usable addresses, or input network environment information to suggest what kind of address the customer can configure in order to use the software to communicate with the server.
[0006] The technical solution adopted by the present invention provides a network environment detection automatic configuration method. The above automatic configuration method is based on the process of establishing a communication connection between an intercom terminal computer and a server based on the TCP communication protocol, the UDP communication protocol, the HTTP communication protocol or the HTTPS communication protocol. The key is that the above automatic configuration method needs to be provided with a network environment detection software in the intercom terminal computer. The above detection software has the network addresses and local information of all servers built in. The specific implementation steps of the above automatic configuration method are:
[0007] S1. When the detection software is started, the network addresses of all servers are loaded;
[0008] S2. Perform domain name detection, IP address detection and communication detection on all servers to confirm whether the intercom terminal computer can communicate with the server;
[0009] S3. Conduct network performance detection for all network addresses that can communicate, and recommend the network address with the best comprehensive performance to the terminal computer;
[0010] S4. Configure the server network address, establish a connection between the intercom terminal computer and the server, and realize communication.
[0011] Specifically, the above-mentioned step S2 specifically includes:
[0012] S2-1. Detect the domain name and IP address respectively to confirm whether the HTTP communication protocol, HTTPS communication protocol, TCP communication protocol or UDP communication protocol are available;
[0013] S2-2, perform communication detection for different protocols, including HTTP detection, HTTPS detection, TCP detection and UDP detection;
[0014] S2-3. Record the network address of the server.
[0015] Specifically, the performance detection in the above step S3 includes detecting the network speed, delay and jitter of the network.
[0016] Specifically, the above local information includes multiple pieces of information including the local IP of the intercom terminal computer, the area information, the public network IP or the private network IP.
[0017] Furthermore, the above-mentioned startup of the detection software is divided into automatic startup and manual startup, and the above-mentioned automatic startup is divided into scheduled automatic startup and automatic startup when an abnormality of the server is automatically found.
[0018] Furthermore, the above-mentioned automatic discovery of server anomalies relies on the service monitoring alarm software in the intercom terminal computer to monitor the server status. The above-mentioned service monitoring alarm software simulates the terminal customer behavior, counts the results of the simulated behavior and determines whether to send a warning.
[0019] Preferably, the simulation of terminal customer behavior includes two aspects: on the one hand, simulating the terminal customer behavior to periodically send operation requests to the server, and judging whether the response result is normal based on the processing of the service receiving the message; on the other hand, performing local detection, the above-mentioned local detection includes detecting CPU usage, detecting broadband usage, detecting memory usage and detecting user status.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] The present invention can utilize the software of the method of the present invention loaded in the terminal computer to realize automatic avoidance of network address restrictions in different network environments, configure the usable and optimal network address, and then establish a connection between the terminal computer and the server to complete the communication, thereby avoiding the situation where the customer finds that the intercom system cannot be used during use and needs the assistance of technical personnel to troubleshoot, reducing unnecessary communication and greatly improving the customer experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flow chart of the network environment detection automatic configuration method of the present invention.
[0023] Figure 2 It is a flow chart of the service monitoring alarm software monitoring the server status. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. 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.
[0025] Example
[0026] The automatic configuration method in this embodiment is a process of establishing a communication connection between the intercom terminal computer and the server based on the TCP communication protocol, UDP communication protocol, HTTP communication protocol or HTTPS communication protocol. It is necessary to set up a network environment detection software in the intercom terminal computer. The detection software has built-in network addresses and local information of all servers, among which the local information includes the local IP of the intercom terminal computer, the region information, and multiple pieces of information including the public network IP or the private network IP.
[0027] Assume that different regions include China, the United States, Germany, Japan, and Singapore, among which there are 3 servers in China (server No. 3 in a western province, server No. 2 in an eastern province, and server No. 1 in a southeastern coastal city), 2 servers in the United States, and 1 server each in Germany, Japan, and Singapore; the customer's terminal computer is located in Kuala Lumpur, Malaysia, and uses a server located in Singapore; a customer's terminal computer is installed with software that can implement an automatic configuration method and service monitoring alarm software, and can connect to the public network; the terminal computer has built-in network addresses and local information of 10 servers in the above five regions, and the local information includes local IP, regional information, and public IP.
[0028] The automatic configuration method in this embodiment can be found in the attached Figure 1, the specific implementation steps are:
[0029] S1. When the detection software is started, load the network addresses of all the above 10 servers:
[0030] The detection software startup can be divided into automatic startup and manual startup, among which automatic startup can be divided into scheduled automatic startup and automatic startup when an abnormality is found in the server;
[0031] As attached Figure 2 As shown, in this embodiment, the service monitoring alarm software has been loaded. If Singapore imposes restrictions on IP addresses one day, the terminal computer cannot use the original server, resulting in the intercom device being unable to complete communication. The terminal computer relies on the service monitoring alarm software in the intercom terminal computer to monitor the server status. The service monitoring alarm software simulates the behavior of the terminal client, counts the results of the simulated behavior and determines whether to send a warning. In this embodiment, a warning will be sent, and the subsequent steps of the automatic configuration method will be executed;
[0032] The above-mentioned simulation of terminal customer behavior includes two aspects: on the one hand, it simulates the terminal customer behavior to send operation requests to the server at regular intervals, and determines whether the response result is normal based on the processing of the service receiving the message; on the other hand, it performs local detection, which includes detecting CPU usage, broadband usage, memory usage and user status.
[0033] S2. Perform domain name detection, IP address detection and communication detection on the above 10 servers to confirm whether the intercom terminal computer can communicate with the server:
[0034] S2-1. Check the domain name and IP address respectively to confirm whether the HTTP protocol, HTTPS protocol, TCP protocol or UDP protocol is available;
[0035] S2-2, perform communication detection for different protocols, including HTTP detection, HTTPS detection, TCP detection and UDP detection;
[0036] S2-3. Record the network addresses of the servers that can communicate. If the detection result shows that the three servers in China can communicate,
[0037] S3. Conduct network performance detection for all domain names and IP addresses that can communicate, and recommend the network address with the best comprehensive performance to the terminal computer, including detecting the network speed, delay and jitter. The results are shown in Table 1.
[0038] Table 1: Network performance detection results
[0039]
[0040] From the results in Table 1, it can be seen that server No. 1 located in a city in the southeastern coast of China is the best, and the network address of this server is recommended to the terminal computer.
[0041] S4. Configure the server network address, establish a connection between the intercom terminal computer and the server, and realize communication between the intercom equipment.
Claims
1. A network environment detection automatic configuration method, wherein the automatic configuration method is based on a process of establishing a communication connection between an intercom terminal computer and a server using a TCP communication protocol, a UDP communication protocol, an HTTP communication protocol or an HTTPS communication protocol, and is characterized in that: The automatic configuration method requires that a network environment detection software be set in the intercom terminal computer. The detection software has the network addresses and local information of all servers built in. The specific implementation steps of the automatic configuration method are: S1. When the detection software is started, the network addresses of all servers are loaded; S2. Perform domain name detection, IP address detection and communication detection on all servers to confirm whether the intercom terminal computer can communicate with the server; S3. Conduct network performance detection for all network addresses that can communicate, and recommend the network address with the best comprehensive performance to the terminal computer; S4. Configure the server network address, establish a connection between the intercom terminal computer and the server, and realize communication.
2. The network environment detection automatic configuration method according to claim 1, characterized in that: The S2 step specifically includes: S2-1. Detect the domain name and IP address respectively to confirm whether the HTTP communication protocol, HTTPS communication protocol, TCP communication protocol or UDP communication protocol are available; S2-2, perform communication detection for different protocols, including HTTP detection, HTTPS detection, TCP detection and UDP detection; S2-3. Record the network address of the server.
3. The network environment detection automatic configuration method according to claim 1, characterized in that: The performance detection in the step S3 includes detecting the network speed, delay and jitter of the network.
4. The network environment detection automatic configuration method according to claim 1, characterized in that: The local information includes the local IP of the intercom terminal computer, the location information, and multiple pieces of information in the public network IP or private network IP.
5. The network environment detection automatic configuration method according to claim 1, characterized in that: The startup of the detection software is divided into automatic startup and manual startup, and the automatic startup is divided into scheduled automatic startup and automatic startup when an abnormality of the server is automatically found.
6. The network environment detection automatic configuration method according to claim 5, characterized in that: The automatic discovery of server anomalies relies on the service monitoring alarm software in the intercom terminal computer to monitor the server status. The service monitoring alarm software simulates the terminal customer behavior, counts the results of the simulated behavior and determines whether to send a warning.
7. The network environment detection automatic configuration method according to claim 6, characterized in that: The simulation of terminal customer behavior includes two aspects: on the one hand, it simulates the terminal customer behavior to send operation requests to the server at regular intervals, and determines whether the response result is normal based on the processing of the service receiving the message; on the other hand, it performs local detection, and the local detection includes detecting CPU usage, detecting broadband usage, detecting memory usage and detecting user status.