[go: up one dir, main page]

CN104301140B - Service request response method, device and system - Google Patents

Service request response method, device and system Download PDF

Info

Publication number
CN104301140B
CN104301140B CN201410525181.XA CN201410525181A CN104301140B CN 104301140 B CN104301140 B CN 104301140B CN 201410525181 A CN201410525181 A CN 201410525181A CN 104301140 B CN104301140 B CN 104301140B
Authority
CN
China
Prior art keywords
business processing
processing request
client
request
responded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410525181.XA
Other languages
Chinese (zh)
Other versions
CN104301140A (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201410525181.XA priority Critical patent/CN104301140B/en
Publication of CN104301140A publication Critical patent/CN104301140A/en
Application granted granted Critical
Publication of CN104301140B publication Critical patent/CN104301140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The invention discloses a kind of service request response methods, device and system, belong to technical field of the computer network.The service request response method includes: the business processing request for receiving client and sending, and the business processing request is the business processing request that the client is sent to the primary server and standby server simultaneously;Respond the business processing request;It is arranged for indicating that the business processing requests the status indicator responded;The status indicator is synchronized to the standby server, the status indicator is used to indicate the standby server and requests in each business processing request after active-standby switch according to status indicator detection caching with the presence or absence of the business processing not responded, if testing result is in the presence of the business processing request not responded, the response business processing request not responded;Solve the problems, such as that the business processing request that client is sent in the prior art possibly can not be responded.

Description

Service request response method, device and system
Technical field
The present invention relates to technical field of the computer network, in particular to a kind of service request response method, device and system.
Background technique
When in order to avoid server failure, each client can not obtain the problem of network services from server, together Shi Caiyong primary server and the service system of standby server are more and more.
In the service system comprising primary server and standby server, when client needs to request a certain business, System can receive the business processing that client is sent by primary server and request, and primary server responds the business received Processing request.When primary server breaks down or primary server actively surrenders primary authority, system can be by standby The business processing request that client is sent is received with server, and then business processing request is responded by standby server.
In the implementation of the present invention, inventor find above-mentioned technology the prior art has at least the following problems: active-standby switch it Before, if primary server has received business processing request, but business processing request is not responded, then After active-standby switch, business processing request will be unable to be responded.
Summary of the invention
In order to solve the problems, such as that the business processing request that client is sent in the prior art possibly can not be responded, the present invention Embodiment provides a kind of service request response method, device and system.The technical solution is as follows:
In a first aspect, providing a kind of service request response method, which is used for primary server In, which comprises
The business processing request that client is sent is received, the business processing request is the client simultaneously to the master The business processing request sent with server and standby server;
Respond the business processing request;
It is arranged for indicating that the business processing requests the status indicator responded;
The status indicator is synchronized to the standby server, the status indicator is used to indicate the standby server and exists It whether there is the industry not responded according in each business processing request of status indicator detection caching after active-standby switch Business processing request, if testing result is in the presence of the business processing request not responded, the response business not responded Processing request.
Optionally, it is described synchronize the status indicator to the standby server before, the method also includes:
It obtains and requests related user information in the user information of the client with the business processing, user's letter Breath includes at least one in grade, the Task Progress of the client and the logging state of the client of the client Kind;
It is described to synchronize the status indicator to the standby server, comprising:
The user information and the status indicator are synchronized to the standby server, the user information is used to indicate After responding the business processing request, result is updated according to response has the standby server with business processing request The user information of pass.
Optionally, after the response business processing request, the method also includes:
The feedback information for carrying message identification is sent to the client, the message identification is uniquely corresponding to the industry Business processing request, what the message identification was used to indicate that the subsequently received standby server of the client sends has phase With message identification feedback information when, shield the feedback information that the standby server is sent.
Second aspect provides a kind of service request response method, in standby server, which comprises
Before active-standby switch, the m business processing request that client is sent is received, the m business processing is cached and asks It asks, the business processing request is the business processing that the client is sent to primary server and the standby server simultaneously Request;The synchronous n status indicator responded for indicating corresponding business processing request of the primary server is received, Cache the n status indicator, n≤m;
After active-standby switch, according to the n status indicator of caching detect the m business processing request in whether In the presence of the business processing request not responded;
If testing result is to respond the business processing detected in the presence of the business processing request not responded and ask It asks.
Optionally, what the reception primary server was synchronous is used to indicate that corresponding business processing request to be responded N status indicator, comprising:
It receives the synchronous n status indicator of the primary server and is requested with corresponding business processing related User information, the user information include the grade of the client, the Task Progress of the client and the client At least one of logging state;
After the business processing request that the response detects, the method also includes:
It obtains in the user information of the client and requests related user information with the business processing detected;
Result updates the user information got according to response.
Optionally, after the business processing request that the response detects, the method also includes:
The feedback information for carrying message identification is sent to the client, the message identification is used to indicate the client It holds when the feedback information with identical information mark that the primary server is sent has been received, shields the spare clothes The feedback information that business device is sent, the message identification are uniquely corresponding to the business processing detected request.
The third aspect provides a kind of service request responding device, in primary server, described device to include:
Request receiving module, for receiving the business processing request of client transmission, the business processing request is described The business processing request that client is sent to the primary server and standby server simultaneously;
Ask respond module, the business processing request received for responding the request receiving module;
Identify and arrange module, for being arranged for indicating that the business processing requests the status indicator responded;
Synchronizing information module, for synchronizing the status indicator of identify and arrange module setting to the active service Device, the status indicator are used to indicate the standby server after active-standby switch according to status indicator detection caching With the presence or absence of the business processing request not responded in each business processing request, do not responded if testing result exists Business processing request, then the response business processing request not responded.
Optionally, described device further include:
User profile acquisition module, it is related with the business processing request in the user information for obtaining the client User information, the user information includes the grade of the client, the Task Progress of the client and the client At least one of logging state;
The synchronizing information module, for synchronizing the user information and the status indicator to the active service Device, the user information are used to indicate the standby server after responding the business processing request, according to response result It updates and requests related user information with the business processing.
Optionally, described device further include:
Feedback information sending module carries the feedback information of message identification to the client, the letter for sending Breath mark is uniquely corresponding to the business processing request, and it is subsequently received described that the message identification is used to indicate the client When the feedback information with identical information mark that standby server is sent, the feedback that the standby server is sent is shielded Information.
Fourth aspect provides a kind of service request responding device, in standby server, described device to include:
Request receiving module, the m business processing request sent for before active-standby switch, receiving client;
Request receiver module, the m business processing request received for caching the request receiving module are described Business processing request is the business processing request that the client is sent to primary server and the standby server simultaneously;
Information receiving module, for before active-standby switch, receive the primary server it is synchronous for indicating corresponding Business processing request n status indicator having been responded;
Mark cache module, the n status indicator received for caching the mark receiving module, n≤m;
Request detection module, for being detected according to the n status indicator of caching m described after active-standby switch With the presence or absence of the business processing request not responded in business processing request;
Ask respond module is in the presence of the business processing not responded for the testing result in the request detection module When request, the business processing request detected is responded.
Optionally, the information receiving module, for receive the synchronous n status indicator of the primary server with And related user information is requested with corresponding business processing, the user information includes the grade of the client, the visitor At least one of the Task Progress at family end and the logging state of the client;
Described device further include:
User profile acquisition module, in the user information for obtaining the client with the business processing that detects Request related user information;
User information cache module updates described in the User profile acquisition module gets for result according to response User information.
Optionally, described device further include:
Feedback information sending module carries the feedback information of message identification to the client, the letter for sending Breath mark is used to indicate the client and is having been received that the primary server sends with the anti-of identical information mark When feedforward information, the feedback information that the standby server is sent is shielded, what the message identification was uniquely corresponding to detect The business processing request.
5th aspect, provides a kind of service request response system, the system comprises the third aspect or the third aspect Any possible implementation described in service request responding device and fourth aspect or fourth aspect it is any Service request responding device described in possible implementation.
The beneficial effect of technical solution provided in an embodiment of the present invention is:
Business processing is sent simultaneously by using client to request to primary server and standby server, primary server Business processing request is responded, setting indicates that the business processing requests the status indicator responded, and synchronous regime is identified to standby Use server;The business processing request that standby server cache client is sent, and receive the synchronous state mark of primary server Know;In this way after active-standby switch, whether standby server can detect the business processing request of caching according to status indicator It is responded, if do not responded, responds business processing request;Solves the business processing that client is sent in the prior art The problem of request possibly can not be responded;Even if reached business processing request that before active-standby switch client is sent not by Primary server response, but after active-standby switch, business processing request can be by the effect of standby server response.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of structural schematic diagram of implementation environment according to the present invention;
Fig. 2 is the method flow diagram of service request response method provided by one embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides service request response method method flow diagram;
Fig. 4 is the method flow diagram for the service request response method that yet another embodiment of the invention provides;
Fig. 5 is the method flow diagram for the service request response method that yet another embodiment of the invention provides;
Fig. 6 is the structural block diagram of service request responding device provided by one embodiment of the present invention;
Fig. 7 is the structural block diagram for the service request responding device that another embodiment of the present invention provides;
Fig. 8 is the structural block diagram for the service request responding device that further embodiment of the present invention provides;
Fig. 9 is the structural block diagram for the service request responding device that further embodiment of the present invention provides;
Figure 10 is the structural block diagram of server provided by one embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Referring to FIG. 1, it illustrates a kind of structural schematic diagrams of implementation environment involved in each embodiment of the present invention, such as Shown in Fig. 1, which may include client 110, primary server 120 and standby server 130.
Client 110 be run in the terminal, by service provider provide client.Client 110 can pass through Wired or wireless network is connect with primary server 120 and standby server 130.
Primary server 120 is the server that service provider provides, and is provided for being combined with client 110 for user Service.Primary server 120 can be connect by wired or wireless network with client 110 and standby server 130.
Standby server 130 is also the server that service provider provides, and is mentioned for being combined with client 110 for user For service.Unlike primary server 120, standby server 130 is used in the collapse of primary server 120 or primary clothes When business device 120 surrenders primary authority, combined with client 110 to provide service for user.
Referring to FIG. 2, it illustrates the method flow diagram of service request response method provided by one embodiment of the present invention, The present embodiment is with the service request response method for illustrating in primary server 120 shown in FIG. 1.As shown in Fig. 2, The service request response method includes:
Step 201, the business processing request that client is sent is received, business processing request is client simultaneously to primary clothes The business processing that device and standby server are sent of being engaged in is requested;
Step 202, response business processing request;
Step 203, it is arranged for indicating that business processing requests the status indicator responded;
Step 204, synchronous regime is identified to standby server, and status indicator is used to indicate standby server in active-standby switch It is requested later according in each business processing request of status indicator detection caching with the presence or absence of the business processing not responded, such as Fruit testing result is then to respond the business processing request not responded in the presence of the business processing request not responded.
In conclusion service request response method provided in this embodiment, by the business that customer in response end is sent After reason request, it is arranged for indicating that the business processing requests the status indicator that has been responded, synchronizes the status indicator to spare Server, status indicator are used to indicate standby server after active-standby switch according to each business of status indicator detection caching With the presence or absence of the business processing request not responded in processing request, if testing result is in the presence of the business processing not responded Request then responds the business processing request not responded;The business processing request for solving client transmission in the prior art can The problem of capable of can not being responded;Even if having reached the business processing that client is sent before active-standby switch to request not by primary clothes Business device response, but after active-standby switch, business processing request can be by the effect of standby server response.
Referring to FIG. 3, it illustrates another embodiment of the present invention provides service request response method method flow diagram, This present embodiment is with the service request response method for illustrating in standby server 130 shown in FIG. 1.Such as Fig. 3 institute Show, which may include:
Step 301, before active-standby switch, the m business processing request that client is sent is received, is cached at m business Reason request;The synchronous n status indicator responded for indicating corresponding business processing request of primary server is received, is delayed Deposit n status indicator;
Wherein, business processing request is that client is asked to the business processing that primary server and standby server are sent simultaneously It asks;n≤m.
Step 302, after active-standby switch, according to n status indicator of caching detect m business processing request in whether In the presence of the business processing request not responded;
Step 303, if testing result is to respond at the business detected in the presence of the business processing request not responded Reason request.
In conclusion service request response method provided in this embodiment, by the way that before active-standby switch, caching is received The business processing request that sends of client, and the primary server that receives it is synchronous for indicating corresponding business processing Request the status indicator responded;After active-standby switch, asked according to the business processing of the status indicator of caching detection caching With the presence or absence of the business processing request not responded in asking, if testing result is to request in the presence of the business processing not responded, The business processing not responded that then response detects is requested;Solves the business processing request that client is sent in the prior art The problem of possibly can not being responded;Even if it is not primary to have reached the business processing request that client is sent before active-standby switch Server response, but after active-standby switch, business processing request can be by the effect of standby server response.
Referring to FIG. 4, it illustrates the method flow diagram of service request response method provided by one embodiment of the present invention, The present embodiment is with the service request response method for illustrating in implementation environment shown in FIG. 1.As shown in Fig. 2, the industry Business request responding method may include:
Step 401, client sends business processing simultaneously and requests to primary server and standby server;
Step 402, primary server receives the business processing request that client is sent;
Wherein, business processing request is that client is asked to the business processing that primary server and standby server are sent simultaneously It asks.
Step 403, standby server receives the business processing request that client is sent, and caches the business processing received and asks It asks;
Step 404, primary server response business processing request;
Step 405, primary server setting is for indicating that business processing requests the status indicator responded;
Step 406, primary server synchronous regime is identified to standby server;
Status indicator is used to indicate standby server after active-standby switch according to each industry of status indicator detection caching With the presence or absence of the business processing request not responded in business processing request, if testing result is in the presence of at the business not responded Reason request then responds the business processing request not responded.
Step 407, standby server receives the synchronous status indicator of primary server, caches the status indicator received;
Step 408, after active-standby switch, standby server detects m business of caching according to n status indicator of caching With the presence or absence of the business processing request not responded in processing request;
Step 409, if the testing result of standby server is to respond inspection in the presence of the business processing request not responded The business processing request measured.
In conclusion service request response method provided in this embodiment, is sent at business simultaneously by using client To primary server and standby server, primary server responds business processing request for reason request, and setting indicates at the business The status indicator that reason request has been responded, synchronous regime are identified to standby server;What standby server cache client was sent Business processing request, and receive the synchronous status indicator of primary server;In this way after active-standby switch, standby server can be with Whether responded according to the business processing request of status indicator detection caching, if do not responded, has responded the business processing Request;Solve the problems, such as that the business processing request that client is sent in the prior art possibly can not be responded;Even if having reached The business processing request that client is sent before active-standby switch is not responded by primary server, but after active-standby switch, The effect that business processing request can be responded by standby server.
Referring to FIG. 5, the method flow diagram of the service request response method provided it illustrates yet another embodiment of the invention, The present embodiment is with the service request response method for illustrating in implementation environment shown in FIG. 1.As shown in figure 5, the industry Business request responding method include:
Step 501, client sends business processing simultaneously and requests to primary server and standby server;
When client needs to obtain service from server, client can send business processing simultaneously and request to primary Server and standby server.Wherein, client can be YY client, game client or instant messaging application program visitor Family end, the present embodiment is to this and without limitation.
In actual implementation, client can send business processing and request to service platform, forward the industry by service platform Business processing is requested to primary server and standby server.
For example, user can operate client when user wants the logging state of client being changed to presence The state change for the logging state of client to be revised as to presence is sent to request to service platform, it will by service platform State change request is forwarded to primary server and standby server.
Step 502, primary server receives the business processing request that client is sent;
Business processing request is the business processing request that client is sent to primary server and standby server simultaneously.
Step 503, standby server receives the business processing request that client is sent, and caches the business processing received and asks It asks;
Business processing request is the business processing request that client is sent to primary server and standby server simultaneously.
It should be noted that the present embodiment is for executing step 503 after first carrying out step 502, in practical realization When, it may also be performed simultaneously step 502 and step 503, alternatively, executing step 502, the present embodiment pair after first carrying out step 503 This and without limitation.
Step 504, primary server response business processing request;
After primary server receives the business processing request of client transmission, primary server can respond reception The business processing request arrived.For example, primary server can be by client when business processing request is state change request Logging state is revised as presence.
Step 505, primary server setting is for indicating that business processing requests the status indicator responded;
After primary server responds business processing request, primary server can request for the business processing It is arranged for indicating that the business processing requests the status indicator responded.The status indicator can be a flag bit such as ' 1 ', It is also possible to one section of presupposed information, the present embodiment is to this and without limitation.
Step 506, primary server obtains in the user information of client and requests related user information with business processing;
For the execution of subsequent step, primary server can also be obtained in the user information of client and be asked with business processing Seek related user information.Wherein, user information includes the login of the grade of client, the Task Progress of client and client At least one of state.
Related user information is requested to refer to the visitor after business processing request is responded with business processing in the present embodiment The information content may changed information in the user information at family end.For example, when business processing request is to request client When the status modifier at end is that the state of presence changes request, since state change request may change logging in for client State, so the current logged-on status of the available client of primary server such as ' online ', the logging state that will acquire Related user information is requested as with state change.
It should be noted that the present embodiment is for executing step 506 after first carrying out step 505, in practical realization When, primary server may also be performed simultaneously step 505 and step 506, or execute step 505 after first carrying out step 506, this Embodiment is to its practical execution sequence and without limitation.
Step 507, primary server synchronizes user information and status indicator to standby server;
After primary server gets user information and setting status indicator, primary server can synchronize user Information and status indicator are to standby server.
Step 508, standby server receives the synchronous status indicator of primary server and user information, caching receive Status indicator and user information;
Correspondingly, standby server can receive the synchronous status indicator of primary server and user information.And it is The execution of subsequent step, primary server can cache the status indicator received and user information.
First point for needing to illustrate is that in actual implementation, step 501 to step 508 can execute before step 509 Single;For example, issuing a business processing request in client, and primary server and standby server execute corresponding processing Later, active-standby switch occurs for primary server and standby server, then step 501 to step 508 can will only execute one at this time It is secondary.Step 501 can also be performed before step 509 repeatedly to step 508;For example, client is issuing multiple business processings It requests to primary server and standby server, and primary server and standby server perform after handling accordingly, it is main Active-standby switch is executed with server and standby server, then step 501 to step 508 can execute before step 509 at this time Repeatedly.
The case where second point for needing to illustrate is, executes single before step 509 for step 501 to step 508, A business processing request can be only cached when executing step 509, in standby server, and caches 0 or 1 status indicator. Wherein, standby server caching status indicator quantity and primary server whether to the business processing request responded with And whether primary server synchronizes and requests the status indicator of setting related for the business processing, the present embodiment does not limit this It is fixed.In the case of step 501 to step 508 executes multiple before step 509, when executing step 509, standby server In can cache at least two business processings request, and be cached with less than business processing request quantity status indicator.This That is m business processing request and n status indicator can be cached when executing step 509, in standby server.Its In, n≤m, m and n are positive integer.
Need to illustrate is thirdly that step 504 to step 508 is that optional step may not deposit in actual implementation ?.For example, when primary server receives the business processing request of client transmission and does not ring to business processing request also At once, primary server is collapsed, then step 504 to step 508 will not execute at this time.When primary server is in synchronous user When information and status indicator to standby server, if caused primary since collapse occurs for network delay or primary server Server sync user information and status indicator failure, then step 508 will not execute at this time.
Step 509, after active-standby switch, standby server detects m business of caching according to n status indicator of caching With the presence or absence of the business processing request not responded in processing request;
The Zookeeper in primary authority or system, which is actively surrendered, when primary server detects that primary server goes out When now abnormal, Zookeeper can control primary server and standby server carries out active-standby switch.
After active-standby switch, standby server can detect at m business of caching according to n status indicator of caching With the presence or absence of the business processing request not responded in reason request.
Specifically, each business processing for caching is requested, standby server, which can detecte, whether there is and the business Corresponding status indicator is requested in processing;If testing result is the presence of status indicator corresponding with business processing request, really Fixed business processing request is responded;And if testing result is that there is no state marks corresponding with business processing request Know, then standby server can determine that business processing request is not responded.
It should be noted that primary authority can be set in standby server after active-standby switch, and then identify this standby Primary server use is done with server, and the present embodiment is to this and without limitation.
Step 510, if the testing result of standby server is to respond inspection in the presence of the business processing request not responded The business processing request measured;
If the m business processing that the testing result of standby server is caching exists at the business not responded in requesting Reason request, then standby server can respond the business processing request detected at this time.
For example, after client sends state change request to primary server and standby server, primary server State change request is not responded before active-standby switch, alternatively, having responded to state change request but same Synchronization failure when walking corresponding status indicator to standby server, then standby server can detecte to obtain state change at this time Request is not responded, and hereafter standby server can respond state change request.
And if the testing result of standby server is that there is no the industry not responded in the m business processing request of caching Business processing request, then process terminates at this time, and details are not described herein for the present embodiment.
Step 511, it is requested in the user information of standby server acquisition client with the business processing detected related User information;
After standby server responds the business processing request not responded, for the execution of subsequent step, Related user information is requested with the business processing detected in the user information of the available client of standby server.
In actual implementation, the last receiving in the user information of the available caching of standby server and this The business processing of response requests the identical user information of information type of influenced user information.
For example, the business processing request not responded is state change request mentioned above, then due to standby server After responding state change request, the logging state of client can change, so standby server can obtain at this time Take in caching it is the last receive user information related with the logging state of client (such as client the state of transmission more Entered state before changing request is ' busy ', then standby server is available requests related user to believe to state change Breath is ' busy '), the user information that then will acquire requests related user's letter as the state change received with this Breath.
Step 512, result updates the user information got to standby server according to response.
After standby server gets the related user information of business processing request obtained with detection, standby server The user information got can be updated according to the response results requested business processing.
For example, the logging state that the user information that standby server is got is client is ' busy ', then active service For device after the logging state of client is changed to online by responsive state change request, standby server can be by client User information is changed to ' online '.
In conclusion service request response method provided in this embodiment, is sent at business simultaneously by using client To primary server and standby server, primary server responds business processing request for reason request, and setting indicates at the business The status indicator that reason request has been responded, synchronous regime are identified to standby server;What standby server cache client was sent Business processing request, and receive the synchronous status indicator of primary server;In this way after active-standby switch, standby server can be with Whether responded according to the business processing request of status indicator detection caching, if do not responded, has responded the business processing Request;Solve the problems, such as that the business processing request that client is sent in the prior art possibly can not be responded;Even if having reached The business processing request that client is sent before active-standby switch is not responded by primary server, but after active-standby switch, The effect that business processing request can be responded by standby server.
The present embodiment is after standby server responds the business processing request not responded, result according to response It updates and requests related user information to store in server after solving active-standby switch in the prior art with the business processing The practical inconsistent problem of corresponding user information of user information and client, reached the user that can guarantee in server Actually corresponding user information is synchronous with client for information, and then improves the effect of user experience.
First point for needing to illustrate is, after the business processing request that primary server response receives, primary service Device can also send the feedback information for notifying corresponding business processing request to be responded to client.
In actual implementation, for the execution of subsequent step, primary server can also send and carry message identification Feedback information is to client.
Wherein, message identification is uniquely corresponding to business processing request namely the same business processing requests corresponding feedback Message identification in information is identical, and different business processing requests the message identification in corresponding feedback information different.Message identification When being used to indicate the feedback information with identical information mark that the subsequently received standby server of client is sent, shield spare The feedback information that server is sent.
The second point for needing to illustrate is, in the business processing request response not responded that standby server obtains detection Later, in order to notify that the corresponding business processing request of client has been responded, standby server can send feedback information to visitor Family end.
In actual implementation, standby server, which can be sent, carries the feedback information of message identification to client.Wherein, Message identification is used to indicate client in the feedback information with identical information mark that primary server transmission has been received When, the feedback information of shielding standby server transmission;Message identification is uniquely corresponding to the business processing detected request, Ye Jitong One business processing requests the message identification in corresponding feedback information identical, and corresponding feedback information is requested in different business processing In message identification it is different.
In this way, client can detecte before after the feedback information that client receives standby server transmission Whether the feedback information that carries same identification information of primary server transmission is received, if testing result is received To the feedback information for carrying same identification information, then illustrate the business processing request after being responded by primary server again quilt Standby server duplicate responses, at this time in order to avoid feedback information bothers user, client can directly shield spare clothes The feedback information that business device is sent.
Referring to FIG. 6, it illustrates the structural block diagram of service request responding device provided by one embodiment of the present invention, The present embodiment is with the service request responding device for illustrating in primary server 120 shown in FIG. 1.As shown in fig. 6, The service request responding device may include: request receiving module 601, ask respond module 602,603 and of identify and arrange module Synchronizing information module 604;
Request receiving module 601, for receiving the business processing request of client transmission, business processing request is client The business processing request sent simultaneously to primary server and standby server;
Ask respond module 602, the business processing request received for respond request receiving module 601;
Identify and arrange module 603, for being arranged for indicating that business processing requests the status indicator responded;
Synchronizing information module 604, the status indicator being arranged for sync id setup module 603 is to standby server, shape State mark is used to indicate standby server and is requested after active-standby switch according to each business processing of status indicator detection caching In with the presence or absence of the business processing request not responded, if testing result be to request in the presence of the business processing that is not responded, Respond the business processing request not responded.
In conclusion service request responding device provided in this embodiment, by the business that customer in response end is sent After reason request, it is arranged for indicating that the business processing requests the status indicator that has been responded, synchronizes the status indicator to spare Server, status indicator are used to indicate standby server after active-standby switch according to each business of status indicator detection caching With the presence or absence of the business processing request not responded in processing request, if testing result is in the presence of the business processing not responded Request then responds the business processing request not responded;The business processing request for solving client transmission in the prior art can The problem of capable of can not being responded;Even if having reached the business processing that client is sent before active-standby switch to request not by primary clothes Business device response, but after active-standby switch, business processing request can be by the effect of standby server response.
Referring to FIG. 7, it illustrates another embodiment of the present invention provides service request responding device structural block diagram, The present embodiment is with the service request responding device for illustrating in primary server 120 shown in FIG. 1.As shown in fig. 7, The service request responding device may include: request receiving module 701, ask respond module 702,703 and of identify and arrange module Synchronizing information module 704;
Request receiving module 701, for receiving the business processing request of client transmission, business processing request is client The business processing request sent simultaneously to primary server and standby server;
Ask respond module 702, the business processing request received for respond request receiving module 701;
Identify and arrange module 703, for being arranged for indicating that business processing requests the status indicator responded;
Synchronizing information module 704, the status indicator being arranged for sync id setup module 703 is to standby server, shape State mark is used to indicate standby server and is requested after active-standby switch according to each business processing of status indicator detection caching In with the presence or absence of the business processing request not responded, if testing result be to request in the presence of the business processing that is not responded, Respond the business processing request not responded.
Optionally, device further include:
User profile acquisition module 705 requests related use with business processing in the user information for obtaining client Family information, user information include at least one in the logging state of the grade of client, the Task Progress of client and client Kind;
Synchronizing information module 704, for synchronizing user information and status indicator to standby server, user information is used for Standby server is indicated after response business processing request, result, which is updated, according to response requests related user with business processing Information.
Optionally, device further include:
Feedback information sending module 706 carries the feedback information of message identification to client, message identification for sending It is uniquely corresponding to business processing request, what message identification was used to indicate that the subsequently received standby server of client sends has phase With message identification feedback information when, shielding standby server send feedback information.
In conclusion service request responding device provided in this embodiment, by the business that customer in response end is sent After reason request, it is arranged for indicating that the business processing requests the status indicator that has been responded, synchronizes the status indicator to spare Server, status indicator are used to indicate standby server after active-standby switch according to each business of status indicator detection caching With the presence or absence of the business processing request not responded in processing request, if testing result is in the presence of the business processing not responded Request then responds the business processing request not responded;The business processing request for solving client transmission in the prior art can The problem of capable of can not being responded;Even if having reached the business processing that client is sent before active-standby switch to request not by primary clothes Business device response, but after active-standby switch, business processing request can be by the effect of standby server response.
The present embodiment is after standby server responds the business processing request not responded, result according to response It updates and requests related user information to store in server after solving active-standby switch in the prior art with the business processing The practical inconsistent problem of corresponding user information of user information and client, reached the user that can guarantee in server Actually corresponding user information is synchronous with client for information, and then improves the effect of user experience.
Referring to FIG. 8, the structural block diagram of the service request responding device provided it illustrates yet another embodiment of the invention, The present embodiment is with the service request responding device for illustrating in standby server 130 shown in FIG. 1.As shown in figure 8, The service request responding device may include: request receiving module 801, request receiver module 802, information receiving module 803, mark Know cache module 804, request detection module 805 and ask respond module 806.
Request receiving module 801, the m business processing request sent for before active-standby switch, receiving client;
Request receiver module 802, the m business processing received for cache request receiver module 801 is requested, at business Reason request is the business processing request that client is sent to primary server and standby server simultaneously;
Information receiving module 803, for before active-standby switch, what reception primary server synchronized to be used to indicate corresponding Business processing requests the n status indicator responded;
Mark cache module 804, for the n status indicator that cashing indication receiver module 803 receives, n≤m;
Request detection module 805, for being detected at m business according to n status indicator of caching after active-standby switch With the presence or absence of the business processing request not responded in reason request;
Ask respond module 806, for being in the presence of at the business not responded in the testing result of request detection module 805 When reason request, the business processing request detected is responded.
In conclusion service request responding device provided in this embodiment, by the way that before active-standby switch, caching is received The business processing request that sends of client, and the primary server that receives it is synchronous for indicating corresponding business processing Request the status indicator responded;After active-standby switch, asked according to the business processing of the status indicator of caching detection caching With the presence or absence of the business processing request not responded in asking, if testing result is to request in the presence of the business processing not responded, The business processing not responded that then response detects is requested;Solves the business processing request that client is sent in the prior art The problem of possibly can not being responded;Even if it is not primary to have reached the business processing request that client is sent before active-standby switch Server response, but after active-standby switch, business processing request can be by the effect of standby server response.
Referring to FIG. 9, the structural block diagram of the service request responding device provided it illustrates yet another embodiment of the invention, The present embodiment is with the service request responding device for illustrating in standby server 130 shown in FIG. 1.As shown in figure 9, The service request responding device may include: request receiving module 901, request receiver module 902, information receiving module 903, mark Know cache module 904, request detection module 905 and ask respond module 906.
Request receiving module 901, the m business processing request sent for before active-standby switch, receiving client;
Request receiver module 902, the m business processing received for cache request receiver module 901 is requested, at business Reason request is the business processing request that client is sent to primary server and standby server simultaneously;
Information receiving module 903, for before active-standby switch, what reception primary server synchronized to be used to indicate corresponding Business processing requests the n status indicator responded;
Mark cache module 904, for the n status indicator that cashing indication receiver module 903 receives, n≤m;
Request detection module 905, for being detected at m business according to n status indicator of caching after active-standby switch With the presence or absence of the business processing request not responded in reason request;
Ask respond module 906, for being in the presence of at the business not responded in the testing result of request detection module 905 When reason request, the business processing request detected is responded.
Optionally, information receiving module 903, for receive n synchronous status indicator of primary server and with it is corresponding Business processing request related user information, user information includes the grade of client, the Task Progress of client and client At least one of the logging state at end;
Device further include:
User profile acquisition module 907 is requested with the business processing detected in the user information for obtaining client Related user information;
User information update module 908 updates the use that User profile acquisition module 907 is got for result according to response Family information.
Optionally, device further include:
Feedback information sending module 909 carries the feedback information of message identification to client, message identification for sending Client is used to indicate in the feedback information with identical information mark that primary server transmission has been received, is shielded standby The feedback information sent with server, message identification are uniquely corresponding to the business processing detected request.
In conclusion service request responding device provided in this embodiment, by the way that before active-standby switch, caching is received The business processing request that sends of client, and the primary server that receives it is synchronous for indicating corresponding business processing Request the status indicator responded;After active-standby switch, asked according to the business processing of the status indicator of caching detection caching With the presence or absence of the business processing request not responded in asking, if testing result is to request in the presence of the business processing not responded, The business processing not responded that then response detects is requested;Solves the business processing request that client is sent in the prior art The problem of possibly can not being responded;Even if it is not primary to have reached the business processing request that client is sent before active-standby switch Server response, but after active-standby switch, business processing request can be by the effect of standby server response.
The present embodiment is after standby server responds the business processing request not responded, result according to response It updates and requests related user information to store in server after solving active-standby switch in the prior art with the business processing The practical inconsistent problem of corresponding user information of user information and client, reached the user that can guarantee in server Actually corresponding user information is synchronous with client for information, and then improves the effect of user experience.
It should be noted that by Fig. 6 or service request responding device shown in Fig. 7 and Fig. 8 or industry shown in Fig. 9 Business request responding device may be constructed a service request response system, the skill of the various pieces in the service request response system The corresponding embodiment of art detail with reference, details are not described herein for the present embodiment.
It should be understood that service request responding device provided by the above embodiment is when responding service request, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, service request responding device provided by the above embodiment and the method for service request response method are implemented Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Referring to FIG. 10, it illustrates the structural schematic diagrams of server provided by one embodiment of the present invention.The service Device 1000 can be primary server 120 shown in FIG. 1 or standby server 130, and the server 1000 includes centre Unit (CPU) 1001, the memory 1004 including random access memory (RAM) 1002 and read-only memory (ROM) 1003 are managed, And the system bus 1005 of connection memory 1004 and central processing unit 1001.
According to various embodiments of the present invention, the server 1000 can also be arrived by network connections such as internets Remote computer operation on network.Namely server 1000 can be connect by the network being connected on the system bus 1005 Mouth unit 1006 is connected to network 1007, in other words, it is other kinds of to be connected to that Network Interface Unit 1006 also can be used Network or remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in In memory, the one or more programs include for carrying out service request responder provided in an embodiment of the present invention The instruction of method.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (5)

1. a kind of service request response method, which is characterized in that in primary server, which comprises
The business processing request that client is sent is received, the business processing request is that the client is needing to obtain service When, while the business processing request sent to the primary server and standby server;
Respond the business processing request;
After to business processing request response, it is arranged for indicating that the business processing requests the state mark responded Know, the status indicator is a flag bit either one section of presupposed information;
The status indicator is synchronized to the standby server, the status indicator is used to indicate the standby server active and standby It whether there is in the m business processing request cached after switching according to the n of the caching status indicator detections and do not responded Business processing request, if testing result be not responded described in response in the presence of the business processing request not responded Business processing request, n≤m, m and n are positive integer;
After the response business processing request, the method also includes: send the feedback information for carrying message identification To the client, the message identification is uniquely corresponding to the business processing request, and the message identification is used to indicate described When the feedback information with identical information mark that the subsequently received standby server of client is sent, shield described spare The feedback information that server is sent;
It is described synchronize the status indicator to the standby server before, the method also includes: obtain the client User information in the business processing request related user information, the user information include the client etc. At least one of grade, the Task Progress of the client and logging state of the client, the described and business processing Related user information is requested to refer to that the information content may in the client after business processing request is responded Changed information;
It is described to synchronize the status indicator to the standby server, comprising: to synchronize the user information and the n state To the standby server, the user information is used to indicate the standby server and is responding the business processing request mark Later, result updates the related user information with business processing request according to response.
2. a kind of service request response method, which is characterized in that in standby server, which comprises
Before active-standby switch, the m business processing request that client is sent is received, the m business processing request, institute are cached Stating business processing request is the business processing request that the client is sent to primary server and the standby server simultaneously; Receive the synchronous n status indicator responded for indicating corresponding business processing request of the primary server, caching The n status indicator, n≤m;Wherein, the status indicator is a flag bit either one section of presupposed information;
After active-standby switch, being detected in the m business processing request according to the n status indicator of caching whether there is The business processing request not responded;
If testing result is to respond the business processing request detected in the presence of the business processing request not responded;
After the business processing request that the response detects, the method also includes: transmission carries message identification To the client, the message identification is used to indicate the client and the primary server is having been received feedback information When the feedback information with identical information mark sent, the feedback information that the standby server is sent is shielded, it is described Message identification is uniquely corresponding to the business processing detected request;
It is described to receive the synchronous n state mark responded for indicating corresponding business processing request of the primary server Know, comprising: receive the synchronous n status indicator of the primary server and requested with corresponding business processing related User information, the user information include the grade of the client, the Task Progress of the client and the client At least one of logging state, it is described to request related user information to refer in the business processing with corresponding business processing The information content may changed information in the client after request is responded;
After the business processing request for responding and detecting, the method also includes: obtain the use of the client Related user information is requested with the business processing detected in the information of family;Result update is got described according to response User information.
3. a kind of service request responding device, which is characterized in that in primary server, described device to include:
Request receiving module, for receiving the business processing request of client transmission, the business processing request is the client End is when needing to obtain service, while the business processing request sent to the primary server and standby server;
Ask respond module, the business processing request received for responding the request receiving module;
Identify and arrange module, for after the ask respond module is to business processing request response, setting to be used for table Show that the business processing requests the status indicator responded, the status indicator is a flag bit either one section of default letter Breath;
Synchronizing information module, for synchronizing the status indicator of identify and arrange module setting to the standby server, The status indicator is used to indicate the standby server and is detected after active-standby switch according to the n of the caching status indicators Caching m business processing request in the presence or absence of do not responded business processing request, if testing result be exist not by The business processing of response is requested, then the response business processing request not responded, and n≤m, m and n are positive integer;
Described device further include: Feedback information sending module carries the feedback information of message identification to the visitor for sending Family end, the message identification is uniquely corresponding to the business processing request, after the message identification is used to indicate the client When continued access receives the feedback information with identical information mark that the standby server is sent, the standby server hair is shielded The feedback information sent;
User profile acquisition module requests related use with the business processing in the user information for obtaining the client Family information, the user information include grade, the Task Progress of the client and the stepping on for the client of the client At least one of record state, it is described to request related user information to refer in business processing request with the business processing The information content may changed information in the client after being responded;
The synchronizing information module, for synchronizing the user information and the n status indicator to the standby server, The user information is used to indicate the standby server after responding the business processing request, and result updates according to response Related user information is requested with the business processing.
4. a kind of service request responding device, which is characterized in that in standby server, described device to include:
Request receiving module, the m business processing request sent for before active-standby switch, receiving client;
Request receiver module, the m business processing request received for caching the request receiving module, the business Processing request is the business processing request that the client is sent to primary server and the standby server simultaneously;
Information receiving module, for before active-standby switch, receive the primary server it is synchronous for indicating corresponding industry The n status indicator that business processing request has been responded;
Mark cache module, the n status indicator received for caching the mark receiving module, n≤m;Wherein, institute Stating status indicator is a flag bit either one section of presupposed information;
Request detection module, for detecting the m business according to the n status indicator of caching after active-standby switch With the presence or absence of the business processing request not responded in processing request;
Ask respond module is in the presence of the business processing request not responded for the testing result in the request detection module When, respond the business processing request detected;
Described device further include: Feedback information sending module carries the feedback information of message identification to the visitor for sending Family end, the message identification, which is used to indicate the client, has identical letter have been received that the primary server sends When ceasing the feedback information of mark, the feedback information that the standby server is sent is shielded, the message identification uniquely corresponds to In the business processing request detected;
The information receiving module, for receive the synchronous n status indicator of the primary server and with it is corresponding Business processing requests related user information, and the user information includes the grade of the client, the task of the client At least one of progress and the logging state of the client, it is described to request related user information with corresponding business processing Refer to that the information content may changed information in the client after business processing request is responded;
Described device further include:
User profile acquisition module is requested with the business processing detected in the user information for obtaining the client Related user information;
User information cache module updates the user that the User profile acquisition module is got for result according to response Information.
5. a kind of service request response system, which is characterized in that it includes service request responding device as claimed in claim 3 And service request responding device as claimed in claim 4.
CN201410525181.XA 2014-10-08 2014-10-08 Service request response method, device and system Active CN104301140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410525181.XA CN104301140B (en) 2014-10-08 2014-10-08 Service request response method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410525181.XA CN104301140B (en) 2014-10-08 2014-10-08 Service request response method, device and system

Publications (2)

Publication Number Publication Date
CN104301140A CN104301140A (en) 2015-01-21
CN104301140B true CN104301140B (en) 2019-07-30

Family

ID=52320719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410525181.XA Active CN104301140B (en) 2014-10-08 2014-10-08 Service request response method, device and system

Country Status (1)

Country Link
CN (1) CN104301140B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099793B (en) 2015-09-24 2019-02-05 华为技术有限公司 Hot standby method, device and system
CN105578248B (en) * 2015-12-30 2020-07-31 Tcl新技术(惠州)有限公司 Fancy splicing playing method, device and system
CN106959887B (en) * 2017-02-16 2021-05-25 上海瀚银信息技术有限公司 Business process cooperation system and method of distributed program
CN111343056B (en) * 2018-12-19 2021-08-31 美的集团股份有限公司 Communication method, storage medium, equipment, receiving terminal and sending terminal
CN109756399A (en) * 2019-02-18 2019-05-14 新华三技术有限公司 A kind of BFD session maintaining method and distributed apparatus
CN111222109B (en) * 2019-11-21 2025-08-26 腾讯科技(深圳)有限公司 A blockchain account operation method, node device and storage medium
CN112054923B (en) * 2020-08-24 2023-08-18 腾讯科技(深圳)有限公司 Service request detection method, equipment and medium
CN112188245B (en) * 2020-09-30 2022-07-12 武汉中科通达高新技术股份有限公司 Front-end camera real-time video-on-demand method and device and electronic equipment
CN112188244B (en) * 2020-09-30 2022-07-12 武汉中科通达高新技术股份有限公司 Front-end camera real-time video-on-demand method and device and electronic equipment
CN112188243B (en) * 2020-09-30 2022-07-12 武汉中科通达高新技术股份有限公司 Front-end camera real-time video-on-demand method and device and electronic equipment
CN112188242B (en) * 2020-09-30 2022-07-12 武汉中科通达高新技术股份有限公司 Front-end camera real-time video-on-demand method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265556A (en) * 2011-05-31 2011-11-30 华为技术有限公司 Active-standby switchover method between communication devices, communication device and system, and service requesting device
CN102868560A (en) * 2012-09-28 2013-01-09 南京恩瑞特实业有限公司 System and method for realizing hot standby of servers
CN103501290A (en) * 2013-09-18 2014-01-08 万达信息股份有限公司 High-reliability service system establishment method based on dynamic-backup virtual machines
CN103596208A (en) * 2013-11-15 2014-02-19 大唐移动通信设备有限公司 Method and system for judging fault of network element

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171190B2 (en) * 2003-06-25 2007-01-30 Oracle International Corporation Intelligent messaging
CN102255716B (en) * 2010-05-20 2015-12-16 中兴通讯股份有限公司 A kind of method and system of the backup between equipment to protocol status
US20120124431A1 (en) * 2010-11-17 2012-05-17 Alcatel-Lucent Usa Inc. Method and system for client recovery strategy in a redundant server configuration
CN103078748B (en) * 2013-01-11 2015-08-19 华为技术有限公司 Double machine switching method in charge system and relevant device, system
CN103560922A (en) * 2013-11-18 2014-02-05 北京特立信电子技术股份有限公司 Disaster recovery method and system
CN103825777A (en) * 2014-02-14 2014-05-28 杭州华三通信技术有限公司 DMZ server switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265556A (en) * 2011-05-31 2011-11-30 华为技术有限公司 Active-standby switchover method between communication devices, communication device and system, and service requesting device
CN102868560A (en) * 2012-09-28 2013-01-09 南京恩瑞特实业有限公司 System and method for realizing hot standby of servers
CN103501290A (en) * 2013-09-18 2014-01-08 万达信息股份有限公司 High-reliability service system establishment method based on dynamic-backup virtual machines
CN103596208A (en) * 2013-11-15 2014-02-19 大唐移动通信设备有限公司 Method and system for judging fault of network element

Also Published As

Publication number Publication date
CN104301140A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN104301140B (en) Service request response method, device and system
CN104104707B (en) Webpage data update method, terminal, cache server and system
CN107483572A (en) The dispositions method and device of a kind of server
CN108234207B (en) Fault positioning method and device based on Content Delivery Network (CDN)
US10795744B2 (en) Identifying failed customer experience in distributed computer systems
CN109787827B (en) CDN network monitoring method and device
CN107404540B (en) Data synchronization method and device
US9104565B2 (en) Fault tracing system and method for remote maintenance
US20200204624A1 (en) Data processing system, method and apparatus
CN110166800A (en) Video returns source method, system, device and computer readable storage medium
US20140075046A1 (en) Information management method and device
CN104954474B (en) The method and device that data update in load balancing
CN109495530A (en) A kind of real time traffic data transmission method, transmitting device and Transmission system
CN112671813B (en) Server determination method, device, equipment and storage medium
CN107592199A (en) A kind of method and system of data syn-chronization
CN108243208A (en) A kind of method of data synchronization and device
EP2896187A1 (en) Information management method and device
CN104702439A (en) Network node monitoring method and device
CN110049522B (en) Working mode switching method and device and storage medium
CN112040564B (en) Information transmission method, readable storage medium and electronic device
CN109639480B (en) System and method for reporting data
JP6513001B2 (en) Failure detection device, failure detection method, and program
CN113890850B (en) Route disaster recovery system and method
JP2016072668A (en) Influence range identification device, influence range identification method, and program
CN104714868A (en) Distributed computer automatic dial testing 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant