CN106452878B - Service switch method, device and system in a kind of local area network - Google Patents
Service switch method, device and system in a kind of local area network Download PDFInfo
- Publication number
- CN106452878B CN106452878B CN201610912883.2A CN201610912883A CN106452878B CN 106452878 B CN106452878 B CN 106452878B CN 201610912883 A CN201610912883 A CN 201610912883A CN 106452878 B CN106452878 B CN 106452878B
- Authority
- CN
- China
- Prior art keywords
- client device
- service
- end program
- serve end
- area network
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2801—Broadband local area networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses service switch methods, device and system in a kind of local area network, this method comprises: the serve end program for executing service is respectively loaded at least two client devices in local area network in advance, the operating status of serve end program on client device is monitored, and determines the serve end program on the current client device for executing service whether normal operation;The client device for executing service is switched over when determining that the serve end program on the client device for currently executing service is operating abnormally, the serve end program on the client device is started to execute service by the client device of normal operation in local area network.Technical solution of the present invention ensure that the normal operation of service, will not influence business because of the failure of individual server by the way that the serve end program for executing service is respectively loaded at least two client devices in local area network simultaneously switching at runtime service.Capital investment is saved in addition, being not required to buy high server apparatus.
Description
Technical field
The present invention relates to technical field of the computer network, and in particular to service switch method in a kind of local area network, device and
System.
Background technique
Local area network refers to the calculating unit being mutually unified into a certain region by multiple stage computers, and Fig. 1 is office in the prior art
The network architecture of domain net is schematic diagram, and referring to Fig. 1, in the prior art, the network structure of local area network is usually client/service
Device mode includes that multiple client and a server, multiple client are connect with server, installs client in local area network
With service terminal software, on the server, client software is mounted on multiple for serve end program installation in a usually local area network
In client computer, client software is communicated with service terminal software, and then service terminal software is communicated with cloud again.
But in existing local area network, once service goes wrong on server, it will affect and communicated with cloud, Jin Erying
The business of sound.In addition, purchase server cost is relatively high, server cluster is bought, increases load, it is also desirable to arrange special O&M
Technical staff safeguards that small business often cannot bear such cost, is unable to satisfy the use demand of small enterprise.
Summary of the invention
The present invention provides service switch methods, device and system in a kind of local area network.To solve existing LAN services
Cause entire local area network can not be with internet communication when device failure, influencing service operation and the small enterprise at high cost that is unable to satisfy makes
The problem of with demand.
According to an aspect of the invention, there is provided service switch method in a kind of local area network, will execute service in advance
Serve end program is respectively loaded at least two client devices in local area network, this method comprises:
The operating status of serve end program on the client device is monitored, and determines that the current client for executing service is set
Standby upper serve end program is whether normal operation;
When the serve end program on the client device for determining currently to execute service is operating abnormally, to execution service
Client device switches over, and starts the server-side journey on the client device by the client device of normal operation in local area network
Sequence is to execute service.
Optionally, the operating status for monitoring serve end program on the client device, and determine and currently execute clothes
Serve end program on the client device of business includes: whether normal operation
It is monitored using operating status of the cloud server to the serve end program on the client device, when described
When the data that the serve end program that cloud server does not receive the client device in preset time threshold uploads, determine current
The serve end program executed on the client device of service is operating abnormally;
When the serve end program when on the client device for determining currently to execute service is operating abnormally, to executing clothes
The client device of business, which switches over, includes:
Serve end program operation using the cloud server, on the client device for determining currently to execute service
When abnormal, the flag bit in cloud database is modified, and modified flag bit is sent to local area network local data base, so that
Start the client after obtaining the flag bit in the given client end equipment reading local data base operated normally in local area network
Serve end program in equipment is to execute service;
Optionally, the operating status for monitoring serve end program on the client device, and determine and currently execute clothes
Serve end program on the client device of business includes: whether normal operation
The server-side for the client device that the client device locally operated normally using local area network services current execution
The operating status of program is monitored, when any of the client device locally operated normally monitors currently to execute service
Client device serve end program in preset time threshold to local area network local data base execute service when, determine
Serve end program on the current client device for executing service is operating abnormally.
When the serve end program when on the client device for determining currently to execute service is operating abnormally, to executing clothes
The client device of business, which switches over, includes:
When any one client device in the client device locally operated normally determines the current client for executing service
When serve end program in end equipment is operating abnormally, by the client device start the serve end program on the client device with
Execute service.
Optionally, clothes are currently executed when more than two client devices in the client device locally operated normally determine
When serve end program on the client device of business is operating abnormally, the power of the service of execution is competed by more than two client devices
Limit, and start the serve end program on the client device by competing successful client device to execute service.
Optionally, this method further include: the client device of normal operation starts the client device in by local area network
On serve end program to execute service after, close the serve end program on the client device of operation exception.
According to another aspect of the present invention, at least two serviced in switching device local area network in a kind of local area network are provided
The serve end program of the service of execution is mounted on a client device respectively, which includes:
Service monitoring unit for monitoring the operating status of serve end program on the client device, and determines current
Serve end program on the client device of execution service is whether normal operation;
Service switching unit, when the serve end program on the client device for determining currently to execute service is operating abnormally
When, the client device for executing service is switched over, which is started by the client device of normal operation in local area network
Serve end program in equipment is to execute service.
Optionally, the service monitoring unit, specifically for utilizing cloud server to the clothes on the client device
The operating status of business end program is monitored, when the cloud server does not receive the client device in preset time threshold
Serve end program upload data when, determine that the serve end program on the current client device for executing service is operating abnormally;
The service switching unit is specifically used for utilizing the cloud server, in the visitor for determining currently to execute service
When serve end program in the end equipment of family is operating abnormally, the flag bit in cloud database is modified, and by modified flag bit
It is sent to local area network local data base, so that the given client end equipment operated normally in local area network is read in local data base
The flag bit after, start the serve end program on the client device to execute service.
Optionally, the service monitoring unit, specifically for the client device pair locally operated normally using local area network
The operating status of the serve end program of the current client device for executing service is monitored, when the client locally operated normally
Any of equipment monitor currently execute service client device serve end program in preset time threshold not
When executing service to local area network local data base, it is different to determine that the serve end program on the current client device for executing service is run
Often;
The service switching unit is set specifically for any one client in the client device that ought locally operate normally
When the standby serve end program determined on the current client device for executing service is operating abnormally, which is started by the client device
Serve end program in the end equipment of family is to execute service.
Optionally, the service switching unit, the two or more in client device for being also used to locally to operate normally
Client device determine currently execute service client device on serve end program be operating abnormally when, by two or more
Client device competition execute the permission of service, and start the clothes on the client device by competing successful client device
End program of being engaged in is to execute service.
According to a further aspect of the invention, it provides in a kind of local area network and services switching system, which includes local
Database and at least two client devices;
The serve end program of the service of execution is mounted on the client device, each client device further includes such as this hair
Switching device is serviced in the local area network of bright other side.
The beneficial effects of the present invention are: the technical solution of the embodiment of the present invention, by the server-side that will execute service in advance
Program is respectively loaded at least two client devices in local area network, and whether the serve end program on monitoring client device
It operates normally;When the serve end program on the client device for determining currently to execute service is operating abnormally, to executing service
Client device switch over, the server-side on the client device is started by the client device of normal operation in local area network
Program is to execute service, on the one hand, since serve end program to be loaded at least two client devices, thus at least two
A client device can be used as server use, when the serve end program on one of client device when something goes wrong
The service of progress switching, will not influence the normal operation of business.On the other hand, it is set since serve end program is loaded into client
In standby, the expensive server of purchase is not needed, without server repository place is provided, special technical staff is engaged to tie up
Server is protected, the cost input of enterprise is thus greatly reduced, facilitates large-scale promotion.
Detailed description of the invention
The schematic network structure of Fig. 1 local area network in the prior art;
Fig. 2 is the flow diagram of service switch method in a kind of local area network of one embodiment of the invention;
Fig. 3 is the local net network topological diagram of service switch method in a kind of local area network of one embodiment of the invention;
Fig. 4 is the timing diagram of service switch method in a kind of local area network of one embodiment of the invention;
Fig. 5 is the local net network topological diagram of service switch method in a kind of local area network of another embodiment of the present invention;
Fig. 6 is the timing diagram of service switch method in a kind of local area network of another embodiment of the present invention;
Fig. 7 is the structural block diagram of service switching device in a kind of local area network of another embodiment of the invention;
Fig. 8 is the structural block diagram that switching system is serviced in a kind of local area network of further embodiment of the present invention.
Specific embodiment
Design concept of the invention is: in existing local area network, client and cloud communication need to pass through server
It completes, once the service on server goes wrong and may cause entire local area network and can not connect with cloud, traffic affecting
It operates normally, in addition, the higher cost that server also results in enterprise is separately provided, is not able to satisfy the use demand of small enterprise.
The embodiment of the present invention provides the scheme that switching is serviced in a kind of local area network, in advance loads the serve end program for executing service respectively
On at least two client devices into local area network, then, if the server-side on the current client device for executing service
Program is operating abnormally, then is switched over to the client device for executing service, in this way, will not influence the normal operation of business.?
The expensive server of purchase is not needed, without server repository place is provided, special technical staff is engaged to safeguard, from
And greatly reduce the cost and capital investment of enterprise.
Embodiment one
Fig. 2 is the flow diagram of service switch method in a kind of local area network of one embodiment of the invention, referring to fig. 2,
Service switch method includes the following steps: in the local area network of the present embodiment
The serve end program for executing service is respectively loaded at least two clients in local area network in advance by step S201
In equipment, the operating status of serve end program on client device is monitored, and is determined on the current client device for executing service
Serve end program whether normal operation;
Step S202 is right when the serve end program on the client device for determining currently to execute service is operating abnormally
The client device for executing service switches over, and is started on the client device by the client device of normal operation in local area network
Serve end program to execute service.
Method as shown in Figure 2 is it is found that the method for servicing switching in this local area network of the present embodiment, on the one hand, due to
Serve end program is loaded at least two client devices, so that at least two client devices can be used as service
Device uses, when the serve end program on one of client device carries out service switching when something goes wrong, in this way, will not influence
The normal operation of business.On the other hand, since serve end program to be loaded into client device, purchase valuableness is not needed
Server engages special technical staff to safeguard, greatly reduces the money of enterprise without server repository place is provided
Gold investment, facilitates large-scale promotion.
In the embodiment of the present invention, the implementation that switching is serviced in two kinds of preferred local area networks is provided:
The first is achieved in that cloud control service switching.Cloud control service switching: serve end program is loaded into
In local area network on each client device, whether detection service operation in cloud is normal, if service is abnormal, controls certain by cloud
Service operation on a client device, abnormal service are voluntarily closed.In this way, in each local area network only one in the same time
A service operation.
It is achieved in that local contention service switches for second.Local contention service switching: serve end program is loaded into
On each client device in local area network, database is write in the serve end program timing on client device being currently running,
Serve end program timing Test database data on his client device, if it find that the non-normal recordings of data in database,
Competition is started into operation service.The serve end program on successful client device is competed to start to write data into database, it is different
Normal service is closed.In this way, only one interior service operation of same time in local area network.
Above two implementation is illustrated below by way of specific embodiment.
Embodiment two
In the present embodiment, the realization process for mainly controlling service switching to cloud is illustrated, and other content is referring to this hair
Bright other embodiments.
Fig. 3 is the local net network topological diagram of service switch method in a kind of local area network of one embodiment of the invention, ginseng
See Fig. 3, in the local area network of the present embodiment, altogether there are four client device, be respectively as follows: client device A, client device B,
Client device C and client device D is fitted with client-side program (" client as shown in Figure 3 on each client device
End ") and serve end program (" service " shown in Fig. 3), that is, each client device can not only do client computer but also can service
Device.
Note: the quantity of client device is four in the local area network of the present embodiment, is mounted on each client device
Serve end program still in other embodiments of the invention, can also be in any two clients in four client devices
Serve end program is loaded in equipment, that is to say, that present invention does not require clothes are loaded in all clients equipment in a local network
Business end program is used as server.
Client device is communicated with cloud by router, when initial, by the service on a client device defaulting
Program execution service is held, for example, serve end program A provides service, execution service here is understood that as by serve end program A
Data, the operating status of cloud meeting real-time monitoring serve end program A, when cloud is in preset time threshold are sent to cloud database
When not receiving the data of serve end program A transmission inside, then cloud is according to the operation feelings of client device in the local area network of monitoring
Condition selects one from the client device of normal operation, for example, the client device where selection serve end program B, then
Client device B is given in the instruction that cloud sends service B starting, and the client device where controlling serve end program B starts service
Program B is held, and starts to execute service.That is, starting to send data from serve end program B to cloud database, to work as client
When serve end program A in equipment breaks down, is operating abnormally, service can be switched to by another client device
Serve end program B is executed, to will not influence the normal operation of the data transmission and business in local area network.
It should be noted that being also equipped with client-side program on client device in the present embodiment, client-side program also can
Data are sent to cloud, only different from the data content that the serve end program on client device is sent, the business of processing is not
Together, so, cloud can according to whether had sent in client-side program scheduled time threshold value on each client device data come
Judge the client device whether normal operation, thus if serve end program on the current client device for executing service therefore
When barrier, the client device of all normal operations is found, and therefrom a client device is selected to be started by the client device
Serve end program thereon continues to execute service.
Fig. 4 is the timing diagram of service switch method in a kind of local area network of one embodiment of the invention, referring to fig. 4, in Fig. 4
In illustrate two client devices, i.e. client device A and B and cloud server, switching is serviced in the local area network
Method includes following process:
Firstly, cloud carries out initial configuration, the serve end program A operation meaning comprising running on client device A is sent
Configuration-direct,
Client device A after receiving the configuration-direct that cloud is sent, starts the server-side journey loaded on client device A
Sequence A.After serve end program A starting, data are sent from serve end program A to cloud, the business in local area network is executed, provides
Service.
Cloud, according to serve end program A send data the case where, to judge the serve end program A's on client device A
Operating status, for example, if cloud does not receive the number of serve end program A transmission in preset time threshold (e.g., 5 seconds)
According to then sending instructions to client device B, control the serve end program B operation on client device B.
After serve end program B on client device B receives the instruction of cloud transmission, update in local area network local data base
Database flag position start serve end program B and after updating database flag position.Client journey on client device B
After sequence receives the instruction that cloud is sent, the client-side program on client device B updates local area network local data base, more new data
After the success of library flag bit, start the serve end program B on client device B.
Here, it should be noted that occur data omission when service switching in order to prevent or the repetition of data is sent, this
In embodiment, the flag bit in local data base, the effect of database flag position are updated by the serve end program that will start
It is, indicates and service is currently executed by the corresponding serve end program of which client device identification.For example, to be launched
B (B can be with one client device of unique identification) is revised as in database flag position in local data base by serve end program B,
Then, other client devices into local area network show currently to execute service by the corresponding serve end program B of client device B.
Client device A reading database flag bit, since serve end program B has had updated database flag position, institute
It is the flag bit of corresponding client device B with the database flag position read as the serve end program A on client device A.
At this moment, after client device A reads flag bit, the serve end program A on client device A is closed, in this way, ensure that local
The same time, only one serve end program was in the service of offer in net, had not only avoided Data duplication transmission but also had improved data transmission
Efficiency.It is that a serve end program operation transmission data are only needed in the local area network by application scenarios in this present embodiment
It can satisfy the use demand, so, it ensure that only one serve end program of same time is mentioning in local area network in the present embodiment
For service.
Note: update database flag position here, it can be by the client-side program on client device B from cloud data
Downloading instruction will be started the flag bit run to local area network local data base, then by client by serve end program B in library
The serve end program A of equipment A reading database flag bit from local data base, the serve end program A of client device A are learnt
After currently executing service by serve end program B, serve end program A is closed in control.
Client device B sends data in starting serve end program B, from serve end program B to cloud, to ensure that i.e.
The serve end program A of client device A is set to break down, the business in local area network can also operate normally, in addition, also not needing list
Solely setting server does not need the expensive server of purchase and provides the place for placing server, and the fund for saving enterprise is thrown
Enter.
Embodiment three
In the present embodiment, mainly the realization process of local contention service switching is illustrated, other content is referring to this hair
Bright other embodiments.
Fig. 5 is the local net network topological diagram of service switch method in a kind of local area network of another embodiment of the present invention,
In the present embodiment, include four client devices in local area network, be respectively as follows: client device A, client device B, client
Equipment C, client device D are fitted with client-side program on each client device, for example, such as the client illustrated in Fig. 5
Customer end A and service A are mounted on equipment A, and so on.
Further include local data base in local area network, the serve end program of the current client device for executing service, periodically to
Write data in local data base, and the serve end program of remaining client device, data are periodically read from local data base, such as
This, when the serve end program of two or more client devices in local area network monitors currently to execute service in local area network
Client device serve end program when, go the permission of competition operation service end program, and set by competing successful client
Standby serve end program continues to write data into local data base.Since cloud requires no knowledge about, be currently running is which
Serve end program on a client device, and by serve end program oneself competition switching on the client device in local area network.
Do not upload cloud.Note: Data duplication transmission and data are omitted in order to prevent, in the present embodiment, each successful client of competition
The serve end program of equipment, the function of being locked using data,
Here update database flag position can pass through the client-side program (that is, customer end B) on client device B
Instruction is downloaded from cloud database, i.e., the flag bit run will be started to local area network sheet by serve end program B (that is, service B)
Ground database, then by the serve end program A of client device A from local data base reading database flag bit, client
The serve end program A of equipment A is learnt service is currently executed by serve end program B after, control serve end program A is closed.
Fig. 6 is the timing diagram of service switch method in a kind of local area network of another embodiment of the present invention, referring to Fig. 6, originally
Service switch method includes the following steps: in the local area network of embodiment
Serve end program A on client device A, reads the service mark being currently running from local data base;
For example, the service mark (that is, database flag position) that the serve end program A on client device is read is A, that
Serve end program A on client device writes data to database timing.
Database, the unique identification of the client device where the successful serve end program B of competition generate corresponding
Service mark.
Serve end program B on client device B, periodically reads data from local data base, when on client device B
When serve end program B discovery does not write data to local data base normally, competition is started into Service Privileges.
On client device B, start serve end program B after competing successfully, from serve end program B periodically to local data
Write data in library.
Serve end program A on client device A, after reading the service mark that is currently running in local data base
Know, currently by the serve end program B on client device B in the service that executes, then the serve end program A on client device is closed
It closes.Here it flag bit will not be downloaded from cloud, be obtained by the serve end program competition of local client devices.For example, client
The serve end program B of end equipment updates flag bit, is updated successfully, as competes successfully.
Example IV
Fig. 7 is the structural block diagram that switching device is serviced in a kind of local area network of another of the invention embodiment, referring to Fig. 7,
The serve end program of the service of execution, the local are mounted at least two client devices in the local area network of the present embodiment respectively
Switching device 70 is serviced in net includes:
Service monitoring unit 701, for monitoring the operating status of serve end program on client device, and determination is currently held
Serve end program on the client device of row service is whether normal operation;
Service switching unit 702, when the serve end program operation on the client device for determining currently to execute service is different
Chang Shi switches over the client device for executing service, starts the client by the client device of normal operation in local area network
Serve end program in end equipment is to execute service.
In the present embodiment, service monitoring unit 701 is specifically used for using cloud server on the client device
The operating status of serve end program be monitored, when the cloud server does not receive the client in preset time threshold
When the data that the serve end program of equipment uploads, determine that the serve end program operation on the current client device for executing service is different
Often;
Service switching unit 702 is specifically used for utilizing the cloud server, in the client for determining currently to execute service
When serve end program in end equipment is operating abnormally, the flag bit in cloud database is modified, and modified flag bit is sent out
It send to local area network local data base, so that the given client end equipment operated normally in local area network is read in local data base
After the flag bit, start the serve end program on the client device to execute service.
In the present embodiment, service monitoring unit 701 is set specifically for the client locally operated normally using local area network
The operating status of the standby serve end program to the current client device for executing service is monitored, as the visitor locally operated normally
Any of family end equipment monitor currently execute service client device serve end program in preset time threshold
When not servicing to the execution of local area network local data base inside, the serve end program fortune on the current client device for executing and servicing is determined
Row is abnormal;
Service switching unit 702 is set specifically for any one client in the client device that ought locally operate normally
When the standby serve end program determined on the current client device for executing service is operating abnormally, which is started by the client device
Serve end program in the end equipment of family is to execute service.
In the present embodiment, service switching unit 702, two in the client device for being also used to locally to operate normally
When the serve end program that above client device determines currently to execute on the client device of service is operating abnormally, by two
Above client device competition executes the permission of service, and is started on the client device by competing successful client device
Serve end program to execute service.
It should be noted that servicing switching device in the local area network of the present embodiment is and services switching side in aforementioned local area network
Method is corresponding, thus, the content that does not describe of the course of work for servicing switching device in the present embodiment in local area network can be with
Referring to the explanation in service switch method embodiment in aforementioned local area network, which is not described herein again.
Embodiment five
Fig. 8 is the structural block diagram that switching system is serviced in a kind of local area network of further embodiment of the present invention, referring to Fig. 8,
Switching system 80, including local data base 802 and at least two client devices are serviced in this local area network of the present embodiment
801;
The serve end program of the service of execution is mounted on client device 801, each client device 801 further includes local
Switching device is serviced in net.Wherein, switching device is serviced in local area network as service switching dress in the local area network in previous embodiment
Set 70.
In conclusion handoff technique scheme is serviced in the local area network of the embodiment of the present invention, by the way that service will be executed in advance
Serve end program is respectively loaded at least two client devices in local area network, monitors the server-side journey on client device
Sequence is whether normal operation;When the serve end program on the client device for determining currently to execute service is operating abnormally, to holding
The client device of row service switches over, and is started on the client device by the client device of normal operation in local area network
Serve end program is to execute service.Since serve end program to be loaded at least two client devices, thus at least two
A client device can be used as server use, when the serve end program on one of client device when something goes wrong
The service of progress switching, will not influence the normal operation of business.The expensive server of purchase is not needed, enterprise is thus greatly reduced yet
The investment of industry, facilitates large-scale promotion.
The above description is merely a specific embodiment, under above-mentioned introduction of the invention, those skilled in the art
Other improvement or deformation can be carried out on the basis of the above embodiments.It will be understood by those skilled in the art that above-mentioned tool
Body description only preferably explains that the purpose of the present invention, protection scope of the present invention are subject to the protection scope in claims.
Claims (10)
1. service switch method in a kind of local area network, which is characterized in that in advance load the serve end program for executing service respectively
On at least two client devices into local area network, this method comprises:
The operating status of serve end program on the current client device for executing service of monitoring, and determine and currently execute service
Client device on serve end program whether normal operation;
When the serve end program on the client device for determining currently to execute service is operating abnormally, to the client for executing service
End equipment switches over, by the client device of normal operation in local area network start the serve end program on the client device with
Execute service.
2. the method according to claim 1, wherein the current client device for executing service of the monitoring
The operating status of upper serve end program, and determine whether the serve end program on the current client device for executing service is normally transported
Row includes:
It is carried out using operating status of the cloud server to the serve end program on the current client device for executing service
Monitoring, when the data that the serve end program that the cloud server does not receive the client device in preset time threshold uploads
When, determine that the serve end program on the current client device for executing service is operating abnormally;
When the serve end program when on the client device for determining currently to execute service is operating abnormally, to execution service
Client device, which switches over, includes:
Using the cloud server, the serve end program on the client device for determining currently to execute service is operating abnormally
When, the flag bit in cloud database is modified, and modified flag bit is sent to local area network local data base, so that office
The given client end equipment operated normally in the net of domain starts the client device after reading the flag bit in local data base
On serve end program to execute service.
3. the method according to claim 1, wherein the current client device for executing service of the monitoring
The operating status of upper serve end program, and determine whether the serve end program on the current client device for executing service is normally transported
Row includes:
The serve end program for the client device that the client device locally operated normally using local area network services current execution
Operating status be monitored, when any of the client device locally operated normally monitor currently execute service visitor
When to local area network local data base not writing data in preset time threshold of the serve end program of family end equipment, determination is currently held
Serve end program on the client device of row service is operating abnormally;
When the serve end program when on the client device for determining currently to execute service is operating abnormally, to execution service
Client device, which switches over, includes:
When any one client device in the client device locally operated normally determines that the current client for executing service is set
When standby upper serve end program is operating abnormally, the serve end program on the client device is started to execute by the client device
Service.
4. according to the method described in claim 3, it is characterized in that, two in the client device that ought locally operate normally with
When upper client device determines that the serve end program on the current client device for executing service is operating abnormally, by more than two
Client device competition executes the permission of service, and starts the service on the client device by competing successful client device
Hold program to execute service.
5. the method according to claim 1, wherein this method further include: the normal operation in by local area network
After client device starts the serve end program on the client device to execute service, the client for closing operation exception is set
Standby upper serve end program.
6. servicing switching device in a kind of local area network, which is characterized in that at least two client devices in the local area network
It is mounted with the serve end program of the service of execution respectively, which includes:
Service monitoring unit, for monitoring the operating status of serve end program on the current client device for executing service,
And determine the serve end program on the current client device for executing service whether normal operation;
Service switching unit, it is right when the serve end program on the client device for determining currently to execute service is operating abnormally
The client device for executing service switches over, and is started on the client device by the client device of normal operation in local area network
Serve end program to execute service.
7. device according to claim 6, which is characterized in that
The service monitoring unit, specifically for being executed on the client device serviced using cloud server to current
The operating status of serve end program is monitored, and is set when the cloud server does not receive the client in preset time threshold
When the data that standby serve end program uploads, determine that the serve end program operation on the current client device for executing service is different
Often;
The service switching unit is specifically used for utilizing the cloud server, in the client for determining currently to execute service
When serve end program in equipment is operating abnormally, the flag bit in cloud database is modified, and modified flag bit is sent
To local area network local data base, so that the given client end equipment operated normally in local area network reads the institute in local data base
After stating flag bit, start the serve end program on the client device to execute service.
8. device according to claim 6, which is characterized in that
The service monitoring unit executes service to current specifically for the client device locally operated normally using local area network
The operating status of serve end program of client device be monitored, any in the client device locally operated normally
It is a monitor currently execute service client device serve end program in preset time threshold not to local area network local
When database write data, determine that the serve end program on the current client device for executing service is operating abnormally;
The service switching unit, it is true specifically for any one client device in the client device that ought locally operate normally
When executing the serve end program operation exception on the client device of service before settled, which is started by the client device
Serve end program in equipment is to execute service.
9. device according to claim 8, which is characterized in that the service switching unit is also used to when local normal fortune
More than two client devices in capable client device determine currently to execute the service on the client device of service
When program being held to be operating abnormally, the permission of the service of execution is competed by more than two client devices, and by competing successful client
End equipment starts the serve end program on the client device to execute service.
10. servicing switching system in a kind of local area network, which is characterized in that the system includes local data base and at least two
Client device;
The serve end program of the service of execution is mounted on the client device, each client device further includes such as claim
Switching device is serviced in local area network described in 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610912883.2A CN106452878B (en) | 2016-10-19 | 2016-10-19 | Service switch method, device and system in a kind of local area network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610912883.2A CN106452878B (en) | 2016-10-19 | 2016-10-19 | Service switch method, device and system in a kind of local area network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106452878A CN106452878A (en) | 2017-02-22 |
CN106452878B true CN106452878B (en) | 2019-09-10 |
Family
ID=58175566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610912883.2A Active CN106452878B (en) | 2016-10-19 | 2016-10-19 | Service switch method, device and system in a kind of local area network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452878B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536809A (en) * | 2018-03-30 | 2018-09-14 | 四川九阵科技股份有限公司 | A kind of area medical suspension toll collection system and method |
CN109847338B (en) * | 2019-03-19 | 2022-04-26 | 厦门市思芯微科技有限公司 | Method for automatically rebuilding server for local area network game |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063427A (en) * | 2009-11-12 | 2011-05-18 | 中兴通讯股份有限公司 | Exception handling system and method in distributed database system |
CN102523279A (en) * | 2011-12-12 | 2012-06-27 | 云海创想信息技术(无锡)有限公司 | Distributed file system and hot file access method thereof |
CN102662705A (en) * | 2012-03-31 | 2012-09-12 | 中国工商银行股份有限公司 | System and method for upgrading system environment of computer cluster |
CN104158835A (en) * | 2013-05-15 | 2014-11-19 | 上海范氏科技投资发展集团有限公司 | Method for intelligent desktop system server to control clients |
EP2854430A1 (en) * | 2012-06-15 | 2015-04-01 | Huawei Device Co., Ltd. | Method and device for processing abnormality of application proxy client terminal |
-
2016
- 2016-10-19 CN CN201610912883.2A patent/CN106452878B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063427A (en) * | 2009-11-12 | 2011-05-18 | 中兴通讯股份有限公司 | Exception handling system and method in distributed database system |
CN102523279A (en) * | 2011-12-12 | 2012-06-27 | 云海创想信息技术(无锡)有限公司 | Distributed file system and hot file access method thereof |
CN102662705A (en) * | 2012-03-31 | 2012-09-12 | 中国工商银行股份有限公司 | System and method for upgrading system environment of computer cluster |
EP2854430A1 (en) * | 2012-06-15 | 2015-04-01 | Huawei Device Co., Ltd. | Method and device for processing abnormality of application proxy client terminal |
CN104158835A (en) * | 2013-05-15 | 2014-11-19 | 上海范氏科技投资发展集团有限公司 | Method for intelligent desktop system server to control clients |
Also Published As
Publication number | Publication date |
---|---|
CN106452878A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9600264B2 (en) | Generating a customized set of tasks for migration of a deployed software solution | |
US8020044B2 (en) | Distributed batch runner | |
CN107158705B (en) | The update method and device of service | |
CN108170448B (en) | System for automatically and efficiently releasing software update version | |
US10649765B2 (en) | Systems and methods for preventing service disruption during software updates | |
CN109308252A (en) | A kind of fault location processing method and processing device | |
CN101411123A (en) | Method, system and computer program for the centralized system management on endpoints of a distributed data processing system | |
JP6848426B2 (en) | Communication devices, communication systems, programs and communication control methods | |
US9089774B2 (en) | Method of controlling an update of game code in a gaming system | |
CN106452878B (en) | Service switch method, device and system in a kind of local area network | |
CN105260209A (en) | Hot-update solution of program | |
CN113885911A (en) | Robot version updating method and device based on RPA and AI | |
JP2007082078A (en) | Data relay device | |
CN100454245C (en) | System and method for loading multi-operation system at remote control customer terminal | |
CN114840248A (en) | System gray level publishing method based on enterprise level distributed application service | |
US20110072305A1 (en) | Recovery method management device and recovery method management method | |
JP2007200103A (en) | Client-server system and resource control method | |
CN115437766A (en) | Task processing method and device | |
US8739166B2 (en) | Progress-driven progress information in a service-oriented architecture | |
JP6396084B2 (en) | Engineering apparatus, engineering system, and download processing method | |
CN104657168B (en) | A kind of method that client and the client are upgraded | |
CN112636986A (en) | Gateway plug-in updating method and device | |
JP2010011273A (en) | Monitoring control system and monitoring control method | |
JP2014003838A (en) | Client terminal for data maintenance | |
JP4911324B2 (en) | Business construction infrastructure system and business system construction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |