CN110209556A - Disaster tolerance test method, method of payment, device, medium and service equipment - Google Patents

Disaster tolerance test method, method of payment, device, medium and service equipment Download PDF

Info

Publication number
CN110209556A
CN110209556A CN201810301547.3A CN201810301547A CN110209556A CN 110209556 A CN110209556 A CN 110209556A CN 201810301547 A CN201810301547 A CN 201810301547A CN 110209556 A CN110209556 A CN 110209556A
Authority
CN
China
Prior art keywords
device clusters
disaster tolerance
case
set1
test
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
CN201810301547.3A
Other languages
Chinese (zh)
Other versions
CN110209556B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810301547.3A priority Critical patent/CN110209556B/en
Publication of CN110209556A publication Critical patent/CN110209556A/en
Application granted granted Critical
Publication of CN110209556B publication Critical patent/CN110209556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/386Payment protocols; Details thereof using messaging services or messaging apps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3495Performance evaluation by tracing or monitoring for systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3223Realising banking transactions through M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Hardware Redundancy (AREA)

Abstract

The embodiment of the invention discloses a kind of disaster tolerance test method, method of payment, device, medium and service equipment, method includes: to obtain the associated data of first device clusters, and the associated data includes IP data, business datum and database information;First device clusters are isolated according to the associated data, and generate target detection use-case;It triggers the second device clusters execution target detection use-case and obtains disaster tolerance test result, it can automate, intelligent realize tests to guarantee disaster tolerance performance of the disaster tolerance system in business processing service process the disaster tolerance of disaster tolerance system, testing efficiency is higher, and practicability is high.

Description

Disaster tolerance test method, method of payment, device, medium and service equipment
Technical field
The present invention relates to field of computer technology more particularly to a kind of disaster tolerance test methods, a kind of disaster tolerance test device, one Kind method of payment, a kind of payment mechanism, a kind of computer storage medium and a kind of service equipment.
Background technique
With the industry in the increasingly developed and each field (such as e-commerce field, financial transaction field) of computer technology Business type becomes increasingly abundant, and the requirement of real-time of business processing is higher and higher, such as: internet usually requires to carry out real when doing shopping Shi Zhifu, this requires service systems to be capable of providing the processing service of real-time payment transaction, this process performance to service system It is more demanding.In practical application, in order to solve performance issue, guarantee that the real-time of business processing, service system generally use tool The disaster tolerance system of standby disaster tolerance function;Disaster tolerance system refers to by identical two (or multiple) IT (Information of function Technology, information technology) system that is constituted of system, the system that the two (or multiple) IT systems are known as mutually equity, Working condition monitoring and function switch can be carried out between two (or multiple) IT systems, when one of IT system is due to certain When factor (such as artificial, fire, earthquake) influences to break down and stop working, the service switching of failure IT system can be arrived Another reciprocity IT system therewith is executed the business of failure IT system, by the IT system of equity in order to provide continual Business processing service.As it can be seen that how to guarantee disaster tolerance performance of disaster tolerance system during business processing service is provided, that is, How to carry out disaster tolerance test to disaster tolerance system with the disaster tolerance performance for guaranteeing disaster tolerance system is a urgent problem to be solved.
Summary of the invention
The embodiment of the present invention provides a kind of disaster tolerance test method, method of payment, device, medium and service equipment, can be automatic Change, intelligence carry out disaster tolerance to disaster tolerance system and test to guarantee disaster tolerance performance of the disaster tolerance system in business processing service process, Testing efficiency is higher, and practicability is high.
On the one hand, the embodiment of the invention provides a kind of disaster tolerance test methods, are applied to disaster tolerance system, the disaster tolerance system Including at least the first device clusters, and the second opposite with first device clusters etc. device clusters, this method comprises:
The associated data of first device clusters is obtained, the associated data includes IP data, business datum and data Library information;
First device clusters are isolated according to the associated data, and generate target detection use-case;
It triggers the second device clusters execution target detection use-case and obtains disaster tolerance test result.
On the one hand, the embodiment of the invention provides a kind of methods of payment, are applied to disaster tolerance system, the disaster tolerance system is at least Including the first device clusters, the second device clusters corresponding with first device clusters;The disaster tolerance system uses first Disaster tolerance test method described in aspect is tested and is tested and passed through;The method of payment includes:
Payment request is received, the payment request carries the mark of first device clusters;
If first device clusters break down, the second device clusters of Xiang Suoshu forward the payment request;
It triggers second device clusters and responds the payment request.
On the one hand, the embodiment of the invention provides a kind of disaster tolerance test device, which includes:
Module is obtained, for obtaining the associated data of the first device clusters, the associated data includes IP data, business number According to and database information;
Isolation module for first device clusters to be isolated according to the associated data, and generates target survey Example on probation;
Trigger module obtains disaster tolerance test result for triggering the second device clusters execution target detection use-case.
On the one hand, the embodiment of the invention provides a kind of payment mechanisms, are applied to disaster tolerance system, the disaster tolerance system is at least Including the first device clusters, the second device clusters corresponding with first device clusters;It is characterized in that, the disaster tolerance system System, which is tested and tested using disaster tolerance test method described above, to be passed through;The payment mechanism includes:
Receiving module, for receiving payment request, the payment request carries the mark of first device clusters;
Forwarding module, if breaking down for first device clusters, the second device clusters of Xiang Suoshu forward the branch Pay request;
Trigger module responds the payment request for triggering second device clusters.
On the one hand, the embodiment of the present invention provides a kind of computer storage medium, and the computer storage medium is stored with one Item or one or more first instruction, described one or one or more first instruction be suitable for load by processor and execute disaster tolerance test Method, the disaster tolerance test method be applied to disaster tolerance system, the disaster tolerance system include at least the first device clusters, and with it is described The second relatively equal device clusters of first device clusters;The disaster tolerance test method includes:
The associated data of first device clusters is obtained, the associated data includes IP data, business datum and data Library information;
First device clusters are isolated according to the associated data, and generate target detection use-case;
It triggers the second device clusters execution target detection use-case and obtains disaster tolerance test result;
Alternatively, the computer storage medium be stored with one or one or more second instruction, described one or one with Upper second instruction is suitable for being loaded by processor and being executed method of payment, and the method for payment is applied to disaster tolerance system, the disaster tolerance System includes at least the first device clusters, the second device clusters waited opposite with first device clusters;The disaster tolerance system It is tested by disaster tolerance;The method of payment includes:
Payment request is received, the payment request carries the mark of first device clusters;
If first device clusters break down, the second device clusters of Xiang Suoshu forward the payment request;
It triggers second device clusters and responds the payment request.
On the one hand, the embodiment of the invention provides a kind of service equipment, which includes:
Processor is adapted for carrying out one or one or more instruction;And
Computer storage medium, the computer storage medium be stored with one or one or more first instruction, described one Item or one or more first instruction are suitable for being loaded by processor and being executed disaster tolerance test method, and the disaster tolerance test method is applied to Disaster tolerance system, the disaster tolerance system include at least the first device clusters, and opposite with first device clusters etc. second sets Standby cluster;The disaster tolerance test method includes:
The associated data of first device clusters is obtained, the associated data includes IP data, business datum and data Library information;
First device clusters are isolated according to the associated data, and generate target detection use-case;
It triggers the second device clusters execution target detection use-case and obtains disaster tolerance test result;
Alternatively, the computer storage medium be stored with one or one or more second instruction, described one or one with Upper second instruction is suitable for being loaded by processor and being executed method of payment, and the method for payment is applied to disaster tolerance system, the disaster tolerance System includes at least the first device clusters, the second device clusters waited opposite with first device clusters;The disaster tolerance system It is tested by disaster tolerance;The method of payment includes:
Payment request is received, the payment request carries the mark of first device clusters;
If first device clusters break down, the second device clusters of Xiang Suoshu forward the payment request;
It triggers second device clusters and responds the payment request.
The disaster tolerance system of the embodiment of the present invention includes at least the first device clusters and opposite with the first device clusters etc. the Two device clusters can automatically generate target detection use-case according to the associated data of the first device clusters, and the first equipment collection is isolated Group and by with the second device clusters performance objective test case, obtain disaster tolerance test result, this disaster tolerance test process embodies When the first device clusters can not work normally after by service switching to the second device clusters, can the second device clusters normally be held Row business processing, and then reflect whether disaster tolerance system has preferable disaster tolerance performance, this disaster tolerance test process is without artificial ginseng With can automate, intelligent realize tests the disaster tolerance of disaster tolerance system, testing efficiency is higher, and practicability is high.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of configuration diagram of disaster tolerance system provided by the invention;
Fig. 2 is a kind of flow diagram of disaster tolerance test method provided by the invention;
Fig. 3 is a kind of flow diagram of disaster tolerance test method provided by the invention;
Fig. 4 is a kind of flow diagram of disaster tolerance test method provided by the invention;
Fig. 5 is a kind of configuration diagram for paying application scenarios provided by the invention;
Fig. 6 is a kind of flow diagram of method of payment provided by the invention;
Fig. 7 is a kind of structural schematic diagram of disaster tolerance test device provided by the invention;
Fig. 8 is a kind of structural schematic diagram of payment mechanism provided by the invention;
Fig. 9 is a kind of structural schematic diagram of service equipment provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The relevant technologies of the embodiment of the present invention are mentioned, and disaster tolerance system refers to by identical two (or multiple) IT systems of function The system constituted, the two (or multiple) IT systems are known as mutually reciprocity system, can between two (or multiple) IT systems To carry out working condition monitoring and function switch, when one of IT system is due to certain factors (such as artificial, fire, earthquake) It, can be by the service switching of failure IT system to another reciprocity therewith IT system when influence breaks down and stops working System is executed the business of failure IT system, by the IT system of equity in order to provide continual business processing service.Currently, disaster tolerance System generally includes multiple equipment cluster (hereinafter referred to as set), i.e., disaster tolerance system is usually the disaster tolerance after set (device clusters) are changed System, the disaster tolerance system after setization can effectively promote disaster tolerance performance.
One single independent disaster tolerance system is exactly divided into the system collectively formed by multiple set by so-called setization, Each set can be disposed independently of each other on hardware and software, also, each set is logically independent from each other, and respectively be had Standby independent function.Wherein, each set includes one or more electronic equipments, and the one or more electronic equipment is realized jointly The function of one IT system, set provide business processing service by one or more electronic equipments that it includes.
Disaster tolerance system shown in Figure 1, the disaster tolerance system are divided into 12 set, respectively set1, set2 ... set12.Each set is each provided with independent traffic handing capacity, such as: set1 in Fig. 1 be used to belong to for coding of accounts [0, 1000] user group provides business processing service, and the user group that set2 is used to belong to for coding of accounts [1001,2000] provides industry Business processing service;Etc..
In order to provide business processing service for larger range of user, each set in disaster tolerance system can be setting In different regional scopes, the set1~set6 of example as shown in figure 1 can be deployed in the city A (such as Shenzhen) where regional scope, Set7~set12 can be deployed in the city B (such as Shanghai) where regional scope.So, each within the scope of the same area Mutually it is known as with city set between set, such as: mutually it is known as with city set between any set in set1 and set2-set6;For another example: set7 Mutually it is known as with city set between set any in set8-set12.It corresponds to, between each set of different zones range mutually Referred to as across city set, such as: any set is mutually known as across city set in set1 and set7-set12;For another example: set7 and set1-set6 In any set mutually be known as across city set.
It can be each set configuration equal one or more set corresponding thereto to realize disaster tolerance, two set are relatively etc. Two set have identical service processing function, such as: if set2 is the reciprocity set of set1, set2 is in addition to having oneself solely Except vertical service processing function, it is also provided simultaneously with the service processing function of set1, if set1 can not because of failure or other reasons When normal work, the business of set1 can be switched on set2, by set2 on behalf of the business for executing set1;If set1 is simultaneously For the reciprocity set of set2, i.e. set1 and set2 equity set each other, then set1 is in addition to having oneself independent business processing function Except energy, it is also provided simultaneously with the service processing function of set2;If set2 can not work normally because of failure or other reasons, set2 Business can be switched on set1, by set1 on behalf of execute set2 business.It is divided according to regional scope, reciprocity set can divide For same city equity set and across city equity set.Referring to Fig. 1, if set2 and set11 are the reciprocity set of set1, due to set1 with Set2 belongs to the same area range, then set2 is known as the same city equity set of set1;Since set11 and set1 belong to different zones Range, then set11 is known as across the city equity set of set1.It, can be quick in order to improve the efficiency of disaster tolerance when set1 breaks down Ground by the service switching of set1 to it on city equity set (i.e. set2), this handoff procedure is known as switching with city.In certain feelings The network paralysis of regional scope under condition, such as where set1, all set in the regional scope can not work;At this time Set1 breaks down with it with city equity set (i.e. set2) simultaneously, in order to provide the user with continual business processing service, needs By on across the city equity set (i.e. set11) of the service switching of set1 to set1, certainly synchronously, it is also necessary to by the industry of set2 Business is switched on across the city equity set of set2, this handoff procedure is known as across city switching.Further, restore failure to set1 Afterwards, it is also necessary to the business of set1 be switched back into set1 from reciprocity set (with city equity set2 or across city equity set11) and held Row causes lasting processing load to avoid to equity set, this handoff procedure is known as switchback.
It is above-mentioned it is found that the superiority-inferiority of the disaster tolerance performance of a disaster tolerance system is determined by three indexs, this three fingers Mark is respectively as follows: same city performance of handoffs, across city performance of handoffs and switchback performance;Therefore, to the disaster tolerance performance of a disaster tolerance system It is tested also accordingly comprising the test content of three parts, is respectively as follows: same city switch test, across city switch test and switchback and surveys Examination.Wherein, the process with city switch test generally comprises: simulate first some set (being assumed to be set1) generate failure (such as will The network connection for disconnecting set1 is added to firewall in the IP data of set1, or closes the working power of set1), assume simultaneously The same city equity set2 of set1 can be worked normally;The associated data for obtaining failure set1 again generates target detection use-case;Finally Triggering executes the target detection use-case with city equity set2 and disaster tolerance test result can be obtained;If disaster tolerance test result is to pass through, Show normally execute the business of set1 with city equity set2 when set1 breaks down, disaster tolerance system has with city disaster tolerance Function;Conversely, show if disaster tolerance test result is not pass through when set1 breaks down, it can not generation with city equity set2 Business processing is executed for set1, disaster tolerance system does not have same city disaster tolerance function.
Wherein, the process across city switch test generally comprises: simulating some set (being assumed to be set1) first and generates failure (such as the IP data of set1 being added to firewall to the network connection for disconnecting set1, or close the working power of set1), Assume the same city equity set2 of set1 simultaneously while breaking down, and across city equity set11 can be worked normally;Failure is obtained again The associated data of set1 generates target detection use-case;Across the city equity set11 of last triggering executes the target detection use-case and can obtain To disaster tolerance test result;If disaster tolerance test result is to pass through, show that across city equity set11 can be just when set1 breaks down The business of set1 is often executed, disaster tolerance system has the function of across city disaster tolerance;Conversely, showing if disaster tolerance test result is not pass through When set1 breaks down, across city equity set11 can not replace set1 to execute business processing, and disaster tolerance system does not have across city appearance Calamity function.
Wherein, switchback test process generally comprise: first simulation set1 restore failure (such as by the IP data of set1 from The network connection for restoring set1 is deleted in firewall, or reopens the working power of set1);The incidence number of set1 is obtained again According to generation target detection use-case;Finally performance objective test case obtains switchback test result on set1;If switchback test knot Fruit is to pass through, and is shown after the fault recovery of set1, and the business of set1 can succeed in switchback to set1 and can be successfully executed, Disaster tolerance system has the function of switchback;Conversely, showing after the fault recovery of set1, set1 if disaster tolerance test result is not pass through Business can not succeed in switchback to set1 or can not be successfully executed, disaster tolerance system do not have switchback function.
By above-mentioned test process it is found that carrying out needing to use using target detection in disaster tolerance test process to disaster tolerance system Example, target detection use-case is generated by the associated data of failure set.In the embodiment of the present invention, it can write in advance a set of General business automation use-case, and by the required parameter variable design of the business automation use-case, generating target detection use-case When, it is only necessary to it is passed in the automation use-case using the associated data of related failure set as the variable of required parameter Target detection use-case is generated, business automation use-case can be write respectively in this way to avoid for each set, it is automatic to reduce business That changes use-case writes task amount, and the test to set each in disaster tolerance system can be thus achieved by a set of business automation use-case, Testing efficiency is high, practical.Wherein, the associated data of set may include IP (Internet Protocol, between network mutually Agreement even) data, business datum and database information can also include the mark etc. of set.The mark of set can refer to this Number, title or MAC (Media Access Control, media access control) address of set etc..
Wherein, IP data can refer to the set of the IP address of each electronic equipment in set, be also possible to use in the set In the IP address for the electronic equipment for exchanging data with external set.Business datum, which can refer to, provides business processing service by set Related data, it may include but be not limited to: business service forms data, affiliated range of coding of accounts of the user group serviced etc.. The corresponding database of one set, such as: set1 correspondence database one, set2 correspondence database two.Database information can wrap The title of database and/or the address of database etc. are included, the database of set can be used for storing the pre- of the test case of the set Phase result.
The associated data of each set in disaster tolerance system can be stored in the form of configuration file.With reciprocity each other Set1 and set2 for, if the associated data of set1 include the mark of set1, IP data be 123.456.7.8, coding of accounts The business datum for the user group for belonging to [0,1000], database name are known as k1, database address F1.The association of the set2 of storage Data include the mark of set, the business number that IP data are the user group that 123.456.7.9, coding of accounts belong to [1001,2000] It is known as k2, database address F2 according to, database name.Associated data table can be expressed as follows table one:
Table one: associated data table
Configuration file in the embodiment of the present invention also while storing other than the associated data (table one) for recording each set The peer-to-peer of each set, for details, reference can be made to following tables two:
Table two: peer-to-peer table
Set mark Affiliated regional scope With city equity set Across city equity set
set1 The city A set2 set11
set2 The city A set1 set12
It is understood that configuration file can store appearance by way of form document shown in above-mentioned table one and table two The associated data and peer-to-peer of each set in calamity system, in practical application, configuration file can also be expressed as other modes, example Such as text file, the present invention are not defined the expression way of configuration file.
In the embodiment of the present invention, the mark of failure set can be determined according to testing requirement when carrying out disaster tolerance test, herein Testing requirement includes error listing, includes the mark of failure set in error listing, such as: if it is intended to event occurs for test set1 The redundancy ability of system when barrier, then failure set is just set1, the mark of set1 is added into error listing;Similarly, if Want the redundancy ability of system when test set7 breaks down, then failure set is just set7, the mark of set7 is added into event Hinder in list.The associated data of failure set can be found by above-mentioned table one, and then test is automatically generated according to associated data Use-case;The reciprocity set with failure set can be found by above-mentioned table two, and isolated fault set simultaneously triggers reciprocity set and executes test Test result just can be obtained in use-case, and entire disaster tolerance test process can be automated without artificial participation, intelligent realization is to disaster tolerance The disaster tolerance of system is tested, and testing efficiency is higher, and practicability is high.
Unless otherwise indicated, in subsequent embodiment of the present invention, the first device clusters can be set with any of disaster tolerance system Standby cluster, and the first device clusters are referred to as set1, second waited opposite with the first device clusters is referred to as with city device clusters The same city equity set of set1, the second equal across city device clusters opposite with the second device clusters are referred to as across the city equity of set1 set。
Based on the description of the above-mentioned framework about disaster tolerance system, the embodiment of the present invention provides a kind of disaster tolerance test method, asks Referring to fig. 2, which can be applied to disaster tolerance system shown in FIG. 1, the disaster tolerance system include at least set1, and with Set relatively equal the second device clusters (same city equity set2 and across city equity set2 i.e. shown in FIG. 1), the disaster tolerance test method Include:
S101, the associated data for obtaining the first device clusters, which includes IP data, business datum and database Information.
The associated data of set1 can be obtained from configuration file, in the specific implementation, can read from above-mentioned table one The associated data of set1.In the embodiment of the present invention, the service equipment for carrying out disaster tolerance test can provide personal-machine interaction Testing requirement can be arranged in the human-computer interaction interface in interface, user (such as tester), the event including setting disaster tolerance system Hinder list, includes the mark of all set for generating failure in the error listing, it includes set1 mark that this example, which sets error listing,;So Disaster tolerance test instruction is initiated afterwards, carries error listing in disaster tolerance test instruction;In so step S101, referred to according to disaster tolerance test The set1 mark that error listing includes in order, obtains the associated data of set1.
S102, first device clusters are isolated according to the associated data, and generate target detection use-case.
The purpose that set1 is isolated is: so that set1 is stopped working, interferes to avoid to disaster tolerance test process. In the specific implementation, can be realized by disconnecting the modes such as the network connection of set1 or the working power of disconnection set1 to set1's Isolation.Further, the associated data of set1 is passed to as variable into general business automation use-case and produces target survey Example on probation.
S103, the second device clusters of triggering execute the target detection use-case and obtain disaster tolerance test result.
It is divided according to regional scope, the second device clusters can be thought as the same city equity set2 of set1, be also possible to set1 Across city equity set11.If the second device clusters are set2, the test of this disaster tolerance is the same as city switch test;If the second equipment collection Group is set11, then the test of this disaster tolerance is across city switch test.After generating target detection use-case, the second device clusters are triggered It executes the target detection use-case and obtains disaster tolerance test result, triggering herein can include: taken first to the transmission of the second device clusters The configuration notification of mark with set1, the configuration notification are used for making the clear set1 of the second device clusters that failure have occurred In the second device clusters of instruction on behalf of the business for executing set1;Then target detection use-case is sent to the second device clusters, controlled It makes the second device clusters and executes the target detection use-case to obtain disaster tolerance test result.Optionally, in order to promote the simultaneous of disaster tolerance system Capacitive, can also all normal set into disaster tolerance system in addition to set1 send configuration notifications, can make other all in this way Failure has occurred in the normal clear set1 of set, when being sent to the service request of set1 because unexpected (such as call error) is forwarded To other normal set, other normal set can also be on behalf of executing the business to carry out quick response, to improve appearance The compatibility of calamity system.
Further, if disaster tolerance test result is to pass through, show that the second device clusters can normally execute the first device clusters Business, disaster tolerance system has the function of disaster tolerance;If disaster tolerance test result is not pass through, show that the second device clusters cannot normally be held The business of the first device clusters of row, disaster tolerance system do not have disaster tolerance function.In the specific implementation, the corresponding disaster tolerance test of each set Expected results be stored in the database of each set, it is contemplated that result includes the industry of failure set when each set breaks down Business is by reciprocity set on behalf of daily record data and result data obtained when executing;Such as: set1 is held in testing requirement instruction Calamity test, demonstrates the need for testing the redundancy ability of the system when set1 breaks down, then can preset when set1 breaks down The first expected results that disaster tolerance system should reach, first expected results include when set1 business by reciprocity set on behalf of holding Daily record data and result data obtained when row, also, first expected results are stored in the corresponding database of set1. In disaster tolerance test process, the second device clusters (set2 or set11) of equity, by taking set2 as an example, when set2 executes mesh After marking test case, corresponding daily record data and result data can be obtained;Set2 daily record data obtained and result data are deposited Storage is into the corresponding database of set2, then in step S103, first determine whether set2 whether successful execution target detection use-case, this Place's successful execution refers to complete performance objective test case, and does not pop up interruption or miscue in the process of implementation, conversely, Failed execute refers to not complete performance objective test case herein, and pop-up interruption or miscue in the process of implementation; If target detection use-case executes failure on set2, disaster tolerance test result is not pass through.If set2 successful execution target Test case, then inquire in the corresponding database of set2 whether store corresponding daily record data and result data;If Corresponding daily record data and result data are not inquired in the database of set2, then disaster tolerance test result is not pass through.If looked into Corresponding daily record data and result data are ask, that will be deposited in daily record data inquired and result data and set1 database The expected results of storage are compared, if comparing unanimously, confirm that disaster tolerance test result is to pass through;If comparison is inconsistent, confirmation is held Calamity test result is not pass through.
The disaster tolerance system of the embodiment of the present invention includes at least the first device clusters and opposite with the first device clusters etc. the Two device clusters can automatically generate target detection use-case according to the associated data of the first device clusters, and the first equipment collection is isolated Group and by with the second device clusters performance objective test case, obtain disaster tolerance test result, this disaster tolerance test process embodies When the first device clusters can not work normally after by service switching to the second device clusters, can the second device clusters normally be held Row business processing, and then reflect whether disaster tolerance system has preferable disaster tolerance performance, this disaster tolerance test process is without artificial ginseng With can automate, intelligent realize tests the disaster tolerance of disaster tolerance system, testing efficiency is higher, and practicability is high.
The embodiment of the present invention provides another disaster tolerance test method, is applied to disaster tolerance system, which includes at least First device clusters, and the second opposite with first device clusters etc. device clusters, refer to Fig. 3, the disaster tolerance test method Include:
S201, error listing is received, which includes the mark of the first device clusters.
Service equipment for carrying out disaster tolerance test can provide a personal-machine interactive interface, and user (such as tester) can Testing requirement is arranged in the human-computer interaction interface, the error listing including disaster tolerance system is arranged includes in the error listing The mark of all set for generating failure, this example set the mark in error listing including set1;Then disaster tolerance test instruction is initiated, Error listing is carried in disaster tolerance test instruction;Error listing is then received in so step S201, therefrom obtains the mark of set1.
S202, the associated data for obtaining first device clusters, the associated data include IP data, business datum and data Library information.The associated data of set1 can be obtained from configuration file, in the specific implementation, set1 can be read from above-mentioned table one Associated data.
S203, first device clusters are isolated according to the associated data, and generate target detection use-case.Specifically In realization, step S203 may include following steps s11-s13:
The IP data of first device clusters are added to firewall to disconnect the network connection of first device clusters by s11.
The purpose that set1 is isolated is: so that set1 is stopped working, interferes to avoid to disaster tolerance test process; The IP data of set1 are added to firewall in the embodiment of the present invention, are such as added in the IP list of firewall, so as to disconnected The mode for opening the network connection of set1 realizes isolation to set1.This isolation processes does not need manually to participate in, the degree of automation It is high.
S12 obtains preset business automation use-case.
S13 is passed to the associated data of first device clusters as required parameter to the business automation use-case with life At the target detection use-case.
In the embodiment of the present invention, a set of general business automation use-case can be write in advance, and by the business automation The required parameter variable design of use-case, when generating target detection use-case, it is only necessary to which the associated data of related failure set is made I.e. producible target detection use-case is passed in the automation use-case for the variable of required parameter, it in this way can be to avoid for each Set writes business automation use-case respectively, and reduce business automation use-case writes task amount, is used by a set of business automation The test to set each in disaster tolerance system can be thus achieved in example, and testing efficiency is high, practical.It, will in step s12-s13 The associated data of set1 is passed to as required parameter into preset business automation use-case, it can is generated target detection and is used Example, which refers to carries out test used in disaster tolerance test in the case that set1 generates failure (being isolated) Use-case.
It S204, is that needs carry out across city switch test or needing to carry out switches survey with city according to error listing judgement Examination.
It would know that the same city equity set2 and across city equity set11 with set1 from above-mentioned table two.So, if error listing Do not include the mark of set2, show that the same city equity set2 of set1 can be worked normally, then judgement needs to carry out same city to set1 Switch test, and execute step S205;If the error listing in addition to the mark including set1, further includes the mark of set2 and does not wrap Include the mark of set11;Show set1 and its with city equity set2 while generating failure and can not work normally, but set1 across city Reciprocity set11 can be worked normally, it is determined that needed to carry out across city switch test to set1, and executed step S206.Certainly, may be used With understanding, if including simultaneously set1, set2, set11 in error listing, show that set1 and its all equity set are same When generate failure, then exportable disaster tolerance test result does not pass through, that is, show when set1 generates failure, disaster tolerance system can not be into The switching of row disaster tolerance, the redundancy ability of disaster tolerance system can not cope with the case where set1 generates failure.
S205, triggering second execute the target detection use-case with city device clusters and obtain disaster tolerance test result;It is transferred to later Step S207.
When needing to carry out with city switch test set1, the configuration for sending the mark for carrying set1 to set2 first is logical Know, which is used to indicate set2 on behalf of the business for executing set1 for making the clear set1 of set2 that failure have occurred; Then target detection use-case is sent to set2, control set2 executes the target detection use-case;Finally, according to target detection use-case Implementing result on set2 obtains disaster tolerance test result.Further, if disaster tolerance test result is to pass through, show event occur in set1 When barrier, the business of set1 can be normally executed with city equity set2, disaster tolerance system has the function of same city disaster tolerance;Conversely, if disaster tolerance Test result is not pass through, is shown when set1 breaks down, and set1 can not be replaced to execute at business with city equity set2 Reason, disaster tolerance system do not have same city disaster tolerance function.
S206, the second across city device clusters of triggering execute the target detection use-case and obtain disaster tolerance test result.
When needing to carry out across city switch test to set1, the configuration for sending the mark for carrying set1 to set11 first is logical Know, which is used to indicate set11 on behalf of the industry for executing set1 for making the clear set1 of set11 that failure have occurred Business;Then target detection use-case is sent to set11, control set11 executes the target detection use-case;Finally, being surveyed according to target Implementing result of the example on set11 on probation obtains disaster tolerance test result.Further, if disaster tolerance test result is to pass through, show When set1 breaks down, across city equity set11 can normally execute the business of set1, and disaster tolerance system has the function of across city disaster tolerance; Conversely, showing that across city equity set11 can not be replaced when set1 breaks down if disaster tolerance test result is not pass through Set1 executes business processing, and disaster tolerance system does not have across city disaster tolerance function.
It is above-mentioned that according to the target detection use-case, the implementing result of (set2 or set11) is obtained on the second device clusters of equity It may comprise steps of s21-s22 to disaster tolerance test result:
S21 if the target detection use-case executes preset times by second device clusters, and runs succeeded at least once, Then disaster tolerance test result is that test passes through.
S22, if the target detection use-case executes the preset times by second device clusters, and the preset times are performed both by Failure, then disaster tolerance test result is that test does not pass through.
Wherein, preset times can be set according to the actual situation, for example, preset times can for 1 time, 2 times, it is 5 inferior Deng.Above-mentioned run succeeded refers to: complete performance objective test case, and does not pop up interruption in the process of implementation or mistake mentions The log of corresponding (performance objective test case is generated) showing, and found in the corresponding database of the second device clusters The expected results matching stored in data and result data database corresponding with the first device clusters.Above-mentioned execution failure can be with Refer to: not complete performance objective test case perhaps pops up interruption or miscue or in the second equipment in the process of implementation Corresponding daily record data and result data are not searched in the corresponding database of cluster;Or it is stored in second device clusters and corresponds to Database in daily record data and result data database corresponding with the first device clusters in the expected results that store not Match.
Further, after step s22, further comprising the steps of s23-s24:
S23, if part number is not performed success, is obtained during the target detection use-case is performed preset times Failure cause is taken, which includes: test environment reason or non-ambient reason;
S24, if the failure cause be non-ambient reason, export improvement prompt information, the improvement prompt information for pair Disaster tolerance test macro improves.
In step s23-s24, during the target detection use-case is performed preset times, if there is a part of time Number is not performed success, such as: target detection use-case is performed 5 times, wherein be not carried out success for 3 times, is run succeeded for only 2 times, It so demonstrates the need for checking failure cause, failure cause herein includes test environment reason or non-ambient reason.Wherein, it tests Environment reason refers to external interference, such as: while the progress disaster tolerance test of multiple disaster tolerance systems then can mutually be had an impact; Alternatively, accident (such as earthquake, fire), which occurs, for the region where the second device clusters leads to network interruption etc., these environment are surveyed Examination reason can not overcome and can not predict, and therefore, if checking failure cause as test environment reason, can pass through tune Whole preset times guarantee the accuracy of disaster tolerance test result;And if checking failure cause is non-ambient reason, table There are problems for bright disaster tolerance test macro self performance, such as: that there are stability is not high for disaster tolerance test macro, compatibility is low asks Topic, then exports improvement prompt information at this time, and the improvement prompt information is for prompting tester or staff to test disaster tolerance System improves, and to improve the performance of disaster tolerance test macro, guarantees the accuracy of disaster tolerance test process.
S207, reception switchback test instruct, and switchback test instruction carrying is used to indicate first device clusters and restores event The instruction message of barrier.
The isolation of S208, cancellation to first device clusters.
S209, it first device clusters is triggered executes the target detection use-case and obtain switchback test result.
Step S207-S209 describes the process that switchback test is carried out to disaster tolerance system, for verifying the disaster tolerance system Whether switchback function is had.Specifically, user (such as tester) can repair in the human-computer interaction interface that service equipment provides Change testing requirement, the error listing including modifying disaster tolerance system moves the mark of all set for restoring failure from error listing It removes, the mark that this example sets set1 is removed from error listing, i.e., does not include the mark of set1 in error listing.Then switchback is initiated Instruction is tested, carries the instruction message that set1 has restored failure in switchback test instruction, instruction message herein can be event Hinder list, since set1 is not included in error listing, therefore parses set1 known to the error listing and restored failure, then can be with Cancel the isolation to the set1.Specifically, if being by way of disconnecting network connection in above-mentioned disaster tolerance test process to first Device clusters are isolated, then set1 can be reconnected to network to cancel the isolation to first device clusters, such as It can will be removed in the IP list of the IP data slave firewall of set1, so that set1 can work normally.If above-mentioned disaster tolerance test It is that set1 is isolated by way of disconnecting working power in the process, then can connect set1 with working power again, To cancel the isolation to the set1.Then, triggering set1 performance objective test case obtains switchback test result, triggering herein Can include: the recovery failure notification for carrying the mark of set1 is sent to the second device clusters (set2 or set11) of equity first, The recovery failure notification is used to that the clear set1 of the second device clusters of equity to be made to restore failure, and is used to indicate the second equipment collection Group stops on behalf of the business for executing set1;Target detection use-case is sent to set1 again, control set1 executes target detection use Example is to obtain switchback test result.Further, if switchback test result is to pass through, after showing that set1 restores failure, the industry of set1 Business can successfully be switched back on set1 and is successfully executed, and disaster tolerance system has the function of switchback;If switchback test result is not lead to It crosses, after showing that set1 restores failure, the business of set1 cannot be switched back to successfully on the set1 or can not be successfully executed, disaster tolerance system System does not have switchback function.
In the embodiment of the present invention, in error listing include the first device clusters mark when, service equipment can be automatic Ground obtains the associated data of the first device clusters, and automatically the first device clusters are isolated according to associated data, and automatic Ground generates target detection use-case, if do not include in the error listing this second with city device clusters mark, triggering second is same City device clusters execute the target detection use-case and obtain disaster tolerance test result, (are surveyed with city disaster tolerance with realizing with city switch test Examination), this disaster tolerance test process is embodied when the first device clusters can not work normally and set service switching with city to second After standby cluster, can second normally execute business processing with city device clusters, and then reflect whether disaster tolerance system has preferably Same city disaster tolerance performance;If in the error listing include this second with city device clusters mark, trigger the second across city equipment Cluster executes the target detection use-case and obtains disaster tolerance test result, to realize across city switch test (i.e. across city disaster tolerance test), this A disaster tolerance test process embody when the first device clusters and second with city device clusters can not work normally and by service switching To the second across city device clusters, can the second across city device clusters normally execute business processing, and then reflect disaster tolerance system Whether preferably across city disaster tolerance performance is had.
After disaster tolerance test, it can cancel and the first device clusters are isolated, and trigger the first device clusters performance objective and survey Example on probation obtains switchback test result, this switchback test process is embodied when the first device clusters restore failure, and first sets Whether whether success switches back on the device clusters and can be successfully executed the business of standby cluster.Disaster tolerance test process It can be automated with switchback test process without artificial participation, the intelligent test realized to disaster tolerance system, testing efficiency is higher, Practicability is high.
The embodiment of the present invention provides another disaster tolerance test method, is applied to disaster tolerance system, which includes at least The second device clusters of set1, third device clusters (abbreviation set3), the 5th device clusters (abbreviation set5), etc. opposite with set1 (with city equity set2 and across city equity set11), the 4th equal device clusters opposite with set3 are (with city equity set4 and across city pair Equal set9), and the 6th opposite with set5 etc. device clusters (with city equity set6 and across city equity set8).Fig. 4 is referred to, The disaster tolerance test method includes:
S301, error listing is received, which includes the mark of multiple equipment cluster.
In the embodiment of the present invention, the service equipment for carrying out disaster tolerance test can provide a personal-machine interactive interface, use Testing requirement can be arranged in the human-computer interaction interface in family (such as tester), the error listing including disaster tolerance system is arranged, Specifically, the mark of multiple faulty equipment clusters can be added in the error listing, such as can by it is one or more groups of each other The mark of the same city device clusters of equity is added in the error listing, and/or can be by the equipment of multiple not peer-to-peers The mark of cluster is added in the error listing;It include the mark of all set for generating failure in the error listing, this example sets event Hindering list includes the mark of set1, the mark of set2, the mark of set3, set5;Then disaster tolerance test instruction is initiated, which surveys Error listing is carried in examination instruction.
S302, isolated fault list each device clusters.
It can be right by way of disconnecting the working power of each device clusters in error listing or disconnecting network connection Each device clusters are isolated;Such as: it can be by the IP data of set1, the IP data of set2, the IP data of set3 and set5 Mark be added into the IP list of firewall set1, set2, set3 and set5 to be isolated.
S303, configuration notification is sent to all normal device clusters, which carries each in the error listing The mark of a faulty equipment cluster.
It, can also be into the disaster tolerance system except all events in list of breaking down in order to promote the compatibility of disaster tolerance system Hinder all normal set other than set and send configuration notification, other all normal equal clear failure column of set can be made in this way It is that failure has occurred in which set in table, when the service request for the reciprocity set for being sent to failure set is because of unexpected (such as call error) When being forwarded to other normal set, other normal set can also on behalf of execute the business to carry out quick response, thus Improve the compatibility of disaster tolerance system.
S304, device clusters of the needs progress across city switch test are analyzed according to the error listing, determine and need to carry out together The cluster device of city switch test.
The mark of mark and set2 in error listing including set1, and set1 and set2 is each other with city equity set, table The same city equity set of bright set1 and set1 can not work normally, and determination is needed the service switching of set1 to its across city equity It on set11, similarly needs in the service switching of set2 to its across city equity set12, then needing to carry out across city switch test. It is transferred to and executes step S305~S307.
It further include the mark of set3 and set5 in error listing, but the same city equity in the error listing not including set3 The mark of set4, thus can when set3 breaks down, can by the service switching of set3 to it on the equity set4 of city, determine It needs to carry out with city switch test.Similarly, the mark of the same city equity set6 including set5, therefore set5 need in error listing Carry out same city switch test.It is transferred to and executes step S308~S310, it, can be in step S305~S307 in the embodiment of the present invention After the completion of execution, then step S308~S310 is executed, or after the completion of step S308~S310 is executed, then executes step S305 ~S307.
S305, determine that the first device clusters and the second device clusters need to carry out across city switch test.
S306, the first test case is generated according to the associated data of the first device clusters, according to the pass of the second device clusters Join data and generates test case.
S307, across the city peer device cluster for triggering the first device clusters execute the first test case and obtain the survey of the first disaster tolerance Test result, across the city peer device cluster of the second device clusters of triggering execute the second test case and obtain the second disaster tolerance test knot Fruit.
Across the city switch test of step S305-S307 can be carried out by serial mode, specifically: first obtain the association of set1 Data generate the first test case, then trigger the first test case of set11 execution and obtain the first disaster tolerance test result;Then it obtains again It takes the associated data of set2 to generate the second test case, then triggers the second test case of set12 execution and obtain the test of the second disaster tolerance As a result.Test errors rate can be reduced using serial mode progress, simplify disaster tolerance test process.
S308, determine that third device clusters and the 5th device clusters need to carry out with city switch test.
S309, third test case is generated according to the associated data of third device clusters, according to the pass of the 5th device clusters Join data and generates the 4th test case.
S310, the same city peer device cluster (set4) for triggering third device clusters execute generation third test case and obtain Third disaster tolerance test result, the same city peer device cluster (set6) of the 5th device clusters of triggering, which executes, generates the 4th test case Obtain the 4th disaster tolerance test result.
The same city switch test of step S309-S310 can be carried out by serial mode, specifically: first obtain the association of set3 Data generate third test case, then trigger set4 execution third test case and obtain third disaster tolerance test result;Then it obtains again It takes the associated data of set5 to generate the 4th test case, then triggers the 4th test case of set6 execution and obtain the 4th disaster tolerance test knot Fruit.Test errors rate can be reduced using serial mode progress, simplify disaster tolerance test process.
S311, switchback test instruction is received, switchback test instruction carries the mark of the device clusters of fault recovery, can be with The mark of mark, the second device clusters, the mark of third device clusters and the 5th device clusters including the first device clusters Mark.
The isolation of S312, cancellation to each device clusters for restoring failure.Cancel to the first device clusters, the second equipment The isolation of cluster, third device clusters and the 5th device clusters.
S313, the device clusters for triggering the recovery failure execute corresponding test case and obtain switchback test result.
The switchback test of step S312-S313 can be carried out by serial mode, specifically, triggering set1 executes the first test Use-case obtains the first switchback test result.After set1 has executed the first test case, then triggers set2 and execute the second test use Example obtains the second switchback test result;And so on, until all devices cluster completes switchback test.Using serial mode Progress can reduce test errors rate, simplify disaster tolerance test process.
In the embodiment of the present invention, need to carry out across city switch test in multiple equipment cluster, and/or switch with city and survey When examination, across city switch test can be realized by serial manner and/or with city switch test, can reduce the mistake of raw test Rate simplifies disaster tolerance test process.When needing to carry out switchback test there are multiple equipment cluster, realized back using serial manner Test is cut, the error rate of raw test can be reduced, simplify disaster tolerance test process.
Disaster tolerance system by with 2, Fig. 3 and disaster tolerance test method shown in Fig. 4 tested and test by when, illustrate this Disaster tolerance system has disaster tolerance performance, which can be used to need to handle the scene of batch affairs, for example, can be used for Financial application scene specifically includes the scenes such as payment application or equity fund transaction;It can also be applied to multimedia application scene, Specifically include video playing scene etc.;Also it can be applied to entertainment applications scene, specifically include game application scene etc., it can be with Applied to other scenes, Fig. 5 is illustrated so that the disaster tolerance system is applied to payment application scenarios as an example.
Fig. 5 is referred to, which includes the terminal 10 to initiate payment request, provides backstage for payment request and pays The disaster tolerance system of service, the disaster tolerance system include at least the set (set2 or set11) of set1 and its equity, which uses Include: in the concrete mode for providing a kind of payment services
S401, terminal 10 send payment request to the first device clusters.
In the embodiment of the present invention, user consume on line consumption under (such as shopping online, communication supplement with money) or line (such as call a taxi, Stay) etc. need under the scene of online payment, terminal can by the payment in terminal it is associated apply to send to set1 pay Request, which includes the information such as mark, payment cipher or the payment amount of set1.Herein, paying associated application can To refer to the instant messaging application of the payment function carried, such as wechat, QQ, it is also possible to be exclusively used in the payment application app of payment, It can also be the browser for producing the payment page.
For example, as shown in fig. 6, if Fig. 6 is the detailed process for realizing method of payment under the payment application scenarios of Fig. 5 Figure, user is in done through network purchase commodity, in order page generation order information, such as O/No. 123, and payment amount 123, And for user selection the means of payment, the means of payment may include wechat payment, QQ payment, the Alipay means of payment, if with Family selection wechat payment, the terminal display payment page pay and show that the Merchant name of payment (provides the flat of commodity on the page Platform), payment amount, confirm payment options, if user clicks confirmation payment options, user inputs payment cipher, and terminal executes step Rapid S601 sends payment request to set1.
If S402, set1 break down, payment request is forwarded to reciprocity set (set2 or set11).
In conjunction with Fig. 6, if set1 breaks down, service equipment can send matching for set1 failure to each normal set Notice is set, and executes payment request forwarding equity set (set2 or set11) that step S602 will automatically be sent to set1.Tool Body, if set2 does not break down simultaneously, payment request is preferably forwarded to set2 to guarantee the speed of response;If set2 and set1 It breaks down, is handled then payment request is forwarded on set11 simultaneously.
S403, the second device clusters send payment response message to terminal 10.
Reciprocity set (set2 or set11) receives the configuration notification of set1 failure, determines that set1 breaks down, and When respond the payment request, e.g., authentication is carried out to user according to payment cipher and if being verified judges that payment amount is It is no to meet condition, if meeting condition, equity set (set2 or set11) execute delivery operation, and to terminal 10 send payment at The message of function sends payment failure news to terminal 10 if authentication does not pass through or payment amount is unsatisfactory for condition.This Place, payment amount meet the residue that condition can refer to that payment amount is less than default amount and/or payment amount is less than the account The amount of money.
For example, by taking Fig. 6 as an example, the maximum payment amount of the user is 1000, and reciprocity set (set2 or set11) connects When receiving the payment request of the user, authentication, when being proved to be successful, the payment that gets are carried out to user according to payment cipher The amount of money is 123, determines that payment amount is less than maximum payment amount, executes delivery operation, execute step S603 and return to terminal 10 Successful message is paid, terminal 10 is shown in the display interface to be paid successfully.
In the embodiment of the present invention, after the test of disaster tolerance system disaster tolerance passes through, when the first device clusters break down, first The payment request received is forwarded to the second device clusters by device clusters, responds payment request by the second device clusters, can be with Device clusters are avoided to break down, the event for causing payment to fail occurs, and provides real-time business demand for user.
Based on the description of above-mentioned disaster tolerance test method, the embodiment of the present invention provides a kind of disaster tolerance test device, refers to figure 7, which is applied to disaster tolerance test macro, which includes the first device clusters, and is set with described first The second device clusters that standby cluster waits relatively, the disaster tolerance test device include:
Module 701 is obtained, for obtaining the associated data of first device clusters, the associated data includes IP number According to, business datum and database information.
Isolation module 702 for first device clusters to be isolated according to the associated data, and generates target Test case.
Trigger module 703 obtains disaster tolerance test for triggering the second device clusters execution target detection use-case As a result.
Optionally, module 701 is obtained, is specifically used for reception disaster tolerance test and instructs, described in the disaster tolerance test instruction carrying The error listing of disaster tolerance system, the error listing include the mark of first device clusters.
Optionally, switchback module 704, for receiving switchback test instruction, the switchback test instruction, which carries, to be used to indicate First device clusters restore the instruction message of failure;Cancel the isolation to first device clusters;Trigger described first Device clusters execute the target detection use-case and obtain switchback test result.
Optionally, the isolation module 702, specifically for the IP data of first device clusters are added to firewall To disconnect the network connection of first device clusters;Obtain preset business automation use-case;By first device clusters Associated data be passed to the business automation use-case as required parameter to generate the target detection use-case.
Optionally, trigger module 703 are specifically used for sending fault configuration notice to second device clusters, the event Barrier configuration notification carries the mark of first device clusters;The target detection use-case is sent to the second equipment collection Group, and control second device clusters and execute the target detection use-case;According to the target detection use-case described second Implementing result on device clusters obtains disaster tolerance test result.
Optionally, trigger module 703 are executed in advance if being specifically used for the target detection use-case by second device clusters If number, and run succeeded at least once, then disaster tolerance test result is that test passes through;If the target detection use-case is by described Two device clusters execute the preset times, and the preset times are performed both by failure, then disaster tolerance test result is that test is not led to It crosses.
Wherein, described run succeeded refers to that implementing result matches with expected results.
Optionally, module 701 is obtained, is also used to be performed the process of the preset times in the target detection use-case In, if part number is not performed success, failure cause is obtained, the failure cause includes: test environment reason or non-ambient Reason.
Optionally, output module 705 export improvement prompt information if being non-ambient reason for the failure cause, The improvement prompt information is for improving disaster tolerance test macro.
Wherein, second device clusters refer to the second same city that same area range is in first device clusters Device clusters, or it is in first device clusters the second across city device clusters of different zones range.If the failure column Table do not include described second with city device clusters mark, then second device clusters are described second with city device clusters; If the error listing further include described second with city device clusters mark, second device clusters be described second across City device clusters.
In the embodiment of the present invention, test device can be according to the associated data of device clusters automatically to the equipment collection of failure Group is isolated, and automatically generates target detection use-case, by the device clusters performance objective waited opposite with faulty equipment cluster Test case obtains disaster tolerance test result, can be automatically realized the test to disaster tolerance system, keeps test process more automatic Change, is intelligent.
Description based on above-mentioned disaster tolerance test method and method of payment, the embodiment of the present invention provide a kind of payment mechanism, ask Referring to Fig. 8, which is applied to disaster tolerance test macro, which includes the first device clusters, and with described first The second relatively equal device clusters of device clusters, the disaster tolerance system using disaster tolerance test method described in Fig. 2, Fig. 3 and Fig. 4 into Row, which is tested and tested, to be passed through;The payment mechanism includes:
Receiving module 801, for receiving payment request, the payment request carries the mark of first device clusters.
Forwarding module 802, if breaking down for first device clusters, described in the forwarding of the second device clusters of Xiang Suoshu Payment request.
Trigger module 803 responds the payment request for triggering second device clusters.
In the embodiment of the present invention, after the test of disaster tolerance system disaster tolerance passes through, when the first device clusters break down, disaster tolerance The payment request that first device clusters receive can be forwarded to the second device clusters by the payment mechanism in system, be set by second Standby cluster responds payment request, can break down to avoid device clusters, and the event for causing payment to fail occurs, and provides for user Real-time business demand.
Based on the description of above-mentioned disaster tolerance test device and payment mechanism, the embodiment of the present invention provides a kind of service equipment, answers For disaster tolerance system, the disaster tolerance system includes at least the first device clusters, and opposite with first device clusters etc. the Two device clusters;Fig. 9 is referred to, which includes: processor 901, input interface 902, output interface 903 and calculate Machine storage medium 904.
The computer storage medium 904 can indicate storage device, including volatile computer storage medium (volatile memory), such as random access computer storage medium (random-access memory, RAM);Computer Storage medium also may include nonvolatile computer storage media (non-volatile memory), such as quick flashing computer Storage medium (flash memory), hard disk (hard disk drive, HDD) or solid state hard disk (solid-state drive, SSD);Computer storage medium 904 can also include the combination of the computer storage medium of mentioned kind.
The input interface 902 can be used for input and wait for the pending data handled to processor 901.In a reality It applies in example, input interface 902 may include multiple independent interfaces, such as Ethernet interface, LCD (Liquid Crystal Display, liquid crystal display) interface etc., it is each responsible for communication of the different peripheral equipments to 901 input data of processor.
The output interface 903 can be used for outputting data to other peripheral equipments being connected with terminal, can export outward The processing result of processor 901.Output interface 903 can also include multiple independent interfaces, such as Ethernet interface, camera Interface etc. is responsible for communication of the processor 901 to different peripheral equipment output datas.
In one embodiment, output interface 903 and input interface 902 can be universal input output (General Purpose Input Output, GPIO) interface.
The processor 901 can be used for reading and executing computer instruction.In one embodiment, processor 701 may be used also To further comprise hardware chip.Above-mentioned hardware chip can be specific integrated circuit (application-specific Integrated circuit, ASIC), programmable logic device (programmable logic device, PLD) or its group It closes.Above-mentioned PLD can be Complex Programmable Logic Devices (complex programmable logic device, CPLD), existing Field programmable logic gate array (field-programmable gate array, FPGA), Universal Array Logic (generic Array logic, GAL) or any combination thereof.
The computer storage medium 904 is also used to store one or more than one program instructions;The program instruction packet Include the first instruction and/or the second instruction.In one embodiment, when the processor 901 can call the described first instruction The disaster tolerance testing process to disaster tolerance system is able to carry out to provide disaster tolerance testing service, specifically, the processor 901 calls the One instruction execution following steps:
The associated data of first device clusters is obtained, the associated data includes IP data, business datum and data Library information;
First device clusters are isolated according to the associated data, and generate target detection use-case;
It triggers the second device clusters execution target detection use-case and obtains disaster tolerance test result.
Optionally, the processor 901 can call first instruction, execute following steps:
Disaster tolerance test instruction is received, the disaster tolerance test instruction carries the error listing of the disaster tolerance system, the failure List includes the mark of first device clusters.
Optionally, the processor 901 can call first instruction, execute following steps:
It receives switchback and tests instruction, the switchback test instruction, which carries, is used to indicate the first device clusters recovery failure Instruction message;
Cancel the isolation to first device clusters;
It triggers the first device clusters execution target detection use-case and obtains switchback test result.
Optionally, the processor 901 can call first instruction, execute following steps:
The IP data of first device clusters are added to firewall to disconnect the network of first device clusters company It connects;
Obtain preset business automation use-case;
It is passed to the associated data of first device clusters as required parameter to the business automation use-case with life At the target detection use-case.
Optionally, the processor 901 can call first instruction, execute following steps:
Fault configuration notice is sent to second device clusters, the fault configuration notice carries the first equipment collection The mark of group;
The target detection use-case is sent to second device clusters, and controls second device clusters and executes institute State target detection use-case;
Disaster tolerance test result is obtained according to implementing result of the target detection use-case on second device clusters.
Optionally, the processor 901 can call first instruction, execute following steps:
If the target detection use-case executes preset times by second device clusters, and runs succeeded at least once, Then disaster tolerance test result is that test passes through;
If the target detection use-case executes the preset times by second device clusters, and the preset times are equal Failure is executed, then disaster tolerance test result is that test does not pass through.
Wherein, described run succeeded refers to that implementing result matches with expected results.
Optionally, the processor 901 can call first instruction, execute following steps:
Second device clusters, which refer to, is in the second of same area range with city equipment with first device clusters Cluster, or it is in first device clusters the second across city device clusters of different zones range;
If the error listing do not include described second with city device clusters mark, second device clusters are institute Second is stated with city device clusters;
If the error listing further include described second with city device clusters mark, second device clusters are institute State the second across city device clusters.
In another embodiment, it is able to carry out when the processor 901 can call the described second instruction to disaster tolerance The regulation process of system is to provide payment processing service, and specifically, the processor 901 calls the second instruction execution to walk as follows It is rapid:
Payment request is received, the payment request carries the mark of first device clusters;
If first device clusters break down, the second device clusters of Xiang Suoshu forward the payment request;
It triggers second device clusters and responds the payment request.
It should also be noted that, the corresponding function of service equipment of the invention can both be realized by hardware design, it can also To be realized by software design, can also be realized by way of software and hardware combining, this is not restricted.
The embodiment of the present invention also provides a kind of computer program product, and the computer program product includes storing calculating The computer storage medium of machine program, when run on a computer, the computer are executed as in above method embodiment Any one of record is to some or all of the processing method of web data step.In one embodiment, the computer journey Sequence product can be a software installation packet.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, above-mentioned program can be stored in a computer and take in storage medium, The program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, above-mentioned storage medium can for magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only section Example of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of disaster tolerance test method, be applied to disaster tolerance system, the disaster tolerance system includes at least the first device clusters, and with institute State the second relatively equal device clusters of the first device clusters;It is characterized in that, the disaster tolerance test method includes:
The associated data of first device clusters is obtained, the associated data includes IP data, business datum and database letter Breath;
First device clusters are isolated according to the associated data, and generate target detection use-case;
It triggers the second device clusters execution target detection use-case and obtains disaster tolerance test result.
2. the method as described in claim 1, which is characterized in that triggering second device clusters execute the target and survey Example on probation obtains after disaster tolerance test result, further includes:
Switchback test instruction is received, the switchback test instruction, which carries, is used to indicate the finger that first device clusters restore failure Show message;
Cancel the isolation to first device clusters;
It triggers the first device clusters execution target detection use-case and obtains switchback test result.
3. method according to claim 1 or 2, which is characterized in that it is described according to the associated data to first equipment Cluster is isolated, and generates target detection use-case, comprising:
The IP data of first device clusters are added to firewall to disconnect the network connection of first device clusters;
Obtain preset business automation use-case;
It is passed to the associated data of first device clusters as required parameter to the business automation use-case to generate State target detection use-case.
4. method as claimed in claim 3, which is characterized in that triggering second device clusters execute the target and survey Example on probation obtains disaster tolerance test result, comprising:
Fault configuration notice is sent to second device clusters, the fault configuration notice carries the mark of the first device clusters Know;
The target detection use-case is sent to second device clusters, and controls second device clusters and executes the mesh Mark test case;
Disaster tolerance test result is obtained according to implementing result of the target detection use-case on second device clusters.
5. method as claimed in claim 4, which is characterized in that it is described according to the target detection use-case in second equipment Implementing result on cluster obtains disaster tolerance test result, comprising:
If the target detection use-case executes preset times by second device clusters, and runs succeeded at least once, then hold Calamity test result is that test passes through;
If the target detection use-case executes the preset times by second device clusters, and the preset times are performed both by Failure, then disaster tolerance test result is that test does not pass through;
Wherein, described run succeeded refers to that implementing result matches with expected results.
6. a kind of method of payment is applied to disaster tolerance system, the disaster tolerance system includes at least the first device clusters, with described first The second relatively equal device clusters of device clusters;The disaster tolerance system using the power described in any item disaster tolerance test methods of 1-5 into Row, which is tested and tested, to be passed through;The method of payment includes:
Payment request is received, the payment request carries the mark of first device clusters;
If first device clusters break down, the second device clusters of Xiang Suoshu forward the payment request;
It triggers second device clusters and responds the payment request.
7. a kind of disaster tolerance test device, be applied to disaster tolerance system, the disaster tolerance system includes at least the first device clusters, and with institute State the second relatively equal device clusters of the first device clusters;It is characterized in that, the disaster tolerance test device includes:
Module is obtained, for obtaining the associated data of first device clusters, the associated data includes IP data, business number According to and database information;
Isolation module for first device clusters to be isolated according to the associated data, and generates target detection use Example;
Trigger module obtains disaster tolerance test result for triggering the second device clusters execution target detection use-case.
8. a kind of payment mechanism is applied to disaster tolerance system, the disaster tolerance system includes at least the first device clusters, with described first The second relatively equal device clusters of device clusters;It is characterized in that, the disaster tolerance system is using the power described in any item disaster tolerances of 1-5 Test method, which is tested and tested, to be passed through;The payment mechanism includes:
Receiving module, for receiving payment request, the payment request carries the mark of first device clusters;
Forwarding module, if breaking down for first device clusters, the second device clusters of Xiang Suoshu forward the payment to ask It asks;
Trigger module responds the payment request for triggering second device clusters.
9. a kind of computer storage medium, which is characterized in that the computer storage medium be stored with one article or one or more One instruction, described one or one or more first instruction be suitable for loaded by processor and executed such as any one of claim 1-5 institute The disaster tolerance test method stated;Alternatively, the computer storage medium be stored with one or one or more second instruction, described one Or one or more second instruction is suitable for being loaded by processor and executing method of payment as claimed in claim 6.
10. a kind of service equipment characterized by comprising
Processor is adapted for carrying out one or one or more instruction;And
Computer storage medium, the computer storage medium be stored with one or one or more first instruction, described one or One or more first instruction is suitable for being loaded by processor and executing disaster tolerance test method as described in any one in claim 1-5; Alternatively, the computer storage medium is stored with one or one or more second instruction, described one or one or more second finger It enables and is suitable for being loaded by processor and executing method of payment as claimed in claim 6.
CN201810301547.3A 2018-04-04 2018-04-04 Disaster tolerance testing method, payment method, device, medium and service equipment Active CN110209556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810301547.3A CN110209556B (en) 2018-04-04 2018-04-04 Disaster tolerance testing method, payment method, device, medium and service equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810301547.3A CN110209556B (en) 2018-04-04 2018-04-04 Disaster tolerance testing method, payment method, device, medium and service equipment

Publications (2)

Publication Number Publication Date
CN110209556A true CN110209556A (en) 2019-09-06
CN110209556B CN110209556B (en) 2021-11-23

Family

ID=67779022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810301547.3A Active CN110209556B (en) 2018-04-04 2018-04-04 Disaster tolerance testing method, payment method, device, medium and service equipment

Country Status (1)

Country Link
CN (1) CN110209556B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214411A (en) * 2020-10-20 2021-01-12 腾讯科技(深圳)有限公司 Disaster recovery system testing method, device, equipment and storage medium
CN112799969A (en) * 2021-04-08 2021-05-14 蚂蚁金服(杭州)网络技术有限公司 Testing method, device and system of distributed file system
CN112948484A (en) * 2019-12-11 2021-06-11 中兴通讯股份有限公司 Distributed database system and data disaster recovery drilling method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557320A (en) * 2009-05-25 2009-10-14 杭州华三通信技术有限公司 Disaster tolerance realizing method and communication equipment thereof
US20110060722A1 (en) * 2009-09-07 2011-03-10 Icon Business Systems Limited Centralized management mode backup disaster recovery system
CN103034564A (en) * 2012-12-05 2013-04-10 华为技术有限公司 Data disaster tolerance demonstration and practicing method and data disaster tolerance demonstration and practicing device and system
CN104239164A (en) * 2013-06-19 2014-12-24 国家电网公司 Cloud storage based disaster recovery backup switching system
CN105763386A (en) * 2016-05-13 2016-07-13 中国工商银行股份有限公司 Service processing system and method
CN105955836A (en) * 2016-05-09 2016-09-21 深圳市前海云端容灾信息技术有限公司 Cold-hot backup automatic walkthrough multifunction system
CN106341454A (en) * 2016-08-23 2017-01-18 世纪龙信息网络有限责任公司 Across-room multiple-active distributed database management system and across-room multiple-active distributed database management method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557320A (en) * 2009-05-25 2009-10-14 杭州华三通信技术有限公司 Disaster tolerance realizing method and communication equipment thereof
US20110060722A1 (en) * 2009-09-07 2011-03-10 Icon Business Systems Limited Centralized management mode backup disaster recovery system
CN102012789A (en) * 2009-09-07 2011-04-13 云端容灾有限公司 Centralized management type backup and disaster recovery system
CN103034564A (en) * 2012-12-05 2013-04-10 华为技术有限公司 Data disaster tolerance demonstration and practicing method and data disaster tolerance demonstration and practicing device and system
CN104239164A (en) * 2013-06-19 2014-12-24 国家电网公司 Cloud storage based disaster recovery backup switching system
CN105955836A (en) * 2016-05-09 2016-09-21 深圳市前海云端容灾信息技术有限公司 Cold-hot backup automatic walkthrough multifunction system
CN105763386A (en) * 2016-05-13 2016-07-13 中国工商银行股份有限公司 Service processing system and method
CN106341454A (en) * 2016-08-23 2017-01-18 世纪龙信息网络有限责任公司 Across-room multiple-active distributed database management system and across-room multiple-active distributed database management method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
L. WANG .ETC: "Disaster Recovery for Cloud-Hosted Enterprise Applications", 《2016 IEEE 9TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (CLOUD)》 *
老_张: "浅谈容灾测试", 《博客园:HTTPS://WWW.CNBLOGS.COM/IMYALOST/P/8290567.HTML》 *
胡云亭: "面向大数据量URL的Webmon监控系统的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
谢朋宇 等: "广西电网企业级应用同城双活解决方案探讨", 《广西电力》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948484A (en) * 2019-12-11 2021-06-11 中兴通讯股份有限公司 Distributed database system and data disaster recovery drilling method
CN112214411A (en) * 2020-10-20 2021-01-12 腾讯科技(深圳)有限公司 Disaster recovery system testing method, device, equipment and storage medium
CN112214411B (en) * 2020-10-20 2024-05-14 腾讯科技(深圳)有限公司 Disaster recovery system testing method, device, equipment and storage medium
CN112799969A (en) * 2021-04-08 2021-05-14 蚂蚁金服(杭州)网络技术有限公司 Testing method, device and system of distributed file system

Also Published As

Publication number Publication date
CN110209556B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN106254100B (en) A kind of data disaster tolerance methods, devices and systems
CN109901949B (en) Application disaster recovery system and method for double-activity data center
KR100575497B1 (en) Fault tolerant computer system
CN110209556A (en) Disaster tolerance test method, method of payment, device, medium and service equipment
CN104503965B (en) The elastomeric High Availabitities of PostgreSQL and implementation of load balancing
CN104794028B (en) A kind of disaster tolerance processing method, device, primary data center and preliminary data center
CA2911001C (en) Failover system and method
TW201432597A (en) Electronic trading platform and method thereof
US10929254B2 (en) Data processing system providing service continuity protection
JP2010015301A (en) Storage system and remote copy recovery method
WO2017067345A1 (en) Iptv disaster recovery method, apparatus, system, and set-top box
US20160057222A1 (en) Replica server systems and methods
CN110335421A (en) A kind of method, apparatus, server and the storage medium of the troubleshooting of express delivery cabinet
WO2016107443A1 (en) Snapshot processing method and related device
CN109710699A (en) The back method of the method for recording of transaction data, transaction data
CN102855314A (en) Real-time database backup system and method based on FPGA (field programmable gate array)
CN105426213A (en) Software update method and system
CN112181723B (en) Financial disaster recovery method and device, storage medium and electronic equipment
CN105959169A (en) Transaction data processing system and method
CN109889411A (en) A kind of method and device of data transmission
JP2001301619A (en) Electronic interlock system, and control method therefor
CN104954470B (en) On-line transaction processing system and method
CN106209451B (en) DCN switching method and system
CN100490343C (en) A method and device for realizing switching between main and backup units in communication equipment
CN106325982A (en) shell processing method and device

Legal Events

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