CN105721550A - Client fault-tolerant monitoring method and client fault-tolerant monitoring system - Google Patents

Client fault-tolerant monitoring method and client fault-tolerant monitoring system Download PDF

Info

Publication number
CN105721550A
CN105721550A CN201610039204.5A CN201610039204A CN105721550A CN 105721550 A CN105721550 A CN 105721550A CN 201610039204 A CN201610039204 A CN 201610039204A CN 105721550 A CN105721550 A CN 105721550A
Authority
CN
China
Prior art keywords
client
fault
tolerant
push
message
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
CN201610039204.5A
Other languages
Chinese (zh)
Other versions
CN105721550B (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.)
BEIJING LOCOJOY TECHNOLOGY Co Ltd
Original Assignee
BEIJING LOCOJOY 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 BEIJING LOCOJOY TECHNOLOGY Co Ltd filed Critical BEIJING LOCOJOY TECHNOLOGY Co Ltd
Priority to CN201610039204.5A priority Critical patent/CN105721550B/en
Publication of CN105721550A publication Critical patent/CN105721550A/en
Application granted granted Critical
Publication of CN105721550B publication Critical patent/CN105721550B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Abstract

The invention discloses a client fault-tolerant monitoring method and a client fault-tolerant monitoring system. The client fault-tolerant monitoring method is characterized in that a main server is used to transmit push information, which is required to be transmitted to a client, to an information push module; the information push module is used for the data parsing, the data analysis, and the data packaging of the push information, and then is used to transmit the push information to a push server connected with the client; the push server is used to push the push information to the client; the client is used to parse the push information after receiving the push information; the client is used for the fault-tolerant processing of the data in the local database according to the parsed push information. The client fault-tolerant monitoring method and the client fault-tolerant monitoring system are advantageous in that the management of the client is provided with the flexible and controllable fault-tolerant mechanism, and therefore the client data fault-tolerant function can be realized better; the client can be used for the automatic processing of the push information, and the solution adopting the artificial intervention is not required, and therefore the resources and the time can be saved.

Description

A kind of fault-tolerant monitoring method and system of client
Technical field
The application relates to message and pushes field, specifically, relates to a kind of fault-tolerant monitoring method and system of client.
Background technology
The fast development of mobile Internet makes the mode that people obtain information become convenient, the use of Intelligent mobile terminal is also more popular, people increasingly tend to use mobile phone to obtain information and service, various resource informations, while bringing great convenience to the life of people, bring difficulty also to people on acquisition of information.
Actively there is many deficiencies to the mode of server pull information in traditional client, owing to needs update often, and this time that can waste user and flow, the pressure of increase server, reduction treatment effeciency etc.;And server push (Push) technology user need not stop refreshing to check renewal, propelling movement can send information to user automatically, information is allowed actively to go for user, user can be helped to save flow and electric energy, mobile equipment and popularizing of 4G network bring bigger development space to Push Service, each operating system also both provides Push Service, for instance the Push Service C2DM (CloudtoDeviceMessaging, high in the clouds message push service) that Android official provides.
Change or client database version updating due to client demand, there will be the reasons such as the increase of Database field or minimizing, this can cause that client local data cannot be corresponding with data base, push technology is in practice, and time general way is by packing client software, packing one empties sign, empties client this locality available data, but this emptying can empty all data, but not selective removing, the waste of resource certainly will be caused, not there is data fault-tolerant function.
Summary of the invention
In view of this, technical problems to be solved in this application there is provided a kind of fault-tolerant monitoring method and system of client, solves prior art client and does not possess the problem that data fault-tolerant monitoring processes.
In order to solve above-mentioned technical problem, the application has following technical scheme:
The present invention provides a kind of fault-tolerant monitoring method of client, including: master server will need the PUSH message being sent to client to message pushing module;Described message pushing module sends the Push Service to the connection of described client after described PUSH message carries out data parsing, analysis and packaging;Described Push Service is pushed to described client described PUSH message;Described client receives described PUSH message and resolves;Data in local data base, according to the PUSH message after resolving, are carried out fault-tolerant processing by described client.
The present invention also provides for a kind of fault-tolerant monitoring system of client, including: master server, message pushing module, Push Service and client, wherein said master server, couple with described message pushing module, for initiating PUSH message according to data base to client, and described PUSH message is sent to described message pushing module;Described message pushing module, couples with described master server and described Push Service, is used for receiving described PUSH message, and sends to described client the Push Service connected after described PUSH message carries out data parsing, analysis and packaging;Described Push Service, couples with described message pushing module and described client, for described PUSH message is pushed to described client;Described client, couples with described Push Service, is used for receiving described PUSH message and resolving, and according to the PUSH message after resolving, data in local data base is carried out fault-tolerant processing.
Compared with prior art, method and system described herein, reach following effect:
First, the fault-tolerant monitoring method and system of client provided by the invention, the management of client has flexible, controlled fault tolerant mechanism, thus it is fault-tolerant better to realize client data;
Second, the fault-tolerant monitoring method and system of client provided by the invention, PUSH message can be automatically processed by client, it is not necessary to manual intervention solves, and saves resource and time.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, and the schematic description and description of the application is used for explaining the application, is not intended that the improper restriction to the application.In the accompanying drawings:
Fig. 1 is described a kind of fault-tolerant monitoring method flow diagram of client of the present invention;
Fig. 2 is described a kind of fault-tolerant monitoring system structure schematic diagram of client of the present invention;
Fig. 3 is another structural representation of the fault-tolerant monitoring system of described a kind of client of the present invention.
Detailed description of the invention
As employed some vocabulary in the middle of description and claim to censure specific components.Those skilled in the art are it is to be appreciated that hardware manufacturer may call same assembly with different nouns.This specification and claims are not used as distinguishing in the way of assembly by the difference of title, but are used as the criterion distinguished with assembly difference functionally." comprising " as mentioned in the middle of description and claim in the whole text is an open language, therefore should be construed to " comprise but be not limited to "." substantially " referring in receivable range of error, those skilled in the art can solve described technical problem within the scope of certain error, basically reaches described technique effect.Additionally, " coupling " word comprises any directly and indirectly electric property coupling means at this.Therefore, if a first device described in literary composition is coupled to one second device, then represents described first device and can directly be electrically coupled to described second device, or be indirectly electrically coupled to described second device by other devices or the means that couple.Description subsequent descriptions is implement the better embodiment of the application, and right described description is for the purpose of the rule so that the application to be described, is not limited to scope of the present application.The protection domain of the application is when being as the criterion depending on the defined person of claims.
Embodiment 1
Specific embodiment for the fault-tolerant monitoring method of herein described client shown in Figure 1, described in the present embodiment, method comprises the following steps:
Step 101: master server will need the PUSH message being sent to client to message pushing module;
Step 101: described message pushing module sends the Push Service to the connection of described client after described PUSH message is processed, and described process includes data parsing, analysis and packaging;
Step 103: described Push Service is pushed to described client described PUSH message;
Step 104: described client receives described PUSH message and resolves;
Step 105: data in local data base, according to the PUSH message after resolving, are carried out fault-tolerant processing by described client.
Wherein, described client is one or more, the Push Service that multiple clients connect is one or more, when Push Service is multiple, described PUSH message need to be respectively sent to each Push Service by described message pushing module, can the fault-tolerant monitoring system structure schematic diagram of client as shown in Figure 3 in detail.
Wherein, described client is according to the PUSH message after resolving, the step that data in local data base carry out fault-tolerant processing more includes: described client is according to the PUSH message after resolving, data in local data base are filtered, flushing errors data, are specially according to database version number, that data base needs fault-tolerant field to carry out is fault-tolerant.
Wherein, described client is according to the PUSH message after resolving, the step that data in local data base carry out fault-tolerant processing more includes: the data lacked in local data base, according to the PUSH message after resolving, are carried out increasing operation by described client, and the data of mistake are modified operation.
Wherein, described message pushing module is that cloud pushes center.
Embodiment 2
For being described in more detail the present invention, shown in Figure 2 for the fault-tolerant monitoring system structure schematic diagram of herein described client 204, as it can be seen, described system includes: master server 201, message pushing module 202, Push Service 203 and client 204, wherein
Described master server 201, couples with described message pushing module 202, for initiating PUSH message according to data base to client 204, and sends described PUSH message to described message pushing module 202;;
Described message pushing module 202, couples with described master server 201 and described Push Service 203, is used for receiving described PUSH message, and sends to described client 204 Push Service 203 connected after described PUSH message carries out data parsing, analysis and packaging;
Described Push Service 203, couples with described message pushing module 202 and described client 204, for described PUSH message is pushed to described client 204;
Described client 204, couples with described Push Service 203, is used for receiving described PUSH message and resolving, and according to the PUSH message after resolving, data in local data base is carried out fault-tolerant processing.
Wherein, described client 204 is one or more, the Push Service 203 that multiple clients 204 connect is one or more, when Push Service 203 is multiple, described PUSH message need to be respectively sent to each Push Service 203 by described message pushing module 202, can the fault-tolerant monitoring system structure schematic diagram of client as shown in Figure 3 in detail.
Wherein, described client 204 is according to the PUSH message after resolving, data in local data base are carried out fault-tolerant processing more include: described client 204 is according to the PUSH message after resolving, data in local data base are filtered, flushing errors data, are specially according to database version number, that data base needs fault-tolerant field to carry out is fault-tolerant.
Wherein, described client 204 is according to the PUSH message after resolving, data in local data base are carried out fault-tolerant processing more include: the data lacked in local data base, according to the PUSH message after resolving, are carried out increasing operation by described client 204, and the data of mistake are modified operation.
Wherein, described message pushing module 202 pushes center for cloud.
By various embodiments above it can be seen that the application existence provides the benefit that:
First, the fault-tolerant monitoring method and system of client provided by the invention, the management of client has flexible, controlled fault tolerant mechanism, thus it is fault-tolerant better to realize client data;
Second, the fault-tolerant monitoring method and system of client provided by the invention, PUSH message can be automatically processed by client, it is not necessary to manual intervention solves, and saves resource and time.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, device or computer program.Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
Described above illustrate and describes some preferred embodiments of the application, but as previously mentioned, it is to be understood that the application is not limited to form disclosed herein, it is not to be taken as the eliminating to other embodiments, and can be used for other combinations various, amendment and environment, and in invention contemplated scope described herein, can be modified by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change are without departing from spirit and scope, then all should in the protection domain of the application claims.

Claims (10)

1. the fault-tolerant monitoring method of client, it is characterised in that including:
Master server will need the PUSH message being sent to client to message pushing module;
Described message pushing module sends the Push Service to the connection of described client after described PUSH message carries out data parsing, analysis and packaging;
Described Push Service is pushed to described client described PUSH message;
Described client receives described PUSH message and resolves;
Data in local data base, according to the PUSH message after resolving, are carried out fault-tolerant processing by described client.
2. the fault-tolerant monitoring method of client according to claim 1, it is characterized in that, described client is one or more, the Push Service that multiple clients connect is one or more, when Push Service is multiple, described PUSH message need to be respectively sent to each Push Service by described message pushing module.
3. the fault-tolerant monitoring method of client according to claim 1, it is characterized in that, described client is according to the PUSH message after resolving, the step that data in local data base carry out fault-tolerant processing more includes: described client is according to the PUSH message after resolving, data in local data base are filtered, flushing errors data, are specially according to database version number, that data base needs fault-tolerant field to carry out is fault-tolerant.
4. the fault-tolerant monitoring method of client according to claim 1, it is characterized in that, described client is according to the PUSH message after resolving, the step that data in local data base carry out fault-tolerant processing more includes: described client is according to the PUSH message after resolving, carrying out the data lacked in local data base increasing operation, the data of mistake are modified operation.
5. the fault-tolerant monitoring method of client according to any one of claim 1-4, it is characterised in that described message pushing module is that cloud pushes center.
6. the fault-tolerant monitoring system of client, it is characterised in that including: master server, message pushing module, Push Service and client, wherein
Described master server, couples with described message pushing module, for initiating PUSH message according to data base to client, and sends described PUSH message to described message pushing module;
Described message pushing module, couples with described master server and described Push Service, is used for receiving described PUSH message, and sends to described client the Push Service connected after described PUSH message carries out data parsing, analysis and packaging;
Described Push Service, couples with described message pushing module and described client, for described PUSH message is pushed to described client;
Described client, couples with described Push Service, is used for receiving described PUSH message and resolving, and according to the PUSH message after resolving, data in local data base is carried out fault-tolerant processing.
7. the fault-tolerant monitoring system of client according to claim 6, it is characterized in that, described client is one or more, the Push Service that multiple clients connect is one or more, when Push Service is multiple, described PUSH message need to be respectively sent to each Push Service by described message pushing module.
8. the fault-tolerant monitoring system of client according to claim 6, it is characterized in that, described client is according to the PUSH message after resolving, data in local data base are carried out fault-tolerant processing more include: described client is according to the PUSH message after resolving, data in local data base are filtered, flushing errors data, are specially according to database version number, that data base needs fault-tolerant field to carry out is fault-tolerant.
9. the fault-tolerant monitoring system of client according to claim 6, it is characterized in that, described client is according to the PUSH message after resolving, data in local data base are carried out fault-tolerant processing more include: described client is according to the PUSH message after resolving, carrying out the data lacked in local data base increasing operation, the data of mistake are modified operation.
10. the fault-tolerant monitoring system of client according to any one of claim 6-9, it is characterised in that described message pushing module is that cloud pushes center.
CN201610039204.5A 2016-01-21 2016-01-21 A kind of fault-tolerant monitoring method of client and system Active CN105721550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610039204.5A CN105721550B (en) 2016-01-21 2016-01-21 A kind of fault-tolerant monitoring method of client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610039204.5A CN105721550B (en) 2016-01-21 2016-01-21 A kind of fault-tolerant monitoring method of client and system

