CN108874409A - A kind of information updating method, device, server and system - Google Patents

A kind of information updating method, device, server and system Download PDF

Info

Publication number
CN108874409A
CN108874409A CN201710321989.XA CN201710321989A CN108874409A CN 108874409 A CN108874409 A CN 108874409A CN 201710321989 A CN201710321989 A CN 201710321989A CN 108874409 A CN108874409 A CN 108874409A
Authority
CN
China
Prior art keywords
file
publication
full dose
target service
folder
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
CN201710321989.XA
Other languages
Chinese (zh)
Other versions
CN108874409B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710321989.XA priority Critical patent/CN108874409B/en
Publication of CN108874409A publication Critical patent/CN108874409A/en
Application granted granted Critical
Publication of CN108874409B publication Critical patent/CN108874409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application provides a kind of information updating methods, device, server and system, the file type of the publication packet for the current released version for target service that server is uploaded by parsing client, when determining to publication packet progress increment publication, the current directory structure of the target service can be fed back to client output, after so that developer is specifically determined that the publication packet target uploads path, path is uploaded by the corresponding folder of publication packet importing current directory structure according to the target by server, to update the full dose file of target service last time success released version using the publication packet imported, obtain the full dose file of current released version.As it can be seen that the publication packet of the funtion part for the target service that oneself can be responsible for by developer is directly uploaded and issued, cooperate without other developers with the target service, it is very convenient, and reduce upload data volume, network time-consuming is reduced, information update efficiency is substantially increased.

Description

