CN106341440A - Data updating method and device - Google Patents
Data updating method and device Download PDFInfo
- Publication number
- CN106341440A CN106341440A CN201510412448.9A CN201510412448A CN106341440A CN 106341440 A CN106341440 A CN 106341440A CN 201510412448 A CN201510412448 A CN 201510412448A CN 106341440 A CN106341440 A CN 106341440A
- Authority
- CN
- China
- Prior art keywords
- application server
- request
- business processing
- data
- user
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/148—Migration or transfer of sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
An embodiment of the invention provides a data updating method and a data updating device. The data updating method comprises the steps of: receiving a data updating request sent by a first application server, wherein the first application server is one of application servers deployed in clusters; and when receiving a service processing request, sending the service processing request to the application servers deployed in clusters except the first application server if information about completion of data updating sent by the first application server is not received. The data updating method realizes the decoupling of the data updating process and the service processing process of the application server, ensures that normal access and service processing of a user cannot be affected during the data updating process of the application server, and reduces the data disorder problem which is possible to occur because service processing is performed simultaneously in the data updating process.
Description
Technical field
The application is related to technical field of data processing, more particularly to a kind of data-updating method and a kind of number
According to updating device.
Background technology
Quantity with application gets more and more, and the customer group of application service is increasing, system and system
Between relation can become to be increasingly difficult to combing with the intricate of operation flow.
Each system such as personal homepage in actual deployment, login center, member system, air control system etc.,
It is all clustered deploy(ment), so-called clustered deploy(ment) is that have multiple stage machine all to have identical function, for example, application
Server a and application server b all can provide identical multiple application service.The mode of clustered deploy(ment)
Each application server can be made to carry out more flexible, more efficient data processing to user's request etc..
However, when a certain application is carried out with data renewal, such as when issuing fresh code, if to cluster
Each application server in deployment is carrying out carrying out data renewal while normal data is processed, then need tight
Lattice are progressively updated to each application server in cluster according to operation flow, and get over operation flow
It is more intricate to come, and this data refresh mode easily leads to data entanglement, and then may lead to occur huge
The problems such as money of volume is damaged, this can have a strong impact on Consumer's Experience.
Therefore, the urgent technical problem solving of those skilled in the art is needed to be exactly at present: how
Enough reduce application data and update the probability leading to data entanglement.
Content of the invention
The embodiment of the present application technical problem to be solved is to provide a kind of data-updating method, can reduce
Application data updates the probability leading to data entanglement.
Accordingly, the embodiment of the present application additionally provides a kind of data update apparatus, in order to ensure said method
Realization and application.
In order to solve the above problems, this application discloses a kind of data-updating method, comprising:
Receive the data renewal request that the first application server sends, wherein, described first application server
One of application server for clustered deploy(ment);
When receiving Business Processing request, if not receiving the data that described first application server sends
Update the information finishing, then send the request of described Business Processing in addition to described first application server
Described clustered deploy(ment) application server.
Further, methods described also includes:
When receiving Business Processing request, if having been received by the data that described first application server sends
Update the information finishing, then send the request of described Business Processing to the application service of described clustered deploy(ment)
Device.
Further, the described application server that the request of described Business Processing is sent extremely described clustered deploy(ment),
Including:
Judge whether the user sending described Business Processing request belongs to predetermined user's white list;
If so, then the request of described Business Processing is sent to described first application server.
Further, methods described also includes:
When described user is not belonging to described predetermined user's white list, described Business Processing is asked to send
Application server to the described clustered deploy(ment) in addition to described first application server.
The embodiment of the present application also discloses a kind of data-updating method, comprising:
Carry out data renewal and send data renewal request to gateway, to stop to receive business from described gateway
Process request;
When data renewal completes, send, to described gateway, the information that data renewal finishes.
Further, methods described also includes:
Receive the Business Processing request that described gateway sends;
Judge whether the user sending the request of described Business Processing to described gateway belongs to predetermined user white
List;
If so, then Business Processing is carried out according to the request of described Business Processing.
Further, methods described also includes:
When described user is not belonging to described predetermined user's white list, forward described Business Processing request.
The embodiment of the present application also discloses a kind of data update apparatus it is characterised in that including:
Request reception unit, is configured to receive the data renewal request that the first application server sends, its
In, described first application server is one of application server of clustered deploy(ment);
Route control unit, when being configured as receiving Business Processing request, if do not receive described the
The data information that finishes of renewal that one application server sends, then send the request of described Business Processing to removing
The application server of the described clustered deploy(ment) outside described first application server.
Further, described route control unit, is additionally configured to when receiving Business Processing request, if
Have been received by the information that the data renewal of described first application server transmission finishes, then by described business
Reason request sends to the application server of described clustered deploy(ment).
Further, described route control unit includes:
Judgment sub-unit, whether the user being configured to judge to send described Business Processing request belongs to predetermined
User's white list;
Route subelement, is configured as described in described judgment sub-unit judgement for belonging to described predetermined
During user's white list, the request of described Business Processing is sent to described first application server.
Further, described route subelement, be additionally configured to when described judgment sub-unit judge described in be used for
When being not belonging to described predetermined user's white list, the request of described Business Processing is sent to except described first should
Application server with the described clustered deploy(ment) outside server.
The embodiment of the present application also discloses a kind of data update apparatus, comprising:
Request unit, is configured for data and updates and send data renewal request to gateway, to stop
Receive Business Processing request from described gateway;
Feedback unit, is configured as data and updates when completing, and sends data to described gateway and updates and finishes
Information.
Further, described device also includes:
Receiving unit, is configured to receive the Business Processing request that described gateway sends;
Whether judging unit, be configured to judge the user sending the request of described Business Processing to described gateway
Belong to predetermined user's white list;
Service Processing Unit, is configured as described judging unit and judges that described user belongs to described predetermined
During user's white list, Business Processing is carried out according to the request of described Business Processing.
Further, described device also includes:
Retransmission unit, is configured as described judging unit and judges that described user is not belonging to described predetermined use
During the white list of family, forward described Business Processing request.
Compared with prior art, the embodiment of the present application includes advantages below:
The embodiment of the present application by application server carry out data update when, on this application server
Business Processing request is shunted, and carries out Business Processing by the other application server in clustered deploy(ment), real
Show the data updating process of this application server and the decoupling of business procession, not only ensured that this should
With not interfering with normal access and the Business Processing of user in server data renewal process, and decrease
Carry out the data entanglement problem that Business Processing may lead in data updating process simultaneously.
Brief description
Fig. 1 is a kind of flow chart of steps of data-updating method embodiment of the application;
Fig. 2 is a kind of side that Business Processing request sends the application server to clustered deploy(ment) of the application
The flow chart of steps of method embodiment;
Fig. 3 is the flow chart of steps of another kind of data-updating method embodiment of the application;
Fig. 4 is the flow chart of steps of another kind of data-updating method embodiment of the application;
Fig. 5 is a kind of structured flowchart of data update apparatus embodiment of the application;
Fig. 6 is a kind of structured flowchart of route control unit embodiment of the application;
Fig. 7 is the structured flowchart of another kind of data update apparatus embodiment of the application;
Fig. 8 is the structured flowchart of another kind of data update apparatus embodiment of the application.
Specific embodiment
Understandable for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from, below in conjunction with the accompanying drawings
With specific embodiment, the application is described in further detail.
With reference to Fig. 1, show a kind of flow chart of steps of data-updating method embodiment of the application, tool
Body may include steps of:
Step 101, receives the data renewal request that the first application server sends, wherein, the first application
Server is one of application server of clustered deploy(ment).
The application server that the embodiment of the present application is applied to clustered deploy(ment) carries out the scene of data renewal, for example
The scene of fresh code issued by application server, and this is used for the device (hereinafter referred to as this device) of data renewal
Can be specifically gateway it is also possible to be provided in device of intra-gateway etc..
In the present embodiment, each application server of clustered deploy(ment) by the way of carrying out data renewal respectively,
Can be that application server is updated one by one, after the completion of an application server updates, Another Application takes
Business device is updated again;Can also be that several application servers are updated simultaneously, after the completion of renewal, its
Its application server is updated again.The method that each application server updates is identical.
Taking the first application server as a example, this first application server be clustered deploy(ment) application server it
One, not refer in particular to a certain application server, the data-updating method of each application server and this first application
The data-updating method of server is identical.
When the first application server will carry out data renewal, when such as carrying out fresh code issue, first to this
Device sends data and updates request, to inform that this device first application server will carry out data renewal.
After this device receives the renewal request of this data, can be to the first application service in gateway routing table
Device is marked, and stops to process request to this first application server forwarding service with temporary transient, until receiving
To the first application server data update the information completing when, then change or cancel this labelling.Certainly, should
Device can also carry out labelling the first application server state in which using alternate manner, includes whether to be in
Data more new state, and whether data renewal finishes, and is only for example herein.
Step 102, when receiving Business Processing request, if do not receive described first application server
The information that the data renewal sending finishes, then send the request of described Business Processing to except the described first application
The application server of the described clustered deploy(ment) outside server.
The Business Processing request that this device receives can have polytype, the access request of such as user
Deng.This device, after receiving Business Processing request, can check routing table to determine this Business Processing
Which application server request is forwarded to, if the labelling in routing table shows that this device not yet receives this
The data that first application server sends updates the information finishing, then this Business Processing will not be asked by this device
Ask and be forwarded to the first application server, but the other application server sending to clustered deploy(ment) enters industry
Business is processed.
If this device has been received that the information that the renewal of this first application server data finishes, hold
Row step 103.
Step 103, when receiving Business Processing request, if having been received by the first application server send
The data information that finishes of renewal, then Business Processing request is sent to the application server of clustered deploy(ment).
This device can select an application server according to routing table, and the request of this Business Processing is sent extremely
This application server, this application server can be the first application server or and its deployment
Other application server.
The embodiment of the present application by application server carry out data update when, on this application server
Business Processing request is shunted, and carries out Business Processing by the other application server in clustered deploy(ment), real
Show the data updating process of this application server and the decoupling of business procession, not only ensured that this should
With not interfering with normal access and the Business Processing of user in server data renewal process, and decrease
Carry out the data entanglement problem that Business Processing may lead in data updating process simultaneously.
In another embodiment of the application, when this device receives Business Processing request, have been received by
The information that the data renewal that first application server sends finishes, then send Business Processing request to cluster
The process of the application server of deployment, as shown in Fig. 2 may include that
Step 201, judges whether the user sending Business Processing request belongs to predetermined user's white list.
In the present embodiment, this device can send Business Processing request to the first application server, is sending out
Before sending, first determine whether whether the user of this initiation Business Processing request belongs to predetermined user's white list,
This user's white list contains and can access this first application clothes after the first application server data updates
The user of business device, the particular user comprising in this user's white list can be arranged as required to.
If the user of this initiation Business Processing request belongs to this user's white list, this device execution step
202, if being not belonging to, execution step 203.
Step 202, Business Processing request is sent to the first application server.
If belonging to user's white list, this device can send this service request to the first application service
Device, carries out Business Processing by this first application server, and result is back to use by this device
Family.This user can access or using the New function after the renewal of this first application server data.
Step 203, Business Processing request is sent to the clustered deploy(ment) in addition to the first application server
Application server.
When being not belonging to predetermined user's white list, the request of this Business Processing would not be sent extremely by this device
First application server, but send it to other application servers in clustered deploy(ment) and carry out at business
Reason, and result is back to this user by this device.
The embodiment of the present application accesses this application clothes after arranging user's white list to limit data renewal
The user of business device, namely only white list user just can access or using up-to-date after data renewal
Function, the problem that the method can be likely to occur after updating data is reduced within the scope of controlled.
In another embodiment, this device can also arrange other conditions, only meets the industry of this condition
Business processes request and just can send to the first application server, will not enumerate herein.
With reference to Fig. 3, show the flow chart of steps of another kind of data-updating method embodiment of the application.
The present embodiment is described with application server for executive agent.Specifically may include steps of:
Step 301, carries out data renewal and sends data renewal request, to stop to connect from gateway to gateway
Receive Business Processing request.
This application server is one of application server of clustered deploy(ment), will enter line number in this application server
During according to updating, such as when issuing fresh code, sending data to gateway first and updating request.
Gateway is upon receiving the request, you can stop to send Business Processing request to this application server.
With reference to the description of preceding method embodiment before detailed process.
Step 302, when data renewal completes, sends, to gateway, the information that data renewal finishes.
This application server will not receive that gateway sends in data updating process and Business Processing please
Ask, after data updates and finishes, this application server sends the information that data renewal finishes, net to gateway
After pass receives this information, you can restart to send Business Processing request to this application server.
The embodiment of the present application by application server carry out data update when, on this application server
Business Processing request is shunted, and carries out Business Processing by the other application server in clustered deploy(ment), real
Show the data updating process of this application server and the decoupling of business procession, not only ensured that this should
With not interfering with normal access and the Business Processing of user in server data renewal process, and decrease
Carry out the data entanglement problem that Business Processing may lead in data updating process simultaneously.
In another embodiment of the application, as shown in figure 4, the method can further include:
Step 401, receives the Business Processing request that gateway sends.
After the renewal of application server data terminates, gateway can be sent to Business Processing request.This reality
Apply in example, gateway can beg off from doing to Client-initiated Business Processing screening, and directly issues this application
Server is it is also possible to be sent to this application server after screening.
After application server receives Business Processing request, directly can carry out Business Processing, but in this reality
Apply in example, first carry out step 402.
Step 402, judges whether the user sending the request of this Business Processing to gateway belongs to predetermined user
White list.
This predetermined user's white list is similar with the user's white list in previous embodiment.This application server
First determining whether whether the user of this initiation Business Processing request belongs to user's white list, if belonging to, executing
Step 403, if being not belonging to, execution step 404.
Step 403, carries out Business Processing according to Business Processing request.
If belonging to user's white list, this application server directly carries out Business Processing, and is returned by gateway
Return result to this user.
Step 404, forwards this Business Processing to ask.
In the present embodiment, if the user of this initiation Business Processing request is not belonging to the white name of predetermined user
Single, then this application server will not carry out Business Processing, but forwards it to other integrated deployment
Server carries out Business Processing, passes through gateway to user feedback result from other servers.
The problem that the method can be likely to occur after updating data is reduced within the scope of controlled.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one and be
The combination of actions of row, but those skilled in the art should know, and the embodiment of the present application is not subject to described
Sequence of movement restriction because according to the embodiment of the present application, some steps can using other orders or
Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description
Belong to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 5, show a kind of structured flowchart of the application data update apparatus embodiment, specifically may be used
To include as lower unit:
Request reception unit 501, is configured to receive the data renewal request that the first application server sends,
Wherein, described first application server is one of application server of clustered deploy(ment).
Route control unit 502, when being configured as receiving Business Processing request, if do not receive institute
State the information that the data renewal of the first application server transmission finishes, then ask to send by described Business Processing
Application server to the described clustered deploy(ment) in addition to described first application server.
In the embodiment of the present application, this device by said units application server carry out data update when,
Business Processing request on this application server is shunted, by the other application service in clustered deploy(ment)
Device carries out Business Processing it is achieved that the solution of the data updating process of this application server and business procession
Coupling, has not only ensured normal access and the industry not interfering with user in this application server data updating process
Business is processed, and decreases the data mistake simultaneously carrying out in data updating process that Business Processing may lead to
Random problem.
In another embodiment, this route control unit 502, can be additionally configured to receive business
When processing request, if the information that the data renewal having been received by described first application server transmission finishes,
Then the request of described Business Processing is sent to the application server of described clustered deploy(ment).
In another embodiment, as shown in fig. 6, this route control unit 502 can further include:
Judgment sub-unit 601, whether the user being configured to judge to send described Business Processing request belongs to
Predetermined user's white list.
Route subelement 602, be configured as described judgment sub-unit 601 judge described in be used for belonging to institute
When stating predetermined user's white list, the request of described Business Processing is sent to described first application server.
Route subelement 602, can be additionally configured to judge when described judgment sub-unit 601 described in be used for
When being not belonging to described predetermined user's white list, the request of described Business Processing is sent to except described first should
Application server with the described clustered deploy(ment) outside server.
This device is reduced to controlled by the problem that above-mentioned subelement can be likely to occur after updating data
Within the scope of.
With reference to Fig. 7, show a kind of structured flowchart of the application data update apparatus embodiment, specifically may be used
To include as lower unit:
Request unit 701, is configured for data and updates and send data renewal request to gateway, with
Stop to receive Business Processing request from described gateway.
Feedback unit 702, is configured as data and updates when completing, and sends data to described gateway and updates
The information finishing.
In the embodiment of the present application, this device is updated by the data that said units achieve this application server
Process and the decoupling of business procession, not only having ensured will not in this application server data updating process
The normal access of impact user and Business Processing, and decrease and in data updating process, carry out business simultaneously
Process the data entanglement problem that may lead to.
In another embodiment, as shown in figure 8, this device can also include:
Receiving unit 801, is configured to receive the Business Processing request that described gateway sends.
Judging unit 802, is configured to judge send the user of described Business Processing request to described gateway
Whether belong to predetermined user's white list.
Service Processing Unit 803, is configured as described judging unit 802 and judges that described user belongs to institute
When stating predetermined user's white list, Business Processing is carried out according to the request of described Business Processing.
Retransmission unit 804, being configured as described judging unit 802, to judge that described user is not belonging to described
During predetermined user's white list, forward described Business Processing request.
This device is reduced to controlled by the problem that said units can be likely to occur after updating data
Within the scope of.
The embodiment of the present application also discloses a kind of data update apparatus, including memorizer, transceiver and process
Device.
Processor is connected with each other by bus with memorizer, transceiver;Bus can be isa bus, pci
Bus or eisa bus etc..Described bus can be divided into address bus, data/address bus, controlling bus etc..
Wherein, memorizer is used for one section of program of storage, and specifically, program can include program code, institute
State program code and include computer-managed instruction.Memorizer may comprise high speed ram memorizer, also may be used
Nonvolatile memory (non-volatile memory), for example, at least one disk memory can also be included.
Transceiver, updates request for receiving the data that the first application server sends, wherein, described the
One application server is one of application server of clustered deploy(ment);Instruction according to processor is by Business Processing
Request sends to the application server of the described clustered deploy(ment) in addition to described first application server.
Processor is used for reading the program code in memorizer, execution following steps:
When transceiver receives Business Processing request, if do not receive described first application server sending
The data information that finishes of renewal, then notify transceiver to send Business Processing request to except described first should
Application server with the described clustered deploy(ment) outside server.
This device can be specifically gateway.
The embodiment of the present application also discloses a kind of data update apparatus, including memorizer, transceiver and process
Device.
Processor is connected with each other by bus with memorizer, transceiver;Bus can be isa bus, pci
Bus or eisa bus etc..Described bus can be divided into address bus, data/address bus, controlling bus etc..
Wherein, memorizer is used for one section of program of storage, and specifically, program can include program code, institute
State program code and include computer-managed instruction.Memorizer may comprise high speed ram memorizer, also may be used
Nonvolatile memory (non-volatile memory), for example, at least one disk memory can also be included.
Transceiver, sends data for the instruction according to processor to gateway and updates request;To described gateway
Send the information that data renewal finishes.
Processor is used for reading the program code in memorizer, execution following steps:
Carry out data to update and notify transceiver to send data renewal request to gateway, to stop from described net
Close and receive Business Processing request;
When data renewal completes, transceiver is notified to send, to described gateway, the letter that data renewal finishes
Breath.
This device can be specifically application server.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison of description
Simply, in place of correlation, the part referring to embodiment of the method illustrates.
Each embodiment in this specification is all described by the way of going forward one by one, and each embodiment stresses
Be all difference with other embodiment, between each embodiment identical similar partly mutually referring to
?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, dress
Put or computer program.Therefore, the embodiment of the present application can be using complete hardware embodiment, completely
Software implementation or the form of the embodiment with reference to software and hardware aspect.And, the embodiment of the present application
Storage can be can use to be situated between using in one or more computers wherein including computer usable program code
The upper computer journey implemented of matter (including but not limited to disk memory, cd-rom, optical memory etc.)
The form of sequence product.
In a typical configuration, described computer equipment includes one or more processors
(cpu), input/output interface, network interface and internal memory.Internal memory potentially includes computer-readable medium
In volatile memory, the shape such as random access memory (ram) and/or Nonvolatile memory
Formula, such as read only memory (rom) or flash memory (flash ram).Internal memory is computer-readable medium
Example.Computer-readable medium includes permanent and non-permanent, removable and non-removable media
Information Store can be realized by any method or technique.Information can be computer-readable instruction,
Data structure, the module of program or other data.The example of the storage medium of computer includes, but
It is not limited to phase transition internal memory (pram), static RAM (sram), dynamic random are deposited
Access to memory (dram), other kinds of random access memory (ram), read only memory
(rom), Electrically Erasable Read Only Memory (eeprom), fast flash memory bank or other in
Deposit technology, read-only optical disc read only memory (cd-rom), digital versatile disc (dvd) or other
Optical storage, magnetic cassette tape, tape magnetic rigid disk storage other magnetic storage apparatus or any its
His non-transmission medium, can be used for storing the information that can be accessed by a computing device.According to herein
Define, computer-readable medium does not include the computer readable media (transitory media) of non-standing,
Data signal and carrier wave as modulation.
The embodiment of the present application is with reference to according to the method for the embodiment of the present application, terminal unit (system) and meter
The flow chart of calculation machine program product and/or block diagram are describing.It should be understood that can be by computer program instructions
Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame
The flow process of in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer,
The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipments is to produce
One machine is so that pass through the computing device of computer or other programmable data processing terminal equipments
Instruction produce for realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The device of the function of specifying in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process
So that being stored in this computer-readable in the computer-readable memory that terminal unit works in a specific way
Instruction in memorizer produces and includes the manufacture of command device, and the realization of this command device is in flow chart one
The function of specifying in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set
For upper so that execution series of operation steps is in terms of producing on computer or other programmable terminal equipments
The process that calculation machine is realized, thus the instruction of execution provides use on computer or other programmable terminal equipments
In realization in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The step of the function of specifying.
Although having been described for the preferred embodiment of the embodiment of the present application, those skilled in the art are once
Know basic creative concept, then these embodiments can be made with other change and modification.So,
The institute that claims are intended to be construed to including preferred embodiment and fall into the embodiment of the present application scope
Have altered and change.
Finally in addition it is also necessary to illustrate, herein, such as first and second or the like relational terms
It is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily require
Or imply between these entities or operation, there is any this actual relation or order.And, art
Language " inclusion ", "comprising" or its any other variant are intended to comprising of nonexcludability, so that
Not only include those key elements including a series of process of key elements, method, article or terminal unit, and
Also include other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of person's terminal unit.In the absence of more restrictions, " include one by sentence
Individual ... " key element that limits is it is not excluded that at process, method, article or the end including described key element
Also there is other identical element in end equipment.
Above to a kind of data-updating method provided herein and a kind of data update apparatus, carry out
It is discussed in detail, specific case used herein is set forth to the principle of the application and embodiment,
The explanation of above example is only intended to help and understands the present processes and its core concept;Meanwhile, right
In one of ordinary skill in the art, according to the thought of the application, in specific embodiment and range of application
On all will change, in sum, this specification content should not be construed as the restriction to the application.
Claims (14)
1. a kind of data-updating method is it is characterised in that include:
Receive the data renewal request that the first application server sends, wherein, described first application server
One of application server for clustered deploy(ment);
When receiving Business Processing request, if not receiving the data that described first application server sends
Update the information finishing, then send the request of described Business Processing in addition to described first application server
Described clustered deploy(ment) application server.
2. method according to claim 1 is it is characterised in that methods described also includes:
When receiving Business Processing request, if having been received by the data that described first application server sends
Update the information finishing, then send the request of described Business Processing to the application service of described clustered deploy(ment)
Device.
3. method according to claim 2 is it is characterised in that described please by described Business Processing
Seek the application server sending to described clustered deploy(ment), comprising:
Judge whether the user sending described Business Processing request belongs to predetermined user's white list;
If so, then the request of described Business Processing is sent to described first application server.
4. method according to claim 3 is it is characterised in that methods described also includes:
When described user is not belonging to described predetermined user's white list, described Business Processing is asked to send
Application server to the described clustered deploy(ment) in addition to described first application server.
5. a kind of data-updating method is it is characterised in that include:
Carry out data renewal and send data renewal request to gateway, to stop to receive business from described gateway
Process request;
When data renewal completes, send, to described gateway, the information that data renewal finishes.
6. method according to claim 5 is it is characterised in that methods described also includes:
Receive the Business Processing request that described gateway sends;
Judge whether the user sending the request of described Business Processing to described gateway belongs to predetermined user white
List;
If so, then Business Processing is carried out according to the request of described Business Processing.
7. method according to claim 6 is it is characterised in that methods described also includes:
When described user is not belonging to described predetermined user's white list, forward described Business Processing request.
8. a kind of data update apparatus are it is characterised in that include:
Request reception unit, is configured to receive the data renewal request that the first application server sends, its
In, described first application server is one of application server of clustered deploy(ment);
Route control unit, when being configured as receiving Business Processing request, if do not receive described the
The data information that finishes of renewal that one application server sends, then send the request of described Business Processing to removing
The application server of the described clustered deploy(ment) outside described first application server.
9. device according to claim 8 it is characterised in that
Described route control unit, is additionally configured to when receiving Business Processing request, if having been received by
The information that the data renewal that described first application server sends finishes, then send out the request of described Business Processing
Deliver to the application server of described clustered deploy(ment).
10. device according to claim 9 is it is characterised in that described route control unit includes:
Judgment sub-unit, whether the user being configured to judge to send described Business Processing request belongs to predetermined
User's white list;
Route subelement, is configured as described in described judgment sub-unit judgement for belonging to described predetermined
During user's white list, the request of described Business Processing is sent to described first application server.
11. devices according to claim 10 it is characterised in that
Described route subelement, be additionally configured to when described judgment sub-unit judge described in be used for being not belonging to institute
When stating predetermined user's white list, the request of described Business Processing is sent to except described first application server
Outside described clustered deploy(ment) application server.
A kind of 12. data update apparatus are it is characterised in that include:
Request unit, is configured for data and updates and send data renewal request to gateway, to stop
Receive Business Processing request from described gateway;
Feedback unit, is configured as data and updates when completing, and sends data to described gateway and updates and finishes
Information.
13. devices according to claim 12 are it is characterised in that described device also includes:
Receiving unit, is configured to receive the Business Processing request that described gateway sends;
Whether judging unit, be configured to judge the user sending the request of described Business Processing to described gateway
Belong to predetermined user's white list;
Service Processing Unit, is configured as described judging unit and judges that described user belongs to described predetermined
During user's white list, Business Processing is carried out according to the request of described Business Processing.
14. devices according to claim 13 are it is characterised in that described device also includes:
Retransmission unit, is configured as described judging unit and judges that described user is not belonging to described predetermined use
During the white list of family, forward described Business Processing request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510412448.9A CN106341440A (en) | 2015-07-14 | 2015-07-14 | Data updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510412448.9A CN106341440A (en) | 2015-07-14 | 2015-07-14 | Data updating method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106341440A true CN106341440A (en) | 2017-01-18 |
Family
ID=57826015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510412448.9A Pending CN106341440A (en) | 2015-07-14 | 2015-07-14 | Data updating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106341440A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977087A (en) * | 2019-02-28 | 2019-07-05 | 深圳市买买提信息科技有限公司 | A kind of update detection method and device |
CN110070394A (en) * | 2019-04-15 | 2019-07-30 | 网易无尾熊(杭州)科技有限公司 | Data processing method, system, medium and calculating equipment |
CN110086719A (en) * | 2019-04-30 | 2019-08-02 | 深圳市腾讯网域计算机网络有限公司 | Data processing method, device and server |
CN110874238A (en) * | 2018-09-03 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Online service updating method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101741894A (en) * | 2008-11-26 | 2010-06-16 | 中国移动通信集团公司 | Upgrade method for distributed system and upgrade scheduling node and system |
US20130097120A1 (en) * | 2010-05-18 | 2013-04-18 | Vmware, Inc. | Policy-Based Checkpointing Fault Tolerance Across Remote Virtual Machines |
CN103677927A (en) * | 2013-12-16 | 2014-03-26 | 华为技术有限公司 | Software upgrading method and device |
CN104394016A (en) * | 2014-11-25 | 2015-03-04 | 杭州华三通信技术有限公司 | ISSU (In-Service Software Upgrade) method and system |
-
2015
- 2015-07-14 CN CN201510412448.9A patent/CN106341440A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101741894A (en) * | 2008-11-26 | 2010-06-16 | 中国移动通信集团公司 | Upgrade method for distributed system and upgrade scheduling node and system |
US20130097120A1 (en) * | 2010-05-18 | 2013-04-18 | Vmware, Inc. | Policy-Based Checkpointing Fault Tolerance Across Remote Virtual Machines |
CN103677927A (en) * | 2013-12-16 | 2014-03-26 | 华为技术有限公司 | Software upgrading method and device |
CN104394016A (en) * | 2014-11-25 | 2015-03-04 | 杭州华三通信技术有限公司 | ISSU (In-Service Software Upgrade) method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110874238A (en) * | 2018-09-03 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Online service updating method and device |
CN110874238B (en) * | 2018-09-03 | 2023-04-28 | 阿里巴巴集团控股有限公司 | Online service updating method and device |
CN109977087A (en) * | 2019-02-28 | 2019-07-05 | 深圳市买买提信息科技有限公司 | A kind of update detection method and device |
CN110070394A (en) * | 2019-04-15 | 2019-07-30 | 网易无尾熊(杭州)科技有限公司 | Data processing method, system, medium and calculating equipment |
CN110086719A (en) * | 2019-04-30 | 2019-08-02 | 深圳市腾讯网域计算机网络有限公司 | Data processing method, device and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108595157B (en) | Block chain data processing method, device, equipment and storage medium | |
CN108920135B (en) | User-defined service generation method and device, computer equipment and storage medium | |
CN108121608A (en) | A kind of array dispatching method and node device | |
CN106341440A (en) | Data updating method and device | |
CN108830329A (en) | Image processing method and device | |
CN107193681A (en) | Data verification method and device | |
CN108449313B (en) | Electronic device, Internet service system risk early warning method and storage medium | |
CN106570097A (en) | Sequence generating method and device | |
CN106878370A (en) | The update method and equipment of a kind of local cache | |
US20120030223A1 (en) | Extensibility of business process and application logic | |
CN109800149A (en) | Application interface method for generating test case and server | |
CN105373746B (en) | A kind of distributed data processing method and apparatus | |
CN107798064A (en) | Page processing method, electronic equipment and computer-readable recording medium | |
CN106873970A (en) | The installation method and device of a kind of operating system | |
WO2016101759A1 (en) | Data routing method, data management device and distributed storage system | |
CN104049955A (en) | Multistage cache consistency pipeline processing method and device | |
CN110223179A (en) | The data processing method of fund, device, system, medium | |
CN109710223A (en) | API gateway hot plug system based on distributed KV storage system | |
CN108958933A (en) | Configuration parameter update method, device and the equipment of task performer | |
CN108880896A (en) | A kind of program gray scale dissemination method and device based on mainframe | |
US11880353B2 (en) | Method and system for handling engineering data in a multiengineering system environment | |
CN108428097A (en) | Independently enter department's method, application server and computer readable storage medium | |
CN107506369A (en) | A kind of data access method and equipment | |
CN107491700A (en) | A kind of data access method and equipment | |
CN110875888B (en) | Method and device for realizing on-demand processing of network resources and cloud management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20170118 |