CN106610854A - Model update method and device - Google Patents

Model update method and device Download PDF

Info

Publication number
CN106610854A
CN106610854A CN201510702604.5A CN201510702604A CN106610854A CN 106610854 A CN106610854 A CN 106610854A CN 201510702604 A CN201510702604 A CN 201510702604A CN 106610854 A CN106610854 A CN 106610854A
Authority
CN
China
Prior art keywords
renewal
server
test
modification
management server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510702604.5A
Other languages
Chinese (zh)
Other versions
CN106610854B (en
Inventor
尹攀
张华�
沈涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510702604.5A priority Critical patent/CN106610854B/en
Publication of CN106610854A publication Critical patent/CN106610854A/en
Application granted granted Critical
Publication of CN106610854B publication Critical patent/CN106610854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of wireless communication, particularly relates to a model update method and device, and is used for solving the problems that a manner for carrying out model update artificially consumes a lot of labor costs and the model update efficiency is low. The model update method provided by the embodiment of the invention comprises the steps of obtaining a model update file from a remote server by a background management server, determining a model which is corresponding to the model update file and is after the update according to the model update file as well as the model which is corresponding to the model update file and is before the update in a shared database, and storing the model after the update to the shared database; indicating a test environment server to obtain the model after the update from the shared database, testing the model after the update, and after the test environment server successfully tests the model after the update, indicating a production environment server to replace the model being used before the update with the model after the update.

Description

A kind of model update method and device
Technical field
The application is related to wireless communication technology field, more particularly to a kind of model update method and device.
Background technology
With the development of Internet information technique, the business scenario applied by Internet technology also gradually increases. Internet, applications bring certain risk while bringing advantage to the user, also.In order to reduce at business Reason risk, improves the safely controllable property of internet, applications, and server is generally needed in actual Business Processing Risk identification is carried out to current Business Processing based on default model.
As internet, applications have the features such as scene changes are fast, the update cycle is short, when model modification is carried out, The coverage rate and accuracy rate for not requiring nothing more than the model of renewal is higher, also requires that model modification efficiency is higher.In order to Ensure the coverage rate and accuracy rate of model, it is necessary to model is tested before model is reached the standard grade, only in mould After type test passes through, just model can be reached the standard grade.In order to ensure model modification efficiency, it is necessary to improve model survey The efficiency of examination.
At present, when model measurement is carried out, usually manual control, that is, model training personnel are in instruction After perfecting model, notification model tester tested, model measurement personnel after to model measurement success, Model is reached the standard grade in production environment server.In this manner, model measurement personnel will not only consider life The time requirement that environment server is reached the standard grade to model is produced, such as can not be reached the standard grade in heavy traffic, will also Consider that itself working time arranges, it is easy to cause model be updated in time.
It can be seen that, under the mode that manual control carries out model modification, a large amount of human costs can be not only expended, and And easily lead to model and can not be updated in time.
The content of the invention
The embodiment of the present application provides a kind of model update method and device, to solve to carry out mould in manual control Under the mode that type updates, can not only expend a large amount of human costs, and easily lead to model can not quilt in time The problem of renewal.
A kind of model update method that the embodiment of the present application is provided, including:
Back-stage management server obtains model modification file from remote server;
The back-stage management server is according to the model modification file and model modification file correspondence Shared data bank in update before model, determine the model after the corresponding renewal of the model modification file, And the model after the renewal is stored in shared data bank;
The back-stage management server sends test configured information to test environment service device, for indicating test Environment server obtains the model after the renewal from the shared data bank, and to the mould after the renewal Type is tested;
The back-stage management server the test environment service device to the model measurement after the renewal into After work(, to the production environment server transmission pattern update instruction information for performing Business Processing, for indicating State production environment server and the model before the renewal being currently in use is replaced with the model after the renewal.
Alternatively, the model after the renewal is stored in shared data bank it by the back-stage management server Afterwards, also include:
The back-stage management server calls configured information to the production environment server transmitted traffic, is used for Indicate that the business datum of generation is sent to test environment service device by the production environment server, so that described The renewal of the business datum that test environment service device is sent based on the production environment server to obtaining Model afterwards is tested.
Alternatively, the back-stage management server obtains model modification file from remote server, including:
The back-stage management server is taken from long-range when monitoring currently to reach the default model modification time The model modification file is obtained in business device.
Alternatively, the back-stage management server is stored in the model after the renewal in shared data bank, Including:
The back-stage management server is stored in the model after renewal in shared data bank, and by shared data The execution state of the model after updating described in storehouse is set to state in test execution, for the test environment Server indicates that the model after the renewal is the model for needing to perform test.
Alternatively, methods described also includes:
The back-stage management server is lost to the model measurement after the renewal in the test environment service device After losing, the model after the renewal in the shared data bank is deleted, and indicates that the remote server is deleted Except the model modification file.
Alternatively, the back-stage management server in the test environment service device to the model after the renewal After being successfully tested, to before the production environment server transmission pattern update instruction information of execution Business Processing, Also include:
The back-stage management server by described in the shared data bank update after model execution state Commencement of commercial operation state is set to, for indicating that to the production environment server model after the renewal is test Model after success.
A kind of model update method that another embodiment of the application is provided, including:
Production environment server receives the model modification configured information that the back-stage management server sends;
The production environment server obtains the model after the renewal being successfully tested from shared data bank, and will After the model before the corresponding renewal being being currently used of model after the renewal replaces with the renewal Model.
A kind of model update method that the another embodiment of the application is provided, including:
After the test environment service device test configured information that platform management server sends upon receipt, from shared The model after renewal to be tested is obtained in data base;
The test environment service device is tested to the model after the renewal, and test result is indicated to The back-stage management server so that the back-stage management server in the test environment service device to described After model measurement success after renewal, to the production environment server transmission pattern update instruction information, use In indicating the production environment server by the model after the renewal corresponding renewal being being currently used Front model replaces with the model after the renewal.
A kind of model modification system that the embodiment of the present application is provided includes:
Back-stage management server, for model modification file is obtained from remote server, according to the model Model before updating in more new file and the corresponding shared data bank of the model modification file, it is determined that described Model after the corresponding renewal of model modification file, and the model after the renewal is stored in into shared data bank In;Test configured information is sent to test environment service device, after test environment service device is to the renewal After model is successfully tested, to the production environment server transmission pattern update instruction letter for performing Business Processing Breath;
Remote server, for storing the model modification file of user's upload;
Test environment service device, after the test configured information sent for platform management server upon receipt, The model after renewal to be tested is obtained from shared data bank, the model after the renewal is tested, And test result is indicated to into the back-stage management server;
Production environment server, for the model modification configured information that platform management server upon receipt sends Afterwards, obtain the model after the renewal being successfully tested from shared data bank, and by the model pair after the renewal Model before the renewal being being currently used answered replaces with the model after the renewal.
A kind of model modification device that the embodiment of the present application is provided, including:
Acquisition module, for model modification file is obtained from remote server;
Determining module, for corresponding shared according to the model modification file and the model modification file Model before updating in data base, determines the model after the corresponding renewal of the model modification file, and by institute State the model after updating to be stored in shared data bank;
First sending module, for sending test configured information to test environment service device, for indicating test Environment server obtains the model after the renewal from the shared data bank, and to the mould after the renewal Type is tested;
Second sending module, in the test environment service device to the model measurement success after the renewal Afterwards, it is to the production environment server transmission pattern update instruction information for performing Business Processing, described for indicating Model before the renewal being currently in use is replaced with production environment server the model after the renewal.
Another embodiment of the application provides a kind of model modification device, including:
Receiver module, for receiving the model modification configured information that the back-stage management server sends;
Acquisition module, for after the receiver module receives the model modification configured information, from shared The model after the renewal being successfully tested is obtained in data base;
Replacement module, for the model after the renewal that obtains the acquisition module it is corresponding it is current Model before the renewal for using replaces with the model after the renewal.
The another embodiment of the application provides a kind of model modification device, including:
Acquisition module, after the test configured information sent for platform management server upon receipt, from shared The model after renewal to be tested is obtained in data base;
Test module, for testing to the model after the renewal, and test result is indicated to described Back-stage management server so that the back-stage management server in the test environment service device to the renewal After model measurement success afterwards, to the production environment server transmission pattern update instruction information, for referring to Show the production environment server by before the model after the renewal corresponding renewal being being currently used Model replaces with the model after the renewal.
Using such scheme, back-stage management server according to the model modification file obtained from remote server with And the model before updating in the corresponding shared data bank of the model modification file, it is determined that the model after updating, And the model after the renewal is stored in shared data bank;Test environment service device is taken based on back-stage management The instruction of business device, obtains the model after the renewal from shared data bank, and the model after renewal is carried out Test;Instruction of the production environment server according to back-stage management server, before the renewal being currently in use Model replace with the model after the renewal after being successfully tested, such that it is able to the automatic test of implementation model Update.
Description of the drawings
The model modification system structure diagram that Fig. 1 is provided for the embodiment of the present application;
Fig. 2 is the model update method flow chart that the embodiment of the present application one is provided;
Fig. 3 is the model update method flow chart that the embodiment of the present application two is provided;
Fig. 4 is the model modification apparatus structure schematic diagram that the embodiment of the present application three is provided;
Fig. 5 is the model modification apparatus structure schematic diagram that the embodiment of the present application four is provided;
Fig. 6 is the model modification apparatus structure schematic diagram that the embodiment of the present application five is provided.
Specific embodiment
As shown in figure 1,10 structural representation of model modification system provided for the embodiment of the present application, including:
Back-stage management server 11, for model modification file is obtained from remote server 12, according to institute Model before updating in stating model modification file and the corresponding shared data bank of the model modification file, really Determine the model after the corresponding renewal of the model modification file, and the model after the renewal is stored in shared In data base;Test configured information is sent to test environment service device 13, in test environment service device 13 pairs After model after the renewal is successfully tested, to the production environment server 14 for performing Business Processing Send model modification configured information;
Remote server 12, for storing the model modification file of user's upload;
Test environment service device 13, indicates letter for the test that platform management server 11 upon receipt sends After breath, the model after renewal to be tested is obtained from shared data bank, the model after the renewal is carried out Test, and test result is indicated to into the back-stage management server 11;
Production environment server 14, the model modification sent for platform management server 11 upon receipt refer to After showing information, the model after the renewal being successfully tested is obtained from shared data bank, and by after the renewal Model before the corresponding renewal being being currently used of model replaces with the model after the renewal.
It can be seen that, the embodiment of the present application can be updated with the automatic test of implementation model, with reference to Figure of description The embodiment of the present application is described in further detail.
In the examples below, the model refers to model training personnel by some data mining means, right All types of user behavioral data (the such as means of payment, medium education (Media Access Control, MAC) Address, Internet protocol (Internet Protocol, IP) address etc.) carry out characteristic extraction after, base In the characteristic for extracting, by data mining algorithm (such as decision tree, neural classification, logistic regression etc.) The scoring algorithm statement model obtained after carrying out scoring training.The production environment refers to actual services operation Environment.Before production environment commencement of commercial operation that model is reached the standard grade, need first to put it into test environment (Beta Environment) in tested, test environment and production environment isolation.Shared data bank in the embodiment of the present application (Database, DB) can be specifically MySQL database.
Embodiment one
As shown in Fig. 2 the model update method flow chart provided for the embodiment of the present application one, including following step Suddenly:
S201:Back-stage management server obtains model modification file from remote server.
In specific implementation process, after model of the model training personnel after renewal is trained, after renewal The model modification file of model (comprising the model compared before updating in model modification file, increases or updates Data) after compression (such as boil down to zip formatted files) be stored in remote server under assigned catalogue. Back-stage management server can monitored currently to reach default model according to the default model modification time During the renewal time, the model modification file is obtained from remote server.Such as, in order to do not affect production The normal execution of business in environment server, model modification set of time was started for daily morning;Manage on backstage Reason server reads the model modification file of the previous day automatically according to current date.Each model bag Basic configuration file and model algorithm file two parts are included, model algorithm such as random forest, decision tree C5 are calculated Method etc., model training personnel are by basic configuration information file and model algorithm file with different file format areas Separate, upload under remote server assigned catalogue after boil down to zip file bag;Back-stage management server is read Zip file bag is decompressed after taking the compressed file list of assigned catalogue.In actual enforcement, back-stage management service Device can obtain the model modification file of one or more models from remote server, can be to one or many Individual model synchronizes renewal.
S202:Back-stage management server is according to the model modification file and model modification file correspondence Shared data bank in update before model, determine the model after the corresponding renewal of the model modification file, And the model after the renewal is stored in shared data bank.
In specific implementation process, back-stage management server can be closed to the model modification file first Method is verified, and including the effectiveness and completeness check of model modification file, whether such as verification currently has right Should model modification file commencement of commercial operation model (namely the model before the renewal of commencement of commercial operation, here, Model is by commencement of commercial operation in production environment server) exist, the algorithm types of model modification file are It is no consistent with the model of commencement of commercial operation etc..
Model modification file is being carried out after legitimate verification passes through, back-stage management server can pass through model Title and execution state (commencement of commercial operation state) etc. find the corresponding commencement of commercial operation of model modification file Model before renewal, based on the model before the renewal for finding and the model modification file, it is determined that after updating Model, and the model after renewal is stored in shared data bank, detailed process is:
In shared data bank (Database, DB), a newly-increased execution state is the model letter of newly-built state Breath record, in the record, by one copy of model copy before the renewal of commencement of commercial operation, and wherein will need Model information to be updated is replaced using the model information in model modification file, by the execution shape of the model State is set to state in test execution.It can be seen that, the embodiment of the present application in order to ensure the normal operation of production environment, Directly the model before updating in DB is not deleted, but is retained.
S203:Back-stage management server sends test configured information to test environment service device.
Here, model is being submitted to by back-stage management server in being test execution after state, to test environment (such as Beta environment) server push test configured information, after indicating test environment service device to the renewal Model is tested.
S204:After the test environment service device test configured information that platform management server sends upon receipt, The model after renewal to be tested is obtained from shared data bank, the model after the renewal is tested, And test result is indicated to into the back-stage management server.
In specific implementation process, test environment service device can upon receipt platform management server send After test configured information, the model in state in test execution is obtained from shared data bank, in survey After in examination execution, the model of state is tested, test result is stored in shared distributed caching.
S205:Back-stage management server the test environment service device to the model measurement after the renewal into After work(, to the production environment server transmission pattern update instruction information for performing Business Processing.
In the step, back-stage management server, can after test configured information is sent to test environment service device , after the time span for waiting setting, to read the test result in distributed caching, after certain renewal Model, (such as model was performed the test result and default criterion based on the model after the renewal Whether journey is correct, whether marking interval is normal etc.), whether the model after the renewal is judged by testing, After being identified through test, can by DB to updating after the execution status modifier of model be formal fortune Row state, can be newly-built shape by the execution status modifier of the model after updating if test does not pass through State, and delete corresponding data in DB.After the completion of test, back-stage management server is deleted distributed slow Test result in depositing.
In being embodied as, back-stage management server can after the completion of all models to be tested are all tested, The model passed through with the presence or absence of test is counted, if it is present to production environment server push model modification Configured information.
S206:Production environment server is receiving the model modification instruction that the back-stage management server sends After information, the model after the renewal being successfully tested is obtained from shared data bank, and by the mould after the renewal Model before the corresponding renewal being being currently used of type replaces with the model after the renewal.
In specific implementation process, production environment server is receiving what the back-stage management server sent After model modification configured information, time of last update model is obtained from from shared data bank to current Till, in the model of commencement of commercial operation state, the model of acquisition is loaded in internal memory, replace it is corresponding Need the model for updating.
In actual enforcement, test environment service device needs to survey model based on existing business datum Examination, these business datums can pre-deposit test environment service device, but in order to improve test accuracy rate, Preferably simulate true production circumstances tested, therefore, the application preferred embodiment in, adopt Mode of the production environment server to test environment service device real-time Transmission business datum.
Embodiment two
As shown in figure 3, the model update method flow chart provided for the embodiment of the present application two, including following step Suddenly:
S301:Back-stage management server when monitoring currently to reach the default model modification time, from long-range Model modification file is obtained in server.
In this step, back-stage management server gets model training personnel and pre-deposits remote server and refers to After determining the model modification file under catalogue, legitimacy verifies are carried out to model modification file, in legitimacy verifies By rear, S302 is performed.
S302:Back-stage management server is according to the model modification file and model modification file correspondence Shared data bank in update before model, determine the model after the corresponding renewal of the model modification file, Model after renewal is stored in shared data bank, by holding for the model after updating described in shared data bank Row state is set to state in test execution.
In the step, back-stage management server newly-increased execution state in DB is the model of newly-built state Information record, in the record, by one copy of model copy of commencement of commercial operation, and wherein will need to update Model information replaced using the model information in model modification file, the execution state of the model is set to State in test execution.
S303:Back-stage management server calls configured information to production environment server transmitted traffic, to test Environment server sends test configured information.
S304:Production environment server is being received after the flow calls configured information, the business that will be produced Data is activation sends to test environment service device, test environment service device based on the production environment server Business datum is tested to the model after the renewal, and test result is indicated to the back-stage management clothes Business device.
In the step, production environment server is opened and replicates production environment flow rate test switch, afterwards, production The actual services data that environment server is produced are transferred to test environment service device to carry out model measurement. Test environment service device obtains the model in state in test execution from shared data bank, based on production ring The actual services data that border server is produced, after testing to the model in state in test execution, will Test result is stored in shared distributed caching.
S305:Back-stage management server the test environment service device to the model measurement after the renewal into After work(, the execution state of the model after updating described in the shared data bank is set to into commencement of commercial operation state, And to the production environment server transmission pattern update instruction information of execution Business Processing, then perform S307.
In the step, back-stage management server, can after test configured information is sent to test environment service device , after the time span for waiting setting, to read the test result in distributed caching, correspondence in DB is surveyed The execution status modifier of the model for pinging is commencement of commercial operation state, and the model that the test in DB is passed through The execution status modifier of the model before corresponding renewal is unofficial running status.Here, after in order to prevent Go wrong in phase model commencement of commercial operation, the model of nearest three versions can be preserved in DB.
S306:Back-stage management server is lost to the model measurement after the renewal in the test environment service device After losing, the model after the renewal in the shared data bank is deleted, and indicates that the remote server is deleted Except the model modification file, following S307 are no longer performed.
In the step, back-stage management server it is determined that after to certain model measurement failure, by the mould in DB The execution status modifier of type is newly-built state, deletes the corresponding data of the model in DB, and deletes long-range clothes Corresponding model modification file in business device.
After the completion of test, back-stage management server deletes the test result in distributed caching.
S307:Production environment server is receiving the model modification instruction that the back-stage management server sends After information, the time of model modification is carried out according to the last time, and from shared data bank, the acquisition renewal time exists Described the last time carry out after the time of model modification, execution state for commencement of commercial operation state it is described more Model after new;Obtain the model after the renewal being successfully tested from shared data bank, and will described in more The corresponding model to be updated of model after new replaces with the model after the renewal.
In the step, production environment server is obtained from time of last update model from DB to working as Before till, in the model of commencement of commercial operation state, the model of acquisition is loaded in internal memory, replace correspondence Needs update model.
Alternatively, methods described also includes:
When model of the production environment server after the renewal goes wrong, from the shared data bank Model before the middle corresponding renewal of model obtained after the renewal, and by after the renewal being currently in use Model replaces with the model before the renewal.
In order to ensure the stability of production environment, the model after updating is run in production environment server and occur asking After topic, the mode of " a key rollback " can be taken, the model being switched to before updating.Specifically, produce ring , to back-stage management server transmission pattern error message, back-stage management server will be corresponding in DB for border server The model of the previous release of the model for going wrong is set to commencement of commercial operation state again, and notifies production environment Server, production environment server re-read the model of previous release from DB, are loaded in internal memory, The model that replacement currently goes wrong.
Based on same inventive concept, additionally provide in the embodiment of the present application a kind of corresponding with model update method Model modification device, due to principle and the embodiment of the present application model update method phase of the device solve problem Seemingly, therefore the enforcement of the device may refer to the enforcement of method, repeat part and repeat no more.
Embodiment three
As shown in figure 4, the model modification apparatus structure schematic diagram provided for the embodiment of the present application three, the device Can be deployed in the back-stage management server, or it is only that the back-stage management server is controlled Vertical device, including:
Acquisition module 41, for model modification file is obtained from remote server;
Determining module 42, for corresponding common according to the model modification file and the model modification file Model before updating in enjoying data base, determines the model after the corresponding renewal of the model modification file, and will Model after the renewal is stored in shared data bank;
First sending module 43, for sending test configured information to test environment service device, for indicating to survey Examination environment server obtains the model after the renewal from the shared data bank, and to the renewal after Model is tested;
Second sending module 44, for the test environment service device to the model measurement after the renewal into After work(, to the production environment server transmission pattern update instruction information for performing Business Processing, for indicating State production environment server and the model before the renewal being currently in use is replaced with the model after the renewal.
Alternatively, described device also includes:
3rd sending module 45, for being stored in the model after the renewal altogether in the determining module 42 After enjoying in data base, configured information is called to the production environment server transmitted traffic, for indicating State production environment server and the business datum of generation is sent to into test environment service device, so that the test wrapper The business datum that border server is sent based on the production environment server is to the mould after the renewal that obtains Type is tested.
Alternatively, the acquisition module 41 specifically for:
When monitoring currently to reach the default model modification time, the model is obtained from remote server More new file.
Alternatively, the determining module 42 specifically for:
Model after renewal is stored in shared data bank, and by described in shared data bank update after mould The execution state of type is set to state in test execution, for indicating the renewal to the test environment service device Model afterwards is the model for needing to perform test.
Alternatively, described device also includes:
Removing module 46, for failing to the model measurement after the renewal in the test environment service device Afterwards, the model after the renewal in the shared data bank is deleted, and indicates that the remote server is deleted The model modification file.
Alternatively, the determining module 42 is additionally operable to:
After the test environment service device is to the model measurement success after the renewal, send described second Module, will be described common to before the production environment server transmission pattern update instruction information of execution Business Processing The execution state for enjoying the model after updating described in data base is set to commencement of commercial operation state, for the production Environment server indicates that the model after the renewal is the model after being successfully tested.
Example IV
As shown in figure 5, the model modification apparatus structure schematic diagram provided for the embodiment of the present application four, the device Can be deployed in the production environment server, or it is only that the production environment server is controlled Vertical device, including:
Receiver module 51, for receiving the model modification configured information that the back-stage management server sends;
Acquisition module 52, for after the receiver module 51 receives the model modification configured information, The model after the renewal being successfully tested is obtained from shared data bank;
Replacement module 53, works as the model after the renewal that obtains the acquisition module 52 is corresponding Before model before the renewal that is currently in use replace with the model after the renewal.
Alternatively, the receiver module 51 is additionally operable to:
Before the model modification configured information that the back-stage management server sends is received, back-stage management is received The flow that server sends calls configured information;
Described device also includes:
Sending module 54, for the business datum of generation is sent to test environment service device, for the survey Model after the renewal of the examination environment server based on the business datum to acquisition is tested.
Alternatively, the acquisition module 52 specifically for:
The time of model modification is carried out according to the last time, the renewal time is obtained from shared data bank described After the last time carries out after the time of model modification, execution state for the renewal of commencement of commercial operation state Model.
Alternatively, the acquisition module 52 is additionally operable to:
When model after the renewal goes wrong, after the renewal is obtained from the shared data bank Model before the corresponding renewal of model, and the model after the renewal being currently in use is replaced with into the renewal Front model.
Embodiment five
As shown in fig. 6, the model modification apparatus structure schematic diagram provided for the embodiment of the present application five, the device Can be deployed in the test environment service device, or it is only that the test environment service device is controlled Vertical device, including:
Acquisition module 61, after the test configured information sent for platform management server upon receipt, from altogether The model after renewal to be tested is obtained in enjoying data base;
Test result for testing to the model after the renewal, and is indicated to institute by test module 62 State back-stage management server so that the back-stage management server the test environment service device to it is described more After model measurement success after new, to the production environment server transmission pattern update instruction information, it is used for Indicate the production environment server by before the model after the renewal corresponding renewal being being currently used Model replace with the model after the renewal.
Alternatively, the test module 62 specifically for:
The business datum sent based on the production environment server is tested to the model after the renewal.
Alternatively, the acquisition module 61 specifically for:
The mould after the renewal that execution state is state in test execution is obtained from the shared data bank Type.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or meter Calculation machine program product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or knot The form of the embodiment in terms of conjunction software and hardware.And, the application can be using wherein wrapping at one or more Computer-usable storage medium containing computer usable program code (including but not limited to disk memory, CD-ROM, optical memory etc.) on the form of computer program implemented.
The application be with reference to according to the method for the embodiment of the present application, device (system), and computer program produce The flow chart and/or block diagram of product is describing.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or square frame and flow chart and/or the flow process in block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedded The processor of formula datatron or other programmable data processing devices is producing a machine so that by calculating The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device of the function of specifying in individual flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas process can be guided to set In the standby computer-readable memory for working in a specific way so that be stored in the computer-readable memory Instruction produce and include the manufacture of command device, command device realization is in one flow process or multiple of flow chart The function of specifying in one square frame of flow process and/or block diagram or multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing devices, made Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know base This creative concept, then can make other change and modification to these embodiments.So, appended right will Ask and be intended to be construed to include preferred embodiment and fall into the had altered of the application scope and change.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this Shen to the application Spirit and scope please.So, if the application these modification and modification belong to the application claim and Within the scope of its equivalent technologies, then the application is also intended to comprising these changes and modification.

Claims (27)

1. a kind of model update method, it is characterised in that the method includes:
Back-stage management server obtains model modification file from remote server;
The back-stage management server is according to the model modification file and model modification file correspondence Shared data bank in update before model, determine the model after the corresponding renewal of the model modification file, And the model after the renewal is stored in shared data bank;
The back-stage management server sends test configured information to test environment service device, for indicating test Environment server obtains the model after the renewal from the shared data bank, and to the mould after the renewal Type is tested;
The back-stage management server the test environment service device to the model measurement after the renewal into After work(, to the production environment server transmission pattern update instruction information for performing Business Processing, for indicating State production environment server and the model before the renewal being currently in use is replaced with the model after the renewal.
2. the method for claim 1, it is characterised in that the back-stage management server will be described After model after renewal is stored in shared data bank, also include:
The back-stage management server calls configured information to the production environment server transmitted traffic, is used for Indicate that the business datum of generation is sent to test environment service device by the production environment server, so that described The renewal of the business datum that test environment service device is sent based on the production environment server to obtaining Model afterwards is tested.
3. the method for claim 1, it is characterised in that the back-stage management server is from long-range Model modification file is obtained in server, including:
The back-stage management server is taken from long-range when monitoring currently to reach the default model modification time The model modification file is obtained in business device.
4. the method for claim 1, it is characterised in that the back-stage management server will be described Model after renewal is stored in shared data bank, including:
The back-stage management server is stored in the model after renewal in shared data bank, and by shared data The execution state of the model after updating described in storehouse is set to state in test execution, for the test environment Server indicates that the model after the renewal is the model for needing to perform test.
5. the method for claim 1, it is characterised in that methods described also includes:
The back-stage management server is lost to the model measurement after the renewal in the test environment service device After losing, the model after the renewal in the shared data bank is deleted, and indicates that the remote server is deleted Except the model modification file.
6. the method for claim 1, it is characterised in that the back-stage management server is described After test environment service device is to the model measurement success after the renewal, to the production environment for performing Business Processing Before server transmission pattern update instruction information, also include:
The back-stage management server by described in the shared data bank update after model execution state Commencement of commercial operation state is set to, for indicating that to the production environment server model after the renewal is test Model after success.
7. a kind of model update method, it is characterised in that the method includes:
Production environment server receives the model modification configured information that the back-stage management server sends;
The production environment server obtains the model after the renewal being successfully tested from shared data bank, and will After the model before the corresponding renewal being being currently used of model after the renewal replaces with the renewal Model.
8. method as claimed in claim 7, it is characterised in that the production environment server receives institute Before stating the model modification configured information of back-stage management server transmission, also include:
The production environment server receives the flow of back-stage management server transmission and calls configured information;
The business datum of generation is sent to test environment service device by the production environment server, for described Model after the renewal of the test environment service device based on the business datum to acquisition is tested.
9. method as claimed in claim 7, it is characterised in that the production environment server is from shared The model after the renewal being successfully tested is obtained in data base, including:
The production environment server carries out the time of model modification according to the last time, from shared data bank Obtain the renewal time after the time that described the last time carries out model modification, execution state be formal fortune Model after the renewal of row state.
10. the method as described in claim 7~9 is arbitrary, it is characterised in that methods described also includes:
When model of the production environment server after the renewal goes wrong, from the shared data bank Model before the middle corresponding renewal of model obtained after the renewal, and by after the renewal being currently in use Model replaces with the model before the renewal.
11. a kind of model update methods, it is characterised in that the method includes:
After the test environment service device test configured information that platform management server sends upon receipt, from shared The model after renewal to be tested is obtained in data base;
The test environment service device is tested to the model after the renewal, and test result is indicated to The back-stage management server so that the back-stage management server in the test environment service device to described After model measurement success after renewal, to the production environment server transmission pattern update instruction information, use In indicating the production environment server by the model after the renewal corresponding renewal being being currently used Front model replaces with the model after the renewal.
12. methods as claimed in claim 11, it is characterised in that the test environment service device is to institute State the model after updating to be tested, including:
The business datum that the test environment service device is sent based on the production environment server to it is described more Model after new is tested.
13. methods as described in claim 11 or 12, it is characterised in that the test environment service device The model after renewal to be tested is obtained from shared data bank, including:
The test environment service device obtains execution state from the shared data bank for shape in test execution Model after the renewal of state.
14. a kind of model modification systems, it is characterised in that the system includes:
Back-stage management server, for model modification file is obtained from remote server, according to the model Model before updating in more new file and the corresponding shared data bank of the model modification file, it is determined that described Model after the corresponding renewal of model modification file, and the model after the renewal is stored in into shared data bank In;Test configured information is sent to test environment service device, after test environment service device is to the renewal After model is successfully tested, to the production environment server transmission pattern update instruction letter for performing Business Processing Breath;
Remote server, for storing the model modification file of user's upload;
Test environment service device, after the test configured information sent for platform management server upon receipt, The model after renewal to be tested is obtained from shared data bank, the model after the renewal is tested, And test result is indicated to into the back-stage management server;
Production environment server, for the model modification configured information that platform management server upon receipt sends Afterwards, obtain the model after the renewal being successfully tested from shared data bank, and by the model pair after the renewal Model before the renewal being being currently used answered replaces with the model after the renewal.
15. a kind of model modification devices, it is characterised in that the device includes:
Acquisition module, for model modification file is obtained from remote server;
Determining module, for corresponding shared according to the model modification file and the model modification file Model before updating in data base, determines the model after the corresponding renewal of the model modification file, and by institute State the model after updating to be stored in shared data bank;
First sending module, for sending test configured information to test environment service device, for indicating test Environment server obtains the model after the renewal from the shared data bank, and to the mould after the renewal Type is tested;
Second sending module, in the test environment service device to the model measurement success after the renewal Afterwards, it is to the production environment server transmission pattern update instruction information for performing Business Processing, described for indicating Model before the renewal being currently in use is replaced with production environment server the model after the renewal.
16. devices as claimed in claim 15, it is characterised in that described device also includes:
3rd sending module, for the model after the renewal is stored in shared data in the determining module After in storehouse, configured information is called to the production environment server transmitted traffic, for indicating the production The business datum of generation is sent to test environment service device by environment server, so that the test environment service The business datum that device is sent based on the production environment server is carried out to the model after the renewal that obtains Test.
17. devices as claimed in claim 15, it is characterised in that the acquisition module specifically for:
When monitoring currently to reach the default model modification time, the model is obtained from remote server More new file.
18. devices as claimed in claim 15, it is characterised in that the determining module specifically for:
Model after renewal is stored in shared data bank, and by described in shared data bank update after mould The execution state of type is set to state in test execution, for indicating the renewal to the test environment service device Model afterwards is the model for needing to perform test.
19. devices as claimed in claim 15, it is characterised in that described device also includes:
Removing module, after in the test environment service device to the model measurement failure after the renewal, The model after the renewal in the shared data bank is deleted, and it is described to indicate that the remote server is deleted Model modification file.
20. devices as claimed in claim 15, it is characterised in that the determining module is additionally operable to:
After the test environment service device is to the model measurement success after the renewal, send described second Module, will be described common to before the production environment server transmission pattern update instruction information of execution Business Processing The execution state for enjoying the model after updating described in data base is set to commencement of commercial operation state, for the production Environment server indicates that the model after the renewal is the model after being successfully tested.
21. a kind of model modification devices, it is characterised in that the device includes:
Receiver module, for receiving the model modification configured information that the back-stage management server sends;
Acquisition module, for after the receiver module receives the model modification configured information, from shared The model after the renewal being successfully tested is obtained in data base;
Replacement module, for the model after the renewal that obtains the acquisition module it is corresponding it is current Model before the renewal for using replaces with the model after the renewal.
22. devices as claimed in claim 21, it is characterised in that the receiver module is additionally operable to:
Before the model modification configured information that the back-stage management server sends is received, back-stage management is received The flow that server sends calls configured information;
Described device also includes:
Sending module, for the business datum of generation is sent to test environment service device, for the test Model after the renewal of the environment server based on the business datum to acquisition is tested.
23. devices as claimed in claim 21, it is characterised in that the acquisition module specifically for:
The time of model modification is carried out according to the last time, the renewal time is obtained from shared data bank described After the last time carries out after the time of model modification, execution state for the renewal of commencement of commercial operation state Model.
24. devices as described in claim 21~23 is arbitrary, it is characterised in that the acquisition module is also used In:
When model after the renewal goes wrong, after the renewal is obtained from the shared data bank Model before the corresponding renewal of model, and the model after the renewal being currently in use is replaced with into the renewal Front model.
25. a kind of model modification devices, it is characterised in that the device includes:
Acquisition module, after the test configured information sent for platform management server upon receipt, from shared The model after renewal to be tested is obtained in data base;
Test module, for testing to the model after the renewal, and test result is indicated to described Back-stage management server so that the back-stage management server in the test environment service device to the renewal After model measurement success afterwards, to the production environment server transmission pattern update instruction information, for referring to Show the production environment server by before the model after the renewal corresponding renewal being being currently used Model replaces with the model after the renewal.
26. devices as claimed in claim 25, it is characterised in that the test module specifically for:
The business datum sent based on the production environment server is tested to the model after the renewal.
27. devices as described in claim 25 or 26, it is characterised in that the acquisition module is specifically used In:
The mould after the renewal that execution state is state in test execution is obtained from the shared data bank Type.
CN201510702604.5A 2015-10-26 2015-10-26 Model updating method and device Active CN106610854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510702604.5A CN106610854B (en) 2015-10-26 2015-10-26 Model updating method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010136705.1A CN111399873A (en) 2015-10-26 2015-10-26 Model updating method and device
CN201510702604.5A CN106610854B (en) 2015-10-26 2015-10-26 Model updating method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202010136705.1A Division CN111399873A (en) 2015-10-26 2015-10-26 Model updating method and device

Publications (2)

Publication Number Publication Date
CN106610854A true CN106610854A (en) 2017-05-03
CN106610854B CN106610854B (en) 2020-02-18

Family

ID=58613881

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510702604.5A Active CN106610854B (en) 2015-10-26 2015-10-26 Model updating method and device
CN202010136705.1A Pending CN111399873A (en) 2015-10-26 2015-10-26 Model updating method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010136705.1A Pending CN111399873A (en) 2015-10-26 2015-10-26 Model updating method and device

Country Status (1)

Country Link
CN (2) CN106610854B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247592A (en) * 2017-06-09 2017-10-13 携程旅游网络技术(上海)有限公司 Tackle the model management system and method under multi-service scene
CN108573355A (en) * 2018-05-08 2018-09-25 阿里巴巴集团控股有限公司 The method, apparatus and service server of operation are replaced after model modification
CN109242109A (en) * 2018-07-06 2019-01-18 网宿科技股份有限公司 The management method and server of depth model
CN109460826A (en) * 2018-10-31 2019-03-12 北京字节跳动网络技术有限公司 For distributing the method, apparatus and model modification system of data
CN109885486A (en) * 2019-01-23 2019-06-14 鑫涌算力信息科技(上海)有限公司 System debug device and method
CN109976779A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 Robot software's online upgrading dissemination method, device, equipment and storage medium
CN109993300A (en) * 2017-12-29 2019-07-09 华为技术有限公司 A kind of training method and device of neural network model
WO2021053509A1 (en) * 2019-09-20 2021-03-25 International Business Machines Corporation Updating detection models and maintaining data privacy
US11080352B2 (en) 2019-09-20 2021-08-03 International Business Machines Corporation Systems and methods for maintaining data privacy in a shared detection model system
US11157776B2 (en) 2019-09-20 2021-10-26 International Business Machines Corporation Systems and methods for maintaining data privacy in a shared detection model system
US11188320B2 (en) 2019-09-20 2021-11-30 International Business Machines Corporation Systems and methods for updating detection models and maintaining data privacy
WO2021238914A1 (en) * 2020-05-27 2021-12-02 北京字节跳动网络技术有限公司 Model management device, method, and system, and data management device, method, and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477467A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Project code releasing method
CN101635640A (en) * 2009-09-04 2010-01-27 江苏天智互联科技有限公司 Method for automatically releasing terminal program version of WEB network station system server
CN104702446A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Data release method and data release device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477467A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Project code releasing method
CN101635640A (en) * 2009-09-04 2010-01-27 江苏天智互联科技有限公司 Method for automatically releasing terminal program version of WEB network station system server
CN104702446A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Data release method and data release device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247592A (en) * 2017-06-09 2017-10-13 携程旅游网络技术(上海)有限公司 Tackle the model management system and method under multi-service scene
CN109976779A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 Robot software's online upgrading dissemination method, device, equipment and storage medium
CN109993300A (en) * 2017-12-29 2019-07-09 华为技术有限公司 A kind of training method and device of neural network model
CN109993300B (en) * 2017-12-29 2021-01-29 华为技术有限公司 Training method and device of neural network model
CN108573355A (en) * 2018-05-08 2018-09-25 阿里巴巴集团控股有限公司 The method, apparatus and service server of operation are replaced after model modification
CN108573355B (en) * 2018-05-08 2021-07-13 创新先进技术有限公司 Method and device for replacing operation after model updating and business server
CN109242109A (en) * 2018-07-06 2019-01-18 网宿科技股份有限公司 The management method and server of depth model
CN109460826A (en) * 2018-10-31 2019-03-12 北京字节跳动网络技术有限公司 For distributing the method, apparatus and model modification system of data
CN109885486A (en) * 2019-01-23 2019-06-14 鑫涌算力信息科技(上海)有限公司 System debug device and method
WO2021053509A1 (en) * 2019-09-20 2021-03-25 International Business Machines Corporation Updating detection models and maintaining data privacy
US11080352B2 (en) 2019-09-20 2021-08-03 International Business Machines Corporation Systems and methods for maintaining data privacy in a shared detection model system
US11157776B2 (en) 2019-09-20 2021-10-26 International Business Machines Corporation Systems and methods for maintaining data privacy in a shared detection model system
US11188320B2 (en) 2019-09-20 2021-11-30 International Business Machines Corporation Systems and methods for updating detection models and maintaining data privacy
WO2021238914A1 (en) * 2020-05-27 2021-12-02 北京字节跳动网络技术有限公司 Model management device, method, and system, and data management device, method, and system

Also Published As

Publication number Publication date
CN111399873A (en) 2020-07-10
CN106610854B (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN106610854A (en) Model update method and device
US9372908B2 (en) Merging an out of synchronization indicator and a change recording indicator in response to a failure in consistency group formation
CN104461693B (en) Virtual machine update method and system under a kind of desktop cloud computing environment
US9600393B2 (en) Testing of application service versions on live data
CN104679611B (en) Data resource clone method and device
CN104572357A (en) Backup and recovery method for HDFS (Hadoop distributed filesystem)
CN104252481A (en) Dynamic check method and device for consistency of main and salve databases
CN107710215A (en) The method and apparatus of mobile computing device safety in test facilities
CN106843957A (en) System firmware upgrade method and device
CN104778123A (en) Method and device for detecting system performance
CN105630823A (en) Method, device and system for monitoring cache data based on distributed system
WO2016091085A1 (en) Data transmission method, device, and server
US10726042B2 (en) Replication control using eventually consistent meta-data
CN106844210A (en) The acquisition methods and device of event modification information
CN105791350B (en) Project data processing method and system
CN111770002A (en) Test data forwarding control method and device, readable storage medium and electronic equipment
CN109460349B (en) Test case generation method and device based on log
CN107332709B (en) Fault positioning method and device
CN109522177A (en) A kind of task daily record processing system, method and device
CN106844233A (en) A kind of router service data caching method and system based on Hash table
CN112069067B (en) Data testing method and device based on block chain and computer readable storage medium
CN106529281A (en) Executable file processing method and device
CN106919496B (en) Method, device and system for testing service continuity of database
CN111782470A (en) Distributed container log data processing method and device
CN113377399A (en) Non-stop system drilling verification method and device

Legal Events

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

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co., Ltd

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co., Ltd

Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right