CN109412891A - A kind of method and apparatus detecting client state - Google Patents

A kind of method and apparatus detecting client state Download PDF

Info

Publication number
CN109412891A
CN109412891A CN201811223426.8A CN201811223426A CN109412891A CN 109412891 A CN109412891 A CN 109412891A CN 201811223426 A CN201811223426 A CN 201811223426A CN 109412891 A CN109412891 A CN 109412891A
Authority
CN
China
Prior art keywords
client
network
set programs
duration
state
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.)
Granted
Application number
CN201811223426.8A
Other languages
Chinese (zh)
Other versions
CN109412891B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811223426.8A priority Critical patent/CN109412891B/en
Publication of CN109412891A publication Critical patent/CN109412891A/en
Application granted granted Critical
Publication of CN109412891B publication Critical patent/CN109412891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of method and apparatus for detecting client state, wherein the method for detecting client state, comprising: configure the test environment of the first client and the second client;Pre-set programs are respectively configured in the first client and the second client;Pre-set programs are for the locking and state-detection to the test file being pre-created;Default script is configured in the first client, default script is used to test the network for causing the second client to be collapsed and disconnects duration;Default script is executed, and starts pre-set programs, to detect the influence that the suspension duration of the first client collapses the second client.This method is by presetting script and starting pre-set programs in the first client executing, to detect the influence that the suspension duration of the first client collapses the second client, to, it can be according to working condition of the client under heterogeneous networks time-out time, to obtain specific influence of the length on the state of client of network timeout period.

Description

A kind of method and apparatus detecting client state
Technical field
This application involves field of computer technology more particularly to a kind of method and apparatus for detecting client state.
Background technique
With the development of intelligent society, the exploitation of program gradually attracts attention.In program development process, need using one The lower data of a little variation frequencies, this kind of data are usually to store in the data file after formatting, moreover, this kind of data It is to be updated in the form of data file.In this way, when two different processes carry out read operation to the data file respectively Or when write operation, it will the problem of read/write conflict under multiple processes to file occur.
In order to solve the problems, such as the read/write conflict under multiple processes of data file, the prior art is usually by every number File lock is added according to file, realizes the read-write protection to file.
However, being locked to file when network environment is unstable or power-off, being possible to will lead to client at this time The phenomenon that collapse, moreover, client whether collapse it is related with the length of network timeout period, therefore, determine solve client Before the concrete scheme of crash issue, need to obtain specific influence of the length on the state of client of network timeout period.
Summary of the invention
In order to solve the above technical problem existing in the prior art, the application provides a kind of side for detecting client state Method and device are able to detect working condition of the client under heterogeneous networks time-out time, and then determine network timeout period Specific influence of the length on the state of client.
To achieve the goals above, technical solution provided by the present application is as follows:
This application provides a kind of method for detecting client state, the method is applied in more clustered node systems, More clustered node systems include the first client and the second client, which comprises
Configure the test environment of first client and second client;
Pre-set programs are respectively configured in first client and second client;The pre-set programs are used for pre- The first locking and state-detection of test file created;
Default script is configured in first client, the default script, which is used to test, causes the collapse of the second client Network disconnects duration;
The default script is executed, and starts the pre-set programs, to detect the suspension duration pair of first client The influence of the second client collapse.
Optionally, the execution default script and the pre-set programs, to detect the suspension of first client The influence that duration collapses second client, specifically includes:
The network of first client is disconnected into length of testing speech, restores the net of first client after duration to be tested Network;
Pre-set programs of the starting configuration in second client, to realize locking and state to the test file Detection, to detect whether second client collapses,
If so, the preset duration of N+1 times of output;
If not, the length of testing speech is updated, when the return execution network by first client disconnects test It is long;
Wherein, N is that default script recycles execution number in the duration to be measured, and N is positive integer;The preset duration is The default script execution once needed for duration;Described N+1 times of preset duration is that the network for causing the second client to be collapsed breaks Open duration.
Optionally, the network by first client disconnects length of testing speech, restores described the after duration to be tested The network of one client, specifically includes:
Disconnect the network of first client;
Whether the network for detecting first client disconnects, if so, restoring first client after waiting length of testing speech The network at end;
Whether the network for detecting first client restores;
Pre-set programs of the starting configuration in second client, specifically include:
After the network recovery of first client, pre-set programs of the starting configuration in second client.
Optionally, the test environment of configuration first client and second client, specifically includes:
It controls first client and second client carries out user's space file system fuse carry;
It configures and exempts from close login between first client and second client;
Create test file.
Optionally, whether the network of detection first client disconnects, and specifically includes:
According to the state of the test file of pre-set programs output, whether the network for detecting first client breaks It opens;Wherein, when the state of the test file of pre-set programs output is to unlock successfully, it is determined that the net of first client Network disconnects.
Optionally, whether the network of detection first client restores, and specifically includes:
According to the state of the test file of pre-set programs output, whether the network for detecting first client is extensive It is multiple;Wherein, when the state of the test file of pre-set programs output is to lock successfully, it is determined that the net of first client Network restores.
The application also provides a kind of device for detecting client state, comprising:
First configuration unit, for configuring the test environment of first client and second client;
Second configuration unit, for pre-set programs to be respectively configured in first client and second client;Institute Pre-set programs are stated for the locking and state-detection to the test file being pre-created;
Third configuration unit, for configuring default script in first client, the default script draws for testing The network for playing the collapse of the second client disconnects duration;
Execution unit for executing the default script, and starts the pre-set programs, to detect first client The influence that second client is collapsed of suspension duration.
Optionally, the execution unit, specifically includes:
Subelement is disconnected, for the network of first client to be disconnected length of testing speech, restores institute after duration to be tested State the network of the first client;
Promoter unit, for starting the pre-set programs configured in second client, to realize to the test The locking and state-detection of file, to detect whether second client collapses,
If so, the preset duration of N+1 times of output;
If not, the length of testing speech is updated, when the return execution network by first client disconnects test It is long;
Wherein, N is that default script recycles execution number in the duration to be measured, and N is positive integer;The preset duration is The default script execution once needed for duration;Described N+1 times of preset duration is that the network for causing the second client to be collapsed breaks Open duration.
Optionally, the disconnection subelement, specifically includes:
Module is disconnected, for disconnecting the network of first client;
Whether first detection module, the network for detecting first client disconnect, if so, after waiting length of testing speech Restore the network of first client;
Whether the second detection module, the network for detecting first client restore;
The promoter unit, specifically includes:
For after the network recovery of first client, starting to configure the default journey in second client Sequence.
Optionally, first configuration unit, specifically includes:
Subelement is controlled, carries out user's space file system for controlling first client and second client Fuse carry;
Subelement is configured, exempts from close login between first client and second client for configuring;
Subelement is created, for creating test file.
Optionally, the first detection module, specifically includes:
State for the test file exported according to the pre-set programs, whether the network of detection first client It disconnects;Wherein, when the state of the test file of pre-set programs output is to unlock successfully, it is determined that first client Network disconnects.
Compared with prior art, the application has at least the following advantages:
The method of detection client state provided by the present application, comprising: configuration first client and second visitor The test environment at family end;Pre-set programs are respectively configured in first client and second client;The pre-set programs For the locking and state-detection to the test file being pre-created;Default script is configured in first client, it is described Default script is used to test the network for causing the second client to be collapsed and disconnects duration;The default script is executed, and described in starting Pre-set programs, to detect the influence that the suspension duration of first client collapses second client.This method passes through Script and starting pre-set programs are preset in the first client executing, to detect the suspension duration of the first client to second visitor The influence of family end collapse, it is thus possible to the working condition according to client under heterogeneous networks time-out time, to obtain network Specific influence of the length of time-out time on the state of client.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts, It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the flow chart of the method for detection client state provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of the device of detection client state provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of execution unit provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram for disconnecting subelement provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of first configuration unit provided by the embodiments of the present application.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment of the method
Referring to Fig. 1, which is the flow chart of the method for detection client state provided by the embodiments of the present application.
The method of detection client state provided by the embodiments of the present application, comprising:
S101: the test environment of configuration first client and second client.
The method of detection client state provided by the embodiments of the present application is applied in more clustered node systems, more collection Group node system includes the first client and the second client.
As an example, S101 can be with specifically:
S101a: controlling first client and second client carries out user's space file system (Filesystem in Userspace, fuse) carry.
S101b: it configures and exempts from close login between first client and second client.
As an example, S101b can be with specifically: the first client modification/etc/hosts file, and increase by the first client The identifier of the IP address at end and the first client, meanwhile, the second client modification/etc/hosts file, and increase by the second visitor The identifier of the IP address at family end and the second client is exempted between the first client and the second client in this way, can be realized Close login.
S101c: creation test file.
Test file is the data file that can be written and read by the first client or the second client, moreover, it is also possible to It is added file lock.
Test file can be stored in advance under preset catalogue.For example, test file can be stored in advance in the first visitor Family end /mnt//icfs catalogue under, meanwhile, be also stored in advance in the second client /mnt//icfs catalogue under.
S102: pre-set programs are respectively configured in first client and second client;The pre-set programs are used In locking and state-detection to the test file being pre-created.
Pre-set programs can be stored in advance under the catalogue pre-established, accurately execute the default journey in order to subsequent Sequence.For example, pre-set programs can be stored in advance under the root of the first client and the second client under catalogue.
The state of test file includes: locking state and unlocked state.When test file is in locking state, then it represents that survey Examination file is in the lock state;When test file is in the unlocked state, then it represents that test file is in unlocked state.
Pre-set programs, can be with to the state-detection process of test file specifically: when pre-set programs detect test file When being in the lock state, then export test file and lock successful prompt information, for example, the prompt information can for locking at Function;When pre-set programs detect that test file is in unlocked state, then exports test file and unlocks successful prompt information, For example, the prompt information can be to unlock successfully.
S103: default script is configured in first client, the default script causes the second client for testing The network of collapse disconnects duration.
Default script can be stored in advance under the catalogue of the first client pre-established, in order to subsequent first client End accurately executes the default script.
Moreover, default script, which can be used for testing the network for causing the second client to be collapsed, disconnects duration, can specifically wrap It includes: for controlling the on-off of the network of the first user terminal, and the duration that the network for determining the first user terminal disconnects.
S104: executing the default script, and start the pre-set programs, when suspension to detect first client The long influence that second client is collapsed.
As an example, S104 can be with specifically:
S1041: the network of first client is disconnected into length of testing speech, restores first client after duration to be tested The network at end.
Length of testing speech is the duration that can specify.As an example, length of testing speech can be N+1 times of preset duration, wherein N is that default script recycles execution number in the duration to be measured, and N is positive integer;The preset duration is the default script Execute primary required duration.
As an example, S1041 can be with specifically:
S1041a: the network of first client is disconnected;
S1041b: whether the network of detection first client disconnects, if so, executing S1041c;If it is not, then executing S1041b。
As an example, S1041b can be with specifically:
When the first client terminal start-up pre-set programs, according to the state of the test file of pre-set programs output, detection Whether the network of first client disconnects;Wherein, when the pre-set programs output test file state be unlock at Function, it is determined that the network of first client disconnects.
S1041c: restore the network of first client after waiting length of testing speech;
S1041d: whether the network of detection first client restores;If so, executing S1042;If it is not, then executing S1041d。
As an example, S1041d can be with specifically:
When the first client terminal start-up pre-set programs, according to the state of the test file of pre-set programs output, detection Whether the network of first client restores;Wherein, when the pre-set programs output test file state be locking at Function, it is determined that the network recovery of first client.
S1042: pre-set programs of the starting configuration in second client, to realize the locking to the test file And state-detection.
S1043: whether detection second client collapses, if so, executing S1043;If it is not, then executing S1045。
S1044: the preset duration of N+1 times of output.
Described N+1 times of preset duration is that the network for causing the second client to be collapsed disconnects duration.
S1045: updating the length of testing speech, returns and executes S1041.
The method of detection client state provided by the embodiments of the present application, comprising: configuration first client and described The test environment of second client;Pre-set programs are respectively configured in first client and second client;It is described pre- If program is for the locking and state-detection to the test file being pre-created;Default foot is configured in first client This, the default script is used to test the network for causing the second client to be collapsed and disconnects duration;The default script is executed, and is opened The pre-set programs are moved, to detect the influence that the suspension duration of first client collapses second client.The party Method is by presetting script and starting pre-set programs in the first client executing, to detect the suspension duration of the first client to described The influence of second client collapse, it is thus possible to the working condition according to client under heterogeneous networks time-out time, to obtain Obtain specific influence of the length of network timeout period on the state of client.
Installation practice
Referring to fig. 2, which is the structural schematic diagram of the device of detection client state provided by the embodiments of the present application.
The device of detection client state provided by the embodiments of the present application, comprising:
First configuration unit 201, for configuring the test environment of first client and second client;
Second configuration unit 202, for pre-set programs to be respectively configured in first client and second client; The pre-set programs are for the locking and state-detection to the test file being pre-created;
Third configuration unit 203, for configuring default script in first client, the default script is for testing The network for causing the second client to be collapsed disconnects duration;
Execution unit 204 for executing the default script, and starts the pre-set programs, to detect first visitor The influence that the suspension duration at family end collapses second client.
Referring to Fig. 3, which is a kind of structural schematic diagram of execution unit provided by the embodiments of the present application.
As another embodiment, in this embodiment, the execution unit 204, specifically includes:
Subelement 2041 is disconnected, it is extensive after duration to be tested for the network of first client to be disconnected length of testing speech The network of multiple first client;
Promoter unit 2042, for starting the pre-set programs configured in second client, to realize to described The locking and state-detection of test file, to detect whether second client collapses, if so, N+1 times of output Preset duration;If not, the length of testing speech is updated, when the return execution network by first client disconnects test It is long;
Wherein, N is that default script recycles execution number in the duration to be measured, and N is positive integer;The preset duration is The default script execution once needed for duration;Described N+1 times of preset duration is that the network for causing the second client to be collapsed breaks Open duration.
Referring to fig. 4, which is a kind of structural schematic diagram for disconnecting subelement provided by the embodiments of the present application.
As another embodiment, in this embodiment, the disconnection subelement 2041 is specifically included:
Module 2041a is disconnected, for disconnecting the network of first client;
First detection module 2041b, whether the network for detecting first client disconnects, if so, waiting to be tested Restore the network of first client after duration;
Whether the second detection module 2041c, the network for detecting first client restore;
The promoter unit 2042, specifically includes:
For after the network recovery of first client, starting to configure the default journey in second client Sequence.
Referring to Fig. 5, which is a kind of structural schematic diagram of first configuration unit provided by the embodiments of the present application.
As a further embodiment, first configuration unit 201 is specifically included:
Subelement 2011 is controlled, carries out user's space file for controlling first client and second client System fuse carry;
Subelement 2012 is configured, exempts from close login between first client and second client for configuring;
Subelement 2013 is created, for creating test file.
As another embodiment, the first detection module 2041b is specifically included:
State for the test file exported according to the pre-set programs, whether the network of detection first client It disconnects;Wherein, when the state of the test file of pre-set programs output is to unlock successfully, it is determined that first client Network disconnects.
The second detection module 2041c, specifically includes:
State for the test file exported according to the pre-set programs, whether the network of detection first client Restore;Wherein, when the state of the test file of pre-set programs output is to lock successfully, it is determined that first client Network recovery.
The device of detection client state provided by the embodiments of the present application, comprising: the first configuration unit 201, second configuration Unit 202, third configuration unit 203 and execution unit 204, the device is by presetting script and starting in the first client executing Pre-set programs, to detect the influence that the suspension duration of the first client collapses second client, it is thus possible to according to visitor Working condition of the family end under heterogeneous networks time-out time, to obtain the length of network timeout period to the state of client It is specific to influence.

Claims (11)

1. a kind of method for detecting client state, which is characterized in that the method is applied in more clustered node systems, described More clustered node systems include the first client and the second client, which comprises
Configure the test environment of first client and second client;
Pre-set programs are respectively configured in first client and second client;The pre-set programs are used for preparatory wound The locking and state-detection for the test file built up;
Default script is configured in first client, the default script is used to test the network for causing the second client to be collapsed Disconnect duration;
The default script is executed, and starts the pre-set programs, to detect the suspension duration of first client to described The influence of second client collapse.
2. the method according to claim 1, wherein the execution default script and the pre-set programs, To detect the influence that the suspension duration of first client collapses second client, specifically include:
The network of first client is disconnected into length of testing speech, restores the network of first client after duration to be tested;
Pre-set programs of the starting configuration in second client, examine the locking of the test file and state with realizing It surveys, to detect whether second client collapses,
If so, the preset duration of N+1 times of output;
If not, updating the length of testing speech, returns and execute the network disconnection length of testing speech by first client;
Wherein, N is that default script recycles execution number in the duration to be measured, and N is positive integer;The preset duration is described Default script execution once needed for duration;When described N+1 times of preset duration is that the network for causing the second client to be collapsed disconnects It is long.
3. according to the method described in claim 2, it is characterized in that, when the network by first client disconnects test It is long, restore the network of first client after duration to be tested, specifically includes:
Disconnect the network of first client;
Whether the network for detecting first client disconnects, if so, restoring first client after waiting length of testing speech Network;
Whether the network for detecting first client restores;
Pre-set programs of the starting configuration in second client, specifically include:
After the network recovery of first client, pre-set programs of the starting configuration in second client.
4. the method according to claim 1, wherein the configuration first client and second client The test environment at end, specifically includes:
It controls first client and second client carries out user's space file system fuse carry;
It configures and exempts from close login between first client and second client;
Create test file.
5. according to the method described in claim 3, it is characterized in that, whether the network of detection first client breaks It opens, specifically includes:
According to the state of the test file of pre-set programs output, whether the network for detecting first client is disconnected;Its In, when the state of the test file of pre-set programs output is to unlock successfully, it is determined that the network of first client is disconnected It opens.
6. according to the method described in claim 3, it is characterized in that, whether the network of detection first client is extensive It is multiple, it specifically includes:
According to the state of the test file of pre-set programs output, whether the network for detecting first client restores;Its In, when the state of the test file of pre-set programs output is to lock successfully, it is determined that the network of first client is extensive It is multiple.
7. a kind of device for detecting client state characterized by comprising
First configuration unit, for configuring the test environment of first client and second client;
Second configuration unit, for pre-set programs to be respectively configured in first client and second client;It is described pre- If program is for the locking and state-detection to the test file being pre-created;
Third configuration unit, for configuring default script in first client, the default script causes for testing The network of two clients collapse disconnects duration;
Execution unit for executing the default script, and starts the pre-set programs, to detect the disconnected of first client The influence that net duration collapses second client.
8. device according to claim 7, which is characterized in that the execution unit specifically includes:
Subelement is disconnected, for the network of first client to be disconnected length of testing speech, restores described the after duration to be tested The network of one client;
Promoter unit, for starting the pre-set programs configured in second client, to realize to the test file Locking and state-detection, to detect whether second client collapses,
If so, the preset duration of N+1 times of output;
If not, updating the length of testing speech, returns and execute the network disconnection length of testing speech by first client;
Wherein, N is that default script recycles execution number in the duration to be measured, and N is positive integer;The preset duration is described Default script execution once needed for duration;When described N+1 times of preset duration is that the network for causing the second client to be collapsed disconnects It is long.
9. device according to claim 8, which is characterized in that the disconnection subelement specifically includes:
Module is disconnected, for disconnecting the network of first client;
Whether first detection module, the network for detecting first client disconnect, if so, restoring after waiting length of testing speech The network of first client;
Whether the second detection module, the network for detecting first client restore;
The promoter unit, specifically includes:
For after the network recovery of first client, starting to configure the pre-set programs in second client.
10. device according to claim 7, which is characterized in that first configuration unit specifically includes:
Subelement is controlled, carries out user's space file system fuse for controlling first client and second client Carry;
Subelement is configured, exempts from close login between first client and second client for configuring;
Subelement is created, for creating test file.
11. device according to claim 9, which is characterized in that the first detection module specifically includes:
Whether the state for the test file exported according to the pre-set programs, the network for detecting first client break It opens;Wherein, when the state of the test file of pre-set programs output is to unlock successfully, it is determined that the net of first client Network disconnects.
CN201811223426.8A 2018-10-19 2018-10-19 Method and device for detecting client state Active CN109412891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811223426.8A CN109412891B (en) 2018-10-19 2018-10-19 Method and device for detecting client state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811223426.8A CN109412891B (en) 2018-10-19 2018-10-19 Method and device for detecting client state

Publications (2)

Publication Number Publication Date
CN109412891A true CN109412891A (en) 2019-03-01
CN109412891B CN109412891B (en) 2022-04-22

Family

ID=65468552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811223426.8A Active CN109412891B (en) 2018-10-19 2018-10-19 Method and device for detecting client state

Country Status (1)

Country Link
CN (1) CN109412891B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161860A1 (en) * 2001-02-28 2002-10-31 Benjamin Godlin Method and system for differential distributed data file storage, management and access
US8095628B2 (en) * 2009-10-26 2012-01-10 International Business Machines Corporation Consolidated notifications to NFS clients
CN103338112A (en) * 2013-07-15 2013-10-02 中国科学院信息工程研究所 Data unidirectional lead-in method and system
CN105760519A (en) * 2016-02-26 2016-07-13 北京鲸鲨软件科技有限公司 Cluster file system and file lock allocation method thereof
CN105790985A (en) * 2014-12-23 2016-07-20 中兴通讯股份有限公司 Data switching method, first device, second device and device
CN106125891A (en) * 2016-06-24 2016-11-16 北京奇虎科技有限公司 Terminal power optimization method, device and terminal
CN106445781A (en) * 2016-09-27 2017-02-22 北京航空航天大学 Message-transmission based detection system for automatic monitoring of HPC large-scale concurrent program exception and hardware-hardware cause judgment
CN106559282A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 A kind of lock file management method and device
CN107231434A (en) * 2017-07-10 2017-10-03 北京小米移动软件有限公司 The control method and device of terminal device
CN107515935A (en) * 2017-08-29 2017-12-26 郑州云海信息技术有限公司 A kind of method and system for releasing file lock failure
CN109324965A (en) * 2018-09-18 2019-02-12 郑州云海信息技术有限公司 A kind of automated testing method that monitoring flock causes client to be collapsed

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161860A1 (en) * 2001-02-28 2002-10-31 Benjamin Godlin Method and system for differential distributed data file storage, management and access
US8095628B2 (en) * 2009-10-26 2012-01-10 International Business Machines Corporation Consolidated notifications to NFS clients
CN103338112A (en) * 2013-07-15 2013-10-02 中国科学院信息工程研究所 Data unidirectional lead-in method and system
CN105790985A (en) * 2014-12-23 2016-07-20 中兴通讯股份有限公司 Data switching method, first device, second device and device
CN106559282A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 A kind of lock file management method and device
CN105760519A (en) * 2016-02-26 2016-07-13 北京鲸鲨软件科技有限公司 Cluster file system and file lock allocation method thereof
CN106125891A (en) * 2016-06-24 2016-11-16 北京奇虎科技有限公司 Terminal power optimization method, device and terminal
CN106445781A (en) * 2016-09-27 2017-02-22 北京航空航天大学 Message-transmission based detection system for automatic monitoring of HPC large-scale concurrent program exception and hardware-hardware cause judgment
CN107231434A (en) * 2017-07-10 2017-10-03 北京小米移动软件有限公司 The control method and device of terminal device
CN107515935A (en) * 2017-08-29 2017-12-26 郑州云海信息技术有限公司 A kind of method and system for releasing file lock failure
CN109324965A (en) * 2018-09-18 2019-02-12 郑州云海信息技术有限公司 A kind of automated testing method that monitoring flock causes client to be collapsed

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JAN STENDER,: ""Loosely time-synchronized snapshots in object-based file systems"", 《 INTERNATIONAL PERFORMANCE COMPUTING AND COMMUNICATIONS CONFERENCE》 *
高磊,: ""基于μClinux的嵌入式数据采集***的研究与实现"", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Also Published As