Publications (2)

Publication Number Publication Date
CN105721550A true CN105721550A (en) 2016-06-29
CN105721550B CN105721550B (en) 2019-04-19

Family

ID=56153664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610039204.5A Active CN105721550B (en) 2016-01-21 2016-01-21 A kind of fault-tolerant monitoring method of client and system

Country Status (1)

Country Link
CN (1) CN105721550B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789002A (en) * 2010-01-22 2010-07-28 浪潮(北京)电子信息产业有限公司 Database compatibility test device and method for server
CN103269230A (en) * 2013-05-28 2013-08-28 中国科学院自动化研究所 Fault-tolerant system and method for adjusting error correcting codes adaptively
CN103581177A (en) * 2013-10-24 2014-02-12 华为技术有限公司 Method and device for managing virtual machine
CN105024872A (en) * 2014-04-25 2015-11-04 腾讯科技(北京)有限公司 Network performance test method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789002A (en) * 2010-01-22 2010-07-28 浪潮(北京)电子信息产业有限公司 Database compatibility test device and method for server
CN103269230A (en) * 2013-05-28 2013-08-28 中国科学院自动化研究所 Fault-tolerant system and method for adjusting error correcting codes adaptively
CN103581177A (en) * 2013-10-24 2014-02-12 华为技术有限公司 Method and device for managing virtual machine
CN105024872A (en) * 2014-04-25 2015-11-04 腾讯科技(北京)有限公司 Network performance test method and device

Also Published As

Publication number Publication date
CN105721550B (en) 2019-04-19

Similar Documents

Publication Publication Date Title
US7992132B2 (en) Server side application integration framework
US9288156B2 (en) Method and apparatus for supporting scalable multi-modal dialog application sessions
CN105677380B (en) Method and device for board-by-board upgrading of double master control isolations
CN104268025A (en) Interprocess communication method and system, and server
CN105893055A (en) Method for triggering process engine platformization
CN105681113A (en) Automatic operation and maintenance method based on SaltStack
US20170300129A1 (en) Keypress processing method and apparatus for terminal
CN102724276A (en) Information transmitting method and system based on android system
CN109905431A (en) Message treatment method and system, storage medium, electronic equipment
CN105516372B (en) Processing method, device and the server of filename
CN105635291A (en) Information pushing method, information pushing device, information displaying method and information displaying device
US20150161097A1 (en) Language Set Disambiguator
CN110941708A (en) Intelligent question and answer library establishing method, intelligent question and answer method and device and computer equipment
CN109787789B (en) Compatibility management method, device and equipment for software upgrading and storage medium
CN107172013B (en) Data transmission method and system
CN104765727A (en) Text translation method and device
CN106933881B (en) Method for realizing interconnected documents
CN105721550A (en) Client fault-tolerant monitoring method and client fault-tolerant monitoring system
US20220262353A1 (en) Method and device for Processing Voice Information, Storage Medium and Electronic Apparatus
CN107273102A (en) The generation method and device of mobile applications
CN104077285B (en) File designation method and the first electronic equipment
CN114637599A (en) Cloud resource management method and device, electronic equipment and readable storage medium
CN107295179A (en) The method and apparatus that a kind of short message is shown
CN109408045B (en) Government affair system integration method and device
CN108848398A (en) A kind of distribution method, device, terminal and the storage medium of local barrage message

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