CN110262823A - Using update method, device, equipment and computer readable storage medium - Google Patents

Using update method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110262823A
CN110262823A CN201910535413.2A CN201910535413A CN110262823A CN 110262823 A CN110262823 A CN 110262823A CN 201910535413 A CN201910535413 A CN 201910535413A CN 110262823 A CN110262823 A CN 110262823A
Authority
CN
China
Prior art keywords
data
tables
server
application
update
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
Application number
CN201910535413.2A
Other languages
Chinese (zh)
Inventor
李嘉玺
卫劲波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910535413.2A priority Critical patent/CN110262823A/en
Publication of CN110262823A publication Critical patent/CN110262823A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

This application involves financial technology (Fintech) technical fields, apply update method this application discloses a kind of, this method comprises: obtaining the application update when receiving using request is updated and requesting corresponding more new information;It determines that the application updates the first tables of data for requesting corresponding server and the server currently to connect according to the more new information, obtains corresponding second tables of data of first tables of data, and the second tables of data according to the update information update;When detecting that second tables of data updates completion, the server is closed in control, with the server according to the update information update;First tables of data that the server is connected is switched to updated second tables of data, and controls the starting server.Disclosed herein as well is a kind of application updating device, equipment and a kind of computer readable storage mediums.The application is improved using the time controllability updated.

Description

Using update method, device, equipment and computer readable storage medium
Technical field
This application involves financial technology (Fintech) technical field, more particularly to application update method, device, equipment and Computer readable storage medium.
Background technique
With Internet technology, the especially rapid development of internet financial technology (Fintech), more and more technologies (big data, distribution, block chain Blockchain, artificial intelligence etc.) is applied in financial field, by taking large scale business bank as an example, Usually they possess hundreds and thousands of a operation systems and the mass data of more than one hundred million users, answer in this case operation system It being updated with program, the coverage being related to is wider, that is, when currently to application program update, application program stops externally service, Then, the server of more new application updates the tables of data of server connection, such update mode, due to tables of data Data volume is larger, when changing to tables of data, needs the long time, and updating influence time so as to cause application can not Control.
Summary of the invention
The main purpose of the application is to propose a kind of application update method, device, equipment and computer-readable storage medium Matter, it is intended to which current application updates the uncontrollable technical problem of influence time.
To achieve the above object, the application provides a kind of using update method, and the application update method includes following step It is rapid:
When receiving using request is updated, obtains the application and update the corresponding more new information of request;
Determining that the application updates according to the more new information requests corresponding server and the server currently to connect The first tables of data, obtain corresponding second tables of data of first tables of data, and the according to the update information update Two tables of data;
When detecting that second tables of data updates completion, the server is closed in control, to be believed according to the update Breath updates the server;
First tables of data that the server is connected is switched to updated second tables of data, and controls and open Move the server.
Optionally, the more new information according to determines that the application updates and requests corresponding server and the service After the step of the first tables of data that device currently connects, comprising:
Judgement currently whether there is the second tables of data corresponding with first tables of data;
If there is currently no the second tables of data corresponding with first tables of data, creation and the first tables of data table Identical second tables of data of structure.
Optionally, the step of second tables of data according to the update information update, comprising:
Obtain the critical field and the corresponding business datum of the critical field increased newly in the more new information;
The critical field and the corresponding business datum of the critical field are input in second tables of data, with more New second tables of data.
Optionally, first tables of data that the server is connected is switched to updated second data Table, and control the step of starting the server, comprising:
If the quantity of second tables of data is at least two, according to default the second data of switchover policy selection target The server is switched to second tables of data of target by table, and controls the starting server.
Optionally, the basis presets the second tables of data of switchover policy selection target, the server is switched to described The step of the second tables of data of target, comprising:
Get Date the second tables of data of target corresponding with the current date, the server is switched to described The second tables of data of target;Or,
It obtains the application and updates request corresponding validity period, determine the validity period corresponding the second tables of data of target, The server is switched into second tables of data of target.
Optionally, first tables of data that the server is connected is switched to updated second data Table, and after the step of controlling the starting server, comprising:
When detecting that the server data table switching is completed, the critical field in the more new information and institute are obtained State the corresponding business datum of critical field;
The critical field and the corresponding business datum of the critical field are input to first number switched According to table, operation is updated to carry out application next time.
It is optionally, described to apply update method further include:
Obtain the life cycle of the business datum and the business datum in second tables of data;
When the business datum reaches the corresponding life cycle, the business datum is labeled as invalid data;
When whole business datums is all the invalid data in second tables of data, second number is deleted According to table.
In addition, to achieve the above object, the application also provides a kind of using updating device, the application updating device packet It includes:
Request receiving module, it is corresponding more for when receiving using request is updated, obtaining the application update request New information;
Update module is obtained, for determining update request corresponding server and the institute of the application according to the more new information State the first tables of data that server currently connects, obtain corresponding second tables of data of first tables of data, and according to it is described more New information updates second tables of data;
Closedown module is controlled, for controlling and closing the server when detecting that second tables of data updates completion, With the server according to the update information update;
Table switching module, first tables of data for connecting the server are switched to updated described second Tables of data, and control the starting server.
Optionally, the application updating device includes, comprising:
Tables of data judgment module currently whether there is the second tables of data corresponding with first tables of data for judging;
Tables of data creation module, if for creating there is currently no the second tables of data corresponding with first tables of data Build the second tables of data identical with the first tables of data table structure.
Optionally, the acquisition update module, comprising:
Data capture unit, it is corresponding for obtaining the critical field increased newly in the more new information and the critical field Business datum;
Tables of data updating unit, for the critical field and the corresponding business datum of the critical field to be input to institute It states in the second tables of data, to update second tables of data.
Optionally, the table switching module, is also used to:
If the quantity of second tables of data is at least two, according to default the second data of switchover policy selection target The server is switched to second tables of data of target by table, and controls the starting server.
Optionally, the table switching module, is also used to:
Get Date the second tables of data of target corresponding with the current date, the server is switched to described The second tables of data of target;Or,
It obtains the application and updates request corresponding validity period, determine the validity period corresponding the second tables of data of target, The server is switched into second tables of data of target.
Optionally, the application updating device, comprising:
Detection obtains module, for obtaining the more new information when detecting that the server data table switching is completed In critical field and the corresponding business datum of the critical field;
Update module is inputted, for the critical field and the corresponding business datum of the critical field to be input to switching First tables of data got off updates operation to carry out application next time.
Optionally, the application updating device, further includes:
Data acquisition module, for obtaining the life of business datum and the business datum in second tables of data Period;
Data markers module is used for when the business datum reaches the corresponding life cycle, by the business number According to labeled as invalid data;
Table removing module is all the invalid data for whole business datums in second tables of data When, delete second tables of data.
In addition, to achieve the above object, the application also provides a kind of application more new equipment, the application more new equipment packet It includes: memory, processor and the application more new procedures that is stored on the memory and can run on the processor, it is described The step of applying update method as described above is realized when being executed using more new procedures by the processor.
In addition, to achieve the above object, the application also provides a kind of computer readable storage medium, described computer-readable It is stored on storage medium using more new procedures, application as described above is realized when the application more new procedures are executed by processor The step of update method.
The application provides a kind of application update method, device, equipment and computer readable storage medium, the embodiment of the present application In, using more new equipment when receiving using request is updated, obtains the application and update the corresponding more new information of request;According to The more new information determines that the application updates the first tables of data for requesting corresponding server and the server currently to connect, Obtain corresponding second tables of data of first tables of data, and the second tables of data according to the update information update;It is examining When measuring the second tables of data update completion, the server is closed in control, to take according to the update information update Business device;First tables of data that the server is connected is switched to updated second tables of data, and controls starting The server first updates the second tables of data using more new equipment in the embodiment of the present application, updates completion in the second tables of data Afterwards, server is closed in control, and is updated to server, and when server update is completed, server is switched to more In the second new tables of data, avoids and apply renewal time uncontrollable problem caused by updating due to tables of data, improve and answer With the controllability of renewal time.
Detailed description of the invention
Fig. 1 is the device structure schematic diagram for the hardware running environment that the embodiment of the present application scheme is related to;
Fig. 2 is the flow diagram of the application application update method first embodiment;
Fig. 3 is the concrete scene schematic diagram of the application application update method first embodiment;
Fig. 4 is the functional block diagram of one embodiment of the application application updating device.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It should be appreciated that specific embodiment described herein is only used to explain the application, it is not used to limit the application.
In the embodiment of the present application, it is primarily referred to as application program update using update, is in order in application program using update Upper newly-increased service function or the current service function of optimization application, mainly include server using updating, and with service The update of the tables of data of device connection, currently when carrying out using updating, the technical solution of use are as follows: server is closed in control, right The tables of data that server is connected with server synchronizes update, and such update mode is big, right due to the data volume of tables of data It is updated operation, and the time of consumption is long, causes to update low efficiency, big to customer impact range, and if there is multiple clothes Device be engaged in using the tables of data, will affect the server not updated and use the tables of data.
In the embodiment of the present application, using the form of main table and subtabulation, main table and subtabulation are preset, when application updates Wait, determine the main table of server connection subtabulation corresponding with the main table, first update the subtabulation using more new equipment, subtabulation more After new completion, control is closed server and is simultaneously updated to server, and when server update is completed, server is switched To the subtabulation being updated, on the one hand it can effectively shorten renewal time, still further aspect does not influence other servers Service operation.
As shown in Figure 1, Fig. 1 is the device structure schematic diagram for the hardware running environment that the embodiment of the present application scheme is related to.
The embodiment of the present application can be PC machine or server apparatus using more new equipment, as shown in Figure 1, application update is set Standby may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display Shield (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include that the wired of standard connects Mouth, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).It deposits Reservoir 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic Disk storage.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that device structure shown in Fig. 1 does not constitute the restriction to equipment, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and applies more new procedures.
In equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the application more new procedures stored in memory 1005, and execute following behaviour using in update method Make.
Based on above-mentioned hardware configuration, the application application update method embodiment is proposed.
It is the flow diagram of the application application update method first embodiment referring to Fig. 2, Fig. 2, which comprises
Step S10 obtains the application and updates the corresponding more new information of request when receiving using request is updated.
The present embodiment application update method is applied to apply more new equipment, application more new equipment and application in the present embodiment Program corresponding server communication connection, referring to Fig. 3, on the server operation have JVM (Java Virtual Machine, Java Virtual Machine), data persistence frame realization pair of the JVM using Mybatis or Hibernate etc. based on java applet language Database is operated.Such as in financial field, it is often necessary to financial database table is accessed using JVM, such as account information table, It opens an account information table, financial transaction information table etc., new business demand occurs during this, it is necessary to carry out more to application program New operation, so that application program meets business demand.
Application is received using more new equipment and updates request, is not especially limited using the triggering mode for updating request, that is, answer It can be what user actively triggered with request is updated, for example, the developer of application program clicks " application updates " touching at the terminal Hair application updates request, and terminal will be sent to using request is updated using more new equipment;Or application program update request may be used also To be automatic trigger, for example, application program listen to preset times (preset times can be arranged according to concrete scene, for example, Preset times are set as 1000 times) error information when, automatic trigger application update request;Application is received using more new equipment When updating request, application update is obtained using more new equipment and requests corresponding more new information, more new packets include: more new demand servicing, More new interface and more new content etc..
Step S20 determines that the application updates according to the more new information and requests corresponding server and the server The first tables of data currently connected obtains corresponding second tables of data of first tables of data, and more according to the more new information New second tables of data.
The corresponding target application of more new information is determined using more new equipment, for example, including program identification (example in more new information Such as, application name, application version information), using more new equipment using the corresponding application program of the program identification as Target application determines that control runs the server of the target application using more new equipment;Using more new equipment determine server it Afterwards, obtain the first tables of data (being called hotlist or main table) that the server currently connects using more new equipment, and obtain this Corresponding second tables of data (being called subtabulation) of one tables of data.
It is understood that preset the first tables of data and the second tables of data in the present embodiment, the first tables of data and the Two tables of data correspond to each other;Wherein, the table of the table structure and table data and the second tables of data that refer to the first tables of data is corresponded to each other Structure is identical with table data;Alternatively the table structure of the first tables of data is identical as the table structure of the second tables of data, the first data The table data of table and the table data of the second tables of data are different.
After getting the second tables of data using more new equipment, using more new equipment according to update the second data of information update Table, specifically, comprising:
Step a1 obtains the critical field and the corresponding business datum of the critical field increased newly in the more new information;
The critical field and the corresponding business datum of the critical field are input to second tables of data by step a2 In, to update second tables of data;
That is, obtaining critical field newly-increased in more new information using more new equipment, (critical field can be understood as tables of data Row headers or column heading) and the corresponding business datum of critical field;Using more new equipment by critical field and critical field pair The business datum answered is input in the second tables of data, to update the second tables of data.
In the present embodiment, the external service of application program is not stopped using more new equipment, using more new equipment first to Two tables of data are updated, so that the second tables of data supports new service function, are then updated again to server, specifically Ground:
Step S30, when detecting that second tables of data updates completion, the server is closed in control, according to institute It states and updates server described in information update.
In the present embodiment, the second tables of data can export prompt information after the completion of updating, and receive prompt letter using more new equipment Breath detects that the second tables of data updates using more new equipment and completes, closes server at this point, controlling using more new equipment, so that Application developer according to update information update server, wherein according to update information update server include: hardware aspect Upgrading and software aspects upgrading carry out upgrading to server in the present embodiment and are primarily referred to as since server is in close state The upgrading of corresponding server hardware aspect, hardware aspect upgrading include the upgrading of CPU, memory, storage system and network interface card.
First tables of data of updated server connection is switched to updated described the by step S40 Two tables of data, and restart the server.
It is switched to updated second tables of data using the first tables of data that more new equipment connects updated server, That is, replacing the first tables of data not updated with the second tables of data completed is updated using more new equipment, and restart service Device is updated with completing application.
In the present embodiment, using the form of main table and subtabulation, the second tables of data is first updated using more new equipment, second After tables of data updates completion, server is closed in control, and is updated to server, will when server update is completed Server switches in the second tables of data being updated, and avoiding can not using renewal time caused by being updated due to tables of data The problem of control, improves the controllability using renewal time.Technical solution in the present embodiment is applied in financial field, Ke Yi In the case where financial business user's unaware, rapidly carries out financial business application and update.
Further, it is based on the application application update method above-described embodiment, proposes the application application update method second Embodiment.
The present embodiment be in first embodiment after step S40 the step of, the difference of the present embodiment and first embodiment exists In:
When detecting that the server data table switching is completed, the critical field in the more new information and institute are obtained State the corresponding business datum of critical field;
The critical field and the corresponding business datum of the critical field are input to first number switched According to table, operation is updated to carry out application next time.
In the present embodiment, using more new equipment when the tables of data switching for detecting server connection is completed, using update Equipment application more new equipment obtains the critical field in more new information, and (critical field can be understood as the row headers or column of tables of data Title) and the corresponding business datum of critical field;Using more new equipment by critical field and the corresponding business datum of critical field It is input in the first tables of data switched, updates operation to carry out application next time;More new equipment is applied in the present embodiment The first tables of data switched is updated, completes the consistency change of the first tables of data and the second tables of data, while for next time Switching is prepared.
Further, it is based on the application application update method first embodiment, proposes the application application update method third Embodiment.
This implementation and the difference of first embodiment are, step S20 in the present embodiment: determine institute according to the more new information After stating using the first tables of data for requesting corresponding server and the server currently to connect is updated, can also include:
Judgement currently whether there is the second tables of data corresponding with first tables of data;
If there is currently no the second tables of data corresponding with first tables of data, creation and the first tables of data table Identical second tables of data of structure, and the second tables of data according to the update information update.
In the present embodiment, using more new equipment after determining the first tables of data that server currently connects, using update Equipment judgement currently whether there is the second tables of data corresponding with the first tables of data, that is, application more new equipment obtains and the first number According to the associated tables of data of table, using more each tables of data of more new equipment table structure and the first tables of data table structure whether phase Together, target matrix identical with the table structure of the first tables of data if it exists, determines to exist and the first data using more new equipment Corresponding second tables of data of table, conversely, the second tables of data corresponding with the first tables of data is then not present.
Determine that there is currently no the second tables of data corresponding with the first tables of data using more new equipment, that is, do not create in advance The second tables of data is built, at this point, the second tables of data identical with the first tables of data table structure is created using more new equipment, using update Equipment creates after obtaining the second tables of data, using more new equipment according to update the second tables of data of information update.
It is understood that since the information content of the first tables of data is larger, if using the creation of more new equipment and the first data Table table structure and table data complete identical second tables of data, creation speed can be made slow, and the memory space occupied is big, this reality It applies and creates the second tables of data identical with the first tables of data table structure in example, can accelerate to create speed, reduce by the second tables of data The memory space of occupancy;At the same time, in the present embodiment when the second tables of data creates completion, first is counted using more new equipment Incidence relation is established according between table and the second tables of data, to inquire the second tables of data by the first tables of data.
Determine to execute there is currently the second tables of data corresponding with the first tables of data using more new equipment using more new equipment Corresponding second tables of data of first tables of data is obtained in first embodiment, and second according to the update information update The step of tables of data.
In the present embodiment, using more new equipment during application updates, the second tables of data can be created in real time, and The second tables of data is updated, so as to shorten the influence time that application updates, the technical solution of the present embodiment is applied in financial field, In the case where not influencing financial business normal operation, the update of subtabulation is realized, to shorten application update to the shadow of financial business Ring the time.
Further, it is based on the application application update method above-described embodiment, proposes the application application update method the 4th Embodiment.
The present embodiment is the refinement of step S40 in first embodiment, and the difference of the present embodiment and first embodiment is:
If the quantity of second tables of data is at least two, according to default the second data of switchover policy selection target The server is switched to second tables of data of target by table, and controls the starting server.
In the present embodiment, updated second data are switched to using the first tables of data that more new equipment connects server Table specifically includes:
Using the quantity for updating the second tables of data of device statistics, the quantity for judging the second tables of data is one or multiple, If the quantity of the second tables of data is one, server is switched into unique second tables of data using more new equipment, and control starting Server.
In the present embodiment, during application updates, one main table and a subtabulation is only set using more new equipment, subtracted Lack and has needed the table quantity that updates, it, at the same time, can be with if being related to table inquiry operation to improve the efficiency of tables of data update The information of needs is inquired from two tables quickly.
If the quantity of the second tables of data is at least two, using more new equipment according to default switchover policy selection target second Server is switched to the second tables of data of target by tables of data, and controls the starting server, the default switching in the present embodiment Strategy can flexible setting as the case may be, specifically:
Default switchover policy is date more new strategy, if the quantity of the second tables of data is at least two, using more new equipment Get Date the second tables of data of target corresponding with current date, and server is switched to target second using more new equipment Tables of data, and control starting server;For example, per diem switching using more new equipment, current date is July, using more new equipment 1 to No. 31 tables are created, are directed toward a wherein conduct target second of 1 to No. 31 tables according to current date orientation using more new equipment Server is switched to the second tables of data of target using more new equipment by tables of data;Alternatively, creating 1 to No. 7 using more new equipment Table is directed toward wherein conduct second tables of data of target of 1 to No. 7 tables according to several orientations of current week using more new equipment, answers Server is switched into the second tables of data of target with more new equipment;In the present embodiment, using multiple second numbers of more new equipment creation According to table, the automatic smoothing switching of tables of data is realized.
Default switchover policy is that validity period more new strategy is set if the quantity of the second tables of data is at least two using update It is standby to obtain application update request corresponding validity period, it determines validity period corresponding the second tables of data of target, server is switched to The second tables of data of target, and control starting server;For example, multiple second tables of data are arranged using more new equipment, and set the The validity period of two tables of data can select the second tables of data according to validity period using more new equipment;According to data in the present embodiment Validity period carries out tables of data switching, so that tables of data switching is according to flexibly.
In the present embodiment, it can be upgraded demand according to different applications using more new equipment and flexibly create multiple second data Table, when application updates, the second tables of data of selection target is switched over, so that application update operation is more convenient.
Further, it is based on the application application update method above-described embodiment, proposes the application application update method the 5th Embodiment.
The present embodiment can be in conjunction with any other one or more embodiments, the difference of the present embodiment and above-described embodiment It is:
Obtain the life cycle of the business datum and the business datum in second tables of data;
When the business datum reaches the corresponding life cycle, the business datum is labeled as invalid data;
When whole business datums is all the invalid data in second tables of data, second number is deleted According to table.
In the present embodiment, the Life Cycle of the business datum and business datum in the second tables of data is obtained using more new equipment Phase, wherein life cycle is arranged when being the creation of the second tables of data for each business datum;It is examined in real time using more new equipment The life cycle for surveying each business datum in the second tables of data is set when business datum reaches corresponding life cycle using update It is standby that business datum is labeled as invalid data;It is invalid for determining business datum whole in the second tables of data all using more new equipment When data, the second tables of data is deleted using more new equipment.
Using more new equipment according to the life cycle of business datum in the present embodiment, to the business datum of the second tables of data into It has gone crash handling, and has deleted the second tables of data using more new equipment after all business datums failures in the second tables of data, with It reduces using the invalid data generated in renewal process, so that application update is more reasonable.
Referring to Fig. 4, the application also provides a kind of using updating device, and the application updating device includes:
Request receiving module 10, it is corresponding for when receiving using request is updated, obtaining the application update request More new information;
Obtain update module 20, for according to the more new information determine the application update request corresponding server and The first tables of data that the server currently connects obtains corresponding second tables of data of first tables of data, and according to described Update the second tables of data described in information update;
Closedown module 30 is controlled, for when detecting that second tables of data updates completion, the service to be closed in control Device, with the server according to the update information update;
Table switching module 40, first tables of data for connecting the server are switched to updated described Two tables of data, and control the starting server.
In one embodiment, the application updating device includes, comprising:
Tables of data judgment module currently whether there is the second tables of data corresponding with first tables of data for judging;
Tables of data creation module, if for creating there is currently no the second tables of data corresponding with first tables of data Build the second tables of data identical with the first tables of data table structure, and the second data according to the update information update Table;
In one embodiment, the acquisition update module 20, comprising:
Data capture unit, it is corresponding for obtaining the critical field increased newly in the more new information and the critical field Business datum;
Tables of data updating unit, for the critical field and the corresponding business datum of the critical field to be input to institute It states in the second tables of data, to update second tables of data.
In one embodiment, the table switching module, is also used to:
If the quantity of second tables of data is at least two, according to default the second data of switchover policy selection target The server is switched to second tables of data of target by table, and controls the starting server.
In one embodiment, the table switching module, is also used to:
Get Date the second tables of data of target corresponding with the current date, the server is switched to described The second tables of data of target;Or,
It obtains the application and updates request corresponding validity period, determine the validity period corresponding the second tables of data of target, The server is switched into second tables of data of target.
In one embodiment, the application updating device, comprising:
Detection obtains module, for obtaining the more new information when detecting that the server data table switching is completed In critical field and the corresponding business datum of the critical field;
Update module is inputted, for the critical field and the corresponding business datum of the critical field to be input to switching First tables of data got off updates operation to carry out application next time.
In one embodiment, the application updating device, further includes:
Data acquisition module, for obtaining the life of business datum and the business datum in second tables of data Period;
Data markers module is used for when the business datum reaches the corresponding life cycle, by the business number According to labeled as invalid data;
Table removing module is all the invalid data for whole business datums in second tables of data When, delete second tables of data.
Method performed by above-mentioned each program module can refer to each embodiment of the application application update method, herein no longer It repeats.
The application also provides a kind of computer readable storage medium.
It is stored on the application computer readable storage medium using more new procedures, the application more new procedures are by processor The step of applying update method as described above is realized when execution.
Wherein, the application more new procedures run on the processor are performed realized method and can refer to the application Using each embodiment of update method, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all to utilize this Shen Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills Art field similarly includes in the scope of patent protection of the application.

Claims (10)

1. a kind of apply update method, which is characterized in that the application update method is applied to apply more new equipment, the method Include the following steps:
When receiving using request is updated, obtains the application and update the corresponding more new information of request;
Determine that the application updates request corresponding server and the server currently to connect the according to the more new information One tables of data obtains corresponding second tables of data of first tables of data, and the second number according to the update information update According to table;
When detecting that second tables of data updates completion, the server is closed in control, more with the basis more new information The new server;
First tables of data that the server is connected is switched to updated second tables of data, and controls starting institute State server.
2. applying update method as described in claim 1, which is characterized in that answered described in the more new information according to is determining After the step of updating the first tables of data for requesting corresponding server and the server currently to connect, comprising:
Judgement currently whether there is the second tables of data corresponding with first tables of data;
If there is currently no the second tables of data corresponding with first tables of data, creation and the first tables of data table structure Identical second tables of data.
3. applying update method as described in claim 1, which is characterized in that described the according to the update information update The step of two tables of data, comprising:
Obtain the critical field and the corresponding business datum of the critical field increased newly in the more new information;
The critical field and the corresponding business datum of the critical field are input in second tables of data, to update State the second tables of data.
4. applying update method as described in claim 1, which is characterized in that connect the server described first Tables of data is switched to updated second tables of data, and controls the step of starting the server, comprising:
It, will according to the second tables of data of switchover policy selection target is preset if the quantity of second tables of data is at least two The server switches to second tables of data of target, and controls the starting server.
5. applying update method as claimed in claim 4, which is characterized in that the basis presets switchover policy selection target the Two tables of data, the step of server is switched into second tables of data of target, comprising:
Get Date the second tables of data of target corresponding with the current date, and the server is switched to the target Second tables of data;
Or,
It obtains the application and updates request corresponding validity period, the validity period corresponding the second tables of data of target is determined, by institute It states server and switches to second tables of data of target.
6. applying update method as described in claim 1, which is characterized in that connect the server described first Tables of data is switched to updated second tables of data, and after the step of controlling the starting server, comprising:
When detecting that the server data table switching is completed, the critical field in the more new information and the pass are obtained The corresponding business datum of key field;
The critical field and the corresponding business datum of the critical field are input to first tables of data switched, Operation is updated to carry out application next time.
7. the application update method as described in claim 1 to 6 any one, which is characterized in that the application update method is also Include:
Obtain the life cycle of the business datum and the business datum in second tables of data;
When the business datum reaches the corresponding life cycle, the business datum is labeled as invalid data;
When whole business datums is all the invalid data in second tables of data, second data are deleted Table.
8. a kind of apply updating device, which is characterized in that the application updating device includes:
Request receiving module updates the corresponding update letter of request for when receiving using request is updated, obtaining the application Breath;
Update module is obtained, requests corresponding server and the clothes for determining that the application updates according to the more new information The first tables of data that business device currently connects obtains corresponding second tables of data of first tables of data, and is believed according to the update Breath updates second tables of data;
Closedown module is controlled, for when detecting that second tables of data updates completion, the server to be closed in control, with root According to server described in the update information update;
Table switching module, first tables of data for connecting the server are switched to updated second data Table, and control the starting server.
9. a kind of application more new equipment, which is characterized in that the application more new equipment includes: memory, processor and is stored in On the memory and can run on the processor application more new procedures, the application more new procedures are by the processor The step of application update method as described in any one of claims 1 to 7 is realized when execution.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium using more New procedures, the application more new procedures realize that the application as described in any one of claims 1 to 7 updates when being executed by processor The step of method.
CN201910535413.2A 2019-06-19 2019-06-19 Using update method, device, equipment and computer readable storage medium Pending CN110262823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910535413.2A CN110262823A (en) 2019-06-19 2019-06-19 Using update method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910535413.2A CN110262823A (en) 2019-06-19 2019-06-19 Using update method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110262823A true CN110262823A (en) 2019-09-20