Publication number Publication date
CN109412891B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
JP2020518926A (en) Backup and restore framework for distributed computing systems
CN106557384A (en) Based on the data processing method of Linux, device and system
US9032173B2 (en) Automated migration to a new copy services target storage system to manage multiple relationships simultaneously while maintaining disaster recovery consistency
CN108885671A (en) A kind of directory delete method, apparatus and storage server
WO2010150312A1 (en) Node management device and method
CN107766055A (en) A kind of client linux system installation method based on GUI module
CN110019024A (en) A kind of directory method, system and electronic equipment and storage medium
CN107066377A (en) Page elements acquisition methods and terminal device based on android system
US20140250069A1 (en) Systems and methods for selectively synchronizing files
CN110780918B (en) Middleware container processing method and device, electronic equipment and storage medium
US10318385B2 (en) Service recovery using snapshots and interservice messages
CN108874441A (en) A kind of board configuration method, device, server and storage medium
CN109299116B (en) Data synchronization method, device, equipment and readable storage medium
CN107995033B (en) ONU configuration file upgrading method and device
CN106789205A (en) Group of planes order operation method and system
CN111404780B (en) Function test method and device for remote direct memory access network cluster
CN104570967B (en) Long-range control method and system based on android system
CN109412891A (en) A kind of method and apparatus detecting client state
CN110389886B (en) Additional function testing method and device of main application program and storage medium
CN110244986A (en) Browser configuration method and device
US11403093B1 (en) Application modification with proxy service process
CN109324965A (en) A kind of automated testing method that monitoring flock causes client to be collapsed
CN115174596A (en) Equipment remote copying method, device and medium
CN108829455A (en) A kind of device identification acquisition methods, device and equipment
Cisco Release Notes for Cisco Cable Manager Release 2.0

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