CN107861747A - Product renewing method, equipment and computer-readable recording medium - Google Patents

Product renewing method, equipment and computer-readable recording medium Download PDF

Info

Publication number
CN107861747A
CN107861747A CN201710497274.XA CN201710497274A CN107861747A CN 107861747 A CN107861747 A CN 107861747A CN 201710497274 A CN201710497274 A CN 201710497274A CN 107861747 A CN107861747 A CN 107861747A
Authority
CN
China
Prior art keywords
product
parameter
renewing
amended
caching storehouse
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
CN201710497274.XA
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201710497274.XA priority Critical patent/CN107861747A/en
Publication of CN107861747A publication Critical patent/CN107861747A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a kind of product renewing method, methods described includes:When receiving product renewing instruction, the product being used in caching storehouse is replicated;The modification of parameter is carried out to the product of duplication;New version number is added when parameter is changed and completed, obtains amended product;The product being used in the caching storehouse is replaced using amended product, to realize the renewal of product.The invention also discloses a kind of product renewing equipment and computer-readable recording medium.The present invention does not influence the use of product, improves the intelligent of product renewing by way of this seamless switching.

Description

Product renewing method, equipment and computer-readable recording medium
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of product renewing method, equipment and computer can Read storage medium.
Background technology
Traditional product renewing, if the renewal of loan product is, it is necessary to the first use of pause current production application bag, and will production Product application bag reclaims, and to be modified to the parameter in product, after the completion of parameter modification, just issues the product again, due to , it is necessary to suspend the use of product and reclaim products application bag during upgrading products, product can be caused can not to make within a certain period of time With.Obviously, existing product renewing mode, it is intelligent poor.
The content of the invention
It is a primary object of the present invention to provide a kind of product renewing method, equipment and computer-readable recording medium, purport Solving existing product renewing mode, easily causing product can not be used within a period of time, cause product renewing intelligent Poor technical problem.
To achieve the above object, the present invention provides a kind of product renewing method, and the product renewing method includes:
When receiving product renewing instruction, the product being used in caching storehouse is replicated;
The modification of parameter is carried out to the product of duplication;
New version number is added when parameter is changed and completed, obtains amended product;
The product being used in the caching storehouse is replaced using amended product, to realize the renewal of product.
Preferably, described the step of replacing the product being used in the caching storehouse using amended product, includes:
Determine issuing time corresponding to amended product;
Issuing time based on determination, the product being used in the caching storehouse is replaced using amended product.
Preferably, the issuing time based on determination, being replaced using amended product in the caching storehouse is made The step of product, includes:
It is amended to cause by the storage of amended product into caching storehouse when issuing time is current point in time Product comes into force;
The transferred product being used in caching storehouse is stored into database.
Preferably, the issuing time based on determination, being replaced using amended product in the caching storehouse is made The step of product, also includes:
When issuing time is preset time point, amended product is added using preset time point as entry-into-force time point In, and the product added with entry-into-force time point is stored into database;
Start timed task process, when the preset time point reaches, automatically update caching storehouse, will be added with and come into force The product at time point is handed in caching storehouse;
The transferred product being used in caching storehouse is stored into database.
Preferably, the product renewing method also includes:
When the recovery for receiving product instructs, product to be restored is determined from database based on the recovery instruction;
The product of determination is handed over to from database in caching storehouse so that the product comes into force, and will in caching storehouse when The preceding product used is handed over to database and stored.
Preferably, it is described to add new version number when parameter is changed and completed, after the step of obtaining amended product, institute Stating method also includes:
When receiving product audit instruction, by phase in parameters, with the table of comparisons that prestores corresponding to amended product The parameter index that prestores with position is compared;
Have parameter beyond same position prestore parameter index when, according to same position prestore parameter index renewal institute Parameter is stated, the product after being updated, subsequently to replace the production being used in the caching storehouse using the product after renewal Product.
Preferably, it is described have parameter beyond same position prestore parameter index when, according to the ginseng that prestores of same position Number indexs update the parameter, include the step of product after being updated:
Have parameter beyond same position prestore parameter index when, Eject preview window, will show beyond the parameter of index Show to come, so that user is according to the parameter index that prestores of same position, manual modification exceeds the parameter of index, after being updated Product;
When not receiving reparation instruction manually within a preset time interval, then refer to automatically according to the parameter that prestores of same position Parameter preset in mark replaces the parameter, the product after being updated.
Preferably, it is described when receiving product audit instruction, by parameters corresponding to amended product, with prestoring After the step of parameter index that prestores of same position is compared in the table of comparisons, the product renewing method also includes:
When prestoring in parameter index, is added to product, so as to follow-up the entry-into-force time between same position in parameters The renewal operation of product is performed based on the entry-into-force time.
In addition, to achieve the above object, the present invention also provides a kind of product renewing equipment, and the product renewing equipment includes Memory, processor and it is stored in the product renewing program that can be run on the memory and on the processor, the production Product the step of originally more new procedures are realized product renewing method as described above during the computing device.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Product renewing program is stored with storage medium, production as described above is realized when the product renewing program is executed by processor The step of product update method.
Product renewing method, equipment and computer-readable recording medium proposed by the present invention, refer to receiving product renewing When making, first the product being used in caching storehouse is replicated, the modification of parameter then is carried out to the product of duplication, in parameter Modification adds new version number when completing, and obtains amended product, is finally replaced using amended product in the caching storehouse The product being used, to realize the renewal of product.So that the renewal of product, is that the product being used in caching storehouse is carried out Replicate, and the product of duplication is updated, as long as the follow-up product using renewal is seamless to replace what is be used in caching storehouse Product, without suspending the use of product, by way of this seamless switching, the use of product is not influenceed, improves production Product update intelligent.
Brief description of the drawings
Fig. 1 is the device structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of product renewing method first embodiment of the present invention;
Fig. 3 is the refinement schematic flow sheet of step S40 in Fig. 2;
The first refinement schematic flow sheet that Fig. 4 is step S42 in Fig. 3;
The second refinement schematic flow sheet that Fig. 5 is step S42 in Fig. 3;
Fig. 6 is the schematic flow sheet of product renewing method second embodiment of the present invention;
Fig. 7 is the schematic flow sheet of product renewing method 3rd embodiment of the present invention;
Fig. 8 is the refinement schematic flow sheet of step S80 in Fig. 7.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:When receiving product renewing instruction, first to caching in storehouse The product used is replicated, and then carries out the modification of parameter to the product of duplication, redaction is added when parameter is changed and completed Number, amended product is obtained, the product being used in the caching storehouse is finally replaced using amended product, to realize The renewal of product.So that the renewal of product, is that the product being used in caching storehouse is replicated, and the product of duplication is entered Row renewal, as long as the follow-up product using renewal is seamless to replace the product being used in caching storehouse, without suspending product Use, by way of this seamless switching, do not influence the use of product, improve the intelligent of product renewing.
As shown in figure 1, the product renewing device structure that Fig. 1 is the hardware running environment that scheme of the embodiment of the present invention is related to shows It is intended to.
Equipment of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, portable Computer etc. has the packaged type terminal device of display function.
As shown in figure 1, the equipment can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Alternatively, equipment can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..
It will be understood by those skilled in the art that the device structure shown in Fig. 1 does not form the restriction to equipment, can wrap Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, as in a kind of memory 1005 of computer-readable recording medium can include operating system, net Network communication module, Subscriber Interface Module SIM and product renewing program.Wherein, operating system is management and control product renewing equipment With the program of software resource, network communication module, Subscriber Interface Module SIM, product renewing program and other programs or software are supported Operation;Network communication module is used to managing and controlling network interface 1002;Subscriber Interface Module SIM is used to managing and controlling user Interface 1003.
In the equipment shown in Fig. 1, network interface 1004 is mainly used in connecting product background system, with product background system Enter row data communication;User interface 1003 is mainly used in connecting client (user terminal), enters row data communication with client;It is described Product renewing equipment calls the product renewing program stored in memory 1005 by processor 1001, and performs following operate:
When receiving product renewing instruction, the product being used in caching storehouse is replicated;
The modification of parameter is carried out to the product of duplication;
New version number is added when parameter is changed and completed, obtains amended product;
The product being used in the caching storehouse is replaced using amended product, to realize the renewal of product.
Further, the product renewing equipment calls the product renewing stored in memory 1005 by processor 1001 Program, to realize the step of replacing the product being used in the caching storehouse using amended product:
Determine issuing time corresponding to amended product;
Issuing time based on determination, the product being used in the caching storehouse is replaced using amended product.
Further, the product renewing equipment calls the product renewing stored in memory 1005 by processor 1001 Program, to realize the issuing time based on determination, the product being used in the caching storehouse is replaced using amended product The step of:
It is amended to cause by the storage of amended product into caching storehouse when issuing time is current point in time Product comes into force;
The transferred product being used in caching storehouse is stored into database.
Further, the product renewing equipment calls the product renewing stored in memory 1005 by processor 1001 Program, to realize the issuing time based on determination, the product being used in the caching storehouse is replaced using amended product The step of:
When issuing time is preset time point, amended product is added using preset time point as entry-into-force time point In, and the product added with entry-into-force time point is stored into database;
Start timed task process, when the preset time point reaches, automatically update caching storehouse, will be added with and come into force The product at time point is handed in caching storehouse;
The transferred product being used in caching storehouse is stored into database.
Further, the product renewing equipment calls the product renewing stored in memory 1005 by processor 1001 Program, to realize following steps:
When the recovery for receiving product instructs, product to be restored is determined from database based on the recovery instruction;
The product of determination is handed over to from database in caching storehouse so that the product comes into force, and will in caching storehouse when The preceding product used is handed over to database and stored.
Further, it is described to add new version number when parameter is changed and completed, after the step of obtaining amended product, The product renewing equipment calls the product renewing program stored in memory 1005 by processor 1001, to realize following walk Suddenly:
When receiving product audit instruction, by phase in parameters, with the table of comparisons that prestores corresponding to amended product The parameter index that prestores with position is compared;
Have parameter beyond same position prestore parameter index when, according to same position prestore parameter index renewal institute Parameter is stated, the product after being updated, subsequently to replace the production being used in the caching storehouse using the product after renewal Product.
Further, the product renewing equipment calls the product renewing stored in memory 1005 by processor 1001 Program, with reality now with parameter beyond same position prestore parameter index when, prestore parameter index more according to same position The new parameter, the step of product after being updated:
Have parameter beyond same position prestore parameter index when, Eject preview window, will show beyond the parameter of index Show to come, so that user is according to the parameter index that prestores of same position, manual modification exceeds the parameter of index, after being updated Product;
When not receiving reparation instruction manually within a preset time interval, then refer to automatically according to the parameter that prestores of same position Parameter preset in mark replaces the parameter, the product after being updated.
Further, it is described when receiving product audit instruction, it is and pre- by parameters corresponding to amended product After depositing the step of the parameter index that prestores of same position in the table of comparisons is compared, the product renewing equipment passes through processor The product renewing program stored in 1001 calling memories 1005, to realize following steps:
When prestoring in parameter index, is added to product, so as to follow-up the entry-into-force time between same position in parameters The renewal operation of product is performed based on the entry-into-force time.
The present embodiment passes through such scheme, when receiving product renewing instruction, the first production to being used in caching storehouse Product are replicated, and are then carried out the modification of parameter to the product of duplication, are added new version number when parameter is changed and completed, repaiied Product after changing, the product being used in the caching storehouse is finally replaced using amended product, to realize product more Newly.So that the renewal of product, is that the product being used in caching storehouse is replicated, and the product of duplication is updated, The product being used in caching storehouse is replaced as long as the follow-up product using renewal is seamless, without suspending the use of product, By way of this seamless switching, the use of product is not influenceed, improves the intelligent of product renewing.
Based on the said equipment hardware configuration, product renewing embodiment of the method for the present invention is proposed.
Reference picture 2, Fig. 2 are the schematic flow sheet of product renewing method first embodiment of the present invention.
In the present embodiment, the product renewing method includes:
When receiving product renewing instruction, the product being used in caching storehouse is replicated;To the product of duplication Carry out the modification of parameter;New version number is added when parameter is changed and completed, obtains amended product;Using amended product The product being used in the caching storehouse is replaced, to realize the renewal of product.
, it is necessary to which explanation, product renewing method are applied to product renewing equipment in the present embodiment, the product renewing is set Standby to be provided with product background system, the product background system is preset with caching storehouse and database.It is stored with caching storehouse current The product being used, i.e., the product currently to come into force, it should be noted that the product being being currently used only has version Product;Not currently used product, including used product before are stored with database, also including product background system after Continue the product that will be used, can store a variety of different products in database, the same product of multiple versions can also be stored, I.e. database can specifically not limited with the different same product of storage version number.
It is the specific steps that product renewing is realized in the present embodiment below:
Step S10, when receiving product renewing instruction, the product being used in caching storehouse is replicated.
In the present embodiment, the triggering mode of the product renewing instruction includes:In products configuration interface, based on user The preset control of click is instructed with triggering product renewing.
When receiving product renewing instruction, product renewing equipment is first answered the product being used in caching storehouse System, after being replicated to product, you can the product replicated.
Step S20, the modification of parameter is carried out to the product of duplication.
In the present embodiment, the modification of parameter, this implementation are carried out in the product replicated and then to the product of duplication In example, before being modified to product parameters, the type of the product, then the type based on determination are first determined, to the parameter of product Modify, in the present embodiment, product includes polytype, has loan class product respectively, using class product.In the present embodiment, Explained by taking class product of providing a loan as an example.
When product is loan class product, the parameter of product is modified, actually just to the product for class product of providing a loan The parameters such as the minimum amount of highest amount, product, loan period, guarantee type are modified.
Step S30, new version number is added when parameter is changed and completed, obtains amended product.
After parameter modification is carried out to the product of duplication, the addition of new version number is carried out, in the present embodiment, product is added Add the mode of new version number to include:
Mode A, determine the product of different editions number whether is stored with database, if so, determining to store in database Each version number, then determine to cache version number corresponding to the product that is being currently used in storehouse, by each version in database This number is compared with version number corresponding to the product in caching storehouse, to determine the maximum version number of numerical value, is then based on numerical value Maximum version number and default increment, new version number is determined, and the new version number is added to the product of duplication.
Mode B, determine the product of different editions number whether is stored with database, if so, determining each in database Storage time point corresponding to version number, then determine to cache storage time corresponding to the version number for the product being being currently used in storehouse Point, storage time point and the immediate version number of current point in time are then therefrom determined, based on the immediate version of storage time point This number and default increment, new version number is determined, and the new version number is added to the product of duplication.
In the present embodiment, the default increment can be the increment set in advance in product background system, in addition, also Can be the increment determined according to the incremental relation of existing each version number, as existing each version number is in system V1.0, V1.1, V1.2, it is known that increment is exactly 0.1.It is determined that after the increment, version number and the increasing based on determination Amount, determines new version number, the version number that will be determined adds the increment, new version number is obtained, with the product to duplication The new version number is added, for example, increment 0.1, the newest version number inquired is V1.2, you can learns that new version number is V1.3, in the product that the new version number V1.3 is added to the duplication, to obtain amended product.
Step S40, the product being used in the caching storehouse is replaced using amended product, to realize product more Newly.
In the present embodiment, after obtaining amended product, you can replace the caching storehouse using amended product In the product that is used, to realize the renewal of product.
Specifically, reference picture 3, the step S40 include:
Step S41, determine issuing time corresponding to amended product;
Step S42, the issuing time based on determination, replace what is be used in the caching storehouse using amended product Product.
I.e. in the present embodiment, the issuing time that amended product is set in advance is first determined, the issuing time is according to reality Border situation is configured, and is not limited herein.It is determined that after issuing time, the issuing time based on determination, after modification Product replace the product that is used in the caching storehouse.
Specifically, the embodiment of the step S42 includes:
1) mode one, reference picture 4, the step S42 include:
Step S421, when issuing time is current point in time, by the storage of amended product into caching storehouse, to cause Amended product comes into force;
Step S422, the transferred product being used in caching storehouse is stored into database.
In the present embodiment, if the issuing time set in advance is exactly current point in time, then, you can will be amended Product is directly stored in caching storehouse, the enforcement use of going forward side by side so that the amended product comes into force.Also, will it make in caching storehouse Transferred product is stored into database.In the present embodiment, single thread can be started, first store amended product Into caching storehouse, then the transferred product being used in caching storehouse is stored into database again;Or first will caching The transferred product being used in storehouse is stored into database, then by the storage of amended product into caching storehouse.
Further, in order to improve the efficiency of product renewing, dual-thread can be started, the storage of amended product is arrived slow While in warehousing, the transferred product being used in caching storehouse is stored into database.
2) mode two, reference picture 5, the step S42 also include:
Step S423, when issuing time is preset time point, preset time point is added as entry-into-force time point and changed In product afterwards, and the product added with entry-into-force time point is stored into database;
Step S424, start timed task process, when the preset time point reaches, automatically update caching storehouse, will Product added with entry-into-force time point is handed in caching storehouse;
Step S425, the transferred product being used in caching storehouse is stored into database.
In the present embodiment mode, if issuing time is not current point in time, but following preset time point, then can First added preset time point as entry-into-force time point in amended product, and the product added with entry-into-force time point is stored Into database, then start timed task process and be monitored, when the preset time point reaches, automatically update caching Storehouse, the product added with entry-into-force time point is handed in caching storehouse, and the transferred product being used in caching storehouse is arrived Stored in database.Similarly, in present embodiment, single thread either dual-thread can be started and handled, specifically Processing mode is consistent with aforesaid way one, does not repeat herein.
The technical scheme of the present embodiment, be the equal of when needing to change product parameters, if the product copy is a, and Parameter modification is carried out, new version number is added afterwards after modification, if directly to use, just seamless replace is cached in storehouse Product, original product in caching storehouse is handed in database and stored;If currently without using can first store number According in storehouse, and entry-into-force time point is added, when entry-into-force time point reaches, be handed over to the product of the version directly from database Caching is used in storehouse, and is cached the product in storehouse and be just transferred in database and stored.
The product renewing method that the present embodiment proposes, when receiving product renewing instruction, first to making in caching storehouse Product is replicated, and then carries out the modification of parameter to the product of duplication, new version number is added when parameter is changed and completed, Amended product is obtained, the product being used in the caching storehouse is finally replaced using amended product, to realize production The renewal of product.So that the renewal of product, is that the product being used in caching storehouse is replicated, and the product of duplication is carried out Renewal, as long as the follow-up product using renewal is seamless to replace the product being used in caching storehouse, without suspending product Use, by way of this seamless switching, do not influence the use of product, improve the intelligent of product renewing.
Further, the second embodiment of product renewing method of the present invention is proposed based on first embodiment, in the present embodiment In, reference picture 6, methods described also includes:
Step S50, when the recovery for receiving product instructs, determined based on the recovery instruction from database to be restored Product;
Step S60, the product of determination is handed over to from database in caching storehouse, so that the product comes into force, and will be slow Currently used product is handed over to database and stored in warehousing.
In the present embodiment, can perform or performed before step S10 after the step s 40, not do specifically Limit.
In the present embodiment, after the product of different editions number all being stored into database, if receiving the recovery of product Instruction, product to be restored can be determined from database based on the recovery instruction, that is, determine which version product to be restored is This product, it is determined that after product to be restored, the product of determination is handed over to from database in caching storehouse, also, will The product being being currently used in caching storehouse, which is handed in database, to be stored.
It should be appreciated that existing product renewing, typically directly modifies to the parameter of product, without version change Concept, once the parameter modification of product, product before is just not present, if it is follow-up want to switch back into original product enter Exercise and use, it is necessary to undated parameter again, cause cumbersome.
In the present embodiment, if during version before being intended to use, product is handed over into caching storehouse directly from database In be continuing with, and cache the product in storehouse and be just transferred in database and preserved, realize that the product of different editions can With any switching laws in caching storehouse and database, so as to improve the intelligent of product renewing.
Further, the 3rd embodiment of product renewing method of the present invention is proposed based on first embodiment, in the present embodiment In, reference picture 7, after the step S30, methods described also includes:
Step S70, when receiving product audit instruction, by parameters corresponding to amended product, with prestoring couple It is compared according to the parameter index that prestores of same position in table;
Step S80, have parameter beyond same position prestore parameter index when, refer to according to the parameter that prestores of same position Mark updates the parameter, the product after being updated, subsequently to be replaced using the product after renewal in the caching storehouse The product used.
In the present embodiment, when receiving product audit instruction, the parameters of product are extracted, then obtains and deposits in advance The table of comparisons that prestores of storage, record has parameters index in the table of comparisons that prestores, for detecting whether product parameters exceed index Scope.After the table of comparisons that prestores is got, by identical bits in parameters, with the table of comparisons that prestores corresponding to amended product The parameter index that prestores put is compared, after comparison, if find have parameter beyond same position prestore parameter index when, Then the parameter, the product after being updated, after subsequently using renewal are updated according to the parameter index that prestores of same position Product replace the product that is used in the caching storehouse.
Specifically, reference picture 8, the step S80 include:
Step S81, have parameter beyond same position prestore parameter index when, Eject preview window, index will be exceeded Parameter show that, so that user is according to the parameter index that prestores of same position, manual modification exceeds the parameter of index, obtains Product after renewal.
In the present embodiment, have parameter beyond same position prestore parameter index when, illustrate the parameter currently changed It is wrong, now, preferably first Eject preview window, it will be shown beyond the parameter of index, so that user is according to the table of comparisons The parameter index that prestores of middle same position, manual modification exceed the parameter of index, the product after being updated.
Step S82, when not receiving reparation instruction manually within a preset time interval, then automatically according to the pre- of same position The parameter preset deposited in parameter index replaces the parameter, the product after being updated.
Further, instruction is repaired manually if all not receiving within a preset time interval, now, can be automatically according to described The default replacement parameter in the table of comparisons in the parameter index that prestores of same position, the product after being updated are described default Parameter can be the intermediate parameters to prestore in parameter index, or boundary parameter, not limit specifically.
Further, after the step S70, methods described also includes:
When prestoring in parameter index, is added to product, so as to follow-up the entry-into-force time between same position in parameters The renewal operation of product is performed based on the entry-into-force time.
Further, when there is parameter can not be repaired by the table of comparisons, the node of the product is retracted into upper level section Point is modified.
It should be noted that traditional loan product, it is necessary to first be tested before issue, if it is problematic, it is necessary to Original node is retracted again, re-test is to issue after modification, it is clear that the time that this process is spent is longer, and operation is also more numerous It is trivial.
And in the present embodiment, before release product, if receiving product audit instruction, it can extract out the table of comparisons pair that prestores The parameter of every product is verified, after verification, can show so as to user change, can also product background system it is automatic Modified according to the table of comparisons, parameter is remodified without retracting again, so as to improve the intelligent of product renewing.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with product renewing program, following operation is realized when the product renewing program is executed by processor:
When receiving product renewing instruction, the product being used in caching storehouse is replicated;
The modification of parameter is carried out to the product of duplication;
New version number is added when parameter is changed and completed, obtains amended product;
The product being used in the caching storehouse is replaced using amended product, to realize the renewal of product.
Further, when the product renewing program is executed by processor, also realizes and institute is replaced using amended product The step of stating the product being used in caching storehouse:
Determine issuing time corresponding to amended product;
Issuing time based on determination, the product being used in the caching storehouse is replaced using amended product.
Further, when the product renewing program is executed by processor, the issuing time based on determination is also realized, is used Amended product replaces the step of product being used in the caching storehouse:
It is amended to cause by the storage of amended product into caching storehouse when issuing time is current point in time Product comes into force;
The transferred product being used in caching storehouse is stored into database.
Further, when the product renewing program is executed by processor, the issuing time based on determination is also realized, is used Amended product replaces the step of product being used in the caching storehouse:
When issuing time is preset time point, amended product is added using preset time point as entry-into-force time point In, and the product added with entry-into-force time point is stored into database;
Start timed task process, when the preset time point reaches, automatically update caching storehouse, will be added with and come into force The product at time point is handed in caching storehouse;
The transferred product being used in caching storehouse is stored into database.
Further, following operation is also realized when the product renewing program is executed by processor:
When the recovery for receiving product instructs, product to be restored is determined from database based on the recovery instruction;
The product of determination is handed over to from database in caching storehouse so that the product comes into force, and will in caching storehouse when The preceding product used is handed over to database and stored.
Further, it is described to add new version number when parameter is changed and completed, after the step of obtaining amended product, The product renewing program also realizes following operation when being executed by processor:
When receiving product audit instruction, by phase in parameters, with the table of comparisons that prestores corresponding to amended product The parameter index that prestores with position is compared;
Have parameter beyond same position prestore parameter index when, according to same position prestore parameter index renewal institute Parameter is stated, the product after being updated, subsequently to replace the production being used in the caching storehouse using the product after renewal Product.
Further, it is also real to exceed same position now with parameter when the product renewing program is executed by processor Prestore parameter index when, the parameter is updated according to the parameter index that prestores of same position, the step of product after being updated:
Have parameter beyond same position prestore parameter index when, Eject preview window, will show beyond the parameter of index Show to come, so that user is according to the parameter index that prestores of same position, manual modification exceeds the parameter of index, after being updated Product;
When not receiving reparation instruction manually within a preset time interval, then refer to automatically according to the parameter that prestores of same position Parameter preset in mark replaces the parameter, the product after being updated.
Further, it is described when receiving product audit instruction, it is and pre- by parameters corresponding to amended product After depositing the step of the parameter index that prestores of same position in the table of comparisons is compared, the product renewing program is held by processor Following operation is also realized during row:
When prestoring in parameter index, is added to product, so as to follow-up the entry-into-force time between same position in parameters The renewal operation of product is performed based on the entry-into-force time.
The present embodiment passes through such scheme, when receiving product renewing instruction, the first production to being used in caching storehouse Product are replicated, and are then carried out the modification of parameter to the product of duplication, are added new version number when parameter is changed and completed, repaiied Product after changing, the product being used in the caching storehouse is finally replaced using amended product, to realize product more Newly.So that the renewal of product, is that the product being used in caching storehouse is replicated, and the product of duplication is updated, The product being used in caching storehouse is replaced as long as the follow-up product using renewal is seamless, without suspending the use of product, By way of this seamless switching, the use of product is not influenceed, improves the intelligent of product renewing.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. product renewing method, it is characterised in that the product renewing method includes:
    When receiving product renewing instruction, the product being used in caching storehouse is replicated;
    The modification of parameter is carried out to the product of duplication;
    New version number is added when parameter is changed and completed, obtains amended product;
    The product being used in the caching storehouse is replaced using amended product, to realize the renewal of product.
  2. 2. product renewing method as claimed in claim 1, it is characterised in that described that described delay is replaced using amended product The step of product being used in warehousing, includes:
    Determine issuing time corresponding to amended product;
    Issuing time based on determination, the product being used in the caching storehouse is replaced using amended product.
  3. 3. product renewing method as claimed in claim 2, it is characterised in that the issuing time based on determination, using repairing The step of product being used in the product replacement caching storehouse after changing, includes:
    When issuing time is current point in time, by the storage of amended product into caching storehouse, to cause amended product Come into force;
    The transferred product being used in caching storehouse is stored into database.
  4. 4. product renewing method as claimed in claim 2, it is characterised in that the issuing time based on determination, using repairing The step of product being used in the product replacement caching storehouse after changing, also includes:
    When issuing time is preset time point, added preset time point as entry-into-force time point in amended product, and Product added with entry-into-force time point is stored into database;
    Start timed task process, when the preset time point reaches, automatically update caching storehouse, the entry-into-force time will be added with The product of point is handed in caching storehouse;
    The transferred product being used in caching storehouse is stored into database.
  5. 5. the product renewing method as described in claim any one of 1-4, it is characterised in that the product renewing method is also wrapped Include:
    When the recovery for receiving product instructs, product to be restored is determined from database based on the recovery instruction;
    The product of determination is handed over to from database in caching storehouse, so that the product comes into force, and will currently be made in caching storehouse Product is handed over to database and stored.
  6. 6. product renewing method as claimed in claim 1, it is characterised in that described to add redaction when parameter is changed and completed Number, after the step of obtaining amended product, methods described also includes:
    When receiving product audit instruction, by identical bits in parameters, with the table of comparisons that prestores corresponding to amended product The parameter index that prestores put is compared;
    Have parameter beyond same position prestore parameter index when, update the ginseng according to the parameter index that prestores of same position Number, the product after being updated, subsequently to replace the product being used in the caching storehouse using the product after renewal.
  7. 7. product renewing method as claimed in claim 6, it is characterised in that described to have parameter prestoring beyond same position During parameter index, the parameter is updated according to the parameter index that prestores of same position, is included the step of product after being updated:
    Have parameter beyond same position prestore parameter index when, Eject preview window, will be shown beyond the parameter of index Come, so that user exceeds the parameter of index, the production after being updated according to the parameter index that prestores of same position, manual modification Product;
    When not receiving reparation instruction manually within a preset time interval, then automatically according in the parameter index that prestores of same position Parameter preset replace the parameter, the product after being updated.
  8. 8. product renewing method as claimed in claim 6, it is characterised in that it is described when receiving product audit instruction, will Parameters corresponding to amended product, the step of being compared with the parameter index that prestores of same position in the table of comparisons that prestores Afterwards, the product renewing method also includes:
    When prestoring in parameter index, is added to product, to be subsequently based on the entry-into-force time between same position in parameters The entry-into-force time performs the renewal operation of product.
  9. 9. a kind of product renewing equipment, it is characterised in that the product renewing equipment includes memory, processor and is stored in institute State the product renewing program that can be run on memory and on the processor, the product originally more new procedures by the processor The step of product renewing method as any one of claim 1 to 8 is realized during execution.
  10. 10. a kind of computer-readable recording medium, it is characterised in that product is stored with the computer-readable recording medium more New procedures, the product renewing as any one of claim 1 to 8 is realized when the product renewing program is executed by processor The step of method.
CN201710497274.XA 2017-06-26 2017-06-26 Product renewing method, equipment and computer-readable recording medium Pending CN107861747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710497274.XA CN107861747A (en) 2017-06-26 2017-06-26 Product renewing method, equipment and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710497274.XA CN107861747A (en) 2017-06-26 2017-06-26 Product renewing method, equipment and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107861747A true CN107861747A (en) 2018-03-30

Family

ID=61699168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710497274.XA Pending CN107861747A (en) 2017-06-26 2017-06-26 Product renewing method, equipment and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107861747A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376175A (en) * 2018-10-24 2019-02-22 上海中商网络股份有限公司 A kind of data managing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150878A1 (en) * 2007-12-11 2009-06-11 Rabindra Pathak Method and system for updating the software of multiple network nodes
CN101950254A (en) * 2010-09-16 2011-01-19 新邮通信设备有限公司 Software updating method and system thereof
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches
CN102216905A (en) * 2008-11-14 2011-10-12 国际商业机器公司 Application restore points
US20140325664A1 (en) * 2013-04-24 2014-10-30 Symantec Corporation Systems and methods for replacing application methods at runtime
CN105204902A (en) * 2015-09-24 2015-12-30 华为技术有限公司 Method and device for upgrading security patches of virtual machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150878A1 (en) * 2007-12-11 2009-06-11 Rabindra Pathak Method and system for updating the software of multiple network nodes
CN102216905A (en) * 2008-11-14 2011-10-12 国际商业机器公司 Application restore points
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches
CN101950254A (en) * 2010-09-16 2011-01-19 新邮通信设备有限公司 Software updating method and system thereof
US20140325664A1 (en) * 2013-04-24 2014-10-30 Symantec Corporation Systems and methods for replacing application methods at runtime
CN105204902A (en) * 2015-09-24 2015-12-30 华为技术有限公司 Method and device for upgrading security patches of virtual machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376175A (en) * 2018-10-24 2019-02-22 上海中商网络股份有限公司 A kind of data managing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102339199B (en) The method that input method switches and device
CN109446570B (en) Business process display method, device, computer equipment and storage medium
CN110427385B (en) Block chain data updating method, related node and block chain
CN108205411A (en) Display changeover method and device, terminal
CN106445663A (en) Application data migration method and device
CN108804188A (en) Changing an interface skin method and device
CN101615141A (en) A kind of method and application program scheduling module of carrying out application program scheduling
CN108595503A (en) Document handling method and server
CN104424333A (en) Method and system for loading table data
CN103379476A (en) Terminal and contact information updating method
KR20160138516A (en) Roaming network access method and apparatus
CN103716346A (en) Management method and device of application on android handset client
CN104268229A (en) Resource obtaining method and device based on multi-process browser
CN104461621A (en) Attribute information updating method and device
CN109918113A (en) Multiple/hot update method of IOS application hot repair, server and storage medium
CN110046100B (en) Packet testing method, electronic device and medium
CN104090822B (en) The switching method and system of android system lower outer portion storage device
CN106446114B (en) Data migration method and device
CN109569214B (en) Application display method and device in split screen mode and display equipment
CN105095009B (en) A kind of method for deleting and device of memory
CN110262823A (en) Using update method, device, equipment and computer readable storage medium
CN107861747A (en) Product renewing method, equipment and computer-readable recording medium
CN111506555B (en) Druid cluster migration method and device and computer equipment
CN101986662B (en) Widget instance operation method and system
CN108235101A (en) Smart television initial method, smart television and computer 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180330