Family

ID=67919654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910535413.2A Pending CN110262823A (en) 2019-06-19 2019-06-19 Using update method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110262823A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858642A (en) * 2020-07-31 2020-10-30 科大讯飞股份有限公司 Data set updating method, related device and readable storage medium
CN113377874A (en) * 2021-06-28 2021-09-10 上海浦东发展银行股份有限公司 Data synchronization processing method and device, electronic equipment and storage medium
CN113836214A (en) * 2021-09-30 2021-12-24 杭州数梦工场科技有限公司 Data loading and reading method and device applied to ETL (extract transform load), and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858642A (en) * 2020-07-31 2020-10-30 科大讯飞股份有限公司 Data set updating method, related device and readable storage medium
CN111858642B (en) * 2020-07-31 2022-12-06 科大讯飞股份有限公司 Data set updating method, related device and readable storage medium
CN113377874A (en) * 2021-06-28 2021-09-10 上海浦东发展银行股份有限公司 Data synchronization processing method and device, electronic equipment and storage medium
CN113836214A (en) * 2021-09-30 2021-12-24 杭州数梦工场科技有限公司 Data loading and reading method and device applied to ETL (extract transform load), and electronic equipment

Similar Documents

Publication Publication Date Title
CN110262823A (en) Using update method, device, equipment and computer readable storage medium
US7757296B2 (en) Method of managing software components that are integrated into an embedded system
CN100442712C (en) Method and system for realizing network terminal equipment configuration automatic updating
US9304758B2 (en) Modification of terminal and service provider machines using an update server machine
EP1906305B1 (en) Method and system for data preparation and communication between software applications
CN106897086A (en) Method, apparatus and system for upgraded machine people's operating system
CN110519401A (en) Improve method, apparatus, equipment and the storage medium of network Access Success Rate
CN110830234B (en) User traffic distribution method and device
CN110427385A (en) Block chain data-updating method, interdependent node and block chain
KR101201276B1 (en) Method, software and apparatus for performing actions on a wireless device using action lists and versioning
CN106656622A (en) Method and device for configuring interface call tasks
CN108055320A (en) Processing method, terminal device and the computer readable storage medium of resource downloading
CN109117609A (en) A kind of request hold-up interception method and device
CN108038009A (en) Front and back end exchange method, device and computer equipment based on Web applications
CN112214405A (en) Software testing method and device, electronic equipment and readable storage medium
CN100428824C (en) Method for carrying out active inquiry maintenance on mobile terminal
CN110244963A (en) Data-updating method, device and terminal device
CN106254411B (en) For providing system, server system and the method for service
CN110493644A (en) TV applications upgrade method, television terminal and server
CN110209557A (en) User's operation records restoring method, device, equipment and readable storage medium storing program for executing
CN109729132A (en) Method of controlling switch, device, equipment and computer readable storage medium
CN105430056B (en) A kind of remote access method and system of mobile terminal application
CN109640002A (en) A kind of multifunctional network matrix demo system and the equipment for network matrix demonstration
KR101437687B1 (en) Financial terminal, method for business synchronizing thereof, and financial system
CN112306838A (en) Page layout compatibility testing method, device and equipment and readable storage medium

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