A kind of information updating method, device, server and system
Technical field
Present application relates generally to Internet technical fields, more particularly to a kind of information updating method, device, clothes Business device and system.
Background technique
Nowadays, with the fast development of computer networking technology, occur various application software on the market, it is such as each Kind office software, audio-video software, browser, shopping software, navigation software etc., bring pole to the work and life of people Convenience.In practical applications, application software would generally need constantly to be risen because of the improvement of function and the repairing of loophole Grade, this just needs software publisher to issue new version.
In this regard, usually the software publication packet of new version is sent out again when the prior art upgrades original version software Cloth is primary, it is seen then that and this mode completely issues packet due to requiring generation new version every time, then uploads to publication machine, Machine on line is distributed to by publication machine again, it is very time-consuming.Also, due to the development system of application software be usually divided into it is multiple Module, the exploitation of each module and maintenance are often distributed to multiple technical staff and are responsible for, when issuing new version, need by The part of the modification part and other responsible persons oneself be responsible for merges, and can just obtain the publication packet of new version, complete new edition This publication, process are comparatively laborious.
To sum up, the portability of new version publication how is improved, reducing network time-consuming becomes technical staff's important research direction.
Summary of the invention
In view of this, this application provides a kind of information updating method, device, server and system, do not need and target Other developers of business cooperate, it will be able to be done directly the hair of the publication packet of oneself responsible target service funtion part Cloth, it is very convenient, and reduce upload data volume, network time-consuming is reduced, information update efficiency is substantially increased.
To achieve the goals above, this application provides following technical schemes:
The embodiment of the present application also provides a kind of file updating method, and receive client upload is directed to the current of target service The publication packet of released version;
The file type for detecting the publication packet, determines and wraps progress increment publication to the publication;
The current directory structure of the target service is fed back into the client output, so that the client is based on institute It states current directory structure and determines that the target of the publication packet uploads path;
Path is uploaded according to the target, the publication packet is imported to the corresponding folder of the current directory structure;
Using the publication packet of importing, the full dose file of the target service last time success released version is updated, is obtained The full dose file of current released version.
The embodiment of the present application also provides a kind of device, described device includes:
Data transmission module, the publication packet of the current released version for target service for receiving client upload;
First data processing module determines and increases to publication packet for parsing the file type of the publication packet Amount publication triggers the data transmission module for the current directory structure of the target service and feeds back to the client output, So that the client determines that the target of the publication packet uploads path based on the current directory structure;
Publication packet is imported the current mesh for uploading path according to the target by the first data import modul The corresponding folder of directory structures;
File update module, for updating the target service last time success release using the publication packet imported This full dose file, obtains the full dose file of current released version.
The embodiment of the present application also provides a kind of server, and the server includes:
Communication interface, the publication packet of the current released version for target service for receiving client upload;
Memory, for saving multiple instruction;
Processor, for loading and execute the multiple instruction, including:
The file type for detecting the publication packet, determines and wraps progress increment publication to the publication;
The current directory structure of the target service is fed back into the client output, so that the client is based on institute It states current directory structure and determines that the target of the publication packet uploads path;
Path is uploaded according to the target, the publication packet is imported to the corresponding folder of the current directory structure;
Using the publication packet of importing, the full dose file of the target service last time success released version is updated, is obtained The full dose file of current released version.
The embodiment of the present application also provides a kind of information update system, the system comprises:Server and at least one visitor Family end, wherein:
The client, for uploading the current release for being directed to target service to the server according to preset path This publication packet;The current directory structure of the target service of the server feedback is exported, and is based on the current directory Structure determines that the target of the publication packet uploads path;
The server, for parsing the file type of the publication packet, determining wrap to the publication carries out increment publication, And the current directory structure of the target service is fed back into the client, in the target sent according to the client Path is passed, the publication packet is imported to the corresponding folder of the current directory structure, and using the publication packet imported, more The full dose file of the new target service last time success released version, obtains the full dose file of current released version.
Based on the above-mentioned technical proposal, the embodiment of the present application provides a kind of information updating method, device, server and is System is uploaded onto the server the publication packet of the current released version for target service by client, and server passes through parsing The file type for issuing packet can be by the current directory knot of the target service when determining to carry out increment publication to the publication packet Structure feeds back to client output, so that the target of developer's flexible and self-service determination publication packet as needed uploads path, To make server upload the corresponding folder that the importing current directory structure is directly wrapped in publication by path according to the target, utilize The publication packet of importing updates the full dose file of target service last time success released version, obtains the full dose text of current released version Part.It can be seen that the funtion part for the target service that developer can be responsible for according to oneself, flexible choice should in the application Publication packet is specific to upload path, without cooperating with the publication packet of other developers of target service exploitation The increment publication for realizing the publication packet obtains the full dose file for currently sending out version, very convenient, also, greatly reduces upload Data volume reduces network time-consuming, substantially increases file and updates efficiency.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of structure chart of information update system provided by the embodiments of the present application;
Fig. 2 is a kind of timing diagram of information updating method provided by the embodiments of the present application;
Fig. 3 is a kind of catalogue architecture diagram provided by the embodiments of the present application;
Fig. 4 is a kind of bibliographic structure output interface of RBU business provided by the embodiments of the present application;
Fig. 5 is the timing diagram of another information updating method provided by the embodiments of the present application;
Fig. 6 is a kind of publication interface schematic diagram provided by the embodiments of the present application;
Fig. 7 is the flow chart of another information updating method provided by the embodiments of the present application;
Fig. 8 is a kind of structural block diagram of information updating apparatus provided by the embodiments of the present application;
Fig. 9 is the structural block diagram of another information updating apparatus provided by the embodiments of the present application;
Figure 10 is the structural block diagram of another information updating apparatus provided by the embodiments of the present application;
Figure 11 is a kind of hardware structure diagram of server provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
In order to keep the above objects, features, and advantages of the application more obvious and easy to understand, with reference to the accompanying drawing and specifically The present application will be further described in detail for embodiment.
Fig. 1 is the structural block diagram of information update system provided by the embodiments of the present application, information update system shown in the figure It can be used to implement information updating method provided by the embodiments of the present application.Referring to Fig.1, which may include:Server 10 with And at least one client 20;
Wherein, server 10 provides the service equipment of service for network side for user, may be multiple servers composition Server cluster, it is also possible to single server, in the present embodiment, be mainly used to realize driver and application program etc. The publication of product new version, the description as described in product new version issuing process may refer to hereafter corresponding embodiment.
Client 20, which can be, is loaded in the user equipmenies such as mobile phone, tablet computer, laptop or other industry In equipment, such as industrial personal computer equipment.It in the application practical application, is communicated to connect by being established with server 10, user can be with Server 10 is accessed by client 20, realizes the various functions of client 20.
Optionally, client 20 can be mounted in the application program in equipment as described above, the exploitation of product new version After personnel complete new version compiler test, publication packet to be released can be uploaded onto the server 10 by the client 20, with The method for describing server 10 according to the following examples realizes the publication of the publication packet.
Wherein, when needing to upgrade more the application program in terminal, the driver either products such as operating system When new, corresponding new version information can be downloaded from server 10 by internet, complete upgrading, original version is produced to realize The improvement of product function and the repairing of loophole.
In practical applications, information update scheme provided by the present application can be realized in information issuing system, wherein letter Breath delivery system, can be by logging in the letter for applicating developing technology personnel by being made of server, network, terminal etc. Delivery system is ceased, publication is using new version or safeguards the work etc. that original version is applied, it can be seen that, which can To be considered an application platform, information updating method provided by the present application can be realized in the application platform, and the application The information update system of offer is readily applicable to the application platform, and the application does not make the concrete composition structure of the application platform It limits.
It wherein, would generally include Internet data center in application platform, abbreviation IDC is ICP (ICP), enterprise, media and all kinds of websites provide extensive, high quality, safe and reliable proficient service device trustship, space rent With business such as, the wholesale bandwidth of network and ASP, EC.The application can be as the deployment of module.
As it can be seen that when developer carries out software development, usually to the phase in the Internet data center of application platform Applied function module is answered to be developed and safeguarded, and each applied function module would generally give different developers and be responsible for, To improve the exploitation entirely applied and maintenance efficiency.
Based on information update system shown in FIG. 1, as shown in Fig. 2, for a kind of file update provided by the embodiments of the present application The timing diagram of method, this method may comprise steps of:
Step S21, user end to server send the version updating request for target service, and version updating request can With the full dose file for updating the target service last time stored under preset path success released version.
In this application, oneself responsible function part can be updated at any time in order to facilitate each developer of product Point, publication flexibility is improved, can go to update the funtion part that oneself is responsible in target service, drop in such a way that increment is issued The network that biography is wrapped in low publication is time-consuming, to improve efficiency for issuing.
Based on this, in practical applications, when developer needs the funtion part responsible to its to be updated, compiles and survey After examination obtains required publication packet, version updating request, hair of the application to the version posting request can be initiated to server The mode of rising is not construed as limiting, and such as the corresponding button by being directed to current released version on triggering client display interface, is generated corresponding Version updating request and pass through internet to be sent to server etc., this implementation is no longer described in detail one by one herein.
Certainly, when developer needs to issue the initial released version of target service, version can also be initiated to server Request is updated, the trigger condition that the application request the version updating is not construed as limiting, and requests the current released version issued can be with It is initial released version, is also possible to upgrade released version.
Step S22, client receive the response message of server feedback, are directed to according to preset path to server transmission The publication packet of the current released version of target service;
In practical applications, it will usually it is each traffic assignments one fixed upload path, that is, preset path of product, And the bibliographic structure and publication packet of corresponding service are stored under the preset path, in this way, being directed to certain business development in developer Out after the publication packet of initial version or upgraded version, the publication can be wrapped into the service of passing to according to the preset path for its distribution Device.
For example, server can give the preset path of the publication packet of the RBU business, such as/data/release_pkg/ BSI98747124/BSI98732084/BSI98750294/, however, it is not limited to this.At this point, server detects that client is sent out Publication packet can be imported corresponding position according to the preset path by the publication packet of the current released version for the RBU business sent It sets, and generates the catalogue framework of the RBU business under preset path.
In addition, in this application, the publication packet of the current released version of target service can be with single file or be by more Compressed file made of the file compression that a file is constituted etc., the application is to the specific file format of single file, file The file format and this document for each file for including clamp compressed file format made of contracting and are not construed as limiting, can basis Actual conditions determine, but the published method that different types of publication packet uses in the present embodiment is different.
Step S23, server detect the file type of the publication packet;
Optionally, the ordinary file that the application can be constituted single file (such as file of .so .a format), and The file that is made of multiple files and being compressed into is divided with i.e. the first compressed file of compressed file of .tgz.replace ending For the first class file;By the compression text of compressed file i.e. second as made of the file compression comprising multiple files of extended formatting Part is divided into the second class file.In the present embodiment, the first class file can be preset to be sent out by increment published method Cloth, the second class file are issued by full dose published method.
Optionally, the present embodiment can pre-establish the corresponding relationship between the file type and published method of publication packet, In this way, can determine the publication packet of current released version according to the corresponding relationship after the file type for detecting publication packet Published method.
It, can be with it should be noted that the application is not construed as limiting the representation and storage mode of the corresponding relationship It, can also be by the way that unique identification be arranged, to determine that the file type of publication packet is issued with corresponding by way of mapping table Corresponding relationship between mode etc., the application will not enumerate herein.
As another embodiment of the application, for developer, the publication packet of the current released version uploaded The file type contained is known, so, the application can also take when developer uploads the publication packet of current released version With the mark for characterizing the published method of the publication packet is uploaded, to make server according to the mark received, current publication is determined The published method of the publication packet of version, i.e. full dose publication or increment publication.
It can be seen that the application is not construed as limiting the process for the published method for how determining publication packet, as this version Publication is related to the file format of publication packet using which kind of published method, the description of specific as above corresponding portion.
Step S24, server, which is determined, carries out increment publication to the publication packet, to target service last time success released version Full dose file is backed up;
In practical applications, for the developer of product, the catalogue framework of each business of the product be clearly, And for different business, the first class catalogue of catalogue framework is usually identical, as shown in figure 3, first class catalogue may include The files such as real_body, body, rub and release.But the second level of the catalogue framework and following catalogue would generally be because of industry The difference of business and difference, can specifically determine, the present embodiment is no longer described in detail one by one herein according to the function of business.
It should be noted that the title about file each in first class catalogue is not limited to the record in Fig. 3, Ke Yigen Other names are carried out according to the function of file, also, in the framework of catalogue framework shown in Fig. 3, second level and its following catalogue Such as bin, conf, op, l4rank, mcp can indicate the file or folder that service scripts itself includes, and Fig. 3 is only with RBU industry It is illustrated for business file, for other service scripts, second level and its following directory content may be different, can basis Concrete condition determines that the application is no longer described in detail one by one herein.
It, below will be to the file of catalogue each in Fig. 3 storage information in order to better understand catalogue framework shown in Fig. 3 The function of either each catalogue file folder of type is illustrated, the function for the file that especially each business has jointly.
Specifically, real_body file can be used to save the full dose file of last success released version;Body text The full dose file that part folder can be used for temporarily saving current released version will be under body file after this is issued successfully Content replaces the content under real_body file, i.e., replaces last release using the full dose file of current released version This full dose file;(it corresponds to RBU business to rbu file, and for other business, this file can be corresponding service File) it can be used for the bibliographic structure that the publication of the current released version of stored target business is wrapped;Release file can be used In the full dose file and delta file of the publication packet for saving each released version of service scripts, v1 and v2 can represent two different hairs Cloth version, changed file can be used to save delta file, and total file can be used to save full dose file.
In practical applications, the function corresponding to each file in the catalogue framework, can be by the importing pair of the information of acquisition The file answered.In the present embodiment, after the publication packet for receiving the current released version of RBU business, through the above way really It is fixed that increment publication is carried out to it, in this case, it is believed that the business has existed a kind of catalogue framework of released version, i.e., For the catalogue framework of the full dose file of last success released version.
As it can be seen that the application is when carrying out increment publication, the catalogue framework for the target service that will be updated and last full dose It is completely the same to issue obtained catalogue framework.Therefore, the current directory framework for the target service that step S14 is obtained can be the mesh The catalogue framework that mark business last time full dose generates when issuing.
In conjunction with the function description of the catalogue framework of above-mentioned each service scripts to product, if directly the one of catalogue framework The merging of full dose file is carried out in grade catalogue real_body file, then, on being published to line after machine, that is, carry out gray scale After publication, the publication packet that discovery developer uploads is wrong, at this point, the wrong file uploaded is closed with full dose file And will be unable to realize the rollback of last revision, so as to cause publication failure.
Error tape is passed in order to solve the problems, such as that publication is wrapped, the present embodiment proposes determining the hair to current released version After cloth bag is using increment publication, the full dose file of the last time success released version of current directory framework storage is backed up, I.e. by way of the full dose file in backup real_body file, so that server has Backward Function, in this way, when opening Hair personnel or post staff have found the publication packet mistake uploaded, can reacquire last success in real_body file The full dose file of released version, then increment publication is carried out, it will not influence the full dose text of target service last time success released version The integrality of part.
Based on this, server, which is determined, carries out increment publication to the publication packet of current released version, can be by target service institute In catalogue framework, it is determined as backup file for temporarily storing the file of full dose file of current released version, and delete Except the content in the backup file, so that the folder content for the full dose file for being used to store last time success released version be copied Shellfish is to the backup file.
Specifically, the catalogue framework referring to shown in figure 3 above, server determination increases the publication packet of current released version Body file, can be used as backup file by amount publication, all the elements under deletion body file, then by real_ Content copy in body file is into body file, so that the mesh under directory content and real_body/ under body/ It is consistent to record content, in this way, in increment issuing process, processing can be merged to the full dose file under body/, and real_ Full dose file under body/ is still the full dose publication packet of last success released version, even if the file error of this upload, The content in real_body file can still be copied again using aforesaid way and carry out increment publication, ensure that and issue successfully Reliability.
Step S25, server detect the publication packet of current released version, determine the type of the publication packet;
Wherein, in conjunction with foregoing description it is found that may include single file, the first pressure using the publication packet of increment published method Contracting file.In this application, it if the purpose of this increment publication is to update some currently stored file, can be directly used The mode of file replacement realizes that, referring to Fig. 4, when needing to be updated to exam.so file, developer can develop again Exam.so file, and original exam.so file is replaced with it, in this case, the publication packet that developer uploads is usually Single file.
However, if the file that the publication of this released version includes is that last released version is not present, and upper one Certain file of secondary released version does not use in this released version, becomes discarded file, in this case, due to this Two file differences, the mode that can not reuse file replacement realize that increment is issued, and the application will be using the file where file The mode of folder replacement realizes that increment is issued, that is to say, that the publication packet that developer uploads in this case will be the first pressure Contracting file.
It is wrapped it can be seen that being issued for different types of increment, the increment published method specifically used is different, this reality It applies in example, server determines the publication packet to the current released version received using after increment published method, it is also necessary into one The type for determining the publication packet is walked, is single file or specific format compressed file.
Step S26, server determine that the publication packet of current released version is single file, determine backup file in File is updated, and replaces file to be updated using the publication packet, enters step S211;
In conjunction with above-mentioned analysis, after server determines that the publication packet that this is uploaded needs to carry out increment publication, it will usually by mesh The bibliographic structure of mark business is sent to client output, as shown in figure 4, developer is facilitated to be updated according to oneself actual needs Funtion part, the path that should be uploaded of this publication packet of flexible choice, and the upload path that the publication is wrapped is fed back into service Device, so that the publication packet received is sent to the corresponding positions of the bibliographic structure of target service according to the upload path by server It sets.
Based on this, what as developer, this uploaded publication is single file, can directly determine this document in current mesh Storage location in directory structures, so that server is according to the storage location or the upload path of formation, determining is needed in backup file The file to be updated to be replaced, and replace the file to be updated using the single file that receives, process simply and conveniently, not It is influenced by the function modification of other developers of the target service, substantially increases the flexibility and efficiency of file distribution.
For example, a kind of bibliographic structure of service scripts in conjunction with shown in figure 4 above, if developer need to upload be The single file of exam.so format, the catalog rack structure for the RBU service scripts that developer can export according to client, really The fixed publication packet should upload to the target service bibliographic structure where, that is, determine the upload path of increment publication packet, So that increment is issued the corresponding position that packet imports the bibliographic structure of the RBU service scripts according to the upload path by server, and Complete the increment publication of single file.
It should be noted that the application is not construed as limiting the upload path fashion for determining single file, correspondingly, to determination The mode of file to be updated in backup file is not construed as limiting, can be using such as foregoing description, by developer directly from client It holds and selects to determine in the bibliographic structure of the target service of display, the upload road of single file can also be directly inputted by developer Diameter etc., the application are no longer described in detail one by one herein.
Step S27, server determine that the publication packet of current released version is the first compressed file, create storage folder, And decompress first compressed file importing storage folder, obtain the first decompressing files folder;
Such as above-mentioned analysis, in increment publication, for some file in last success released version, if this is issued No longer need this document in version, this document is as discarded file, it usually needs be deleted, with guarantee this released version at Business after function publication can work normally, in this case, by the way of the present embodiment will be replaced using file, i.e., directly true The upper level catalogue file for the discarded file for needing to delete calmly presss from both sides, and later, is directly pressed from both sides using this document in this released version It is replaced.
For example, referring to shown in figure 3 above, if, in v1 released version, there is a.conf file under conf/ file, When in v2 released version, it is no longer necessary to a.conf file, but it is substituted for b.conf file, it is just needed at this time by a.conf text Part is deleted, and b.conf file is only retained.In this case, the application can be whole by the conf/ file of v2 released version Replace conf/ file when v1 released version.It can be seen that the update of file is risen to the replacement of file by the application, To solve the problems, such as that discarded file is deleted.
In practical applications, in carrying out file issuing process, it will usually it is transmitted using compressed file mode, but The specific compress mode of file is not construed as limiting, the present embodiment is for the compression that needs to be issued using increment published method File can be the first compressed file of .tgz.replace format.
In the present embodiment, when what server determination received is the first compressed file, a new catalogue can be created File, that is, storage folder, to complete the decompression work of compressed file.It, can be in the default of target service as shown in figure 3 above In catalogue framework under path, tmp file is created, temporarily to store the publication packet of this upload, and decompresses and obtains the publication The file that packet includes, the i.e. file of .tgz.replace format.After server determines that this released version is successfully issued, The publication packet and its decompressing files will no longer be required to, and can directly delete the storage folder such as tmp file, simplify gained mesh Framework is recorded, memory space is saved.
Step S28, server are determining to press from both sides title with first decompressing files in backup file and service scripts folder The identical file of identical and path-level is file to be updated;
It is illustrated for the replacement of the still above conf file illustrated, publication is wrapped in the storage folder of creation It is decompressed, after obtaining conf file, the current directory framework in conjunction with shown in figure 3 above can determine body/ (i.e. backup text Part folder) and rbu/ (i.e. RBU business service scripts folder, for other business, the service scripts folder title can accordingly change Under catalogue in the file in peer path, the conf file obtained with decompression belongs to the file of catalogue at the same level, such as by body/ Conf and rbu/conf is determined as file to be updated.
Wherein, service scripts presss from both sides in as above rbu/ file shown in Fig. 3, the catalogue knot that can be the publication packet for including Structure and publication packet (i.e. increment publication packet), so, it, can be with when needing developer to determine the specific upload path of publication packet Bibliographic structure in the rbu file is fed back into client output, as shown in figure 4 above.
File to be updated is substituted for the first decompressing files and pressed from both sides by step S29, server, obtains the complete of current released version Measure file and delta file;
After above description, the first decompressing files folder can use, the conf text under body/ catalogue is replaced such as conf file Conf file under part folder and rbu/ catalogue, to make to re-form the full dose for current released version under body/ catalogue File, that is, have updated the full dose file of the last time success released version stored in backup file, while also having updated publication The lower delta file stored of APMB package folder, obtains the delta file that current released version is re-formed under rbu/ catalogue.
Step S210, server create current released version in the version file folder of catalogue framework where target service Delta file folder and full dose file, and by obtained full dose file and delta file import corresponding document folder;
Description in conjunction with above-mentioned Fig. 3 to the catalogue framework where target service, released version same for the target service Full dose file and delta file, can store into two lower different files of same version file folder, for example, generation Delta file is imported changed file later by release/ version number/changed and release/ version number/total Full dose file is imported the storage of total file by storage, obtains required file according to version path so as to subsequent.
Step S211, server in current directory framework, will store the file of the full dose file of last time success released version The content of folder is substituted for the content in current backup file.
It in the present embodiment, can be in backup file by body file after determining that this version is issued successfully Content is moved in real_body file (i.e. the file of the full dose file of storage last time success released version), to make Real_body file stores the full dose file of current released version, completes the increment publication of this publication packet.
In conclusion in the present embodiment, when developer needs to carry out the funtion part that target service oneself is responsible for Upgrading, and after the determining packet of publication accordingly, the publication of the publication packet can be realized using increment published method, be not necessarily to upload and hair The entire full dose file of cloth, and do not need to cooperate with other developers of the target service, so that it may realize current release This publication simply and conveniently, and saves time and operation maintenance personnel issuing time that developer uploads publication packet, improves Product new version efficiency for issuing.
As shown in figure 5, for the timing diagram of another file updating method provided by the embodiments of the present application, the present embodiment is main It is to be illustrated to the increment published method of new version product documentation, can specifically include following steps:
Step S51, user end to server send the version updating request for target service, and version updating request can With the full dose file for updating the target service last time stored under preset path success released version;
Optionally, in the present embodiment, server can test the client progress identity for sending version updating request Card, such as the log-on message or registration information of verifying client, judge whether the client user has target service new version Publication permission.It should be noted that the application is not construed as limiting the authentication mode of client.
Step S52, client receive the response message of server feedback, and output version issues interface;
In the present embodiment, it after the server authentication client identity is qualified, can be rung accordingly to the client feedback Message is answered, later, client can export version publication interface, as shown in fig. 6, version can be set on version publication interface The select button of published method, developer can choose the published method of the publication packet of the current released version of target service, But it is not limited to interface content shown in fig. 6.
Step S53, server receives the increment publication instruction of client feedback, to target service last time success release This full dose file is backed up, and the current directory structure of the target service is sent to client;
In the present embodiment, when client exports version publication interface as shown in FIG. 6, developer can be according to reality Publication demand, when selecting the published method, such as selected increment published method of this publication packet, client will generate corresponding increment Publication instructs and is sent to server, due to needing developer to determine the specific upload path of this publication packet, so, service The bibliographic structure for the full dose file that the current directory structure of the target service, i.e., last success are issued can be sent to visitor by device Family end.
Wherein, the backup procedure about the full dose file to target service last time success released version is referred to above-mentioned reality The description of a corresponding portion is applied, details are not described herein for the present embodiment.
Step S54, client export the current directory structure of target service, obtain the upper of the publication packet of current released version Path is passed, and the publication packet of current released version is sent to server according to the upload path;
In the present embodiment, the current directory structure of the directory service of client output can be as shown in figure 4, but not office It is limited to this, at this point, developer can determine the file to be updated for needing to replace directly from the bibliographic structure, so that it is determined that this The upload path of secondary publication packet, later, the publication of current released version can be wrapped biography according to the upload path by client Service scripts folder in the catalogue framework of the target service stored to server.
Step S55, server detect the type of the publication packet;
Such as the description of above-described embodiment, in increment issuing process, for single file and file issuing process simultaneously It is not identical, so, server needs the file type for first including to the publication packet to examine after receiving increment publication packet Survey, judge it includes be single file, or compressed file made of being compressed as file.
Step S56, server determine that the publication packet of current released version is single file, are replaced and are backed up using the publication packet File to be updated in file;
For the single file of upload, the present embodiment that is, from backup file, can be looked by the way of directly replacing File to be updated of the same name with this document in last released version is found, and the file to be updated is directly replaced with into this article Part.
Step S57, server determines that the publication packet of current released version is the first compressed file, where target service Storage folder is created in catalogue framework, and first compressed file importing storage folder is decompressed, and obtains the first solution Press file;
Wherein, the first compressed file herein can be is compressed by the file that multiple files are constituted, and with .tgz.replace the compressed file of format ending.
Step S58, server are determining to press from both sides title phase with the first decompressing files in backup file and service scripts folder The same and identical file of path-level is file to be updated;
File to be updated is substituted for the first decompressing files and pressed from both sides by step S59, server, obtains the complete of current released version Measure file and delta file;
Step S510, server create the delta file folder of corresponding version in the version file folder of current directory framework With full dose file, and by obtained full dose file and delta file import corresponding document folder;
Step S511, server in current directory framework, will store the file of the full dose file of last time success released version The content of folder is substituted for the content in current backup file.
To sum up, in the present embodiment, developer needs to the single file or file progress in target service file It when update, can wrap as publication, and be determined in its target using the bibliographic structure of the target service of client output Path, the corresponding position which is uploaded onto the server are passed, so that server be made to realize the publication using corresponding logic The increment of packet is issued, compared with uploading full dose file and carrying out the mode of publication packet publication, avoid to last time released version phase With the upload of file, transmitting file amount is greatly reduced, saves time and network flow that developer uploads publication packet, Improve product new version efficiency for issuing.
Moreover, the application realizes the publication of new version publication packet using increment publication, developer does not need to learn other The funtion part that developer is responsible for can directly upload the funtion part that oneself is responsible for, and server can be realized as this portion Divide the publication of function, issuing process is more flexible and practical.
Below by the realization process of the full dose published method of the publication packet of the current released version described to above-described embodiment Be illustrated, referring to shown in Fig. 7, the present embodiment mainly describes full dose issuing process from server side, about client to The version updating request process that server is initiated is referred to the description of above-described embodiment, and this will not be detailed here for the present embodiment, because This, full dose issuing process may include:
Step S71 receives the publication packet for the current released version for target service that client uploads;
In practical applications, the upload path that server can be fixed for each service scripts distribution of product, so that should All publication packets of service scripts all upload under the upload path.Therefore, in the present embodiment, server determines developer After this publication packet uploaded needs to carry out full dose publication, the corresponding preset path of the target service can be uploaded to path hair It send to client, so that client uploads the publication packet of current released version according to the preset path.
Step S72 decompresses the publication packet, and using under the obtained half-cooked file at rub of the second decompressing files Bibliographic structure;
In conjunction with foregoing description, full dose is issued and is wrapped, the made of the file compression being usually made of multiple files Two compressed files, and second compressed file is not the compressed file to be ended up with .tgz.replace format.So receiving After increment publication packet, it usually needs first decompressed to it, and generate the bibliographic structure under publication APMB package folder, i.e., as in Fig. 3 Rbu/ file under bibliographic structure,
It should be noted that the full dose issuing process of the present embodiment description is only with the bibliographic structure of RBU business shown in Fig. 3 For said, for other business, the first class catalogue file of Fig. 3 is constant, but second level and its following catalogue file folder composition Will accordingly it change, the present embodiment is no longer described in detail one by one herein.
Step S73 creates body file and its bibliographic structure, and the second decompressing files is pressed from both sides and imports body file Under bibliographic structure;
Step S74 creates release file and its bibliographic structure, and full dose decompressing files is imported release text The full dose file of respective version number in part folder;
As shown in figure 3, being segmented into multiple version numbers under release file, full dose can be divided under each version number File and delta file folder, issue this full dose and wrap, can be after corresponding version number, directly by decompressing files, that is, full dose File imports the full dose file under the version number.
The file of non-file in rbu file is deleted, obtains the current released version of target service by step S75 Bibliographic structure;
Content in current body file is moved in real_body file by step S76.
It in the present embodiment, can after the publication of publication packet that current released version is realized by above-mentioned full dose published method With on the basis of the catalogue framework that it is obtained, developer carries out increment publication according to actual needs, realizes the new of the business The publication of version, process are referred to the process of above-described embodiment description, and this will not be detailed here for the present embodiment.
It should be noted that in practical applications, above-mentioned full dose is used when usually issuing to the initial version of certain business Published method, and for being improved on the basis of the initial version, the publication of obtained new version, usually using above-mentioned The increment publication of embodiment description, but be not limited to.
It can be seen that the current released version to target service publication packet publication when, can according to the actual situation, Flexible choice uses full dose published method or increment published method, guarantees the reliable publication of the publication packet of current released version.
Moreover, the bibliographic structure for the released version of generation can be fed back after server completes full dose publication To client, which is exported by client, so that developer can intuitively learn the current released version of target service Bibliographic structure, at this point, by click can also look at the content that each file of catalogues at different levels includes.In addition, developer may be used also To carry out increment publication on this basis, process is referred to the description of corresponding embodiment above.
As shown in figure 8, being a kind of structural block diagram of information updating apparatus provided by the embodiments of the present application, information update dress It sets and may include:
Data transmission module 81, the publication of the current released version for target service for receiving client upload Packet;
First data processing module 82 determines for parsing the file type of the publication packet and wraps progress to the publication Increment publication, triggering the data transmission module, that the current directory structure of the target service fed back to the client is defeated Out, so that the client determines that the target of the publication packet uploads path based on the current directory structure;
First data import modul 83 imports publication packet described current for uploading path according to the target The corresponding folder of bibliographic structure;
File update module 84, for using the publication packet imported, updating the target service last time successfully to be issued The full dose file of version obtains the full dose file of current released version.
Optionally, on the basis of the above embodiments, in order to realize that the increment of the publication packet to current released version is issued, As shown in figure 9, information updating apparatus can also include:
File backup module 85 is backed up for the full dose file to target service last time success released version;
Correspondingly, file update module 84 specifically can be used for using the publication packet imported, and what is updated is standby Part file, the backup file include in the catalogue framework where the target service, and the updated backup of utilization Folder content is replaced in the catalogue framework for storing the folder content of the full dose file of last time success released version.
Wherein, when publication packet is specifically the first compressed file, information updating apparatus can also include:
First creation module 86, for creating storage folder in the catalogue framework where the target service;
The first compressed file that then file update module 84 specifically can be used for import is sent to the storage folder It is decompressed, obtains corresponding first decompressing files folder, inquire under the catalogue framework and press from both sides title with first decompressing files It is identical, and the identical file of path-level, and the file inquired is determined as file to be updated, it will be described to be updated File is substituted for the first decompressing files folder, obtains the full dose file of current released version.
Optionally, information updating apparatus can also include:
First generation module 87, for when the publication packet is imported the corresponding folder of the current directory structure, Generate the delta file of the target service;
Second creation module 88, in the version file of catalogue framework where target service folder, creation to be current Released version corresponds to full dose file and delta file folder;
Second data import modul 89, for the full dose file of the obtained current released version to be imported the full dose File, and the obtained delta file is imported into the delta file and is pressed from both sides.
It should be noted that realizing the detailed process of increment publication about above-mentioned each server example provided by the present application It is referred to the description of above method embodiment corresponding portion, details are not described herein for the present embodiment.
As the another embodiment of the application, according to actual needs, server can also be to the current release of target service This publication packet carries out full dose publication, and as shown in Figure 10, which can also include:
Second data processing module 810, for when the publication packet be the second compressed file, determine to it is described issue wrap into The publication of row full dose;
Decompression module 811, for being decompressed to second compressed file;
Second generation module 812, the file or folder for being obtained using decompression, generates the catalogue of the target service Structure, and the bibliographic structure of the file for storing current released version publication packet;
Third data import modul 813, the file or folder for obtaining decompression import the catalogue of the file Corresponding document presss from both sides in structure, obtains the full dose file of current released version;
Third creation module 814, in the version file of catalogue framework where target service folder, creation to be current Released version corresponds to full dose file, and the full dose file of acquisition is imported the full dose file.
It should be noted that utilizing the tool of the full dose publication of above-mentioned Implement of Function Module publication packet about information updating apparatus Body process is referred to the description of above method embodiment corresponding portion, and details are not described herein for the present embodiment.
It can be seen that information updating apparatus provided by the present application can be according to the type for the publication packet that client uploads, really Its fixed published method is increment publication or full dose publication, to be realized current to target service according to corresponding control strategy The publication of the publication packet of released version facilitates developer to issue needs according to practical, and flexible choice published method is completed current The publication of the publication packet of released version, it is very useful.Especially only the partial function of self-responsibility is upgraded, can be direct Mode is completed using increment published method, does not need to cooperate with other developers, it is very convenient, substantially increase publication Efficiency.
It will be introduced below from the hardware configuration of server, be one kind that present application example provides referring to Fig.1 shown in 1 The hardware structure diagram of server, the server may include:Processor 111, communication interface 112, memory 113 and communication are total Line 114.
Wherein, processor 111, communication interface 112, memory 113 complete mutual communication by communication bus 114;
Optionally, communication interface 112 can be the interface of communication module, such as the interface of gsm module;
Processor 111 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present application Road.
Memory 113 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.In the present embodiment, which be can store in realization State the multiple instruction of information updating method.
In this application, processor 111 loads and executes the multiple instruction in memory, is specifically used for:
Receive the publication packet for the current released version for target service that client uploads;
The file type for detecting the publication packet, determines and wraps progress increment publication to the publication;
The current directory structure of the target service is fed back into the client output, so that the client is based on institute It states current directory structure and determines that the target of the publication packet uploads path;
Path is uploaded according to the target, the publication packet is imported to the corresponding folder of the current directory structure;
Using the publication packet of importing, the full dose file of the target service last time success released version is updated, is obtained The full dose file of current released version.
It should be noted that realizing that the detailed process of above-mentioned function is referred to the above method and implements about processor 111 The description of example corresponding portion, this will not be detailed here for the present embodiment.
In conjunction with figure 1 above, the embodiment of the present application also provides a kind of information update system, which may include server 10 And at least one client 20, wherein:
Client 20, for uploading the current released version for being directed to target service to the server according to preset path Publication packet;The current directory structure of the target service of the server feedback is exported, and is based on the current directory knot Structure determines that the target of the publication packet uploads path;
Server 10, for parsing the file type of the publication packet, determining wrap to the publication carries out increment publication, and The current directory structure of the target service is fed back into the client, is uploaded according to the target that the client is sent The publication packet is imported the corresponding folder of the current directory structure by path, and using the publication packet imported, is updated The full dose file of the target service last time success released version, obtains the full dose file of current released version.
Wherein, the function about server 10 and client 20 during information update is realized, is referred to above-mentioned The description of embodiment of the method corresponding portion, this will not be detailed here for the present embodiment.
To sum up, information update scheme provided by the present application, can be according to publication needs, the publication of flexible choice full dose or increment Publication packet, especially when developer needs the functional module of self-responsibility to upgrade, the hair that can be directly developed Cloth bag is uploaded to server, does not need the cooperation of the publication packet of the other function module of other developers exploitation, and server is Publication of the increment published method to the publication packet of the partial function received can be used, complete the update of this partial function, very It is convenient, and the network for greatly reducing upload is time-consuming, improves efficiency for issuing.
Finally, it should be noted that about in the various embodiments described above, such as first, second or the like relational terms are only Only it is used to an operation, unit or module and another is operated, unit or module distinguish, and not necessarily requires or secretly Show that there are any actual relationship or orders between these units, operation or module.Moreover, term " includes ", " packet Containing " or any other variant thereof is intended to cover non-exclusive inclusion, so that including the process, method of a series of elements Or system not only includes those elements, but also including other elements that are not explicitly listed, or it is this for further including Process, method or the intrinsic element of system.In the absence of more restrictions, being limited by sentence "including a ..." Element, it is not excluded that include the element process, method or system in there is also other identical elements.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For being serviced disclosed in embodiment For device, since it is corresponding with method disclosed in embodiment, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (14)

1. a kind of information updating method, which is characterized in that the method includes:
Receive the publication packet for the current released version for target service that client uploads;
The file type for detecting the publication packet, determines and wraps progress increment publication to the publication;
The current directory structure of the target service is fed back into the client output, so that the client is based on described work as Preceding bibliographic structure determines that the target of the publication packet uploads path;
Path is uploaded according to the target, the publication packet is imported to the corresponding folder of the current directory structure;
Using the publication packet of importing, the full dose file of the target service last time success released version is updated, is obtained current The full dose file of released version.
2. the method according to claim 1, wherein wrapping progress increment to the publication in the determination issues it Afterwards, the method also includes:
The full dose file of target service last time success released version is backed up;
It is described to update the full dose file of the target service last time success released version using the publication packet imported, including:
Using the publication packet of importing, the backup file updated, the backup file is included in the target In catalogue framework where business;
Using updated backup folder content, replace in the catalogue framework for storing the complete of last time success released version Measure the folder content of file.
3. described according to institute the method according to claim 1, wherein determining that the publication is wrapped is single file It states target and uploads path, the publication packet is imported to the corresponding folder of the current directory structure, including:
Path is uploaded according to the target, the single file is imported to the corresponding folder of the current directory structure;
It is described to update the full dose file of the target service last time success released version using the publication packet imported, including:
Using the single file of importing, the correspondence in the full dose file of the target service last time success released version is replaced File.
4. the method according to claim 1, wherein determining that the publication packet is the first compressed file, the side Method further includes:
Storage folder is created in the catalogue framework where the target service;
It is described to update the full dose file of the target service last time success released version using the publication packet imported, including:
First compressed file of importing is sent to the storage folder to decompress, obtains corresponding first decompressing files Folder;
Identical as first decompressing files folder title under the catalogue framework, and the identical file of path-level is inquired, and The file inquired is determined as file to be updated;
The file to be updated is substituted for the first decompressing files folder, obtains the full dose file of current released version.
5. the method according to claim 1, wherein the publication packet is imported the current directory structure When corresponding folder, the method also includes:
Generate the delta file of the target service;
Catalogue framework where the target service version file folder in, create current released version correspond to full dose file with Delta file folder;
The full dose file of the obtained current released version is imported into the full dose file, and the obtained increment is literary Part imports the delta file folder.
6. the method according to claim 1, wherein the method also includes:
When publication packet is the second compressed file, determining wrap to the publication carries out full dose publication;
Second compressed file is decompressed;
The file or folder obtained using decompression, generates the bibliographic structure of the target service, and for storing current hair The bibliographic structure of the file of cloth version publication packet;
The file or folder that decompression is obtained imports the corresponding document folder in the bibliographic structure of the file generated, obtains The full dose file of current released version;
In the version file folder of catalogue framework where the target service, creates current released version and corresponds to full dose file, And the full dose file of acquisition is imported into the full dose file.
7. according to the method described in claim 2, it is characterized in that, described to target service last time success released version Full dose file is backed up, including:
It is true for temporarily storing the file of full dose file of current released version by catalogue framework where the target service It is set to backup file;
The content in the backup file is deleted, and will be used to store the file of the full dose file of last time success released version Content copy is to the backup file.
8. a kind of information updating apparatus, which is characterized in that described device includes:
Data transmission module, the publication packet of the current released version for target service for receiving client upload;
First data processing module determines for parsing the file type of the publication packet and wraps progress increment hair to the publication Cloth triggers the data transmission module for the current directory structure of the target service and feeds back to the client output, so that The client determines that the target of the publication packet uploads path based on the current directory structure;
Publication packet is imported the current directory knot for uploading path according to the target by the first data import modul The corresponding folder of structure;
File update module, for updating the target service last time success released version using the publication packet imported Full dose file obtains the full dose file of current released version.
9. device according to claim 8, which is characterized in that described device further includes:
File backup module is backed up for the full dose file to target service last time success released version;
The file update module is specifically used for using the publication packet imported, and the backup file updated is described Backup file includes in the catalogue framework where the target service, and utilizes updated backup folder content, replaces It changes in the catalogue framework for storing the folder content of the full dose file of last time success released version.
10. device according to claim 8, which is characterized in that when the data processing module determines that the publication packet is First compressed file, described device further include:
First creation module, for creating storage folder in the catalogue framework where the target service;
The first compressed file that the file update module is specifically used for import is sent to the storage folder and decompresses, Corresponding first decompressing files folder is obtained, identical as first decompressing files folder title under the catalogue framework, and road is inquired The identical file of diameter rank, and the file inquired is determined as file to be updated, the file to be updated is replaced It changes the first decompressing files folder into, obtains the full dose file of current released version.
11. device according to claim 8, which is characterized in that described device further includes:
First generation module, for generating institute when the publication packet is imported the corresponding folder of the current directory structure State the delta file of target service;
Second creation module, for creating current release in the version file of catalogue framework where target service folder This correspondence full dose file and delta file folder;
Second data import modul, for the full dose file of the obtained current released version to be imported the full dose file Folder, and the obtained delta file is imported into the delta file and is pressed from both sides.
12. device according to claim 8, which is characterized in that described device further includes:
Second data processing module determines for being the second compressed file when publication packet and wraps progress full dose to the publication Publication;
Decompression module, for being decompressed to second compressed file;
Second generation module, the file or folder for being obtained using decompression, generates the bibliographic structure of the target service, with And the bibliographic structure of the file for storing current released version publication packet;
Third data import modul imports the catalogue knot of the file generated for that will decompress obtained file or folder Corresponding document folder in structure, obtains the full dose file of current released version;
Third creation module, for creating current release in the version file of catalogue framework where target service folder This correspondence full dose file, and the full dose file of acquisition is imported into the full dose file.
13. a kind of server, which is characterized in that the server includes:
Communication interface, the publication packet of the current released version for target service for receiving client upload;
Memory, for saving multiple instruction;
Processor, for loading and execute the multiple instruction, including:
The file type for detecting the publication packet, determines and wraps progress increment publication to the publication;
The current directory structure of the target service is fed back into the client output, so that the client is based on described work as Preceding bibliographic structure determines that the target of the publication packet uploads path;
Path is uploaded according to the target, the publication packet is imported to the corresponding folder of the current directory structure;
Using the publication packet of importing, the full dose file of the target service last time success released version is updated, is obtained current The full dose file of released version.
14. a kind of information update system, which is characterized in that the system comprises:Server and at least one client, In:
The client, for uploading the current released version for being directed to target service to the server according to preset path Publication packet;The current directory structure of the target service of the server feedback is exported, and is based on the current directory structure, Determine that the target of the publication packet uploads path;
The server determines for parsing the file type of the publication packet and wraps progress increment publication to the publication, and will The current directory structure of the target service feeds back to the client, uploads road according to the target that the client is sent The publication packet is imported the corresponding folder of the current directory structure by diameter, and using the publication packet imported, updates institute The full dose file for stating target service last time success released version, obtains the full dose file of current released version.
CN201710321989.XA 2017-05-09 2017-05-09 Information updating method, device, server and system Active CN108874409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710321989.XA CN108874409B (en) 2017-05-09 2017-05-09 Information updating method, device, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710321989.XA CN108874409B (en) 2017-05-09 2017-05-09 Information updating method, device, server and system

Publications (2)

Publication Number Publication Date
CN108874409A true CN108874409A (en) 2018-11-23
CN108874409B CN108874409B (en) 2021-08-13

Family

ID=64287853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710321989.XA Active CN108874409B (en) 2017-05-09 2017-05-09 Information updating method, device, server and system

Country Status (1)

Country Link
CN (1) CN108874409B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083365A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Dissemination method, device, computer equipment and the storage medium of version updating packet
CN110336695A (en) * 2019-06-21 2019-10-15 威富通科技有限公司 A kind of method and server of deployment and maintenance application
CN111049909A (en) * 2019-12-17 2020-04-21 昆山华东信息科技有限公司 Software release method
CN111897557A (en) * 2020-07-06 2020-11-06 北京中关村银行股份有限公司 Method, device, equipment and storage medium for updating service system
CN112559019A (en) * 2019-09-10 2021-03-26 联易软件有限公司 Updating method and device of incremental file
CN112631837A (en) * 2020-12-30 2021-04-09 凌云光技术股份有限公司 Method and system for storing engineering data
CN113821223A (en) * 2021-07-30 2021-12-21 的卢技术有限公司 Cloud computing distributed front-end version release method and system
CN114374677A (en) * 2020-10-15 2022-04-19 中国移动通信集团浙江有限公司 Cross-platform online publishing method and device, computing equipment and storage medium
CN114615135A (en) * 2022-02-18 2022-06-10 佐朋数科(深圳)信息技术有限责任公司 Front-end gray level publishing method, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130036140A1 (en) * 2011-08-02 2013-02-07 Lwd Technology, Inc. Information management and continuity
CN103685348A (en) * 2012-09-03 2014-03-26 百度在线网络技术(北京)有限公司 Cloud enforcing system and method
CN104991790A (en) * 2015-06-09 2015-10-21 北京奇虎科技有限公司 Upgrade release method and apparatus of file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130036140A1 (en) * 2011-08-02 2013-02-07 Lwd Technology, Inc. Information management and continuity
CN103685348A (en) * 2012-09-03 2014-03-26 百度在线网络技术(北京)有限公司 Cloud enforcing system and method
CN104991790A (en) * 2015-06-09 2015-10-21 北京奇虎科技有限公司 Upgrade release method and apparatus of file

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CRAZYCODER1992: "使用Xshell&Xftp实现远程登录及文件传输", 《HTTPS:https://BLOG.CSDN.NET/CODEMAN_CDB/ARTICLE/DETAILS/50924939》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020186802A1 (en) * 2019-03-19 2020-09-24 深圳壹账通智能科技有限公司 Version update package release method and apparatus, computer device and storage medium
CN110083365A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Dissemination method, device, computer equipment and the storage medium of version updating packet
CN110336695A (en) * 2019-06-21 2019-10-15 威富通科技有限公司 A kind of method and server of deployment and maintenance application
CN112559019A (en) * 2019-09-10 2021-03-26 联易软件有限公司 Updating method and device of incremental file
CN111049909B (en) * 2019-12-17 2024-04-02 昆山华东信息科技有限公司 Software release method
CN111049909A (en) * 2019-12-17 2020-04-21 昆山华东信息科技有限公司 Software release method
CN111897557A (en) * 2020-07-06 2020-11-06 北京中关村银行股份有限公司 Method, device, equipment and storage medium for updating service system
CN111897557B (en) * 2020-07-06 2024-09-03 北京中关村银行股份有限公司 Updating method, device, equipment and storage medium of service system
CN114374677A (en) * 2020-10-15 2022-04-19 中国移动通信集团浙江有限公司 Cross-platform online publishing method and device, computing equipment and storage medium
CN114374677B (en) * 2020-10-15 2023-12-26 中国移动通信集团浙江有限公司 Cross-platform online publishing method and device, computing equipment and storage medium
CN112631837A (en) * 2020-12-30 2021-04-09 凌云光技术股份有限公司 Method and system for storing engineering data
CN112631837B (en) * 2020-12-30 2024-04-12 凌云光技术股份有限公司 Engineering data storage method and system
CN113821223A (en) * 2021-07-30 2021-12-21 的卢技术有限公司 Cloud computing distributed front-end version release method and system
CN113821223B (en) * 2021-07-30 2024-05-24 的卢技术有限公司 Cloud computing distributed front-end version release method and system
CN114615135A (en) * 2022-02-18 2022-06-10 佐朋数科(深圳)信息技术有限责任公司 Front-end gray level publishing method, system and storage medium
CN114615135B (en) * 2022-02-18 2024-03-22 佐朋数科(深圳)信息技术有限责任公司 Front-end gray level publishing method, system and storage medium

Also Published As

Publication number Publication date
CN108874409B (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN108874409A (en) A kind of information updating method, device, server and system
US9491037B2 (en) Enhanced exporter tool
US9075693B2 (en) Methods for updating applications
US10965732B2 (en) Streaming zip
JP2019517042A (en) Providing access to hybrid applications offline
CN108509209A (en) A kind of generation method, device, computer equipment and the storage medium of resource packet
CN104657170A (en) Data updating method, device and system
CN107992557A (en) Static resource update method, device, storage medium and computer equipment
CN104657174A (en) Method and device for dynamically realizing application function
US9146841B2 (en) Proxy server assisted product testing
CN106815370A (en) Update the methods, devices and systems of resource file
CN105407130A (en) Mobile client plug-in system and mobile client plug-in processing method
WO2019024122A1 (en) System for producing cloud platform mirror image, and implementation method therefor
CN104123149B (en) Method for upgrading software, device, client and system
CN108563440A (en) The automatic adding method of List Controller code, device and readable storage medium storing program for executing
CN107589949A (en) The distribution of application program installation kit and installation method and corresponding intrument
CN110336695A (en) A kind of method and server of deployment and maintenance application
CN110058867A (en) The packing of application program mirror image, installation method and computer installation, storage medium
CN108509215A (en) System software replacing method and device, terminal equipment and storage medium
WO2023065823A1 (en) Software development kit fixing method, terminal, server and device
CN108108173A (en) A kind of information processing method and device
CN106569843A (en) Method and device for generating OTA central package
CN110187872A (en) A kind of BIOS development approach, system and electronic equipment and storage medium
US9135725B2 (en) Generic media covers
CN109002710A (en) A kind of detection method, device 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
GR01 Patent grant
GR01 Patent grant