[go: up one dir, main page]

CN107196817B - Ping thread monitoring method, network service status monitoring method and client - Google Patents

Ping thread monitoring method, network service status monitoring method and client Download PDF

Info

Publication number
CN107196817B
CN107196817B CN201610157459.1A CN201610157459A CN107196817B CN 107196817 B CN107196817 B CN 107196817B CN 201610157459 A CN201610157459 A CN 201610157459A CN 107196817 B CN107196817 B CN 107196817B
Authority
CN
China
Prior art keywords
ping thread
network service
ping
preset value
thread
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610157459.1A
Other languages
Chinese (zh)
Other versions
CN107196817A (en
Inventor
王明强
张双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Henan Co Ltd
Original Assignee
China Mobile Group Henan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Henan Co Ltd filed Critical China Mobile Group Henan Co Ltd
Priority to CN201610157459.1A priority Critical patent/CN107196817B/en
Publication of CN107196817A publication Critical patent/CN107196817A/en
Application granted granted Critical
Publication of CN107196817B publication Critical patent/CN107196817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种Ping线程监测方法、网络服务状态监测方法及客户端,实现了对Ping线程是否异常进行监测。该Ping线程监测方法应用于通过调用Ping线程监测网络服务状态的场景中,包括:网络服务客户端采用预设周期,检测Ping线程状态标志位;其中,上述Ping线程状态标志位在上述网络服务客户端发出Ping线程请求时为第一预设值,在上述网络服务客户端确定Ping线程调用成功或失败时为第二预设值,上述第一预设值和上述第二预设值不相同;根据上述Ping线程状态标志位,确定Ping线程是否异常。

Figure 201610157459

The invention discloses a Ping thread monitoring method, a network service state monitoring method and a client, which realizes monitoring whether the Ping thread is abnormal. The Ping thread monitoring method is applied to the scenario of monitoring the network service status by calling the Ping thread, including: the network service client uses a preset period to detect the Ping thread status flag; wherein, the Ping thread status flag is in the network service client. It is a first preset value when the terminal sends a Ping thread request, and is a second preset value when the network service client determines that the Ping thread invocation succeeds or fails, and the first preset value and the second preset value are different; According to the above-mentioned Ping thread status flag, it is determined whether the Ping thread is abnormal.

Figure 201610157459

Description

Ping线程监测方法、网络服务状态监测方法及客户端Ping thread monitoring method, network service status monitoring method and client

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种Ping线程监测方法、网络服务状态监测方法及客户端。The invention relates to the field of communication technologies, in particular to a Ping thread monitoring method, a network service state monitoring method and a client.

背景技术Background technique

现有技术中,通常通过Ping(Packet Internet Groper,因特网包探索器)线程调用来对各种网络服务的状态进行监测,例如CORBA(Common Object Request BrokerArchitecture,通用对象请求代理体系结构)服务等。具体的,当网络服务客户端完成注册后,启动Ping线程调用,由该网络服务客户端向网络服务服务端发出Ping线程请求;如果该网络服务客户端在预设时间内接收到该网络服务服务端返回的响应消息,则该网络服务客户端确定Ping线程调用成功,网络服务状态正常;如果该网络服务客户端在预设时间内未接收到该网络服务服务端返回的响应消息,则该网络服务客户端确定Ping线程调用失败,网络服务状态异常。In the prior art, the status of various network services, such as CORBA (Common Object Request Broker Architecture) services, is usually monitored through Ping (Packet Internet Groper) thread calls. Specifically, after the network service client completes the registration, the Ping thread call is started, and the network service client sends a Ping thread request to the network service server; if the network service client receives the network service service within the preset time If the network service client does not receive the response message returned by the network service server within the preset time, the network service The service client determines that the Ping thread call fails and the network service status is abnormal.

然而在实际的应用场景中,会出现Ping线程异常导致网络服务客户端无法确定出Ping线程调用成功还是失败的情况,进而无法确定出网络服务状态正常还是异常,导致现有网络服务状态监测方案可靠性较低。而现有技术中,并没有对Ping线程是否异常进行监测的方案。However, in actual application scenarios, there will be an exception in the Ping thread, which causes the network service client to be unable to determine whether the Ping thread call succeeds or fails, and thus cannot determine whether the network service status is normal or abnormal, which makes the existing network service status monitoring solution reliable. low sex. However, in the prior art, there is no solution for monitoring whether the Ping thread is abnormal.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种Ping线程监测方法、网络服务状态监测方法及客户端,用以解决现有技术中存在的不能对Ping线程是否异常进行监测的问题。Embodiments of the present invention provide a Ping thread monitoring method, a network service state monitoring method and a client, so as to solve the problem in the prior art that it is impossible to monitor whether the Ping thread is abnormal.

本发明实施例提供一种Ping线程监测方法,应用于通过调用Ping线程监测网络服务状态的场景中,包括:An embodiment of the present invention provides a Ping thread monitoring method, which is applied to a scenario of monitoring network service status by calling a Ping thread, including:

网络服务客户端采用预设周期,检测Ping线程状态标志位;其中,上述Ping线程状态标志位在上述网络服务客户端发出Ping线程请求时为第一预设值,在上述网络服务客户端确定Ping线程调用成功或失败时为第二预设值,上述第一预设值和上述第二预设值不相同;The network service client uses a preset period to detect the Ping thread status flag; wherein, the Ping thread status flag is the first preset value when the network service client sends a Ping thread request, and the network service client determines the Ping thread. When the thread call succeeds or fails, it is the second preset value, and the first preset value and the second preset value are different;

根据上述Ping线程状态标志位,确定Ping线程是否异常。According to the above-mentioned Ping thread status flag, it is determined whether the Ping thread is abnormal.

本发明实施例提供一种网络服务状态监测方法,包括:An embodiment of the present invention provides a network service state monitoring method, including:

网络服务客户端向网络服务服务端发出Ping线程请求,并设置Ping线程状态标志位为第一预设值;The network service client sends a Ping thread request to the network service server, and sets the Ping thread status flag to the first preset value;

根据在预设时间内是否接收到上述网络服务服务端返回的响应消息,确定Ping线程调用成功或失败,并设置上述Ping线程状态标志位为第二预设值;其中,上述第一预设值和上述第二预设值不相同;According to whether the response message returned by the network service server is received within the preset time, it is determined whether the ping thread invocation succeeds or fails, and the ping thread status flag is set as the second preset value; wherein, the first preset value is different from the above-mentioned second preset value;

根据确定的Ping线程调用成功或失败,确定网络服务状态正常或异常。Determine whether the network service status is normal or abnormal according to the determined success or failure of the Ping thread invocation.

本发明实施例提供一种网络服务客户端,包括:An embodiment of the present invention provides a network service client, including:

检测单元,用于采用预设周期,检测Ping线程状态标志位;其中,上述Ping线程状态标志位在上述网络服务客户端发出Ping线程请求时为第一预设值,在上述网络服务客户端确定Ping线程调用成功或失败时为第二预设值,上述第一预设值和上述第二预设值不相同;The detection unit is used to detect the Ping thread state flag bit by using a preset period; wherein, the above-mentioned Ping thread state flag bit is a first preset value when the above-mentioned network service client sends a Ping thread request, and is determined by the above-mentioned network service client. When the ping thread call succeeds or fails, it is the second preset value, and the first preset value and the second preset value are different;

第一判断单元,用于根据上述Ping线程状态标志位,确定Ping线程是否异常。The first determination unit is configured to determine whether the Ping thread is abnormal according to the above-mentioned Ping thread status flag.

本发明实施例提供一种网络服务客户端,包括:An embodiment of the present invention provides a network service client, including:

发送单元,用于向网络服务服务端发出Ping线程请求,并设置Ping线程状态标志位为第一预设值;a sending unit, configured to send a Ping thread request to the network service server, and set the Ping thread status flag to a first preset value;

接收单元,用于根据在预设时间内是否接收到上述网络服务服务端返回的响应消息,确定Ping线程调用成功或失败,并设置上述Ping线程状态标志位为第二预设值;其中,上述第一预设值和上述第二预设值不相同;The receiving unit is configured to determine whether the Ping thread invocation succeeds or fails according to whether the response message returned by the above-mentioned network service server is received within a preset time, and set the above-mentioned Ping thread status flag to a second preset value; wherein, the above-mentioned The first preset value is different from the above-mentioned second preset value;

第二判断单元,用于根据确定的Ping线程调用成功或失败,确定网络服务状态正常或异常。The second judging unit is configured to determine whether the network service state is normal or abnormal according to the determined success or failure of the Ping thread invocation.

本发明有益效果包括:The beneficial effects of the present invention include:

本发明实施例提供的方案中,设置了一个Ping线程状态标志位,该Ping线程状态标志位在网络服务客户端发出Ping线程请求时为第一预设值,在网络服务客户端确定Ping线程调用成功或失败时为第二预设值,因此该Ping线程状态标志位可以直接反映Ping线程的运行状态,通过检测该Ping线程状态标志位可以实现对Ping线程的监测,确定Ping线程是否异常,从而也提高了监测网络服务状态的可靠性。In the solution provided by the embodiment of the present invention, a ping thread state flag is set, and the ping thread state flag is the first preset value when the network service client sends a ping thread request, and the network service client determines that the ping thread call It is the second preset value when it succeeds or fails, so the Ping thread status flag can directly reflect the running status of the Ping thread. By detecting the Ping thread status flag, the monitoring of the Ping thread can be realized to determine whether the Ping thread is abnormal, thereby It also improves the reliability of monitoring network service status.

本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description, claims, and drawings.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the specification, and are used to explain the present invention together with the embodiments of the present invention, and do not constitute a limitation to the present invention. In the attached image:

图1为本发明实施例提供的一种网络服务状态监测方法的流程图;1 is a flowchart of a method for monitoring a network service state according to an embodiment of the present invention;

图2为本发明实施例提供的一种Ping线程监测方法的流程图;2 is a flowchart of a Ping thread monitoring method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种Ping线程监测方法及网络服务状态监测方法的详细流程图;3 is a detailed flowchart of a method for monitoring a Ping thread and a method for monitoring a network service state provided by an embodiment of the present invention;

图4为本发明实施例提供的一种网络服务客户端的结构示意图之一;4 is one of the schematic structural diagrams of a network service client provided by an embodiment of the present invention;

图5为本发明实施例提供的一种网络服务客户端的结构示意图之二。FIG. 5 is a second schematic structural diagram of a network service client according to an embodiment of the present invention.

具体实施方式Detailed ways

为了给出对Ping线程是否异常进行监测的实现方案,本发明实施例提供了一种Ping线程监测方法、网络服务状态监测方法及客户端,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。In order to provide an implementation scheme for monitoring whether a Ping thread is abnormal, the embodiments of the present invention provide a method for monitoring a Ping thread, a method for monitoring network service status, and a client. The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, but not to limit the present invention. And the embodiments in this application and the features in the embodiments may be combined with each other without conflict.

本发明实施例提供一种网络服务状态监测方法,可以但不限于应用在CORBA服务的状态监测,如图1所示,具体可以包括以下步骤:The embodiment of the present invention provides a network service state monitoring method, which can be applied to, but is not limited to, the state monitoring of CORBA services, as shown in FIG. 1 , and may specifically include the following steps:

S101、网络服务客户端向网络服务服务端发出Ping线程请求,并设置Ping线程状态标志位为第一预设值;S101, the network service client sends a Ping thread request to the network service server, and sets the Ping thread status flag to a first preset value;

S102、根据在预设时间内是否接收到上述网络服务服务端返回的响应消息,确定Ping线程调用成功或失败,并设置上述Ping线程状态标志位为第二预设值;其中,上述第一预设值和上述第二预设值不相同;S102. Determine whether the Ping thread invocation succeeds or fails according to whether the response message returned by the network service server is received within a preset time, and set the Ping thread status flag to a second preset value; wherein, the first preset The setting value is different from the above-mentioned second preset value;

S103、根据确定的Ping线程调用成功或失败,确定网络服务状态正常或异常。S103. Determine whether the network service state is normal or abnormal according to the determined success or failure of the Ping thread invocation.

具体地,上述步骤S101和S102中,第一预设值和第二预设值可以为两个不相同的任意值。Specifically, in the above steps S101 and S102, the first preset value and the second preset value may be two different arbitrary values.

在本发明的一个具体实施例中,第一预设值可以为1,第二预设值可以为0。也即,当网络服务客户端向网络服务服务端发出Ping线程请求时,Ping线程状态标志位被设置为1;当可以确定出Ping线程调用的结果是成功或失败时,Ping线程状态标志位会在预设时间内被设置为0,此时说明Ping线程正常;当无法确定出Ping线程调用的结果是成功或失败时,Ping线程状态标志位无法在预设时间内归0,将维持为1,此时说明Ping线程异常。In a specific embodiment of the present invention, the first preset value may be 1, and the second preset value may be 0. That is, when the network service client sends a Ping thread request to the network service server, the Ping thread status flag is set to 1; when it can be determined that the result of the Ping thread call is success or failure, the Ping thread status flag will be set. It is set to 0 within the preset time, indicating that the Ping thread is normal; when the result of the Ping thread call cannot be determined to be successful or unsuccessful, the Ping thread status flag cannot be returned to 0 within the preset time, and will remain at 1 , the Ping thread is abnormal at this time.

在本发明的另一个具体实施例中,第一预设值还可以为0,第二预设值还可以为1。此时同理,当网络服务客户端向网络服务服务端发出Ping线程请求时,Ping线程状态标志位被设置为0;当可以确定出Ping线程调用的结果是成功或失败时,Ping线程状态标志位会在预设时间内被设置为1,此时说明Ping线程正常;当无法确定出Ping线程调用的结果是成功或失败时,Ping线程状态标志位无法在预设时间内被设置为1,将维持为0,此时说明Ping线程异常。In another specific embodiment of the present invention, the first preset value may also be 0, and the second preset value may also be 1. In the same way, when the network service client sends a Ping thread request to the network service server, the Ping thread status flag is set to 0; when it can be determined that the result of the Ping thread invocation is success or failure, the Ping thread status flag The bit will be set to 1 within the preset time, indicating that the Ping thread is normal; when the result of the Ping thread call cannot be determined to be successful or unsuccessful, the Ping thread status flag cannot be set to 1 within the preset time. It will remain at 0, indicating that the Ping thread is abnormal.

显然,上述Ping线程状态标志位可以直接反映Ping线程的运行状态,因此,本发明实施例提供的方法通过在Ping线程中预先设置该Ping线程状态标志位,为监测Ping线程的运行状态提供便利,从而实现对Ping线程是否异常进行监测。Obviously, the above-mentioned Ping thread state flag can directly reflect the running state of the Ping thread. Therefore, the method provided by the embodiment of the present invention provides convenience for monitoring the running state of the Ping thread by presetting the Ping thread state flag in the Ping thread, In this way, it is possible to monitor whether the Ping thread is abnormal.

具体地,上述步骤S102中,根据在预设时间内是否接收到上述网络服务服务端返回的响应消息,确定Ping线程调用成功或失败,可以包括:当在预设时间内接收到上述网络服务服务端返回的响应消息,则确定Ping线程调用成功;当在预设时间内未接收到上述网络服务服务端返回的响应消息,则确定Ping线程调用失败;无论Ping线程调用成功或失败,都说明Ping线程正常。其中,预设时间可以根据实际应用场景来确定。Specifically, in the above step S102, determining whether the Ping thread invocation succeeds or fails according to whether the response message returned by the above-mentioned network service server is received within the preset time, may include: when the above-mentioned network service service is received within the preset time. If the response message returned by the terminal is used, it is determined that the Ping thread invocation is successful; when the response message returned by the above-mentioned network service server is not received within the preset time, it is determined that the Ping thread invocation failed; whether the Ping thread invocation succeeds or fails, it means that the Ping thread fails. Thread is normal. The preset time may be determined according to an actual application scenario.

具体地,上述步骤S103中,根据确定的Ping线程调用成功或失败,确定网络服务状态正常或异常,可以包括:当Ping线程调用成功时,确定网络服务状态正常;当Ping线程调用失败时,确定网络服务状态异常。Specifically, in the above step S103, determining whether the network service state is normal or abnormal according to the determined success or failure of the Ping thread invocation may include: when the Ping thread invocation succeeds, determining that the network service state is normal; when the Ping thread invocation fails, determining The network service status is abnormal.

实际实施时,确定网络服务正常后,可以经过一定的等待时间,再次由网络服务客户端向网络服务服务端发出Ping线程请求,重复步骤S101-S103,从而持续地对网络服务状态进行监测;确定网络服务异常后,可以发起网络服务客户端断连重连,使网络服务处于正常状态。In actual implementation, after it is determined that the network service is normal, after a certain waiting time, the network service client sends a Ping thread request to the network service server again, and steps S101-S103 are repeated, so as to continuously monitor the network service state; determine; After the network service is abnormal, the network service client can be disconnected and reconnected to keep the network service in a normal state.

相应地,本发明实施例还提供一种Ping线程监测方法,如图2所示,具体可以包括以下步骤:Correspondingly, an embodiment of the present invention also provides a Ping thread monitoring method, as shown in FIG. 2 , which may specifically include the following steps:

S201、网络服务客户端采用预设周期,检测Ping线程状态标志位;其中,上述Ping线程状态标志位在上述网络服务客户端发出Ping线程请求时为第一预设值,在上述网络服务客户端确定Ping线程调用成功或失败时为第二预设值,上述第一预设值和上述第二预设值不相同。S201. The network service client uses a preset period to detect the Ping thread state flag; wherein, the Ping thread state flag is a first preset value when the network service client sends a Ping thread request, and the network service client The second preset value is determined when the Ping thread invocation succeeds or fails, and the first preset value and the second preset value are different.

S202、根据上述Ping线程状态标志位,确定Ping线程是否异常。S202. Determine whether the Ping thread is abnormal according to the above-mentioned Ping thread status flag.

具体地,上述步骤S201中,预设周期可以根据上述预设时间来确定,较佳的,预设时间可以是预设周期的整数倍。例如,预设周期的时间长度可以为单位时间,例如1分钟,这样设置的预设周期可以较容易地适应在不同实际应用场景下各种不同的预设时间。Specifically, in the foregoing step S201, the preset period may be determined according to the foregoing preset time, and preferably, the preset time may be an integer multiple of the preset period. For example, the time length of the preset period may be a unit time, such as 1 minute, and the preset period set in this way can be easily adapted to various preset times in different practical application scenarios.

具体地,上述步骤S201中,第一预设值和第二预设值的取值参见上述步骤S101和S102中所述的取值方法,可以为两个不相同的任意值。Specifically, in the above step S201, the values of the first preset value and the second preset value refer to the value selection methods described in the above steps S101 and S102, and may be two different arbitrary values.

在本发明的一个具体实施例中,第一预设值可以为1,也即在网络服务客户端发出Ping线程请求时,可以检测到上述Ping线程状态标志位为1;第二预设值可以为0,也即在网络服务客户端确定Ping线程调用成功或失败时,可以检测到上述Ping线程状态标志位为0。In a specific embodiment of the present invention, the first preset value can be 1, that is, when the network service client sends a Ping thread request, it can be detected that the above-mentioned Ping thread status flag is 1; the second preset value can be It is 0, that is, when the network service client determines that the Ping thread invocation succeeds or fails, it can be detected that the above-mentioned Ping thread status flag is 0.

在本发明的另一个具体实施例中,第一预设值可以为0,也即在网络服务客户端发出Ping线程请求时,可以检测到上述Ping线程状态标志位为0;第二预设值可以为1,也即在网络服务客户端确定Ping线程调用成功或失败时,可以检测到上述Ping线程状态标志位为1。In another specific embodiment of the present invention, the first preset value may be 0, that is, when the network service client sends a Ping thread request, it can be detected that the above-mentioned Ping thread status flag is 0; the second preset value It can be 1, that is, when the network service client determines that the Ping thread invocation succeeds or fails, it can detect that the above-mentioned Ping thread status flag is 1.

因为上述Ping线程状态标志位直接反映了Ping线程的运行状态,因此,本发明实施例提供的方法通过检测该Ping线程状态标志位可以实现对Ping线程的监测,确定Ping线程是否异常,从而也提高了监测网络服务状态的可靠性。Because the above-mentioned Ping thread state flag directly reflects the running state of the Ping thread, the method provided by the embodiment of the present invention can monitor the Ping thread by detecting the Ping thread state flag to determine whether the Ping thread is abnormal, thereby improving the In order to monitor the reliability of network service status.

进一步地,上述步骤S202具体可以包括:当上述Ping线程状态标志位连续为上述第一预设值的次数达到预设次数时,确定Ping线程异常;当上述Ping线程状态标志位连续为上述第一预设值的次数未达到预设次数时,确定Ping线程正常。Further, the above-mentioned step S202 may specifically include: when the number of times that the above-mentioned Ping thread state flag bit is continuously the above-mentioned first preset value reaches a preset number of times, determining that the Ping thread is abnormal; when the above-mentioned Ping thread state flag bit is continuously the above-mentioned first When the preset number of times does not reach the preset number of times, it is determined that the Ping thread is normal.

具体地,预设次数与上述预设时间以及上述预设周期有关,较佳地,三者的关系可以满足这样的公式:预设次数=预设时间/预设周期+1,从而尽可能快速地检测到Ping线程的异常,减弱Ping线程异常对监测网络服务状态所造成的不良影响。Specifically, the preset number of times is related to the preset time and the preset period. Preferably, the relationship between the three can satisfy the following formula: preset number of times=preset time/preset period+1, so as to be as fast as possible It can detect the abnormality of the Ping thread and reduce the adverse effect of the abnormality of the Ping thread on monitoring the network service status.

例如,在实际应用场景下,预设时间可以为3分钟,预设周期可以为单位时间1分钟,那么预设次数为4次。也即,当Ping线程状态标志位连续4次为第一预设值时,可以确定Ping线程异常;当Ping线程状态标志位至多连续3次为第一预设值时,可以确定Ping线程正常。For example, in an actual application scenario, the preset time may be 3 minutes, the preset period may be 1 minute per unit time, and the preset number of times is 4. That is, when the ping thread status flag is the first preset value for 4 consecutive times, it can be determined that the ping thread is abnormal; when the ping thread status flag is the first preset value for at most 3 consecutive times, it can be determined that the ping thread is normal.

其中,判断Ping线程状态标志位连续为第一预设值的次数可以采用计数的方法实现。例如,每分钟检测一次Ping线程状态标志位,当检测到该标志位为第一预设值时,计数值加1,当检测到该标志位为第二预设值时,计数值清0;那么,当计数值累积到4时,就说明Ping线程状态标志位连续4次为第一预设值,Ping线程异常,否则,Ping线程正常。Wherein, determining the number of times that the Ping thread state flag bit is continuously the first preset value may be implemented by a counting method. For example, the Ping thread status flag is detected once every minute, when it is detected that the flag is the first preset value, the count value is incremented by 1, and when it is detected that the flag is the second preset value, the count value is cleared to 0; Then, when the count value accumulates to 4, it means that the ping thread status flag is the first preset value for 4 consecutive times, and the ping thread is abnormal; otherwise, the ping thread is normal.

进一步地,上述步骤S202中,当确定Ping线程异常时,为了不影响对网络服务的状态进行监测,还可以包括:销毁该Ping线程;重建新的Ping线程;上述网络服务客户端通过调用新的Ping线程监测网络服务状态。Further, in the above step S202, when it is determined that the Ping thread is abnormal, in order not to affect the monitoring of the state of the network service, it may also include: destroying the Ping thread; rebuilding a new Ping thread; Ping thread to monitor network service status.

下面结合附图,用具体实施例对本发明提供的方法及客户端进行详细描述。The method and client provided by the present invention will be described in detail below with specific embodiments in conjunction with the accompanying drawings.

图3所示为本发明实施例提供的一种Ping线程监测方法及网络服务状态监测方法的详细流程图,其中,执行主体均为网络服务客户端;第一预设值设置为1,第二预设值设置为0;预设时间取3分钟,预设周期设置为1分钟,此时,预设次数为4次;此外,判断Ping线程状态标志位连续为1的次数采用计数的方法实现,也即,当计数值累积到4时,就说明Ping线程状态标志位连续4次为1。3 is a detailed flowchart of a method for monitoring a Ping thread and a method for monitoring a network service state provided by an embodiment of the present invention, wherein the execution subjects are all network service clients; the first preset value is set to 1, and the second The preset value is set to 0; the preset time is set to 3 minutes, and the preset period is set to 1 minute. At this time, the preset number of times is 4; in addition, the number of times that the ping thread status flag is continuously 1 is determined by counting. , that is, when the count value accumulates to 4, it means that the Ping thread status flag is 1 for 4 consecutive times.

下述步骤S3011-S3017为网络服务状态监测方法详细流程,具体为:The following steps S3011-S3017 are the detailed flow of the network service state monitoring method, specifically:

S3011、向网络服务服务端发出Ping线程请求,并设置Ping线程状态标志位为1。S3011: Send a Ping thread request to the network server, and set the Ping thread status flag to 1.

S3012、在3分钟内是否接收到网络服务服务端返回的响应消息。S3012. Whether the response message returned by the network service server is received within 3 minutes.

当3分钟内接收到网络服务服务端返回的响应消息时,进入步骤S3013;当3分钟内未接收到网络服务服务端返回的响应消息时,进入步骤S3015。When the response message returned by the network service server is received within 3 minutes, the process proceeds to step S3013; when the response message returned by the network server server is not received within 3 minutes, the process proceeds to step S3015.

S3013、确定Ping线程调用成功,设置Ping线程状态标志位为0。S3013 , determining that the Ping thread is successfully invoked, and setting the Ping thread status flag to 0.

S3014、确定网络服务状态正常,本次网络服务状态监测流程结束。S3014, it is determined that the network service state is normal, and the current network service state monitoring process ends.

S3015、确定Ping线程调用失败,设置Ping线程状态标志位为0。S3015, determine that the Ping thread call fails, and set the Ping thread status flag to 0.

S3016、确定网络服务状态异常。S3016. Determine that the network service status is abnormal.

S3017、发起网络服务客户端断连重连,本次网络服务状态监测流程结束。S3017: Initiate disconnection and reconnection of the network service client, and the current network service state monitoring process ends.

实际实施时,可以在每次网络服务状态监测流程结束后等待3分钟,再返回执行步骤S3011。In actual implementation, it is possible to wait for 3 minutes after each network service state monitoring process ends, and then return to step S3011.

下述步骤S3021-S3027为Ping线程监测方法详细流程,具体为:The following steps S3021-S3027 are the detailed flow of the Ping thread monitoring method, specifically:

S3021、每间隔1分钟,检测一次Ping线程状态标志位。S3021. Detect the Ping thread status flag once every 1 minute.

S3022、判断Ping线程状态标志位是否为1。S3022: Determine whether the Ping thread status flag is 1.

当Ping线程状态标志位为1时,进入步骤S3024;当Ping线程状态标志位为0时,进入步骤S3023。When the ping thread state flag is 1, go to step S3024; when the ping thread state flag is 0, go to step S3023.

S3023、计数值清0,返回步骤S3021。S3023, the count value is cleared to 0, and the process returns to step S3021.

S3024、计数值加1。S3024, the count value is incremented by 1.

S3025、判断计数值是否为4。S3025, determine whether the count value is 4.

当计数值为4时,进入步骤S3026;当计数值不为4时,返回步骤S3021。When the count value is 4, go to step S3026; when the count value is not 4, return to step S3021.

S3026、销毁Ping线程。S3026. Destroy the Ping thread.

S3027、重建新的Ping线程,进入步骤S3011。较佳的,在进入步骤S3011的同时,还可以进入上述网络服务状态监测方法详细流程中的步骤S3015,设置Ping线程状态标志位为0,后续发起网络服务客户端断连重连,能够进一步保证网络服务状态监测的可靠性。S3027, rebuild a new Ping thread, and go to step S3011. Preferably, while entering step S3011, you can also enter step S3015 in the detailed flow of the above-mentioned network service status monitoring method, set the Ping thread status flag to 0, and subsequently initiate the network service client disconnection and reconnection, which can further ensure The reliability of network service status monitoring.

实际实施时,步骤S3011-S3017与步骤S3021-3027是同时进行的。In actual implementation, steps S3011-S3017 and steps S3021-3027 are performed simultaneously.

基于同一发明构思,根据本发明上述实施例提供的一种Ping线程监测方法及网络服务状态监测方法,相应地,本发明实施例还提供了一种网络服务客户端,具体实现方式可以参见前述方法的实施例,重复之处不再赘述。Based on the same inventive concept, according to the Ping thread monitoring method and the network service state monitoring method provided by the above-mentioned embodiments of the present invention, correspondingly, the embodiments of the present invention also provide a network service client. For specific implementation methods, refer to the aforementioned methods Embodiments are not repeated here.

本发明实施例提供一种网络服务客户端,其结构示意图如图4所示,具体可以包括以下单元:An embodiment of the present invention provides a network service client, a schematic structural diagram of which is shown in FIG. 4 , and may specifically include the following units:

检测单元401,用于采用预设周期,检测Ping线程状态标志位;其中,上述Ping线程状态标志位在上述网络服务客户端发出Ping线程请求时为第一预设值,在上述网络服务客户端确定Ping线程调用成功或失败时为第二预设值,上述第一预设值和上述第二预设值不相同;The detection unit 401 is configured to use a preset period to detect the Ping thread status flag; wherein, the Ping thread status flag is a first preset value when the network service client sends a Ping thread request, and the network service client When it is determined that the Ping thread call succeeds or fails, it is a second preset value, and the above-mentioned first preset value is different from the above-mentioned second preset value;

第一判断单元402,用于根据上述Ping线程状态标志位,确定Ping线程是否异常。The first determination unit 402 is configured to determine whether the Ping thread is abnormal according to the above-mentioned Ping thread status flag.

本发明实施例还提供一种网络服务客户端,其结构示意图如图5所示,具体可以包括以下单元:An embodiment of the present invention further provides a network service client, the schematic diagram of which is shown in FIG. 5 , and may specifically include the following units:

发送单元501,用于向网络服务服务端发出Ping线程请求,并设置Ping线程状态标志位为第一预设值;The sending unit 501 is used to send a Ping thread request to the network service server, and set the Ping thread status flag to a first preset value;

接收单元502,用于根据在预设时间内是否接收到上述网络服务服务端返回的响应消息,确定Ping线程调用成功或失败,并设置上述Ping线程状态标志位为第二预设值;其中,上述第一预设值和上述第二预设值不相同;The receiving unit 502 is configured to determine whether the Ping thread invocation succeeds or fails according to whether the response message returned by the above-mentioned network service server is received within a preset time, and set the above-mentioned Ping thread state flag to a second preset value; wherein, The first preset value and the second preset value are different;

第二判断单元503,用于根据确定的Ping线程调用成功或失败,确定网络服务状态正常或异常。The second judging unit 503 is configured to determine whether the network service state is normal or abnormal according to the determined success or failure of the Ping thread invocation.

在本发明实施例中,图4所示的网络服务客户端和图5所示的网络服务客户端可以在同一个网络服务客户端中实现。In this embodiment of the present invention, the network service client shown in FIG. 4 and the network service client shown in FIG. 5 may be implemented in the same network service client.

综上所述,本发明实施例提供的方案中,Ping线程状态标志位在网络服务客户端发出Ping线程请求时为第一预设值,在网络服务客户端确定Ping线程调用成功或失败时为第二预设值,该标志位可以直接反映Ping线程的运行状态;本发明实施例通过在预设周期内检测该标志位来监测Ping线程的运行状态,从而监测Ping线程是否异常。本发明实施例提供的Ping线程监测方法、网络服务状态监测方法及客户端,实现了对Ping线程的监测,提高了监测网络服务状态的可靠性。To sum up, in the solution provided by the embodiment of the present invention, the Ping thread status flag is the first preset value when the network service client sends a Ping thread request, and is the first preset value when the network service client determines that the Ping thread invocation succeeds or fails. The second preset value, the flag bit can directly reflect the running state of the Ping thread; the embodiment of the present invention monitors the running state of the Ping thread by detecting the flag bit within a preset period, so as to monitor whether the Ping thread is abnormal. The Ping thread monitoring method, the network service state monitoring method and the client provided by the embodiments of the present invention realize the monitoring of the Ping thread and improve the reliability of monitoring the network service state.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中特定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中特定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中特定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.

显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, provided that these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1.一种因特网包探索器Ping线程监测方法,应用于通过调用Ping线程监测网络服务状态的场景中,其特征在于,包括:1. an Internet packet explorer Ping thread monitoring method, is applied in the scene of monitoring network service state by calling Ping thread, it is characterized in that, comprise: 网络服务客户端采用预设周期,检测Ping线程状态标志位;其中,所述Ping线程状态标志位在所述网络服务客户端发出Ping线程请求时为第一预设值,在所述网络服务客户端确定Ping线程调用成功或失败时为第二预设值,所述第一预设值和所述第二预设值不相同;当所述Ping线程状态标志位连续为所述第一预设值的次数达到预设次数时,确定Ping线程异常;当所述Ping线程状态标志位连续为所述第一预设值的次数未达到预设次数时,确定Ping线程正常。The network service client uses a preset period to detect the Ping thread state flag; wherein, the Ping thread state flag is the first preset value when the network service client sends a Ping thread request, and the network service client When the terminal determines that the Ping thread invocation succeeds or fails, it is the second preset value, and the first preset value and the second preset value are different; when the Ping thread status flag is continuously the first preset value When the number of times of the value reaches a preset number of times, it is determined that the ping thread is abnormal; when the number of times that the ping thread state flag is continuously the first preset value does not reach the preset number of times, it is determined that the ping thread is normal. 2.如权利要求1所述的方法,其特征在于,当确定Ping线程异常时,还包括:2. The method of claim 1, wherein when determining that the Ping thread is abnormal, it further comprises: 销毁该Ping线程;Destroy the Ping thread; 重建新的Ping线程;所述网络服务客户端通过调用新的Ping线程监测网络服务状态。Rebuild a new Ping thread; the network service client monitors the network service status by calling the new Ping thread. 3.如权利要求1或2所述的方法,其特征在于,所述预设周期的时间长度为单位时间。3. The method according to claim 1 or 2, wherein the time length of the preset period is a unit time. 4.一种网络服务状态监测方法,其特征在于,包括:4. A network service state monitoring method, comprising: 网络服务客户端向网络服务服务端发出因特网包探索器Ping线程请求,并设置Ping线程状态标志位为第一预设值;The network service client sends an Internet packet explorer Ping thread request to the network service server, and sets the Ping thread status flag to the first preset value; 根据在预设时间内是否接收到所述网络服务服务端返回的响应消息,确定Ping线程调用成功或失败,并设置所述Ping线程状态标志位为第二预设值;其中,所述第一预设值和所述第二预设值不相同;According to whether the response message returned by the network service server is received within a preset time, it is determined whether the Ping thread invocation succeeds or fails, and the Ping thread status flag is set to a second preset value; wherein, the first The preset value is different from the second preset value; 当所述Ping线程状态标志位连续为所述第一预设值的次数达到预设次数时,确定Ping线程异常;当所述Ping线程状态标志位连续为所述第一预设值的次数未达到预设次数时,确定Ping线程正常。When the number of times that the ping thread status flag bit is continuously the first preset value reaches a preset number of times, it is determined that the ping thread is abnormal; when the number of times that the ping thread status flag bit is continuously the first preset value is not When the preset number of times is reached, it is determined that the Ping thread is normal. 5.一种网络服务客户端,其特征在于,包括:5. A network service client, characterized in that, comprising: 检测单元,用于采用预设周期,检测因特网包探索器Ping线程状态标志位;其中,所述Ping线程状态标志位在所述网络服务客户端发出Ping线程请求时为第一预设值,在所述网络服务客户端确定Ping线程调用成功或失败时为第二预设值,所述第一预设值和所述第二预设值不相同;a detection unit, configured to detect the Internet packet explorer Ping thread state flag bit by using a preset period; wherein, the Ping thread state flag bit is a first preset value when the network service client sends a Ping thread request, and When the network service client determines that the Ping thread invocation succeeds or fails, it is a second preset value, and the first preset value and the second preset value are different; 第一判断单元,用于当所述Ping线程状态标志位连续为所述第一预设值的次数达到预设次数时,确定Ping线程异常;当所述Ping线程状态标志位连续为所述第一预设值的次数未达到预设次数时,确定Ping线程正常。The first judgment unit is used to determine that the Ping thread is abnormal when the number of times that the Ping thread state flag is the first preset value continuously reaches a preset number of times; when the Ping thread state flag is the first preset value continuously When the number of times of a preset value does not reach the preset number of times, it is determined that the Ping thread is normal. 6.如权利要求5所述的客户端,其特征在于,还包括:6. The client of claim 5, further comprising: 销毁单元,用于当确定Ping线程异常时,销毁该Ping线程;Destruction unit, used to destroy the Ping thread when it is determined that the Ping thread is abnormal; 重建单元,用于当确定Ping线程异常时,重建新的Ping线程;所述网络服务客户端通过调用新的Ping线程监测网络服务状态。The rebuilding unit is used for rebuilding a new Ping thread when it is determined that the Ping thread is abnormal; the network service client monitors the network service state by calling the new Ping thread. 7.如权利要求5或6所述的客户端,其特征在于,所述预设周期的时间长度为单位时间。7. The client terminal according to claim 5 or 6, wherein the time length of the preset period is a unit time. 8.一种网络服务客户端,其特征在于,包括:8. A network service client, comprising: 发送单元,用于向网络服务服务端发出因特网包探索器Ping线程请求,并设置Ping线程状态标志位为第一预设值;A sending unit, used for sending out the Internet packet explorer Ping thread request to the network server, and setting the Ping thread status flag to the first preset value; 接收单元,用于根据在预设时间内是否接收到所述网络服务服务端返回的响应消息,确定Ping线程调用成功或失败,并设置所述Ping线程状态标志位为第二预设值;其中,所述第一预设值和所述第二预设值不相同;a receiving unit, configured to determine whether the Ping thread invocation succeeds or fails according to whether the response message returned by the network service server is received within a preset time, and set the Ping thread status flag to a second preset value; wherein , the first preset value and the second preset value are different; 第二判断单元,用于当所述Ping线程状态标志位连续为所述第一预设值的次数达到预设次数时,确定Ping线程异常;当所述Ping线程状态标志位连续为所述第一预设值的次数未达到预设次数时,确定Ping线程正常。The second judgment unit is configured to determine that the Ping thread is abnormal when the number of times that the Ping thread state flag is the first preset value continuously reaches a preset number of times; when the Ping thread state flag is the first preset value continuously When the number of times of a preset value does not reach the preset number of times, it is determined that the Ping thread is normal.
CN201610157459.1A 2016-03-15 2016-03-15 Ping thread monitoring method, network service status monitoring method and client Active CN107196817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610157459.1A CN107196817B (en) 2016-03-15 2016-03-15 Ping thread monitoring method, network service status monitoring method and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610157459.1A CN107196817B (en) 2016-03-15 2016-03-15 Ping thread monitoring method, network service status monitoring method and client

Publications (2)

Publication Number Publication Date
CN107196817A CN107196817A (en) 2017-09-22
CN107196817B true CN107196817B (en) 2020-07-14

Family

ID=59871109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610157459.1A Active CN107196817B (en) 2016-03-15 2016-03-15 Ping thread monitoring method, network service status monitoring method and client

Country Status (1)

Country Link
CN (1) CN107196817B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634868B (en) 2017-10-29 2020-06-23 网宿科技股份有限公司 Method and system for managing network service
CN107749286A (en) * 2017-11-16 2018-03-02 青岛海信电器股份有限公司 Display screen parameter read-in method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141327A (en) * 2007-10-11 2008-03-12 中兴通讯股份有限公司 Method for detecting network node abnormality
CN101355577A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method for preventing thread from rope of multithread communication program
CN102117240A (en) * 2009-12-31 2011-07-06 腾讯科技(深圳)有限公司 Method and device for acquiring progress blocking information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7929450B2 (en) * 2008-02-29 2011-04-19 Alcatel Lucent In-bound mechanism that monitors end-to-end QOE of services with application awareness

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141327A (en) * 2007-10-11 2008-03-12 中兴通讯股份有限公司 Method for detecting network node abnormality
CN101355577A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method for preventing thread from rope of multithread communication program
CN102117240A (en) * 2009-12-31 2011-07-06 腾讯科技(深圳)有限公司 Method and device for acquiring progress blocking information

Also Published As

Publication number Publication date
CN107196817A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN106533805B (en) Micro-service request processing method, micro-service controller and micro-service architecture
US11182253B2 (en) Self-healing system for distributed services and applications
CN106161511B (en) Service request processing method, related device and system
US20150106516A1 (en) Providing a witness service
US10742691B2 (en) Managing mid-dialog session initiation protocol (SIP) messages
CN102123179A (en) Load balancing method and system applied to distributed application system
WO2017166713A1 (en) Service request processing method and device
CN106375150A (en) Server disconnection control method and device
CN107018159B (en) Service request processing method and device, and service request method and device
CN105978938A (en) Service processing equipment service status determining method and scheduling equipment
US20180152370A1 (en) Dynamic Cloning Of Application Infrastructures
CN108243222A (en) Server network architecture method and device
CN107196817B (en) Ping thread monitoring method, network service status monitoring method and client
CN114710485A (en) Processing method and processing apparatus
TWI429232B (en) Backup server, system and method for recovering client devices register at primary server
CN107872326A (en) A method, device and system for releasing session resources
CN106484720B (en) A kind of method and apparatus of the validity of detection popularization URL
CN110502397A (en) A processing method, device, electronic device and medium for a cloud platform function module
CN107819754B (en) Anti-hijacking method, monitoring server, terminal and system
US11240097B2 (en) Communications methods and apparatus for minimizing and/or preventing message processing faults
CN105611520A (en) Method and device for realizing user Internet surfing control
CN110809064B (en) IP address switching method, device and system
CN110474807B (en) Log processing method and device
US10051067B2 (en) Abstract activity counter
US20200287847A1 (en) System and control method

Legal Events

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