CN109062729A - A kind of span centre heart job scheduling method, device, server and system - Google Patents
A kind of span centre heart job scheduling method, device, server and system Download PDFInfo
- Publication number
- CN109062729A CN109062729A CN201810750421.4A CN201810750421A CN109062729A CN 109062729 A CN109062729 A CN 109062729A CN 201810750421 A CN201810750421 A CN 201810750421A CN 109062729 A CN109062729 A CN 109062729A
- Authority
- CN
- China
- Prior art keywords
- transaction
- access request
- user access
- checked
- period
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of span centre heart job scheduling method, device, server and systems, are related to the technical field of disaster tolerance, initiate the user access request of moment and period to be checked comprising transaction code, request including receiving first;Then judge whether the corresponding type of transaction of user access request is default inquiry type of transaction according to transaction code;If the corresponding type of transaction of user access request is default inquiry type of transaction, initiating moment determination further according to request can query time section;Judging whether the period to be checked is located at again can be in query time section;It can be in query time section if the last period to be checked is located at, it is determined that user access request is transmitted to Disaster Preparation Center.The embodiment of the present invention can all be sent to the production center without all user access requests, alleviate the traffic pressure of the production center, improve the utilization rate of Disaster Preparation Center by inquiry class transaction allocation to Disaster Preparation Center.
Description
Technical field
The present invention relates to disaster tolerance technology field, more particularly, to a kind of span centre heart job scheduling method, device, server and
System.
Background technique
Currently, in order to avoid by the irresistible natural disaster such as such as fire, floods, earthquake, war and computer
It is lost when the human-made disasters such as crime, computer virus, power down, network/communication failure, hardware/software mistake and manual operation mistake
Appraxia user data, large enterprise usually require to establish strange land Disaster Preparation Center, guarantee user data by the data backup in strange land
The continuity of safety and business event, but be minimum probability event since disaster occurs, Disaster Preparation Center is chronically at idle
State causes resource greatly to waste.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of span centre heart job scheduling method, device, server and being
System, is chronically at the technical issues of idle state causes resource greatly to waste to alleviate Disaster Preparation Center.
In a first aspect, being applied to server the embodiment of the invention provides a kind of span centre heart job scheduling method, comprising:
Receive the user access request that moment and period to be checked are initiated comprising transaction code, request;
Judge whether the corresponding type of transaction of the user access request is default inquiry transaction class according to the transaction code
Type;
If the corresponding type of transaction of the user access request is default inquiry type of transaction, when according to request initiation
Carving determination can query time section;
Judge the period to be checked whether be located at it is described can be in query time section;
If the period to be checked be located at it is described can be in query time section, it is determined that the user access request is forwarded
To Disaster Preparation Center.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute
It states and judges whether the corresponding type of transaction of the user access request is default inquiry class transaction according to the transaction code, comprising:
The transaction code set of preset inquiry class transaction is obtained in preset type of transaction database;
Judge the transaction code whether transaction code for including in the user access request trades in the preset inquiry class
In set;
If the transaction code for including in the user access request it is described it is preset inquiry class transaction transaction code set in,
Then determine the corresponding type of transaction of the user access request for inquiry class transaction.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute
State judge the period to be checked whether be located at it is described can be in query time section, comprising:
Judge the initial time of the period to be checked whether be later than it is described can query time section initial time and institute
State the period to be checked end time whether earlier than it is described can query time section end time;
If the initial time of the period to be checked be later than it is described can the initial time of query time section and described to be checked
Ask the period end time earlier than it is described can query time section end time, it is determined that the period to be checked is located at institute
Stating can be in query time section.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute
State method further include: a kind of transaction code is set for each transaction, and is each transaction setting type of transaction, establishes number of deals
According to library.
Second aspect, the embodiment of the present invention also provide a kind of span centre heart job scheduling device, comprising:
Receiving module includes transaction code, the user access request for requesting initiation moment and period to be checked for receiving;
First judgment module, for whether judging the corresponding type of transaction of the user access request according to the transaction code
For default inquiry type of transaction;
First determining module, if being default inquiry type of transaction for the corresponding type of transaction of the user access request,
Initiating moment determination according to the request can query time section;
Second judgment module, for judge the period to be checked whether be located at it is described can be in query time section;
Second determining module, if for the period to be checked be located at it is described can be in query time section, it is determined that by institute
It states user access request and is transmitted to Disaster Preparation Center.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute
Stating first judgment module includes:
Acquiring unit, for obtaining the transaction code collection of preset inquiry class transaction in preset type of transaction database
It closes;
First judging unit, for judging whether the transaction code for including in the user access request preset is looked into described
In the transaction code set for asking class transaction;
First determination unit, if the transaction code for including in the user access request is handed in the preset inquiry class
In easy transaction code set, it is determined that the corresponding type of transaction of the user access request is inquiry class transaction.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute
Stating the second judgment module includes:
Second judgment unit, for judging that the initial time of the period to be checked can query time described in whether being later than
Section initial time and the end time of the period to be checked whether earlier than it is described can query time section end time;
Second determination unit, if the initial time for the period to be checked be later than it is described can query time section rise
Begin time and the period to be checked end time earlier than it is described can query time section end time, it is determined that it is described to
Query time section be located at it is described can be in query time section.
The third aspect, the embodiment of the present invention also provide a kind of span centre heart job scheduling system, comprising: client, management end,
Control centre, the production center and Disaster Preparation Center;
The control centre receives the user access request that the client and the management end are sent, and judges the use
Whether access request corresponding type of transaction in family is default inquiry class transaction
If the user access request is the transaction of non-default inquiry class, the user access request is transmitted in production
The heart;
If the user access request is default inquiry class transaction, judge that the user access request carries it is to be checked when
Between whether be can query time;
If the time to be checked that the user access request carries be it is described can query time, user access is asked
It asks and is transmitted to Disaster Preparation Center;
If the time to be checked that the user access request carries be it is non-it is described can query time, the user is accessed
Request is transmitted to the production center.
The embodiment of the invention also provides a kind of server, including memory, processor, being stored in the memory can
The computer program run on the processor, wherein the processor realizes above-mentioned the when executing the computer program
On the one hand the step of any described method.
The embodiment of the invention also provides a kind of computers for the non-volatile program code that can be performed with processor of can
Read medium, wherein said program code makes that the processor executes the first aspect and above-mentioned second aspect is any described
Method.
The embodiment of the present invention brings following the utility model has the advantages that the embodiment of the present invention is by receiving first comprising transaction code, asking
Seek the user access request for initiating moment and period to be checked;Then the user access request is judged according to the transaction code
Whether corresponding type of transaction is default inquiry type of transaction;If the corresponding type of transaction of the user access request is default looks into
Type of transaction is ask, initiating moment determination further according to the request can query time section;The period to be checked is judged again whether
Positioned at it is described can be in query time section;If the last period to be checked be located at it is described can be in query time section, it is determined that will
The user access request is transmitted to Disaster Preparation Center, may be implemented that the business of class type of transaction will be inquired through the embodiment of the present invention
Disaster Preparation Center is distributed to, is all sent to the production center without all user access requests, alleviates the business pressure of the production center
Power improves the utilization rate of Disaster Preparation Center.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims
And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart of span centre heart job scheduling method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of step S2 in Fig. 1;
Fig. 3 is the flow chart of step S4 in Fig. 2;
Fig. 4 is span centre heart job scheduling schematic device provided in an embodiment of the present invention;
Fig. 5 is span centre heart job scheduling system figure provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, in order to avoid by the irresistible natural disaster such as such as fire, floods, earthquake, war and computer
It is lost when the human-made disasters such as crime, computer virus, power down, network/communication failure, hardware/software mistake and manual operation mistake
Appraxia user data, large enterprise usually require to establish strange land Disaster Preparation Center, guarantee user data by the data backup in strange land
The continuity of safety and business event, but be minimum probability event since disaster occurs, Disaster Preparation Center is chronically at idle
State causes resource greatly to waste, and is based on this, a kind of span centre heart job scheduling method provided in an embodiment of the present invention, device,
Server and system can be accessed by receiving the user for initiating moment and period to be checked comprising transaction code, request first
Request;Then judge whether the corresponding type of transaction of the user access request is default inquiry transaction class according to the transaction code
Type;If the corresponding type of transaction of the user access request is default inquiry type of transaction, further according to the request initiation moment
Determination can query time section;Judge again the period to be checked whether be located at it is described can be in query time section;If last described
Period to be checked be located at it is described can be in query time section, it is determined that the user access request is transmitted to Disaster Preparation Center, is led to
Crossing the embodiment of the present invention may be implemented to inquire the traffic assignments of class type of transaction to Disaster Preparation Center, access without all users
Request is all sent to the production center, alleviates the traffic pressure of the production center, improves the utilization rate of Disaster Preparation Center.
For convenient for understanding the present embodiment, first to a kind of span centre heart job scheduling disclosed in the embodiment of the present invention
Method describes in detail, as shown in Figure 1, the span centre heart job scheduling method may comprise steps of:
Step S1 receives the user access request that moment and period to be checked are initiated comprising transaction code, request.
In inventive embodiments, the request initiation moment can refer to that client initiates the time of transaction request, Yong Hufang
Ask that the form of request can be a kind of request message, illustratively, moment, period to be checked are initiated in the transaction code, request
And other information that can identify transaction can write to form user access request according to certain specification progress message of writing, institute
State transaction code, the request initiation moment machine period to be checked can refer to three critical fielies of the request message.Illustratively,
Different banks can have different specifications of writing, and different transaction can be carried out with different transaction codes in the same bank
It distinguishes, each transaction code corresponds to a kind of transaction.
Step S2 judges whether the corresponding type of transaction of the user access request is default inquiry according to the transaction code
Type of transaction.
In embodiments of the present invention, as shown in Fig. 2, step S2 may comprise steps of:
Step S201 obtains the transaction code set of preset inquiry class transaction in preset type of transaction database;
In embodiments of the present invention, type of transaction database can refer to the pre-stored database comprising All Activity,
From transaction data base, the transaction code for inquiring class transaction can be extracted to the transaction code set for obtaining inquiry class transaction.Cause
A kind of Transaction Name is corresponded to for a kind of transaction code, the transaction of each type may include that multiple Transaction Names are illustratively looked into
The transaction code for asking remaining sum is 001, and query history transfer information is encoded to 002, and the transaction code of inquiry moon bill is 003, inquiry
Remaining sum, query history transfer information and inquiry moon bill belong to different transaction, but belong to inquiry class transaction, are same
Type of transaction.
Step S202, judges whether the transaction code for including in the user access request trades in the preset inquiry class
Transaction code set in;
Step S203, if the transaction code for including in the user access request is in the transaction of the preset inquiry class transaction
During code collection is closed, it is determined that the corresponding type of transaction of the user access request is inquiry class transaction.
In embodiments of the present invention, can by the transaction code for including in the user access request received with from type of transaction
The transaction code set of the inquiry class got in database is compared one by one, if the transaction code for including in user access request with
Some transaction code in transaction code set got in transaction data base is the same, then illustrates the user access request received
Corresponding type of transaction is inquiry class transaction.
Step S3 is asked if the corresponding type of transaction of the user access request is default inquiry type of transaction according to described
Ask initiation moment determination can query time section.
In example in real time of the invention, since different places, and geographical position is often arranged in the production center and Disaster Preparation Center
Set a good distance off, generally require carry out the strange land data duplication at two centers in the specific time daily keep Disaster Preparation Center and
The data of the production center are synchronous, illustratively, generally can all select evening 23:00 to second days 06:00 different to complete data
Ground replication synchronization, because this period general user's requirements for access is fewer.
In embodiments of the present invention, the data that synchronized mistake can only be inquired in Disaster Preparation Center due to user, so connecing
After receiving user access request, need to initiate the moment according to the request carried in user access request to determine user in calamity is standby
The heart can carry out inquiry class transaction can query time, illustratively, if carrying out Disaster Preparation Center daily and generating center
Strange land data are synchronous, then Disaster Preparation Center deadline of query time section can should initiate the previous day at moment for the request;
If weekly carry out a Disaster Preparation Center and generation the strange land data at center it is synchronous, Disaster Preparation Center can query time section deadline
Phase should initiate the last week at moment for the request.
In embodiments of the present invention, it is the traffic pressure of the production center and Disaster Preparation Center, operation management personnel can be passed through
Log in management end to inquiry class transaction setting maximum can query time section, illustratively, user can be set in backstage manager
The record of transferring accounts in 1 year can only be inquired, then can the from date of query time section should initiate the moment for the request and past be pushed forward
Calculate 1 year date, illustratively, it is on May 18th, 2018 that user access request, which initiates the moment, then this request of user can
The initial time of query time section is on May 18th, 2017.
Step S4, judge the period to be checked whether be located at it is described can be in query time section;
In embodiments of the present invention, as shown in figure 3, step S4 may comprise steps of:
Step S401, judge the initial time of the period to be checked whether be later than it is described can query time section starting
The end time of time and the period to be checked whether earlier than it is described can query time section end time;
Step S402, if the initial time of the period to be checked be later than it is described can query time section initial time and
The end time of the period to be checked earlier than it is described can query time section end time, it is determined that the time to be checked
Section be located at it is described can be in query time section.
In embodiments of the present invention, the period to be checked can refer to that user wants the period of inquiry, illustratively, user
When on April 15th, 2018 want inquiry in March, 2018 bill, request initiate the moment be on April 15th, 2018 this
One day, and the time to be checked is then in 1 day to 2018 March in 2018 this period on March 31,.Illustratively, if in production
The heart and Disaster Preparation Center all carry out the synchronous duplication in data strange land daily, if administrative staff set the maximum query time that inquiry class is traded
Section is 1 year, then according to request initiate can to determine on April at moment 15 this user can carry out inquiry operation can query time
It is illustratively March 1 in 2018 by the initial time of period to be checked on April 14,15 days to 2018 April in 2017
Number with can the initial time of query time section compare judgement on April 15th, 2017, by the end time at time end to be checked
On March 31st, 2018 with Close Date of query time section can compare judgement, be later than April 15 in 2017 on March 1st, 2018
Number and on April 14, earlier than 2018 March 31 in 2018, that is, meet the period to be checked initial time be later than it is described can
The end time of the initial time of query time section and the period to be checked earlier than it is described can be at the end of query time section
Between condition, so that it may determine the period to be checked be located at it is described can be in query time section.
Step S5, if the period to be checked be located at it is described can be in query time section, it is determined that the user is accessed
Request is transmitted to Disaster Preparation Center.
Through the embodiment of the present invention, inquiry class business can be distributed directly to Disaster Preparation Center, on the one hand alleviates production
The pressure at center, on the one hand improves the utilization rate of Disaster Preparation Center, while the transaction for also corresponding to Zuo Liaoyici Disaster Preparation Center connects
The rehearsal of pipe ability guarantees that Disaster Preparation Center can realize strange land switching with the production center when disaster occurs, and guarantee enterprise or silver
The continuity of industry business.
In another embodiment of the present invention, the span centre heart job scheduling method further include: for each transaction setting
A kind of transaction code, and be each transaction setting type of transaction, establish transaction data base.Illustratively, type of transaction can wrap
Include inquiry class, be transferred to class, produce class and apply for class etc., it includes transaction code, Transaction Name, exchange hour that all transaction, which are established,
With the corresponding relationship of the key messages such as type of transaction, form table and be stored in transaction data base, for as each transaction can
Inquire transaction data base.
In another embodiment of the present invention, as shown in figure 4, also providing a kind of span centre heart job scheduling device, comprising:
Receiving module 1 is asked for receiving the user's access for initiating moment and period to be checked comprising transaction code, request
It asks;
First judgment module 2, for judging that the corresponding type of transaction of the user access request is according to the transaction code
It is no to inquire type of transaction to be default;
First determining module 3, if being default inquiry type of transaction for the corresponding type of transaction of the user access request,
Initiating moment determination according to the request can query time section;
Second judgment module 4, for judge the period to be checked whether be located at it is described can be in query time section;
Second determining module 5, if for the period to be checked be located at it is described can be in query time section, it is determined that by institute
It states user access request and is transmitted to Disaster Preparation Center.
In another embodiment of the present invention, second judgment module includes:
Second acquisition unit, can query time section for obtain the corresponding transaction of the user access request;
Second judgment unit, for judging that the initial time of the period to be checked can query time described in whether being later than
The initial time of section;
Third judging unit, for judge the period to be checked end time whether earlier than it is described can query time
The end time of section;
Second determination unit, if the initial time for the period to be checked be later than it is described can query time section rise
Begin time and the period to be checked end time earlier than it is described can query time section end time, it is determined that it is described to
Query time section be located at it is described can be in query time section.
The technical effect and preceding method embodiment phase of device provided by the embodiment of the present invention, realization principle and generation
Together, to briefly describe, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
In another embodiment of the present invention, as shown in figure 5, also providing a kind of span centre heart job scheduling system, comprising: visitor
Family end 11, management end 12, control centre 13, the production center 14 and Disaster Preparation Center 15;
The control centre receives the user access request that the client and the management end are sent, and judges the use
Whether access request corresponding type of transaction in family is default inquiry class transaction
If the user access request is the transaction of non-default inquiry class, the user access request is transmitted in production
The heart;
If the user access request is default inquiry class transaction, judge that the user access request carries it is to be checked when
Between whether be can query time;
If the time to be checked that the user access request carries be it is described can query time, user access is asked
It asks and is transmitted to Disaster Preparation Center;
If the time to be checked that the user access request carries be it is non-it is described can query time, the user is accessed
Request is transmitted to the production center.
It in embodiments of the present invention, can be by user when the heart, Disaster Preparation Center and control centre work normally in production
Access request is directly directed to the control centre of production system by way of domain name, rather than is forwarded directly to the production center;?
The corresponding type of transaction of user access request is judged for the transaction of inquiry class and the time to be checked looks into Disaster Preparation Center is corresponding
It askes in the period, user access request can be sent to Disaster Preparation Center by control centre, mitigate the pressure of the production center, improve calamity
The utilization rate at standby center.In embodiments of the present invention, the management end can refer to the terminal that operation management personnel uses, O&M pipe
Reason personnel can by log in management end to scheduling system carry out backstage maintenance and management, such as transaction data base update and
Modification, can also to the business proportion of the production center and Disaster Preparation Center carry out ratio allotment, illustratively in production the heart because of electricity
When the bursting problems such as power shortage generate traffic handing capacity deficiency, operation management personnel can by logging in management end
Increased with being sent to the type of transaction of Disaster Preparation Center, so that Disaster Preparation Center is undertaken more business and then mitigate the business pressure of the production center
Power.
In example in real time of the invention, the heart and Disaster Preparation Center it can also locate one control centre of each setting, formation in production
Double control centre's deployment, and the domain name configuration information of the control centre Liang Ge is stored in DNS name server, client and pipe
Reason end can also be each configured to domain name mode, when the control centre of the production center is interrupted, the scheduling of strange land Disaster Preparation Center
Center can rapid pipe connecting user access, can accomplish seamless switching substantially, ensured user access stable operation.
In another embodiment of the present invention, a kind of server, including memory, processor, the memory are also provided
In be stored with the computer program that can be run on the processor, wherein when the processor executes the computer program
The step of realizing method described in above-mentioned first aspect.
In another embodiment of the present invention, a kind of non-volatile program code that can be performed with processor is also provided
Computer-readable medium, wherein said program code makes the processor execute above-mentioned any the method for first aspect.
The computer program of span centre heart job scheduling method, device provided by the embodiment of the present invention, server and system
Product, the computer readable storage medium including storing program code, the instruction that said program code includes can be used for executing
Previous methods method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. a kind of span centre heart job scheduling method, which is characterized in that be applied to server, comprising:
Receive the user access request that moment and period to be checked are initiated comprising transaction code, request;
Judge whether the corresponding type of transaction of the user access request is default inquiry type of transaction according to the transaction code;
If the corresponding type of transaction of the user access request is default inquiry type of transaction, true according to the request initiation moment
It surely can query time section;
Judge the period to be checked whether be located at it is described can be in query time section;
If the period to be checked be located at it is described can be in query time section, it is determined that the user access request is transmitted to calamity
Standby center.
2. span centre heart job scheduling method according to claim 1, which is characterized in that described to be judged according to the transaction code
Whether the corresponding type of transaction of the user access request is default inquiry class transaction, comprising:
The transaction code set of preset inquiry class transaction is obtained in preset type of transaction database;
Judge the transaction code the set whether transaction code for including in the user access request trades in the preset inquiry class
In;
If the transaction code for including in the user access request is in the transaction code set of the preset inquiry class transaction, really
Determining the corresponding type of transaction of the user access request is inquiry class transaction.
3. span centre heart job scheduling method according to claim 1, which is characterized in that the judgement time to be checked
Section whether be located at it is described can be in query time section, comprising:
Judge the initial time of the period to be checked whether be later than it is described can query time section initial time and it is described to
The end time of query time section whether earlier than it is described can query time section end time;
If the initial time of the period to be checked be later than it is described can query time section initial time and it is described to be checked when
Between section end time earlier than it is described can query time section end time, it is determined that the period to be checked be located at it is described can
In query time section.
4. span centre heart job scheduling method according to claim 1, which is characterized in that the method also includes: it is each
A kind of transaction code is arranged in kind transaction, and is each transaction setting type of transaction, establishes transaction data base.
5. a kind of span centre heart job scheduling device characterized by comprising
Receiving module includes transaction code, the user access request for requesting initiation moment and period to be checked for receiving;
First judgment module, for judging whether the corresponding type of transaction of the user access request is pre- according to the transaction code
If inquiring type of transaction;
First determining module, if being default inquiry type of transaction for the corresponding type of transaction of the user access request, according to
Moment determination is initiated in the request can query time section;
Second judgment module, for judge the period to be checked whether be located at it is described can be in query time section;
Second determining module, if for the period to be checked be located at it is described can be in query time section, it is determined that by the use
Family access request is transmitted to Disaster Preparation Center.
6. span centre heart job scheduling device according to claim 5, which is characterized in that the first judgment module includes:
Acquiring unit, for obtaining the transaction code set of preset inquiry class transaction in preset type of transaction database;
First judging unit, whether the transaction code for judging to include in the user access request is in the preset inquiry class
In the transaction code set of transaction;
First determination unit, if the transaction code for including in the user access request is traded in the preset inquiry class
In transaction code set, it is determined that the corresponding type of transaction of the user access request is inquiry class transaction.
7. span centre heart job scheduling device according to claim 5, which is characterized in that second judgment module includes:
Second judgment unit, for judge the initial time of the period to be checked whether be later than it is described can query time section
The end time of initial time and the period to be checked whether earlier than it is described can query time section end time;
Second determination unit, if the initial time for the period to be checked be later than it is described can query time section starting when
Between and the period to be checked end time earlier than it is described can query time section end time, it is determined that it is described to be checked
Period be located at it is described can be in query time section.
8. a kind of span centre heart job scheduling system characterized by comprising client, management end, control centre, the production center
And Disaster Preparation Center;
The control centre receives the user access request that the client and the management end are sent, and judges that the user visits
Ask whether the corresponding type of transaction of request is default inquiry class transaction
If the user access request is the transaction of non-default inquiry class, the user access request is transmitted to the production center;
If the user access request is default inquiry class transaction, the time to be checked for judging that the user access request carries is
It is no for can query time;
If the time to be checked that the user access request carries be it is described can query time, the user access request is turned
Issue Disaster Preparation Center;
If the time to be checked that the user access request carries be it is non-it is described can query time, by the user access request
It is transmitted to the production center.
9. a kind of server, including memory, processor, the meter that can be run on the processor is stored in the memory
Calculation machine program, which is characterized in that the processor realizes any one of the claims 1 to 4 when executing the computer program
The step of described method.
10. a kind of computer-readable medium for the non-volatile program code that can be performed with processor, which is characterized in that described
Program code makes the processor execute described any the method for claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810750421.4A CN109062729A (en) | 2018-07-10 | 2018-07-10 | A kind of span centre heart job scheduling method, device, server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810750421.4A CN109062729A (en) | 2018-07-10 | 2018-07-10 | A kind of span centre heart job scheduling method, device, server and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109062729A true CN109062729A (en) | 2018-12-21 |
Family
ID=64819343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810750421.4A Pending CN109062729A (en) | 2018-07-10 | 2018-07-10 | A kind of span centre heart job scheduling method, device, server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062729A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831494A (en) * | 2019-01-21 | 2019-05-31 | 生迪智慧科技有限公司 | User data management and equipment |
CN115242723A (en) * | 2022-07-20 | 2022-10-25 | 中国银行股份有限公司 | Cross-system current limiting method and device |
WO2024001696A1 (en) * | 2022-06-30 | 2024-01-04 | 杭州海康威视数字技术股份有限公司 | User service request assigning method, apparatus and system, and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040143637A1 (en) * | 2003-01-20 | 2004-07-22 | Koning G. Paul | Adaptive storage block data distribution |
CN105763386A (en) * | 2016-05-13 | 2016-07-13 | 中国工商银行股份有限公司 | Service processing system and method |
CN105812465A (en) * | 2016-03-11 | 2016-07-27 | 厦门翼逗网络科技有限公司 | Load balancing method, device and system of game servers |
CN105847391A (en) * | 2016-04-25 | 2016-08-10 | 云南电网有限责任公司昆明供电局 | Distributed cloud data central structure |
CN107766175A (en) * | 2017-09-07 | 2018-03-06 | 中国光大银行股份有限公司信用卡中心 | A kind of data handling system for bank |
-
2018
- 2018-07-10 CN CN201810750421.4A patent/CN109062729A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040143637A1 (en) * | 2003-01-20 | 2004-07-22 | Koning G. Paul | Adaptive storage block data distribution |
CN105812465A (en) * | 2016-03-11 | 2016-07-27 | 厦门翼逗网络科技有限公司 | Load balancing method, device and system of game servers |
CN105847391A (en) * | 2016-04-25 | 2016-08-10 | 云南电网有限责任公司昆明供电局 | Distributed cloud data central structure |
CN105763386A (en) * | 2016-05-13 | 2016-07-13 | 中国工商银行股份有限公司 | Service processing system and method |
CN107766175A (en) * | 2017-09-07 | 2018-03-06 | 中国光大银行股份有限公司信用卡中心 | A kind of data handling system for bank |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831494A (en) * | 2019-01-21 | 2019-05-31 | 生迪智慧科技有限公司 | User data management and equipment |
CN109831494B (en) * | 2019-01-21 | 2021-11-02 | 生迪智慧科技有限公司 | User data management method and device |
WO2024001696A1 (en) * | 2022-06-30 | 2024-01-04 | 杭州海康威视数字技术股份有限公司 | User service request assigning method, apparatus and system, and device |
CN115242723A (en) * | 2022-07-20 | 2022-10-25 | 中国银行股份有限公司 | Cross-system current limiting method and device |
CN115242723B (en) * | 2022-07-20 | 2024-03-01 | 中国银行股份有限公司 | Cross-system current limiting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107391294B (en) | Method and device for establishing IPSAN disaster recovery system | |
CN109062729A (en) | A kind of span centre heart job scheduling method, device, server and system | |
CN103226539B (en) | Service level objective for cloud hosts applications | |
CN101460907B (en) | Method and dsystem for managing execution of programs | |
RU2604519C2 (en) | Cross-cloud management and troubleshooting | |
CN1894930B (en) | Apparatus, system, and method for grid based data storage | |
CN111314479B (en) | Data processing method and equipment | |
CN103562904A (en) | Replaying jobs at a secondary location of a service | |
CN101924650B (en) | Method for implementing services and intelligent server autonomy of failure information system | |
CN104809510A (en) | Building method of ticket pool middleware for providing ticket support, ticket purchasing and ticket locking methods | |
CN107169737A (en) | A kind of urban fire control water source generalized information management system based on internet | |
CN103645953A (en) | Providing executing programs with reliable access to non-local block data storage | |
US8909189B2 (en) | System, method and program product for maintaining deployed response team members synchronized | |
CN109240855B (en) | Method and device for realizing double-active disaster recovery aiming at server virtualization system | |
CN109101364A (en) | Double center dual-active data processing systems and method | |
CN112988751B (en) | Timing task scheduling method and device based on block chain | |
CN110348826B (en) | Method, system, equipment and readable storage medium for disaster recovery of multiple living things in different places | |
CN109117305A (en) | A kind of data back up method, device, equipment and computer readable storage medium | |
CN103701913A (en) | Data synchronization method and device | |
CN103973641A (en) | Method and device for managing conversations of different web sites | |
CN103502939A (en) | Method and system managing virtual machine | |
CN105760251B (en) | A kind of method and apparatus of Backup Data | |
CN101669109A (en) | With the file storage location that separates method and system as unified file storage | |
CN102591842B (en) | Volumes and file system in cluster shared volumes | |
CN103428288A (en) | Method for synchronizing copies on basis of partition state tables and coordinator nodes |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |