Dial testing point state monitoring method, system and device
By setting up a dial-testing point deployment module between the cloud console and the target terminal, dynamically update and control dial-testing tasks, and realizing active status data upload of the target terminal, the problem of inefficient dial-testing point status monitoring in traditional solutions is solved, and the real-time and efficiency of monitoring is improved.
Patent Information
- Application Number
- CN202411733584.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-07
AI Technical Summary
With the increase in the scale and complexity of the distributed cloud dialing system and the number of dialing points is large, the dialing log is retrieved and analyzed for each dialing point, resulting in high data processing pressure and low efficiency in monitoring the status of dialing point.
By setting up a dial-testing point deployment module between the cloud console and the target terminal, the dial-testing point deployment module deploys a dial-testing point. The cloud console only needs to send dial-testing task configuration data to the target terminal to update the dial-testing task dynamically and control the start and stop of the task. The target terminal actively uploads the operating status data of the dial-test point, and the cloud console pushes an exception prompt message when no data is received within the preset time.
It reduces the data processing pressure of the cloud console, improves the real-time and efficiency of dialing measurement point status monitoring, and quickly responds to abnormal situations of dialing measurement points.
Smart Images

Figure CN119583549A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud computing technology, and in particular to a method, system and device for monitoring the status of a dialing point. Background Art
[0002] With the development of cloud computing technology, distributed cloud dial-up testing systems have become an important tool for network performance detection and troubleshooting. By deploying multiple nodes around the world, distributed cloud dial-up testing systems can monitor key indicators such as network connection quality and latency in real time.
[0003] In traditional solutions, the cloud host usually directly deploys dial-up points on multiple terminals and monitors the status of the dial-up points in real time. For example, the dial-up task log of the dial-up point is checked regularly, and the start time and dial-up address of the dial-up task are read from the dial-up log to analyze the operating status of the dial-up point.
[0004] However, as the scale and complexity of distributed cloud dial-up test systems increase, when the number of dial-up test points is large, retrieving and analyzing the dial-up test logs for each dial-up test point may bring about greater data processing pressure, resulting in low efficiency in monitoring the status of the dial-up test points. Summary of the invention
[0005] Based on this, it is necessary to provide a dialing point status monitoring method, system, device, computer equipment, computer-readable storage medium and computer program product that can improve the monitoring efficiency of dialing points in response to the above technical problems.
[0006] In a first aspect, the present application provides a dialing point status monitoring method, which is applied to a cloud console, and the method includes:
[0007] Sending a dial-test point deployment instruction to a connected dial-test point deployment module, wherein the dial-test point deployment instruction is used to instruct the dial-test point deployment module to deploy a dial-test point on a target terminal;
[0008] Sending the dialing test task configuration data to the target terminal, so that the target terminal updates the local dialing test task based on the dialing test task configuration data, and controls the start or stop of the updated local dialing test task;
[0009] The dial test point operation status data uploaded by the target terminal is received, and when the dial test point operation status data uploaded by the target terminal is not received within a preset time period, a dial test point abnormality prompt message is pushed.
[0010] In a second aspect, the present application further provides a dialing point status monitoring system, the system comprising a cloud console, a dialing point deployment module and a target terminal, the cloud console is connected to the dialing point deployment module and the target terminal, and the dialing point deployment module is connected to the target terminal;
[0011] The cloud console sends a dial-test point deployment instruction to the dial-test point deployment module, the dial-test point deployment module parses the dial-test point deployment instruction, determines the dial-test point deployment information, determines and sends the dial-test point deployment script file to the target terminal according to the dial-test point deployment information, and the target terminal receives and runs the dial-test point deployment script file to deploy the dial-test point corresponding to the dial-test point deployment script file locally;
[0012] The cloud console sends the dial test task configuration data to the target terminal, and the target terminal updates the local dial test task based on the dial test task configuration data;
[0013] The cloud console sends a dial test task start / stop instruction to the target terminal, the target terminal parses the dial test task start / stop instruction to obtain a parsing result, and starts or stops the updated local dial test task according to the parsing result;
[0014] The target terminal sends the dial test point operation status data to the cloud console. If the cloud console does not receive the dial test point operation status data uploaded by the target terminal within a preset time, the cloud console pushes a dial test point abnormality prompt message.
[0015] In a third aspect, the present application further provides a dialing point status monitoring device, comprising:
[0016] An instruction sending module, used for sending a dial-test point deployment instruction to a connected dial-test point deployment module, wherein the dial-test point deployment instruction is used for instructing the dial-test point deployment module to deploy a dial-test point on a target terminal;
[0017] A task configuration module, used to send the dialing test task configuration data to the target terminal, so that the target terminal updates the local dialing test task based on the dialing test task configuration data, and controls the start or stop of the updated local dialing test task;
[0018] The status monitoring module is used to receive the dialing point operation status data uploaded by the target terminal, and push a dialing point abnormality prompt message when the dialing point operation status data uploaded by the target terminal is not received within a preset time period.
[0019] In a fourth aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the embodiment of the dialing point status monitoring method when executing the computer program.
[0020] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the embodiment of the dialing point status monitoring method are implemented.
[0021] In a sixth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps in the embodiment of the dialing point status monitoring method.
[0022] The above-mentioned dial test point status monitoring method, system, device, computer equipment, computer readable storage medium and computer program product are different from the traditional solution in which the dial test point is directly deployed by the cloud host. In this solution, a dial test point deployment module is set as a transfer station between the cloud console and the target terminal. The dial test point is deployed by the dial test point deployment module. After the dial test point is deployed, the cloud console only needs to send the dial test task configuration data to the target terminal to dynamically update the dial test task of the target terminal and control the start and stop of the dial test task. In this way, the data processing pressure of the cloud console can be reduced. Furthermore, compared with analyzing the dial test task log, in this solution, the target terminal can actively upload the dial test point operation status data without the cloud console regularly querying. This active upload mode reduces the query burden of the cloud console. In addition, when the cloud console does not receive the dial test point operation status data within a preset time period, it pushes the dial test point abnormal prompt message. This abnormal detection mechanism can not only improve the real-time performance of the dial test point status monitoring, but also quickly respond to the abnormal situation of the dial test point, thereby improving the efficiency of the dial test point status monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 An application environment diagram of a dialing point status monitoring method in an embodiment;
[0025] Figure 2 A schematic diagram of a flow chart of a method for monitoring a dialing point status in an embodiment;
[0026] Figure 3 A structural block diagram of a dialing point status monitoring system in an embodiment;
[0027] Figure 4 It is a structural block diagram of a dialing point status monitoring system in another embodiment;
[0028] Figure 5 It is a structural block diagram of a dialing point status monitoring system in a detailed embodiment;
[0029] Figure 6It is a structural block diagram of a dialing point status monitoring device in an embodiment;
[0030] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0032] The dialing point status monitoring method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in the figure, the cloud console 102 communicates with the dial-test point deployment module 104 and the target terminal 106 through the network, and the dial-test point deployment module 104 communicates with the target terminal 106 through the network. The data storage system can store the data that the cloud console 102 needs to process. The data storage system can be integrated on the cloud console 102, or it can be placed on the cloud or other network servers.
[0033] Specifically, the cloud console 102 sends a dialing point deployment instruction to the connected dialing point deployment module 104, so that the dialing point deployment module 104 deploys the dialing point on the target terminal 106. After the dialing point deployment is completed, the cloud console 102 sends the dialing task configuration data to the target terminal 106, so that the target terminal 106 updates the local dialing task based on the dialing task configuration data, and controls the start or stop of the updated local dialing task. Then, the cloud console 102 receives the dialing point operation status data uploaded by the target terminal 106, and pushes the dialing point abnormality prompt message when the dialing point operation status data uploaded by the target terminal 106 is not received within a preset time period.
[0034] The target terminal 106 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The cloud console 102 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services.
[0035] In an exemplary embodiment, Figure 2 As shown, a method for monitoring the status of a dialing point is provided, and the method is applied to Figure 1 Taking the cloud console 102 in the example as an example, the following steps are included:
[0036] S100: Send a dial-test point deployment instruction to a connected dial-test point deployment module, where the dial-test point deployment instruction is used to instruct the dial-test point deployment module to deploy a dial-test point on a target terminal.
[0037] The dial-test point deployment instruction may include, but is not limited to, the type of dial-test point to be deployed, the identifier of the target terminal to be deployed, the dial-test address of the dial-test point, the dial-test parameters, and other information. The dial-test point deployment module may be an Ansible deployment module, which can send the same deployment instruction to multiple target terminals and implement batch deployment of multiple target terminals by executing a deployment task once. The target terminal refers to the terminal waiting for the deployment of the dial-test point.
[0038] Exemplarily, the cloud console serves as the starting point of the entire dial-test point deployment process, and the administrator or relevant operator sets the parameters related to the dial-test point deployment on its operation interface, and performs the triggering operation of the dial-test point deployment instruction. After receiving the dial-test point deployment instruction sent by the cloud console, the dial-test point deployment module can first parse the dial-test point deployment instruction, for example, extract important information about the target terminal, the dial-test point type, the configuration parameters, etc. from the dial-test point deployment instruction, and encapsulate it into a batch of dial-test point deployment information. Further, the dial-test point deployment information is parsed to obtain information such as the dial-test point type and configuration parameters, and the dial-test point deployment script file is determined based on the parsed information. The dial-test point deployment script file can be a playbook file, which can be a playbook file configuration modified according to the dial-test point deployment information, or a new playbook file can be created to obtain the dial-test point deployment script file, and then the dial-test point management unit sends the dial-test point deployment script file to one or more target terminals through the Ansible method.
[0039] After the target terminal receives the dial-test point deployment script file, it will perform basic verification on the dial-test point deployment script file, such as file integrity verification. After the verification passes, the target terminal runs the dial-test point deployment script file, performs relevant configuration and installation operations of the dial-test point locally, and completes the deployment of the dial-test point.
[0040] S200, sending dialing test task configuration data to the target terminal, so that the target terminal updates the local dialing test task based on the dialing test task configuration data, and controls the start or stop of the updated local dialing test task.
[0041] The dial test task configuration data includes, but is not limited to, information such as a dial test address, a dial test protocol, and a dial test frequency.
[0042] Exemplarily, after the dialing point has been deployed to the target terminal, the administrator or relevant operator can formulate the dialing task configuration data according to the business needs and the dialing target, and send the dialing task configuration data to the target terminal through the interface between the cloud console and the target terminal. In order to improve the security of the data transmission process, an encrypted transmission method can also be used. After the target terminal receives the dialing task configuration data, it performs a series of decryption, integrity verification, and legality verification operations on the dialing task configuration data. After the verification is passed, the dialing task configuration data is parsed to extract the dialing target, dialing protocol, dialing frequency and other dialing parameter information, and based on the parsed dialing parameter information, the local dialing task is updated, including but not limited to adjusting the dialing target, switching the dialing protocol, modifying the dialing frequency, etc. After the above update operation is completed, the target terminal saves the updated dialing task to the local storage medium to facilitate the subsequent control of the start or stop of the updated dialing task.
[0043] Furthermore, on the cloud console side, the administrator or relevant operator decides when to start or stop a specific dialing test task according to business needs and monitoring plans, and triggers the cloud console to generate corresponding dialing test task start / stop instructions, and sends the dialing test task start / stop instructions to the target terminal. The target terminal receives the dialing test task start / stop instructions through its network interface, and parses the dialing test task start / stop instructions to extract the local dialing test task identifier that needs to be operated and the corresponding operation information (start or stop). For example, if the dialing test task start / stop instruction indicates that a local dialing test task needs to be stopped, the target terminal can stop the operation of the relevant dialing test program.
[0044] S300, receiving the dial test point operation status data uploaded by the target terminal, and pushing a dial test point abnormality prompt message when the dial test point operation status data uploaded by the target terminal is not received within a preset time period.
[0045] The dial-test point operation status data includes, but is not limited to, the dial-test point identification, dial-test point version information, dial-test point start / stop status, dial-test point network connection status, dial-test task execution progress, system resource usage, and other information.
[0046] Following the above steps, when the dial test task is executed at the dial test point of the target terminal, the target terminal will collect the dial test point operation status data according to a certain frequency and rules. For example, a timer is deployed in the target terminal, and a specific network interface can be periodically called to upload the dial test point operation status data to the cloud console. The cloud console can synchronously receive the dial test point operation status data reported by the target terminal, pre-process the dial test point operation status data, such as deduplication and cleaning, and then extract the dial test point ID and data upload time from the processed dial test point operation status data, and then asynchronously statistically process the dial test point operation status data, for example, parse and extract the dial test point ID, network status indicators, dial test task progress, system resource occupancy and other information of the relevant dial test point, so as to realize the status monitoring of the dial test point.
[0047] In addition, the cloud console can asynchronously receive the dial-up point operation status data uploaded by the target terminal, which means that the cloud console will not block the execution of other operations or tasks due to waiting for a report from a certain target terminal. It can process reports from multiple target terminals at the same time, thereby improving the data processing efficiency of the cloud console.
[0048] Furthermore, a preset time period can be pre-set according to business needs and the characteristics of the dial-up test task, for example, 10 minutes. If the cloud console has not received new dial-up test point operation status data 10 minutes after the last time it received the dial-up test point operation status data, this means that the dial-up test point deployed on the target terminal may have an abnormal situation. The cloud console will push a dial-up test point abnormality prompt message to remind the operation and maintenance personnel to intervene in troubleshooting.
[0049] The above-mentioned dial-test point status monitoring method is different from the traditional solution in which the dial-test point is directly deployed by the cloud host. In this solution, a dial-test point deployment module is set as a transfer station between the cloud console and the target terminal. The dial-test point is deployed by the dial-test point deployment module. After the dial-test point is deployed, the cloud console only needs to send the dial-test task configuration data to the target terminal to dynamically update the dial-test task of the target terminal and control the start and stop of the dial-test task. This can reduce the data processing pressure of the cloud console. Furthermore, compared with analyzing the dial-test task log, in this solution, the target terminal can actively upload the dial-test point operation status data without the cloud console regularly querying. This active upload mode reduces the query burden of the cloud console. In addition, when the cloud console does not receive the dial-test point operation status data within a preset time period, it pushes the dial-test point abnormal prompt message. This abnormal detection mechanism can not only improve the real-time performance of the dial-test point status monitoring, but also quickly respond to the abnormal situation of the dial-test point, thereby improving the efficiency of the dial-test point status monitoring.
[0050] In one embodiment, Figure 3As shown, a dialing point status monitoring system 300 is provided, the system includes a cloud console 310, a dialing point deployment module 320 and a target terminal 330, the cloud console 310 is connected to the dialing point deployment module 320 and the target terminal 330, and the dialing point deployment module 320 is connected to the target terminal 330.
[0051] The cloud console 310 sends the dialing point deployment instruction to the dialing point deployment module 320. The dialing point deployment module 320 parses the dialing point deployment instruction, determines the dialing point deployment information, and determines and sends the dialing point deployment script file to the target terminal 330 based on the dialing point deployment information. The target terminal 330 receives and runs the dialing point deployment script file to deploy the dialing point corresponding to the dialing point deployment script file locally.
[0052] The cloud console 310 sends the dialing test task configuration data to the target terminal 330 , and the target terminal 330 updates the local dialing test task based on the dialing test task configuration data.
[0053] The cloud control console 310 sends a dialing test task start / stop instruction to the target terminal 330 . The target terminal 330 parses the dialing test task start / stop instruction, obtains a parsing result, and starts or stops the updated local dialing test task according to the parsing result.
[0054] The target terminal 330 sends the dialing point operation status data to the cloud control console 310. If the cloud control console 310 does not receive the dialing point operation status data uploaded by the target terminal 330 within a preset time, it pushes a dialing point abnormality prompt message.
[0055] It should be noted that the specific explanation of the dialing point status monitoring system 300 has been described in detail in the above-mentioned dialing point status monitoring method embodiment, and will not be repeated here.
[0056] In one embodiment, Figure 4 As shown, the dialing point deployment module 320 includes a dialing point management unit 321, which is used to parse the dialing point deployment information, obtain the parsing result, and determine and send the dialing point deployment script file to the target terminal according to the parsing result.
[0057] Exemplarily, the dialing point management unit 321 parses the dialing point deployment information to obtain the dialing point type, the target terminal 330 identifier (network address, device name, etc.) on which the dialing point needs to be deployed, specific parameters of the dialing test, and other information, and then constructs a dialing point deployment script file based on the above analysis results, and then deploys the dialing point identifier according to the need, sends the dialing point deployment script file to the target terminal 330, and the target terminal 330 runs the dialing point deployment script file to quickly implement the deployment of the dialing point.
[0058] In addition, the dial-test point management unit 321 can implement batch deployment of the dial-test points, for example, by sending the dial-test point deployment script files to multiple target terminals 330 in batches through the Ansible method, so that the multiple target terminals 330 can deploy the dial-test points at the same time.
[0059] In this embodiment, the dialing point management unit 321 can effectively parse the dialing point deployment information, and accurately determine and send the dialing point deployment script file to the target terminal 330 according to the parsing result, so as to achieve efficient and accurate deployment of the dialing point in the target terminal 330 .
[0060] In one embodiment, the dialing point deployment script file includes a dialing point configuration template file, a newly created dialing point identifier, and a dialing point startup configuration file. The target terminal 330 is also used to write the dialing point configuration template file and the dialing point startup configuration file into a preset executable file directory, and write the newly created dialing point identifier into the dialing point configuration template file to obtain an executable deployment file, add executable permissions to the executable deployment file, and run the executable deployment file.
[0061] Among them, the dial test point deployment script can be a playbook script file, and the dial test point configuration template file contains the template information of various basic configuration parameters of the dial test point, such as the target address of the dial test, the protocol adopted by the dial test, the dial test frequency, etc. The dial test point configuration template file provides a framework for the specific configuration of the dial test point, and the corresponding parameters can be filled and adjusted according to actual needs. The newly created dial test point identifier is the information used to uniquely identify the newly created dial test point, which can be a specific code such as numbers and letters. It should be noted that the dial test point deployment script file can not only be used to create a new dial test point, but also to update the dial test point on the target terminal 330, that is, the dial test point deployment script file can also include the dial test point identifier that needs to be updated. The dial test point startup configuration file mainly involves some configuration information required when the dial test point is started, such as the system resource allocation required to start the dial test point, whether the dial test point needs to be automatically run when the system starts, and the initial settings for interacting with other related system components or services.
[0062] Exemplarily, after receiving the dial-up point deployment script file, the target terminal 330 will first write the dial-up point configuration template file and the dial-up point startup configuration file to the preset executable file directory. The preset executable file directory is a specific location in the target terminal 330 specifically used to store executable programs and related configuration files. The purpose of writing the above files to the directory is to facilitate subsequent execution operations on related files. The executable file directory can be created in advance on the target terminal 330, or it can be created on the target terminal 330 through the playbook script after receiving the playbook script. In addition, a log directory can also be created on the target terminal 330.
[0063] Further, the target terminal 330 will accurately write the received newly created dialing point identification into the position specified in the dialing point configuration template file. In the dialing point configuration template file, a field or area is reserved specifically for filling in the dialing point identification. The target terminal 330 will fill in the newly created dialing point identification according to the format and requirements of the file to obtain an executable deployment file. The executable deployment file integrates various configuration information, startup information and unique identification of the dialing point, and has all the necessary conditions for running the dialing point on the target terminal 330. Before the executable deployment file is executed, it is necessary to add executable permissions for it, so the target terminal 330 adds executable permissions to the generated executable deployment file. After adding executable permissions, the file can be normally executed on the target terminal 330. Finally, modify the domain name configuration file of the target terminal 330 so that the target terminal 330 can communicate normally with the cloud console 310, and then the dialing point service can be started through the supervisorctl statement.
[0064] In this embodiment, after receiving the dial point deployment script file, the target terminal can quickly and accurately deploy the dial point locally by adding the dial point configuration template file, the dial point startup configuration file, and the new dial point identifier to the executable directory and adding executable permissions to them.
[0065] In one embodiment, the dialing test task configuration data includes dialing test task information. The target terminal 330 is also used to compare the dialing test task information with the local dialing test task information. If the dialing test task information does not match the local dialing test task information, the dialing test task configuration data is inserted into the local task list and stored in the local task file to update the local dialing test task.
[0066] The dialing test task information includes but is not limited to dialing test task identifier, dialing test target, dialing test protocol, dialing test frequency and other dialing test parameters. The local dialing test task information is previously configured and saved, and its format and content structure are similar to the dialing test task information in the received dialing test task configuration data, and also covers the contents of dialing test target, protocol, frequency, parameters, etc. The local task list is a data structure used by the target terminal 330 to manage and organize all dialing test tasks. It exists in the form of a list, and can easily add, delete, query and other operations on various dialing test tasks.
[0067] Specifically, the target terminal 330 first reads the existing local dialing test task information from the local storage medium (such as a hard disk, a solid-state drive, etc.), and compares the local dialing test task information with the dialing test task information. For example, compare whether there is a dialing test task identifier in the dialing test task information that does not exist in the local dialing test task information. If there is, then add the dialing test task corresponding to the dialing test task identifier to the local, that is, insert the dialing test task configuration data into the local task list. After inserting the dialing test task configuration data into the local task list, the target terminal 330 will store the updated local task list in the local task file, thereby persisting the new dialing test task configuration and the latest status of the entire task list to the local storage medium, so that when the dialing test task is started next time or the system is restarted, the dialing test task can be accurately restored and continued to be executed based on the information stored in the local task file.
[0068] In this embodiment, the target terminal compares the dialing test task information with the local dialing test task information and updates the local dialing test task in time if the two do not match, so that the dialing test task can be accurately executed according to the latest configuration requirements.
[0069] In one embodiment, the target terminal 330 is also used to periodically call the task check interface of the cloud console 310, and retrieve the target dialing task information from the cloud console 310 through the task check interface. The target dialing task is the dialing task information corresponding to the dialing point on the target terminal 330, and the target dialing task information is compared with the local dialing task information. When the target dialing task information does not match the local dialing task information, the local dialing task is updated based on the target dialing task information, and the updated local dialing task is restarted.
[0070] Following the above embodiment, in addition to the cloud control terminal sending the dialing task information to the target terminal 330 , the target terminal 330 can also actively call the task check interface of the cloud control console 310 to retrieve the target dialing task information in the cloud control console 310 .
[0071] Specifically, a timer or a timed task scheduling mechanism may be configured in the target terminal 330 to periodically call the task check interface of the cloud console 310 at a predetermined time interval, so that the target terminal 330 can timely obtain the latest information of the target dialing task corresponding to its own dialing point in the cloud console 310, so as to keep the local dialing task synchronized with the task configuration of the cloud console 310. Exemplarily, when the predetermined call time is reached, the target terminal 330 may establish a connection with the cloud console 310 through a network communication protocol, and send an interface call request to the task check interface of the cloud console 310, and the interface call request may carry the identification information of the target terminal 330 itself (such as device number, network address, etc.), so that the cloud console 310 can accurately identify which target terminal 330 is requesting to obtain the target dialing task information, thereby returning the corresponding correct information.
[0072] After receiving the request from the target terminal 330, the cloud console 310 returns the target dialing task information to the target terminal 330. The target terminal 330 checks whether the dialing task identifier in the target dialing task information returned by the cloud console 310 is consistent with the dialing task identifier in the local dialing task information. If the two are inconsistent, the target terminal 330 updates the dialing task information of the local dialing task according to the dialing task identifier in the target dialing task information, for example, adding the dialing task corresponding to the dialing task identifier to the local task file list to update the local dialing task. After completing the update of the local dialing task, the target terminal 330 immediately restarts the updated local dialing task, for example, clears the temporary data related to the previous dialing task (such as unfinished request data, log records, etc.), and then restarts the updated dialing task.
[0073] In this embodiment, the target terminal can actively call the target dialing task information from the cloud console, and when the target dialing task information does not match the dialing task information, timely update and restart the local dialing task, so that the dialing task of the target terminal is consistent with the cloud console, thereby realizing effective management and accurate execution of the dialing task.
[0074] In one embodiment, the dialing point operation status data includes the dialing point identification, the dialing point version information, and the start and stop status of the dialing point. The target terminal 330 is used to periodically send the dialing point identification, the dialing point version information, and the start and stop status of the dialing point to the cloud console 310. The cloud console 310 is used to synchronously receive and asynchronously count the dialing point identification, the dialing point version information, and the start and stop status of the dialing point to obtain statistical results, and determine the operation status of the dialing point deployed on the target terminal 330 based on the statistical results.
[0075] The dialing point identifier is information used to uniquely identify each dialing point, which can be a specific code (such as a string of numbers and letters). The dialing point version information records the version of the software or program used by the dialing point. Different versions of the dialing points may have differences in function, performance, stability, etc. The cloud console 310 can determine whether the dialing point needs to be upgraded, whether there may be compatibility issues caused by the version, etc. based on the dialing point version information. The start and stop status of the dialing point is used to indicate whether the dialing point is currently in the startup state or has stopped running.
[0076] Exemplarily, a regular sending time interval can be pre-set in the target terminal 330. For example, it can be set to send the dial-up point operation status data to the cloud console 310 once every 10 minutes, every half hour or every hour. When the scheduled sending time is reached, the target terminal 330 uploads the dial-up point operation status data to the cloud console 310 through a specific interface.
[0077] The cloud console 310 is provided with a special service or interface to synchronously receive the dial-test point operation status data sent by the target terminal 330. Synchronous reception means that the cloud console 310 will wait for the complete data to be received during the data transmission process, and will not interrupt the receiving process due to other operations, so as to accurately obtain the dial-test point operation status data sent by each target terminal 330. After completing the synchronous reception, the cloud console 310 will use an asynchronous method to count the dial-test point operation status data and further analyze the operation status of the dial-test point. Asynchronous statistics means that the cloud console 310 will not block the execution of other tasks due to statistical operations. It can process the statistical work of multiple dial-test points at the same time in the background, thereby improving the overall efficiency of the system.
[0078] Specifically, by recording the number of times each dial-up point identifier appears and the corresponding sending time and other information, the cloud console 310 can understand which dial-up points have been sending data normally and which dial-up points may have experienced data transmission interruptions, etc. By performing statistical analysis on the version information of different dial-up points, the cloud console 310 can determine the main version currently used by each dial-up point and whether there are many dial-up points using older versions that need to be upgraded, etc. By counting information such as the duration and frequency of each dial-up point in the start and stop states, the cloud console 310 can judge the operating stability of the dial-up point based on this. For example, if a dial-up point is found to start and stop frequently, it may be necessary to further investigate whether it is caused by equipment problems or software problems.
[0079] In this embodiment, the target terminal periodically sends the dial-test point operation status data to the cloud console, and the cloud console synchronously receives and asynchronously counts the dial-test point operation status data, and then accurately determines the operation status of the dial-test point deployed on the target terminal based on the statistical results, thereby realizing effective monitoring and management of the dial-test point operation status.
[0080] In one embodiment, Figure 5 As shown, the cloud control console 310 includes a dialing test task start / stop module 311, which is used to send a dialing test task start / stop instruction to the target terminal 330, and the dialing test task start / stop instruction includes a first dialing test task start / stop instruction at the task level. The target terminal 330 is used to parse the first dialing test task start / stop instruction upon receiving the first dialing test task start / stop instruction, determine the dialing test task identifier and the start / stop status of the dialing test task, and start or stop the dialing test task corresponding to the dialing test task identifier.
[0081] Among them, the dialing task start and stop module 311 of the cloud control station 310 is responsible for sending the dialing task start and stop instructions to the target terminal 330. These instructions are divided into two categories, namely, the first dialing task start and stop instructions at the task level and the second dialing task start and stop instructions at the dialing point level. The first dialing task start and stop instructions are mainly used to start and stop specific dialing tasks. Through the first dialing task start and stop instructions, the cloud control station 310 can accurately control the start or stop of a specific dialing task.
[0082] Exemplarily, the target terminal 330 receives the first dialing test task start / stop instruction sent by the cloud control console 310 through the network interface, and then parses the first dialing test task start / stop instruction to determine the dialing test task identifier and the start / stop status of the dialing test task. If the start / stop status of the dialing test task is to start the dialing test task, the target terminal 330 first checks whether the relevant configuration of the local dialing test task corresponding to the dialing test task identifier is complete and valid. If the relevant configuration is complete and valid, the target terminal 330 will start the local dialing test task corresponding to the dialing test task identifier according to the existing local dialing test task configuration. If the start / stop status of the dialing test task is to stop the dialing test task, the target terminal 330 will take corresponding measures to terminate the local dialing test task corresponding to the dialing test task identifier, such as generating a deactivation signal and sending it to the deactivation channel of the task running thread to end the execution thread.
[0083] In this embodiment, the cloud control console can accurately control the start and stop of the dialing test task in the target terminal 330 through the first dialing test task start and stop instruction, thereby realizing flexible management of the dialing test task.
[0084] In one embodiment, the dialing task start / stop instruction also includes a second dialing task start / stop instruction at the dialing point level. The target terminal 330 includes a dialing task management module for enabling or disabling all dialing tasks on the target terminal 330 upon receiving the second dialing task start / stop instruction.
[0085] Following the above embodiment, the second dial test task start / stop instruction is used to uniformly start or stop all dial test tasks on the target terminal 330 , and is applicable to the scenario where the dial test activities of the entire target terminal 330 need to be controlled as a whole.
[0086] Exemplarily, after receiving the second dialing task start / stop instruction, the dialing task management module in the target terminal 330 starts or stops all dialing tasks deployed on the target terminal 330, but does not turn off the heartbeat reporting timer (used to periodically send the dialing point identifier, dialing point version information, and the start / stop status of the dialing point to the cloud console 310), and the dialing point on the target terminal 330 still maintains heartbeat reporting.
[0087] In this embodiment, the dialing task start and stop module of the cloud console can effectively send different levels of dialing task start and stop instructions to the target terminal, and the target terminal can also accurately parse these instructions and start or stop the corresponding dialing task according to the parsing results, thereby realizing flexible control and management of the dialing task.
[0088] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0089] Based on the same inventive concept, the embodiment of the present application also provides a dialing point status monitoring device for implementing the above-mentioned dialing point status monitoring method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of one or more dialing point status monitoring devices provided below can refer to the limitations of the dialing point status monitoring method above, and will not be repeated here.
[0090] In an exemplary embodiment, Figure 6 As shown, a device 600 for monitoring the status of a dialing point is provided, comprising: an instruction sending module 610, a task configuration module 620 and a status monitoring module 630, wherein:
[0091] The instruction sending module 610 is used to send a dial-test point deployment instruction to the connected dial-test point deployment module, where the dial-test point deployment instruction is used to instruct the dial-test point deployment module to deploy a dial-test point on a target terminal.
[0092] The task configuration module 620 is used to send the dialing test task configuration data to the target terminal, so that the target terminal updates the local dialing test task based on the dialing test task configuration data and controls the start or stop of the updated local dialing test task.
[0093] The status monitoring module 630 is used to receive the dialing point operation status data uploaded by the target terminal, and push a dialing point abnormality prompt message when the dialing point operation status data uploaded by the target terminal is not received within a preset time period.
[0094] Each module in the above-mentioned dialing point status monitoring device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0095] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as the operating status data of the dialing point. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a dialing point status monitoring method is implemented.
[0096] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0097] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the above-mentioned dialing point status monitoring method embodiment are implemented.
[0098] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned dialing point status monitoring method embodiment are implemented.
[0099] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above-mentioned dialing point status monitoring method embodiment when executed by a processor.
[0100] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0101] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0102] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0103] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for monitoring the status of a dialing point, characterized in that: Applied to a cloud console, the method includes: Sending a dial-test point deployment instruction to a connected dial-test point deployment module, wherein the dial-test point deployment instruction is used to instruct the dial-test point deployment module to deploy a dial-test point on a target terminal; Sending the dialing test task configuration data to the target terminal, so that the target terminal updates the local dialing test task based on the dialing test task configuration data, and controls the start or stop of the updated local dialing test task; The dial test point operation status data uploaded by the target terminal is received, and when the dial test point operation status data uploaded by the target terminal is not received within a preset time period, a dial test point abnormality prompt message is pushed.
2. A dialing point status monitoring system, characterized in that: The system comprises a cloud console, a dial-test point deployment module and a target terminal, wherein the cloud console is connected to the dial-test point deployment module and the target terminal, and the dial-test point deployment module is connected to the target terminal; The cloud console sends a dial-test point deployment instruction to the dial-test point deployment module, the dial-test point deployment module parses the dial-test point deployment instruction, determines the dial-test point deployment information, determines and sends the dial-test point deployment script file to the target terminal according to the dial-test point deployment information, and the target terminal receives and runs the dial-test point deployment script file to deploy the dial-test point corresponding to the dial-test point deployment script file locally; The cloud console sends the dial test task configuration data to the target terminal, and the target terminal updates the local dial test task based on the dial test task configuration data; The cloud console sends a dial test task start / stop instruction to the target terminal, the target terminal parses the dial test task start / stop instruction to obtain a parsing result, and starts or stops the updated local dial test task according to the parsing result; The target terminal sends the dial test point operation status data to the cloud console. If the cloud console does not receive the dial test point operation status data uploaded by the target terminal within a preset time, the cloud console pushes a dial test point abnormality prompt message.
3. The system according to claim 2, characterized in that The dialing point deployment module includes a dialing point management unit, which is used to parse the dialing point deployment information to obtain a parsing result, and determine and send a dialing point deployment script file to the target terminal according to the parsing result.
4. The system according to claim 2, characterized in that The dialing point deployment script file includes a dialing point configuration template file, a newly created dialing point identifier, and a dialing point startup configuration file. The target terminal is also used to write the dialing point configuration template file and the dialing point startup configuration file into a preset executable file directory, and write the newly created dialing point identifier into the dialing point configuration template file to obtain an executable deployment file, add executable permissions to the executable deployment file, and run the executable deployment file.
5. The system according to claim 2, characterized in that The dial test task configuration data includes dial test task information. The target terminal is also used to compare the dial test task information with local dial test task information. If the dial test task information does not match the local dial test task information, the dial test task configuration data is inserted into the local task list and stored in the local task file to update the local dial test task.
6. The system according to claim 2, characterized in that The target terminal is also used to periodically call the task check interface of the cloud console, and retrieve target dialing test task information from the cloud console through the task check interface, where the target dialing test task is the dialing test task information corresponding to the dialing test point on the target terminal, and compare the target dialing test task information with the local dialing test task information. If the target dialing test task information does not match the local dialing test task information, the local dialing test task is updated based on the target dialing test task information, and the updated local dialing test task is restarted.
7. The system according to claim 2, characterized in that The dial test point operation status data includes the dial test point identification, the dial test point version information, and the start and stop status of the dial test point; The target terminal is used to periodically send the dialing point identifier, the dialing point version information, and the start and stop status of the dialing point to the cloud console; The cloud console is used to synchronously receive and asynchronously count the dial test point identifier, the dial test point version information, and the start and stop status of the dial test point to obtain statistical results, and determine the operating status of the dial test point deployed on the target terminal based on the statistical results.
8. The system according to any one of claims 2 to 7, characterized in that: The cloud control console includes a dial test task start and stop module, which is used to send a dial test task start and stop instruction to the target terminal, and the dial test task start and stop instruction includes a first dial test task start and stop instruction at the task level; The target terminal is used to parse the first dialing test task start / stop instruction upon receiving the first dialing test task start / stop instruction, determine the dialing test task identifier and the dialing test task start / stop status, and start or stop the dialing test task corresponding to the dialing test task identifier.
9. The system according to claim 8, characterized in that The dialing task start / stop instruction also includes a second dialing task start / stop instruction at the dialing point level. The target terminal includes a dialing task management module for enabling or disabling all dialing tasks on the target terminal upon receiving the second dialing task start / stop instruction.
10. A dialing point status monitoring device, characterized in that: The device comprises: An instruction sending module, used for sending a dial-test point deployment instruction to a connected dial-test point deployment module, wherein the dial-test point deployment instruction is used for instructing the dial-test point deployment module to deploy a dial-test point on a target terminal; A task configuration module, used to send the dialing test task configuration data to the target terminal, so that the target terminal updates the local dialing test task based on the dialing test task configuration data, and controls the start or stop of the updated local dialing test task; The status monitoring module is used to receive the dialing point operation status data uploaded by the target terminal, and push a dialing point abnormality prompt message when the dialing point operation status data uploaded by the target terminal is not received within a preset time period.
Citation Information
Patent Citations
A response method and a system for dial test
CN109471706A
Automatic dial testing system and method, electronic equipment and storage medium
CN117692950A
System deployment method and device, nonvolatile storage medium and computer equipment
CN117992071A
Automatic dial testing method and device and computer equipment
CN118282889A
Automated testing method, apparatus and system, and computing device cluster
WO2024174537A1