CN106919378A - Application based on increment updates and method of testing and system, server and client - Google Patents

Application based on increment updates and method of testing and system, server and client Download PDF

Info

Publication number
CN106919378A
CN106919378A CN201610717576.9A CN201610717576A CN106919378A CN 106919378 A CN106919378 A CN 106919378A CN 201610717576 A CN201610717576 A CN 201610717576A CN 106919378 A CN106919378 A CN 106919378A
Authority
CN
China
Prior art keywords
application
increment
client
edition application
new edition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610717576.9A
Other languages
Chinese (zh)
Inventor
穆毅鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous 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 CN201610717576.9A priority Critical patent/CN106919378A/en
Publication of CN106919378A publication Critical patent/CN106919378A/en
Pending legal-status Critical Current

Links

Classifications

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

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)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Updated and method of testing the invention provides a kind of application based on increment, apparatus and system, server and client, by server by new edition application split into the first service part for representing new edition applied business logic and during for representing that new edition application runs required framework the first frame part, server obtains the second service part of the current old edition application to be updated of client, server obtains the first increment between the first service part and the second service part, first increment is sent to client by server, client is updated to new edition application old edition application using the first increment.In the present invention, using the first increment of the service part between new edition application and old edition application, old edition application is updated, it is only necessary to which the service logic part to new and old application is compared, overall comparing no longer is carried out to application, improve using the efficiency for updating.

Description

Application based on increment updates and method of testing and system, server and client
Technical field
The invention belongs to the communications field, more particularly to a kind of application based on increment updates and method of testing, device and is System, server and client.
Background technology
At present, when being updated to the application issued every time, developer is required for submitting a application to application market Complete installation kit.For a user, when user needs to be updated application, it is necessary to be downloaded from application market again The installation kit, is then updated to application.What actually application updated change every time is often partial content, is not sent out relatively The part changed more, user downloads installation kit every time will be there is a problem of re-downloading.
Existing increment is during upgrading, can by the code of redaction application and the code of legacy version application carry out it is overall compare, Issued by the overall increment that obtains more afterwards, and the code of required frame part is when updating one when application runs in practice As will not change, therefore the method for obtaining increment is compared by overall code, the renewal that there is application is less efficient.
The content of the invention
The present invention provides a kind of application based on increment and updates and method of testing, apparatus and system, server and client, The method for obtaining increment is compared by overall code for existing, there is a problem of that the renewal of application is less efficient.
To achieve these goals, the invention provides a kind of application update method based on increment, including:
New edition application is split into server the first service part and use for representing the new edition applied business logic The first frame part of required framework when representing that the new edition application runs;
The server obtains the second service part of the current old edition application to be updated of client;
The server obtains the first increment between first service part and second service part;
First increment is sent to the client by the server;
The client is updated to the new edition application old edition application using first increment.
To achieve these goals, the invention provides application update method of the another kind based on increment, including:
New edition application is split into the first service part for representing the new edition applied business logic and for representing First frame part of required framework when the new edition application runs;
Obtain the second service part of the current old edition application to be updated of client;
Obtain the first increment between first service part and second service part;
First increment is sent to the client, so that the client will be described old using first increment Version application is updated to the new edition application.
To achieve these goals, the invention provides application update method of the another kind based on increment, including:
The reception server send the first increment, wherein, first increment for new edition application the first service part and Increment between second service part of old edition application;First service part is used to represent the new edition applied business logic Part, second service part is used to represent the part of the old edition applied business logic;The old edition application is client The current application to be updated in end;The new edition application is updated rear corresponding application to old edition application for the client;
The old edition application is updated to the new edition application using first increment.
To achieve these goals, the invention provides a kind of application testing method based on increment, including:
Server obtains client to be tested according to the Test Strategy being pre-configured with;
The server sends the first increment to the client;
The client is updated to the new edition application old edition application using first increment;
The client is acquired to the use data of the new edition application, the use data is activation that will be collected To the server;
The server is analyzed to the use data, obtains the test result of the new edition application;
Wherein, first increment is between first service part and the second service part of old edition application of new edition application Increment;First service part is used to represent the part of the new edition applied business logic, and second service part is used In the part for representing the old edition applied business logic;The old edition application is the current application to be updated of client;It is described new Version application is updated rear corresponding application to old edition application for the client.
To achieve these goals, the invention provides a kind of application testing method based on increment, including:
Client to be tested is obtained according to the Test Strategy being pre-configured with;
The first increment is sent to the client, so that the client utilizes first increment by the old edition application Update the new edition application;
The use data that the client sends are received, wherein, the use data are to described new by the client The service condition of version application is acquired what is obtained;
The test result of the new edition application is obtained to being analyzed using the data;
Wherein, first increment is between first service part and the second service part of old edition application of new edition application Increment;First service part is used to represent the part of the new edition applied business logic, and second service part is used In the part for representing the old edition applied business logic;The old edition application is the current application to be updated of client;It is described new Version application is updated rear corresponding application to old edition application for the client.
To achieve these goals, the invention provides a kind of application testing method based on increment, including:
The first increment that the reception server sends;
The old edition application is updated to the new edition application using first increment;
The use data is activation of the new edition application is gathered to the server, so that the server is to the use number According to being analyzed, the test result of the new edition application is obtained;
Wherein, first increment is between first service part and the second service part of old edition application of new edition application Increment;First service part is used to represent the part of the new edition applied business logic, and second service part is used In the part for representing the old edition applied business logic;The old edition application is the current application to be updated of client;It is described new Version application is updated rear corresponding application to old edition application for the client.
To achieve these goals, the invention provides a kind of server, including:
Module is split, for new edition application to be split into the first business department for representing the new edition applied business logic Point and for the first frame part of required framework when representing that the new edition application runs;
Acquisition module, for obtaining the second service part of the current old edition application to be updated of client, and obtains institute State the first increment between the first service part and second service part;
Sending module, for first increment to be sent into the client, so that the client is using described the The old edition application is updated to the new edition application by one increment.
To achieve these goals, the invention provides a kind of client, including:
Receiver module, for the first increment that the reception server sends, wherein, first increment is the of new edition application Increment between one service part and the second service part of old edition application;
Update module, for being updated to the new edition application old edition application using first increment;
First service part is used to represent the part of the new edition applied business logic, and second service part is used In the part for representing the old edition applied business logic;The old edition application is the current application to be updated of client;It is described new Version application is updated rear corresponding application to old edition application for the client.
To achieve these goals, the invention provides a kind of more new system of the application based on increment, including:As described above Server and client as described above.
To achieve these goals, the invention provides a kind of server, including:
Acquisition module, for obtaining client to be tested according to the Test Strategy being pre-configured with;
Sending module, for sending the first increment to the client, so that the client utilizes first increment The old edition application is updated to the new edition application;
Receiver module, for receiving the use data that the client sends, wherein, the use data are by the visitor Family end is acquired what is obtained to the service condition of the new edition application;
Analysis module, the test result for obtaining the new edition application to being analyzed using the data;
Wherein, first increment is between first service part and the second service part of old edition application of new edition application Increment;First service part is used to represent the part of the new edition applied business logic, and second service part is used In the part for representing the old edition applied business logic;The old edition application is the current application to be updated of client;It is described new Version application is updated rear corresponding application to old edition application for the client.
To achieve these goals, the invention provides a kind of client, including:
Receiver module, for the first increment that the reception server sends;
Update module, for being updated to the new edition application old edition application using first increment;
Collection sending module, for gathering the use data is activation of the new edition application to the server, so that described Server is analyzed to the use data, obtains the test result of the new edition application;
Wherein, first increment is between first service part and the second service part of old edition application of new edition application Increment;First service part is used to represent the part of the new edition applied business logic, and second service part is used In the part for representing the old edition applied business logic;The old edition application is the current application to be updated of client;It is described new Version application is updated rear corresponding application to old edition application for the client.
To achieve these goals, the invention provides a kind of application test systems based on increment, it is characterised in that bag Include:Server as described above and client as described above.
The application based on increment that the present invention is provided updates and method of testing, apparatus and system, server and client, leads to Cross server and new edition application is split into the first service part for representing new edition applied business logic and for representing new edition First frame part of required framework during using operation, server obtains the second industry of the current old edition application to be updated of client Business part, server obtains the first increment between the first service part and the second service part, and server sends out the first increment Client is given, client is updated to new edition application old edition application using the first increment.In the present embodiment, using new edition application With the first increment of the service part between old edition application, old edition application is updated, it is only necessary to the business of new and old application Logical gate is compared, and no longer carries out overall comparing to application, improves using the efficiency for updating.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention one is provided;
Fig. 2 is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention two is provided;
Fig. 3 is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention three is provided;
Fig. 4 is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention four is provided;
Fig. 5 is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention five is provided;
Fig. 6 is the schematic flow sheet of the application testing method based on increment that the embodiment of the present invention six is provided;
Fig. 7 is the schematic flow sheet of the application testing method based on increment that the embodiment of the present invention seven is provided;
Fig. 8 is the schematic flow sheet of the application testing method based on increment that the embodiment of the present invention eight is provided;
Fig. 9 is the structural representation of the application renewal/test system based on increment that the embodiment of the present invention nine is provided;
Figure 10 is the structural representation of the more new system of the application based on increment that the embodiment of the present invention ten is provided;
Figure 11 is the structural representation of the application test systems based on increment that the embodiment of the present invention 11 is provided;
Figure 12 is the structural representation for applying renewal and test system based on increment that the embodiment of the present invention 12 is provided;
Figure 13 is the structural representation of the server that the embodiment of the present invention 13 is provided;
Figure 14 is the structural representation of the client that the embodiment of the present invention 14 is provided;
Figure 15 is the structural representation of the server that the embodiment of the present invention 15 is provided;
Figure 16 is the structural representation of the client that the embodiment of the present invention 14 is provided.
Specific embodiment
The application based on increment provided in an embodiment of the present invention is updated below in conjunction with the accompanying drawings and method of testing, device and is System, server and client are described in detail.
Embodiment one
As shown in figure 1, it is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention one is provided. The application update method for being based on increment is comprised the following steps:
S101, server split into for representing that corresponding first service part of service logic and new edition should new edition application With required framework corresponding first frame part when running.
At present, user can on the client according to the demand of oneself install some application, according to apply actually should Often updated in very fast, it is necessary to application of the user constantly to installing is updated.Or when developer enters to application Go after renewal, tried to be submitted to application market, the corresponding server of application market just can be with active warning user couple Using being updated.
The part of required framework when one application generally comprises part and the application operation of the service logic of application.This implementation In example, the part of the service logic for representing application is referred to as the first service part, required frame during for representing application operation The part of frame is referred to as the second frame part.In the present embodiment, server splits into the first business department firstly the need of by new edition application Divide and the first frame part.Preferably, the mark for distinguishing the first frame part that server can be in new edition application Symbol, the first service part and the first frame part are split into by new edition application.
Generally, the code of the service logic of the real visual interface and application of application belongs to the industry of application Business part.Framework layer identification code needed for the foundation code of application and operation belongs to the frame part of application.
S102, server obtain the second service part of the current old edition application to be updated of client.
In the present embodiment, an edition data storehouse is previously provided with, can be stored in the edition data storehouse and apply each Service part and frame part after version fractionation.
Specifically, according to version information such as version number and service part and frame part and storage location foundation mapping pass System, stores on relevant position in edition data storehouse the service part of each version and frame part according to the mapping relations.
In practical application, one is applied during update, often adjusts the service logic of the application, and should Required frame part tends not to change during with operation.When application on to some client is updated, server is needed Get the second service part of the current old edition application to be updated of client.Specifically, server is according to old edition application Version information, can inquire about the second service part for getting the old edition application in edition data storehouse.
Further, after new edition application is split into the first service part and the first frame part by server, can be by According to the corresponding version information of new edition application, by the first service part and the storage of the first frame part in edition data storehouse.
In the present embodiment, server before the second service part of the current old edition application to be updated of client is obtained, Server also needs to get the version information of old edition application in client.Preferably, client can send to server For the renewal request being updated to old edition application, the version letter of old edition application in the client is carried in renewal request Breath.
Alternatively, be provided with an information database, the client that is stored with the information database some Relevant information, and the relevant information of the client that server can periodically to being stored in information database is updated.Wherein, phase Pass information can be including the facility information of client, user profile, version information, positional information and IP information etc..Work as service When device actively issues update notifying to client, can be inquired according to the facility information such as device identification of the client chosen The version information of old edition application in the client.
S103, server obtain the first increment between the first service part and the second service part.
Specifically, server is based on the two-stage system residual quantity algorithm of computer file system file-level, to the first business department Divide and the second service part carries out file delta decomposition and obtains the first increment.In the present embodiment, by two-stage system residual quantity algorithm meter The first increment for obtaining, will be a binary data that not can perform or can not be recognized directly.
First increment is sent to client by S104, server.
After the first increment is got, the first increment can be sent to client by server, can be with order to client Old edition is updated using first increment is updated.
S105, client are updated to new edition application old edition application using the first increment.
The first increment that client the reception server sends, is then updated to new edition old edition application using first increment Using.Specifically, client is based on the two-stage system residual quantity algorithm of computer file system file-level, to the first increment and second Service part carries out file delta merging, to obtain new edition application.Due to generally, using frame section required when running Divide and tend not to change, the first increment is carried out file delta and merged by client with the second service part of old edition application Afterwards, it is possible to obtain new edition application.
The application update method based on increment that the present embodiment is provided, is split into for table new edition application by server Show new edition applied business logic the first service part and for represent new edition application run when required framework the first frame section Point, server obtains the second service part of the current old edition application to be updated of client, and server obtains the first service part First increment is sent to client by the first increment between the second service part, server, and client utilizes the first increment Old edition application is updated to new edition application.In the present embodiment, using of the service part between new edition application and old edition application One increment, is updated to old edition application, it is only necessary to which the service logic part to new and old application is compared, and no longer application is entered Row is overall to be compared, and is improve using the efficiency for updating.
Further, when the first frame part of new edition application and the second frame part of old edition application have differences, Application update method based on increment also includes:
Server according to the version information of client old edition application, can obtain the second frame part of the old edition application, Then server is based on the two-stage system residual quantity algorithm of computer file system file-level, to the first frame part and the second framework Part carries out file delta decomposition and obtains the second increment, after the second increment is got, the second increment is sent into client.Visitor Family end merges the second increment with the second frame part, to obtain new edition application.In the present embodiment, when the business of application is patrolled Volume and operation when institute's framework when changing, it is necessary to the first increment is merged with the second service part, and by the Two increments are merged with the second frame part, can just be updated to new edition application from old edition application after the completion of merging.
Embodiment two
As shown in Fig. 2 it is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention two is provided. In the present embodiment, the application update method that should be based on increment is performed by the more new system of the application based on increment, should be based on increment Include using more new system:Administrative center (Admin), server and client side.Wherein, administrative center and server belong to relative Server end for client, client includes:Operating system and container floor.In the present embodiment, server can be section Point (Node) server.
Wherein, operating system is the operating system installed in client, for manage and control hardware in client with The computer program of software resource, is to run directly in the most basic systems soft ware on " bare machine ", and any other software all must Must could be run under the support of operating system.For example, when client is the mobile terminals such as mobile phone or ipad, operating system can Think Android or iOS etc..The behaviour such as operating system such as Android or iOS of the container floor container floor grafting in client Make in system, it is necessary to the network communications capability for depending on operating system to provide in itself is communicated with node server, the container Layer can be Cross-border congestion management platform (React Native) framework provide one run when needed for performing environment.
The application update method for being based on increment is comprised the following steps:
The frame part of application is pre-configured with S200, client.
In the present embodiment, in order to improve the first speed for downloading application, can pack the application when client is dispatched from the factory Frame part, so that user downloads this on the client when applying, it is only necessary to download the service part of application, reduce just The flow of the secondary required occupancy for downloading application.
S201, administrative center's timing update the relevant information of client.
In the present embodiment, the relevant information that administrative center can be in real time to client is updated, by the phase of client Pass information Store is in information database.Wherein, relevant information can include facility information, user profile, the version of client Information, positional information and IP information etc..Facility information can be device identification, and device identification can be known for international mobile subscriber Other code (International Mobile Subscriber Identification Number, abbreviation IMSI), international movement Device identification (International Mobile Equipment Identity, abbreviation IMEI) and customized equipment mark Know etc..
S202, node server are compiled the destination file for being converted into being recognized by client to new edition application.
In practical application, research staff employs different voices and writes the new edition when being researched and developed to new edition application Using after the completion of research and development, research staff needs for the source file of the new edition application to submit to the corresponding server of application market End.In the present embodiment, in order to the source file for ensureing the new edition application can be recognized or performed, it is necessary to node serve by client The new edition application that device is submitted to research staff is compiled the destination file for being converted into being recognized by client.
S203, the distributing policy of administrator configurations administrative center.
In the present embodiment, keeper can be with the distributing policy at configuration management center, and wherein distributing policy can be according to difference Dimension set.Wherein different dimensions can include:Equipment dimension, geography dimension, time dimension, crowd's dimension, exposure Light rate dimension, transaction conversion ratio dimension and version dimension etc..For example, keeper can be according to crowd's dimension for administrative center matches somebody with somebody A distributing policy is put, such as distributing policy can be:Female user of the age between 25~35 is used as issuing in selection crowd The object of new edition application.
Node server is handed down to according to the device identification list that distributing policy obtains client in S204, administrative center.
Specifically, administrative center can be selected to meet and issue according to the distributing policy for having configured from all clients The client of strategy is used as the object for issuing new edition application.After client is selected, administrative center can setting client Standby mark is sent to node server in the form of a list.
S205, node server split to destination file, obtain first service part and the first frame of new edition application Frame part.
Special identifier is carried in the present embodiment, in destination file, the identifier can be used for distinguishing new edition application The first frame part.Node server is scanned for destination file, to find the mark for distinguishing the first frame part Know symbol, new edition application is split into by the first service part and the first frame part according to the identifier.Specifically, node server The first frame part is pulled out come remaining part is exactly the first service part of new edition application according to the identifier.
Further, node server is obtained after being split with new edition application the first service part and the first frame section Point, according to the corresponding version information of new edition application such as version number, in storage to edition data storehouse.
S206, node server calculate the increment between new edition application and old edition application.
The device identification list that node server can send according to administrative center, each visitor is got from information database The version information of the old edition application installed on the end of family.Version information can be the version number of application.In order to realize in client The renewal of old edition application, for each client, node server needs to obtain corresponding with version number from edition data storehouse Second service part and the second frame part.
In practical application, the service part that service logic is often only updated when updating is applied, it is required during using operation Frame part can't often change.Therefore, in the present embodiment, node server calculates the first business department of new edition application The first increment divided and the second service part of old edition application between.And in the first frame part and the second frame part in the presence of poor Different time, node server can also be calculated between the first frame part of new edition application and the second frame part of old edition application Second increment.
Illustrated by taking the application of written in JavaScript as an example, the source file of new edition application is based on by research staff Script (JavaScript) code file that the front end frame (React) of FaceBook is write out.Node server is The ReactNative frameworks in the container floor of client are made to can recognize that the source file, it is necessary to the source of the new edition application File is compiled the destination file of the JavaScript code for being converted into meeting standard ECMAScript6 grammers.
The corresponding JavaScript destination files of new edition application are split into service logic by node server according to identifier (Business) JavaScript code basis (Base) JavaScript code corresponding with required framework when running, wherein, The JavaScript code of Business is referred to as BusinessJS codes, Base) JavaScript code is referred to as BaseJS. BusinessJS codes the first service part of correspondence, BaseJS the first frame parts of correspondence.
Node server can using old edition application as new edition application baseline file.Wherein, baseline file refers to same Using the release status of different time points on branching time line at the same time.For example, it is A versions, the code of A versions to apply in early stage The code of B versions is generated by logical renewal, on this time point of B, it is possible to calculate from A versions to B versions Difference, referred to as residual quantity (Diff) is increment, and the code file by A version applications is referred to as baseline file herein, with should Off line does not select iteration, may generate this using a string lasting baseline files and increment corresponding with baseline file.
Old edition application as new edition application baseline file, the baseline file is by including:The service logic of old edition application The baseline file of baseline file and framework, wherein, the baseline file of service logic is the second service part correspondence of old edition application Business JavaScript codes, the baseline file of framework is the corresponding Base of the second frame part of old edition application JavaScript code, herein, the corresponding Business JavaScript codes of the second service part is designated as BusinessJS0, and the corresponding Base JavaScript codes of the second frame part are designated as BaseJS0.
Node server can be based on computer file system when the increment between new edition application and old edition application is calculated The two-stage system residual quantity algorithm of file-level, file delta decomposition is carried out to BusinessJS and BusinessJS0 and obtains the first increasing Amount.Correspondingly, node server is also based on the two-stage system residual quantity algorithm of computer file system file-level, to BaseJS File delta decomposition is carried out with BaseJS0 obtain the second increment.
The incremental distribution that S207, node server will be calculated is to the operating system in client.
The increment that node server will can be calculated, is handed down in corresponding client according to the device identification of client Operating system.Wherein, the increment for calculating at least includes the first increment, in actual applications the first frame part and the second frame Frame part has differences, and node server can calculate the second increment, and by second incremental distribution to operating system.
Increment is sent to container floor by S208, operating system.
In the present embodiment, a container floor, operation system of the container floor grafting in client are set in the client in advance In system such as Android or iOS operating systems.Operating system is after the increment that node server is issued is received, it is necessary to will Increment is sent to container floor, and increment is merged with old edition application by container floor, to obtain new edition application.
S209, container floor merge increment and old edition application, obtain new edition application.
In the present embodiment, when new edition application is when being updated to service part, container floor then by the first increment with it is old Second service part of version application is merged, it is possible to obtain new edition application.When new edition application is to service part and frame section When point being updated, container floor then needs to merge the first increment with the second service part with old edition application, and Second increment is merged with the second frame part of old edition application, after the completion of both merge, it is possible to which obtaining new edition should With.Container floor can merge the corresponding JS files of the first increment with BusinessJS0, can obtain BusinessJS, by The corresponding JS files of two increments merge with BaseJS0, can obtain BaseJS, and then can obtain new edition application.
S210, container floor send the render instruction for carrying out locally rendering to new edition application to operating system.
Specifically, container floor can send one and be used to answer new edition to the ccf layer (Framework) in operating system With the instruction for locally render, so that ccf layer is locally rendered according to instruction to new edition application.
Ccf layer in S211, operating system performs render instruction and new edition application is locally rendered.
Specifically, after operating system receives render instruction, the ccf layer in operating system just can be according to render instruction Mobilism draws user interface (User Interface, abbreviation UI), that is, draw the visual operation interface of user in application.Framework Layer can be bound according to the service logic of new edition application when being rendered to new edition application to event, for example can be right The response that UI clicks on event is bound, or the update event of content of pages is bound, or to rolling the prison of event Control etc..Further, after event binding is completed, ccf layer just can be according to service logic to the static displaying of event and to thing Part is responded or fed back.
S212, node server and operating system carry out network service.
After the completion of locally being rendered to new edition application, node server can carry out network service, node with operating system Server can be by HTTP (Hypertext transfer protocol, abbreviation Http) with operating system Etc. the network request of form, interaction and the feedback of data and information are completed.
Because the initial data related to new edition application and ReactJS files are stored in server end or high in the clouds, section By the network request of the forms such as HTTP be handed down in client for initial data and ReactJS files and operate system by point server System.During user uses new edition application, operating system can be by the network request of the forms such as Http to node serve Device sends some network requests.
For example, being illustrated as an application scenarios using the login page in new edition application:The dependency number of login page According to being exactly initial data, the JS files that the login page is write by ReactJS, the initial data representative of the login page in itself is worked as The data structure information whether preceding user logs in, node server can be by the network request of the forms such as Http by login page Initial data and the JS files of the login page be handed down to container floor in client.After user clicks on Button Login, hold Device layer can send the network request for attempting logging in node server, and active user's input can be carried in the network request Account and the information such as password.After node server can be verified, after checking is legal, the User logs in can be allowed new Version application.
It is in communication with each other between S212, operating system and container floor.
Can be in communication with each other between operating system and container floor, operating system will can be sent out some associative operations of event Container floor is given, these associative operations are realized by the container floor, to produce response or the feedback of correlation, container floor can Operating system is sent to by these responses or feedback.
The application update method based on increment that the present embodiment is provided, is split into for table new edition application by server Show new edition applied business logic the first service part and for represent new edition application run when required framework the first frame section Point, server obtains the second service part of the current old edition application to be updated of client, and server obtains the first service part First increment is sent to client by the first increment between the second service part, server, and client utilizes the first increment Old edition application is updated to new edition application.In the present embodiment, using of the service part between new edition application and old edition application One increment, is updated to old edition application, it is only necessary to which the service logic part to new and old application is compared, and no longer application is entered Row is overall to be compared, and is improve using the efficiency for updating.
Further, when frame part changes, the increment of frame part can also be issued, to complete to answer old edition Renewal, it is ensured that the integrality of the new edition application after renewal.
ReactNativ frameworks are provided with the present embodiment, in container floor, due to ReactNative frameworks have it is cross-platform The characteristic of exploitation, the first increment for issuing or the second increment can and directly be performed, it is not necessary to carry out the operation such as installing, so that can To load different JavaScript files at any time, it is achieved thereby that to the Dynamical Deployment of client.
Embodiment three
As shown in figure 3, it is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention three is provided. In the present embodiment, the main body of the application update method for being based on increment is performed for server, should be based on increment applies renewal side Method is comprised the following steps:
S301, new edition application is split into the first service part for representing new edition applied business logic and for representing First frame part of required framework when new edition application runs.
In the present embodiment, the part of the service logic for representing application is referred to as the first service part, should for representing The part of required framework is referred to as the second frame part during with operation.In the present embodiment, server is torn open firstly the need of by new edition application It is divided into the first service part and the first frame part.Preferably, server can be according to included for area in new edition application The identifier of other first frame part, the first service part and the first frame part are split into by new edition application.
S302, the second service part for obtaining the current old edition application to be updated of client.
In the present embodiment, an edition data storehouse is previously provided with, can be stored in the edition data storehouse and apply each Service part and frame part after version fractionation.
Specifically, according to version information such as version number and service part and frame part and storage location foundation mapping pass System, stores on relevant position in edition data storehouse the service part of each version and frame part according to the mapping relations.
In the present embodiment, server before the second service part of the current old edition application to be updated of client is obtained, Server also needs to get the version information of old edition application in client.Server, can basis after version information is obtained Version information inquires the second service part corresponding with the version information.
Acquisition process on the version information of old edition application in client, reference can be made to related in the S102 of above-described embodiment one The record of content, here is omitted.
The first increment between S303, the first service part of acquisition and the second service part.
Specifically, server is based on the two-stage system residual quantity algorithm of computer file system file-level, to the first business department Divide and the second service part carries out file delta decomposition and obtains the first increment.In the present embodiment, by two-stage system residual quantity algorithm meter The first increment for obtaining, will be a binary data that not can perform or can not be recognized directly.
S304, the first increment is sent to client, so that be updated to newly for old edition application using the first increment by client Version application.
After the first increment is got, the first increment can be sent to client by server, can be with order to client Old edition is updated using first increment is updated.
The application update method based on increment that the present embodiment is provided, is split into for table new edition application by server Show new edition applied business logic the first service part and for represent new edition application run when required framework the first frame section Point, server obtains the second service part of the current old edition application to be updated of client, and server obtains the first service part The first increment between the second service part, the first increment is sent to client by server, so that client utilizes first Increment updates to new edition application old edition application.In the present embodiment, using the service part between new edition application and old edition application The first increment, old edition application is updated, it is only necessary to which the service logic part to new and old application is compared, no longer correspond to With overall comparing is carried out, improve using the efficiency for updating.
Example IV
As shown in figure 4, it is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention four is provided. In the present embodiment, the main body of the application update method for being based on increment is performed for client, should be based on increment applies renewal side Method is comprised the following steps:
The first increment that S401, the reception server send, wherein, first increment is the first business department of new edition application Divide and the increment between the second service part of old edition application.
Wherein, the first service part is used to represent the part of new edition applied business logic, and the second service part is used to represent The part of old edition applied business logic;Old edition application is the current application to be updated of client, and new edition application is the client Rear corresponding application is updated to old edition application.
At present, user can on the client according to the demand of oneself install some application, according to apply actually should Often updated in very fast, it is necessary to application of the user constantly to installing is updated.Or when developer enters to application Go after renewal, tried to be submitted to application market, the corresponding server of application market just can be with active warning user couple Using being updated.
In practical application, one is applied during update, often adjusts the service logic of the application, and should Required frame part tends not to change during with operation.When a certain application on to client is updated, client can be with The first increment of server transmission is received, wherein, first service part and old edition application of first increment for new edition application Increment between second service part.
Preferably, client can be sent to server and update request, and server can be asked according to updating, and get the One increment, is then issued to client.Alternatively, client can receive server actively issue for entering to old edition application The first increment that row updates.
S402, old edition application is updated to new edition application using the first increment.
Client is after the first increment is received, it is possible to use first increment is updated to old edition application, to obtain New edition application.Specifically, client is based on the two-stage system residual quantity algorithm of computer file system file-level, to the first increment and Second service part carries out file delta merging, to obtain new edition application.Due to generally, using frame required when running Frame part is tended not to change, and the second service part corresponding to the first increment and old edition application is carried out file by client After residual quantity merges, it is possible to obtain new edition application.
The application update method based on increment that the present embodiment is provided, the first increasing that client is sent by the reception server Amount, wherein, the first increment is the increment between first service part and the second service part of old edition application of new edition application, visitor Family end is updated to new edition application old edition application using the first increment.In the present embodiment, using new edition application and old edition application it Between service part the first increment, old edition application is updated, it is only necessary to which the service logic part to new and old application is carried out Compare, overall comparing no longer is carried out to application, improve using the efficiency for updating.
Embodiment five
As shown in figure 5, it is the schematic flow sheet of the application update method based on increment that the embodiment of the present invention five is provided. The application update method for being based on increment is comprised the following steps:
S501, server are compiled the result text for being converted into be recognized by client to the source file of new edition application Part.
On the introduction to S501, reference can be made in above-described embodiment two related content record, here is omitted.
S502, server split into the first service part and the first frame part to new edition application.
Source file to new edition application is compiled the destination file for being converted into being recognized by client, from destination file In lookup for distinguish the first frame part identifier, according to identifier by new edition application split into the first service part and First frame part.Server is pulled out come remaining part is exactly new edition the first frame part according to the identifier First service part of application.
S503, server deposit the first service part and the second frame part according to the corresponding version information of new edition application Storage is in edition data storehouse.
Wherein, be stored with the service part and frame section obtained after being split using each version in edition data storehouse Point.
The first service part and the first frame part that server is obtained after being split with new edition application, should according to new edition With corresponding version information such as version number, store in edition data storehouse.
S504, server in edition data storehouse, inquire about the second business of old edition application according to the version information of client Part.
S505, server are based on the two-stage system residual quantity algorithm of computer file system file-level, to the first service part File delta decomposition is carried out with the second service part obtain the first increment.
S506, server in edition data storehouse, inquire about the second framework of old edition application according to the version information of client Part.
S507, server are based on the two-stage system residual quantity algorithm of computer file system file-level, to the first frame part File delta decomposition is carried out with the second frame part obtain the second increment.
Generally, apply during update for one, often adjust the service logic of the application, and should Required frame part tends not to change during with operation.And when the first frame part and the second frame part have differences, clothes Business device needs the version information according to client in edition data storehouse, inquires about the second frame part of old edition application, Ran Houji In the two-stage system residual quantity algorithm of computer file system file-level, file is carried out to the first frame part and the second frame part Residual quantity is decomposed and obtains the second increment.
First increment and the second increment are sent to client by S508, server.
Server, can be by the first increment and the second incremental distribution to client after the first increment and the second increment is calculated End.Alternatively, buffer memory device can be provided with client, during the first increment and/or the second increment is received, be utilized Breakpoint transmission mechanism, the data to receiving are cached.When client is receiving the process of the first increment and/or the second increment After middle failure, when data can be continued to after fault recovery from breakpoint, it is not necessary to which accent starts Incremental receipt, save Time, lifting updates efficiency.
S509, client merge the first increment and the second increment and old edition application, obtain new edition application.
The integrality and legitimacy of the new edition application that S510, client are obtained to merging are verified.
Server can make a summary new edition application message during the first increment and the second increment are issued to client Algorithm the 5th edition (Message Digest Algorithm, abbreviation MD5) value is handed down to client together, in client by first After increment and the second increment merge with old edition application, the MD5 values for merging the new edition application for obtaining, the MD5 that will be issued can be calculated Value is compared with the MD5 values for merging the new edition application for obtaining, and when two MD5 values are consistent, illustrates that merging the new edition for obtaining answers With being complete.
Further, after determining that new edition application that merging is obtained is complete, client can use cipher key technique, to The legitimacy of its server for issuing the first increment and the second increment is verified.After legitimate verification passes through, S511 is performed I.e. client is just locally rendered to the new edition application that merging is obtained.If the checking of integrality or legitimacy does not pass through, Then it is unable to client can not locally to render the new edition application that merging is obtained, can be returned to user and there is carrying for risk Wake up.
S511, when when being verified of new edition application that obtains of merging, client is carried out to the new edition application that merging is obtained Localization is rendered.
Specifically, based on the ReactNative frameworks in client, sent to the ccf layer in the operating system of client For the instruction for carrying out locally rendering to the new edition application, the ccf layer in operating system is after render instruction is received, so that it may Rendered with to the new edition application.On the process for carrying out locally rendering to new edition application, reference can be made to phase in above-described embodiment The record held inside the Pass, here is omitted.
The application update method based on increment that the present embodiment is provided, is split into for table new edition application by server Show new edition applied business logic the first service part and for represent new edition application run when required framework the first frame section Point, server obtains the second service part of the current old edition application to be updated of client, and server obtains the first service part First increment is sent to client by the first increment between the second service part, server, and client utilizes the first increment Old edition application is updated to new edition application.In the present embodiment, using of the service part between new edition application and old edition application One increment, is updated to old edition application, it is only necessary to which the service logic part to new and old application is compared, and no longer application is entered Row is overall to be compared, and is improve using the efficiency for updating.
Further, in the present embodiment, when the service logic and operation when institute's framework of application change, can be with First increment is merged with the second service part, and the second increment is merged with the second frame part, work as merging After the completion of can just be updated to new edition application from old edition application.
ReactNativ frameworks are provided with the present embodiment, in container floor, due to ReactNative frameworks have it is cross-platform The characteristic of exploitation, the first increment for issuing or the second increment can and directly be performed, it is not necessary to carry out the operation such as installing, so that can To load different JavaScript files at any time, it is achieved thereby that to the Dynamical Deployment of client.
Embodiment six
As shown in fig. 6, it is the schematic flow sheet of the application testing method based on increment that the embodiment of the present invention six is provided. The application testing method for being based on increment is comprised the following steps:
S601, server obtain client to be tested according to the Test Strategy being pre-configured with.
With the development of science and technology the species of client is with rapid changepl. never-ending changes and improvements, and function is also increasingly enriched.Accordingly, Increasing application is also arisen at the historic moment along with the variation of client functionality.With the quick hair of mobile client business Exhibition, the version of application is also iteratively faster.In order to preferably lift the performance of application, in the present embodiment, server can be chosen Part client is tested new edition application as test object in the client chosen.
Specifically, keeper can be pre-configured with a Test Strategy, the test that server can be pre-configured with according to this Strategy, selection meets the client of Test Strategy as client to be tested.Wherein, Test Strategy can be according to different dimensions Degree is set.Wherein different dimensions can include:Equipment dimension, geography dimension, time dimension, crowd's dimension, exposure rate Dimension, transaction conversion ratio dimension and version dimension etc..For example, keeper can be pre-configured with a test according to equipment dimension Strategy, such as Test Strategy can be:Type is the client of A client to be tested in selection client.Server is according to this Test Strategy, it is possible to choose type be A client as client to be tested.
In the present embodiment, before the Test Strategy being pre-configured with according to this in server, server can obtain each client The relevant information at end, wherein, the relevant information of client includes:Facility information, geographical location information, temporal information, Ren Qunxin Breath, exposure rate information, transaction conversion ratio information and version information etc..Server enters line number to the relevant information of all clients According to excavation, to generate at least one Test Strategy, then keeper can select one as pre- from the Test Strategy of generation The Test Strategy for first configuring.
S602, server send the first increment to client.
Wherein, the first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount.First service part is used to represent the part of new edition applied business logic, and the second service part is used to represent old edition application industry The part of logic of being engaged in;Old edition application is the current application to be updated of client;New edition application is carried out for client to old edition application Corresponding application after renewal.
In order to test new edition application, it is necessary to by client to be tested after client to be tested is selected Old edition application current on end is updated to new edition application.In practical application, apply and service logic is often only updated when updating Service part, required frame part can't often change during using operation.Therefore, in the present embodiment, server is obtained The first increment between the first service part of new edition application and the second service part of old edition application is taken, then by the first increment It is sent to client.Between the first service part and the second service part of old edition application on server acquisition new edition application The first increment detailed process, reference can be made in above-described embodiment one and two related content record, here is omitted.
S603, client are updated to new edition application old edition application using the first increment.
Old edition application is updated the detailed process for arriving new edition application on client using the first increment, reference can be made to above-mentioned reality The record of related content in example one and two is applied, here is omitted.
S604, client are acquired to the use data of new edition application, and the use data is activation that will be collected is to service Device.
For most of applications, the use data of the user for collecting some client-sides contribute to grinding for server side Corresponding analysis is made in the behavior of originator or keeper to user such that it is able to contrast the addition of the New function of new edition application Whether the liveness or conversion ratio of user can be improved.
In order to test the new edition application run in client, client can be entered to the use data of new edition application Row collection, the use data is activation that then will be collected is analyzed to server, to obtain the test result of the new edition application. Preferably, server issues burying a little for new edition application, using burying a little while the first increment is sent to client to client Use data to new edition application in client are counted.Wherein, the corresponding user of new edition application can be included using data Information, facility information, operation information and interactive information etc..
In practical application, the facility information that may include the simulation of user's malice simulator in data, these moulds are used Intending the facility information of device simulation will influence the accuracy of A/Btest, then for example using some malice pin may be carried in data This etc., in order to improve the accuracy of A/Btest, it is necessary to being identified and filtering, client using " dirty data " in data The use data that will can be collected are filtered, and the use data is activation after will filter out is analyzed to server.
S605, server obtain the test result of new edition application to being analyzed using data.
After the use data that client to be tested is returned are got, server can to being analyzed using data, Obtain the test result of the new edition application.Further, test result can be returned to server the research staff of application, with For research staff provides the foundation for improving new edition application.For different Test Strategies, different test results can be got, Research staff, can be with it is seen that change in terms of a change applied on different target, such as trading volume, conversion ratio Helping research staff carries out quickly quick experiment to different implementation, and then produces more massive checking product and business Scheme.
The application testing method based on increment that the present embodiment is provided, by server according to the Test Strategy being pre-configured with Obtain client to be tested, server sends the first increment to client, client using the first increment by old edition application more Newly to new edition application, client is acquired to the use data of new edition application, and the use data is activation that will be collected is to service Device, server obtains the test result of new edition application to being analyzed using data.In the present embodiment, selected according to Test Strategy Client to be tested is taken, then the first increment is issued to client to be tested, to complete in client old edition application more Newly, test particularity, it is necessary to choose substantial amounts of client to be tested, when completing to treat by way of issuing the first increment The renewal of the client of test, can reduce resources occupation rate.And in the present embodiment, according to different Test Strategies by all visitors Family end is divided into multigroup client, and then the client to different groups is tested such that it is able to which acquisition is applied at different groups The test result of client, improve it is comprehensive using Abtest, can be the perfect offer of application performance advantageously Foundation, due to the increment of only needing to property client issuing service part, reduces using quick iteration, the cost of quick trial and error, To apply the rapid deployment in different dimensions to provide the new breakthrough that technology is realized.
Embodiment seven
As shown in fig. 7, it is the schematic flow sheet of the application testing method based on increment that the embodiment of the present invention seven is provided. In the present embodiment, executive agent is server, and the application testing method that should be based on increment is comprised the following steps:
S701, obtain client to be tested according to the Test Strategy that is pre-configured with.
The process of client to be tested is obtained according to the Test Strategy being pre-configured with server, reference can be made to above-mentioned reality The record of related content in example six is applied, here is omitted.
In the present embodiment, before the Test Strategy being pre-configured with according to this in server, server can be each with taken at regular intervals The relevant information of client, wherein, the relevant information of client includes:Facility information, geographical location information, temporal information, people Group's information, exposure rate information, transaction conversion ratio information and version information etc..Server enters to the relevant information of all clients Row data mining, to generate at least one Test Strategy, then keeper can make in selection one from the Test Strategy of generation It is the Test Strategy being pre-configured with.
S702, the first increment is sent to client, so that client is updated to new edition old edition application using the first increment Using.
Wherein, the first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of new edition applied business logic, and second service part is used to represent that old edition should With the part of service logic;Old edition application is the current application to be updated of client;New edition application is client to old edition application It is updated rear corresponding application.
The between first service part and the second service part of old edition application of new edition application is obtained on server The detailed process of one increment, and client is arrived the detailed process of new edition application by the sparkling renewal of old edition using the first increment, can Referring to the record of related content in above-described embodiment, here is omitted.
S703, the use data for receiving client transmission, wherein, the use of data is the use by client to new edition application Situation is acquired what is obtained.
S704, the test result that new edition application is obtained to being analyzed using data.
On server to being analyzed the process of the test result for obtaining new edition application using data, reference can be made to above-mentioned The record of related content in embodiment six, here is omitted.
Further, when the first frame part and the second frame part have differences, version of the server according to client This information inquires about the second frame part of old edition application, based on computer file system file-level in edition data storehouse Two-stage system residual quantity algorithm, file delta is carried out to the first frame part and the second frame part decomposes to obtain the second increment, by the Two increments are sent to client, so that client is updated to the second frame part of old edition application.
In the present embodiment, client to be tested is chosen according to Test Strategy, then issue the to client to be tested One increment, to complete the renewal of old edition application in client, in the particularity tested, it is necessary to choose substantial amounts of client to be tested End, when the renewal of client to be tested is completed by way of issuing the first increment, can reduce resources occupation rate.And In the present embodiment, all clients are divided into multigroup client according to different Test Strategies, then the client to different groups End is tested such that it is able to which acquisition is applied in the different groups of test results of client, is improve using the comprehensive of Abtest, Can be the perfect offer foundation advantageously of application performance, due to the increment of only needing to property client issuing service part, Reduce using quick iteration, the cost of quick trial and error, realized to apply the rapid deployment in different dimensions to provide technology New breakthrough.
Embodiment eight
As shown in figure 8, it is the schematic flow sheet of the application testing method based on increment that the embodiment of the present invention seven is provided. In the present embodiment, executive agent is client, and the application testing method that should be based on increment is comprised the following steps:
The first increment that S801, the reception server send.
Wherein, the first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of new edition applied business logic, and the second service part is used to represent old edition application industry The part of logic of being engaged in;Old edition application is the current application to be updated of client;New edition application is carried out for client to old edition application Corresponding application after renewal.
Acquisition process on the first increment, reference can be made in above-described embodiment related content record, here is omitted.
S802, old edition application is updated to new edition application using the first increment.
Old edition application is updated the process for arriving new edition application on client using the first increment, reference can be made to above-described embodiment The record of middle related content, here is omitted.
S803, the use data is activation of collection new edition application are to server, so that server using data to being analyzed, Obtain the test result of new edition application.
Introduction on S803, reference can be made in above-described embodiment related content record, here is omitted.
These are used data is activation to server by client, and server can carry out data digging to these using data Pick, obtains the test result of the new edition application, and foundation is provided with the performance that new edition application is improved for research staff.
In this implementation, before the first increment that client the reception server sends, client needs to be reported to server The relevant information of client, so that server generates at least one Test Strategy according to the relevant information of all clients.
Further, the second increment that client can be issued with the reception server, wherein, the second increment is new edition application The first frame part and the second frame part of old edition application between increment, be then based on computer file system file-level Other two-stage system residual quantity algorithm, file delta merging is carried out to the second increment and the second frame part, to obtain new edition application.
In the present embodiment, client to be tested is chosen according to Test Strategy, then issue the to client to be tested One increment, to complete the renewal of old edition application in client, in the particularity tested, it is necessary to choose substantial amounts of client to be tested End, when the renewal of client to be tested is completed by way of issuing the first increment, can reduce resources occupation rate.And In the present embodiment, all clients are divided into multigroup client according to different Test Strategies, then the client to different groups End is tested such that it is able to which acquisition is applied in the different groups of test results of client, is improve using the comprehensive of Abtest, Can be the perfect offer foundation advantageously of application performance, due to the increment of only needing to property client issuing service part, Reduce using quick iteration, the cost of quick trial and error, realized to apply the rapid deployment in different dimensions to provide technology New breakthrough.
Embodiment nine
As shown in figure 9, the structure that it is the application renewal/test system based on increment of the offer of the embodiment of the present invention nine is shown It is intended to.
The application more new system for being based on increment includes:Server 1 and client 2.
Server 1, for new edition application to be split into for representing corresponding first service part of service logic and new edition Using required framework corresponding first frame part when running, the second business of the current old edition application to be updated of client is obtained Part, and the first increment between first service part and second service part is obtained, and the first increment is sent out Give client 2.
Client 2, for being updated to new edition application old edition application using the first increment.
Further, server 1, specifically for the two-stage system residual quantity algorithm based on computer file system file-level, File delta decomposition is carried out to the first service part and the second service part and obtains the first increment.
Further, client 2, specifically for the two-stage system residual quantity algorithm based on computer file system file-level, File delta merging is carried out to first increment and the second service part, to obtain new edition application.
Further, when the first frame part and the second frame part have differences, server end 1 is additionally operable to obtain Second frame part of old edition application described in the client, and two-stage system based on computer file system file-level is poor Quantity algorithm, file delta decomposition is carried out to the first frame part and the second frame part and obtains the second increment.
After the second increment is got, server 1 is additionally operable to for the second increment to be sent to client 2, and client 2 is by Two increments are merged with the second frame part, to obtain new edition application.In the present embodiment, when the service logic and fortune of application , it is necessary to the first increment is merged with the second service part when institute's framework changes during row, and by the second increment with Second frame part is merged, and can just be updated to new edition application from old edition application after the completion of merging.
The application based on the increment more new system that the present embodiment is provided can be used to perform shown in Fig. 1~5 based on increment Using the flow of update method, its concrete operating principle is repeated no more, and refers to the description of embodiment of the method.
In the present embodiment, using the first increment of the service part between new edition application and old edition application, to old edition application It is updated, it is only necessary to which the service logic part to new and old application is compared, overall comparing no longer is carried out to application, improves Using the efficiency for updating.
The more new system of the application based on increment that the present embodiment is provided, is also used as the application test systems based on increment Use, the flow for performing the application testing method based on increment.
Specifically:
Server 1, for obtaining client to be tested according to the Test Strategy being pre-configured with, first is sent to client Increment, and the use data that client sends are received, to being analyzed using data, the test result of new edition application is obtained, Wherein, the use data are to be acquired what is obtained to the service condition of new edition by client.
Client 2, for being updated to new edition application, to the use data of new edition application old edition application using the first increment It is acquired, the use data is activation that will be collected is to server.
The above-mentioned application test systems based on increment, can be used to apply renewal side based on increment shown in execution Fig. 6~8 The flow of method, its concrete operating principle is repeated no more, and refers to the description of embodiment of the method.
In the present embodiment, client to be tested is chosen according to Test Strategy, then issue the to client to be tested One increment, to complete the renewal of old edition application in client, in the particularity tested, it is necessary to choose substantial amounts of client to be tested End, when the renewal of client to be tested is completed by way of issuing the first increment, can reduce resources occupation rate.And In the present embodiment, all clients are divided into multigroup client according to different Test Strategies, then the client to different groups End is tested such that it is able to which acquisition is applied in the different groups of test results of client, is improve using the comprehensive of Abtest, Can be the perfect offer foundation advantageously of application performance, due to the increment of only needing to property client issuing service part, Reduce using quick iteration, the cost of quick trial and error, realized to apply the rapid deployment in different dimensions to provide technology New breakthrough.
Embodiment ten
As shown in Figure 10, it is the structural representation of the more new system of the application based on increment that embodiment ten is provided.The base Include in the application more new system of increment:Server end 3 and client 4.Wherein, server end 3 includes:Administrative center (Admin) 31, server 32, information database 33 and edition data storehouse 34.Client 4 includes:Operating system 41 and container Layer 42.Wherein, operating system 41 is the operating system of client 4, for managing and controlling the hardware in client to be provided with software The computer program in source, is to run directly in the most basic systems soft ware on " bare machine ", and any other software all must be in behaviour Make to be run under the support of system.For example, when client 4 is the mobile terminals such as mobile phone or ipad, operating system can be Android or iOS etc..Container floor 42 is used to be provided for Cross-border congestion management platform (React Native) framework in client Required performing environment during one operation.
Keeper can to the distributing policy of the configuration distributing increment of administrative center 31, when needing to be updated application, The increment between new edition application and old edition application can be issued to client according to the distributing policy.And administrative center 31 can be with The data that reception is updated to information database 33, wherein, information database 33 is used to store the relevant information of client 4, Wherein, relevant information can include facility information, user profile, version information, positional information and the IP information of client 4 Deng.
Administrative center 31 can obtain client 4 corresponding with the distributing policy according to the distributing policy of administrator configurations, For example, when distributing policy for user positional information, can according to the place information inquiry arrive belong to the positional information indicate In the range of client, then according to choose client 4 facility information such as device identification.Administrative center 31 is by client The form of one list of device identification issues server 32.Server 32 inquires selected client from information database 33 The version information of old edition application on end 4.
In practical application, research staff employs different voices and writes the new edition when being researched and developed to new edition application Using after the completion of research and development, research staff needs for the source file of the new edition application to submit to the corresponding server of application market End.In the present embodiment, in order to the source file for ensureing the new edition application can be recognized or performed, it is necessary to server 32 by client The new edition application submitted to research staff is compiled the destination file for being converted into being recognized by client.
Server 32 splits to destination file, obtains first service part and the first frame part of new edition application. Further, server 32 is obtained after being split with new edition application the first service part and the first frame part, according to new The version corresponding version information of application such as version number, in storage to edition data storehouse 34.
The device identification list that server 32 can send according to administrative center 31, each is got from information database 33 The version information of the old edition application installed in client.Version information can be the version number of application.In order to realize to client The renewal of upper old edition application, for each client, server 32 needs to obtain corresponding with version number from edition data storehouse 34 The second service part and the second frame part.
Server 32 calculates first between first service part and the second service part of old edition application of new edition application Increment.And when the first frame part and the second frame part have differences, server 32 can also calculate the of new edition application The second increment between one frame part and the second frame part of old edition application.
The increment that server 32 will can be calculated, is handed down in corresponding client according to the device identification of client Operating system 41.Wherein, the increment for calculating at least includes the first increment, in actual applications the first frame part and the second frame Frame part has differences, and server 32 can calculate the second increment, and by second incremental distribution to operating system 41.Operation System 41 after the increment that server 32 is issued is received, it is necessary to increment is sent into container floor 42, by container floor 42 The framework of ReactNative is merged to increment with old edition application, to obtain new edition application.New edition application is obtained in merging Afterwards, container floor 42 can send one and be used to carry out new edition application this to the ccf layer in operating system 41 (Framework) The instruction that renders so that ccf layer is locally rendered according to instruction to new edition application.
The application based on the increment more new system that the present embodiment is provided can be used to perform shown in Fig. 1~5 based on increment Using the flow of update method, its concrete operating principle is repeated no more, and refers to the description of embodiment of the method.
In the present embodiment, using the first increment of the service part between new edition application and old edition application, to old edition application It is updated, it is only necessary to which the service logic part to new and old application is compared, overall comparing no longer is carried out to application, improves Using the efficiency for updating.Further, when frame part changes, the increment of frame part can also be issued, to complete Renewal to old edition application, it is ensured that the integrality of the new edition application after renewal.And used ReactNativ in container floor Technology, it is not necessary to which the increment to applying carries out the operation such as installing, it is possible to be performed, different such that it is able to load at any time JavaScript file, it is achieved thereby that to the Dynamical Deployment of client.
Embodiment 11
As shown in figure 11, it is the structural representation of the application test systems based on increment that embodiment 11 is provided.Should Application test systems based on increment include:Server end 5 and client 6 to be tested.Wherein, server end 5 includes:Strategy Choose platform 51, A/B test (A/B test) release platform and database 53.In the present embodiment, the A/Btest release platforms 52 functions of being used to perform server in above-described embodiment, can obtain increment and be handed down to client 6.Client 6 is wrapped Include:Operating system 61, container floor 62 and data acquisition device module 63, data safety filtering module 64 and data reporting module 65。
Keeper can choose in strategy and be pre-configured with a Test Strategy on platform 51, and A/B test release platforms 52 can Client 6 to be tested is obtained with according to the Test Strategy.Introduction on Test Strategy, reference can be made to related in above-described embodiment The record of content, here is omitted.
In order to test new edition application, it is necessary to by client to be tested after client 6 to be tested is selected Current old edition application is updated to new edition application on end 6.Operating system 61 and container floor 62 in client 6, connect for basis The increment for receiving is updated to old edition application.On old edition application in client 6 to be tested is updated into new edition application Process, reference can be made to the flow in the application update method based on increment provided in above-described embodiment, here is omitted.
For most of applications, collecting the use data of the user of some sides of client 6 contributes to the side of server end 5 Behavior to user of developer or keeper make corresponding analysis such that it is able to contrast the New function of new edition application Whether addition can improve the liveness or conversion ratio of user.
In order to test the new edition application run in client 6, the data acquisition module 63 in client 6 can lead to The use data buried a little to user crossed in new edition application are acquired, and the use data is activation that then will be collected is pacified to data In full filtering module 64, some invalid datas are filtered by the data safety filtration system.In order to improve A/Btest's Accuracy, it is necessary to data safety filtering module 64 pairs is identified and is filtered using " dirty data " in data, then by number The use data after filtering are reported into server end 5 according to reporting module 65, server end 5 can will use data storage in number According in storehouse 53.
After the use data that client 6 to be tested is returned are got, A/Btest release platforms 52 can be to using number According to being analyzed, the test result of the new edition application is obtained.Further, A/Btest release platforms 52 can be by test result The research staff of application is returned to, the foundation for improving new edition application is provided with for research staff.For different Test Strategies, can To get different test results, research staff it is seen that a change applied on different target, such as conclude the business Change in terms of amount, conversion ratio, can help research staff that quickly quick experiment is carried out to different implementation, and then produce More massive checking product and business solutions.
In the present embodiment, client to be tested is chosen according to Test Strategy, then issue the to client to be tested One increment, to complete the renewal of old edition application in client, in the particularity tested, it is necessary to choose substantial amounts of client to be tested End, when the renewal of client to be tested is completed by way of issuing the first increment, can reduce resources occupation rate.And In the present embodiment, all clients are divided into multigroup client according to different Test Strategies, then the client to different groups End is tested such that it is able to which acquisition is applied in the different groups of test results of client, is improve using the comprehensive of Abtest, Can be the perfect offer foundation advantageously of application performance, due to the increment of only needing to property client issuing service part, Reduce using quick iteration, the cost of quick trial and error, realized to apply the rapid deployment in different dimensions to provide technology New breakthrough.
Embodiment 12
As shown in figure 12, it is the application renewal and the structural representation of test system based on increment that embodiment 12 is provided Figure.The application for being based on increment updates and test system includes:Server end 7 and client 8.
Wherein, server end 7 includes:Ftp server 71, node server 72, tactful configuration server 73, edition data Storehouse 74 and information database 75.
Client 8 includes:Operating system 81 and container floor 82.
In the present embodiment, in order to improve the testing efficiency using renewal or application A/Btest, can be in client 8 Agency (Proxy) 821 is set up in container floor 82, more effectively the upper-layer service of client is adjusted by the Proxy 821 User's masked segment details logic, improves the application based on increment and updates and test system service efficiency.
Except including Proxy 821 and ReactNative frameworks 822 in container floor 82.Due to ReactNative frameworks 822 characteristics with Cross-border congestion management, the first increment for issuing or the second increment can and directly be performed, it is not necessary to be installed Deng operation.In the present embodiment, operating system 81 can also be able to be Android operation system for ios operating systems.
Server end 7 is in communication with each other by ftp server 71 with the Proxy 821 in client 8.Node server 72 can obtain the increment between new class's application and old edition application, on the detailed process that increment is obtained, reference can be made to above-mentioned implementation The record of related content in example, here is omitted.What node server 72 can be configured according to tactful configuration server 73 Issue or Test Strategy, increment is then issued to Proxy 821 by the ftp server 71, so that client 8 should to old edition With being updated.
74 are stored with using the service part and frame part after the fractionation of each version in edition data storehouse, there is version number According to the equal new edition application baseline file of each version application in storehouse.Multiple databases can be provided with information database 75, for example, Equipment information database, User Information Database, location information data storehouse etc..
Cache module 8211, merging module 8212, integrity verification module 8213, legitimacy are provided with Proxy 821 Authentication module 8214 and communication module 8215.
Cache module receives the increment that ftp server 71 is issued, and when a failure occurs, cache module 8211 can be cached down The increment of hair, after fault recovery, cache module 8211 can continue to continue to ftp server 71 from the position for breakpoint occur The increment for issuing.In the present embodiment, cache module 8211 can utilize mobile phone hardware environment in itself, set up disk+internal memory L2 cache mechanism.
Merging module 8212 in Proxy 821 obtains increment from cache module 8211, is then carried out with old edition application Merge, to obtain new edition application, integrity verification module 8213 is after merging obtains new edition application, and merging can be obtained is new The integrality of version application is verified that after being verified, legitimate verification module 8214 can be to the legal of the source of increment Property is verified that after legitimate verification passes through, communication module 8215 can be to ReactNative frameworks 822, to client 8 In operating system 81 in ccf layer send for carrying out the locally instruction that renders to the new edition application, in operating system 81 Ccf layer is after render instruction is received, it is possible to which the new edition application is rendered.
In practical application, because ReactNative frameworks 822 are a Cross-border congestion management platform, therefore, it is arranged on client The Proxy821 at end can be used with cross-platform, i.e., can be used in Android operation system, it is also possible to be used in iOS operations system In system.
In the present embodiment, can pack carrying one frame part and service part in client 8, can so reduce The flow taken during first download.
In the present embodiment, using the first increment of the service part between new edition application and old edition application, to old edition application It is updated, it is only necessary to which the service logic part to new and old application is compared, overall comparing no longer is carried out to application, improves Using the efficiency for updating.
Further, all clients are divided into multigroup client according to different Test Strategies, then to different groups Client tested such that it is able to acquisition is applied in the different groups of test results of client, is improve using Abtest It is comprehensive, can be the perfect offer foundation advantageously of application performance, due to only needing to property client issuing service part Increment, reduce using quick iteration, the cost of quick trial and error, to apply the rapid deployment in different dimensions to provide technology New breakthrough in realization.
Embodiment 13
As shown in figure 13, it is the structural representation of the server that embodiment 13 is provided.The server includes:Split mould Block 91, acquisition module 92 and sending module 93.
Wherein, module 91 is split, for new edition application to be split into the first industry for representing new edition applied business logic Business part and for represent new edition application run when required framework the first frame part.
Acquisition module 92, for obtaining the second service part of the current old edition application to be updated of client, and obtains The first increment between first service part and the second service part;
Sending module 93, for the first increment to be sent into client, so that client should by old edition using the first increment With being updated to new edition application.
The present embodiment provides server can also be included:Receiver module 94, selecting module 95, enquiry module 96 and storage mould Block 97.
Receiver module 94, the renewal for being updated to old edition application for receiving client transmission is asked;Wherein, Update the mark of carrying client in request.
Selecting module 95, for selecting client according to the distributing policy being pre-configured with;
Enquiry module 96, according to the mark of client, from information database on inquiring client terminal old edition application version Information, and according to the version information of client in edition data storehouse, inquire about the second service part of old edition application;Wherein, Be stored with the service part and frame part obtained after being split using each version in edition data storehouse.
Further, memory module 97, for according to the corresponding version information of new edition application, by the first service part and Two frame parts are stored in edition data storehouse.
Acquisition module 92, specifically for the two-stage system residual quantity algorithm based on computer file system file-level, to first Service part and the second service part carry out file delta decomposition and obtain the first increment.
Further, acquisition module 92, are additionally operable to when the first frame part and the second frame part have differences, according to The version information of client inquires about the second frame part of old edition application, based on computer file system in edition data storehouse The two-stage system residual quantity algorithm of file-level, file delta decomposition is carried out to the first frame part and the second frame part and obtains second Increment.
Sending module 93, is additionally operable to for the second increment to be sent to client, so that second frame of the client to old edition application Frame part is updated.
Further, module 91 is split, is compiled that be converted into meeting can specifically for the source file to new edition application The destination file recognized by client, is used to distinguish the identifier of the first frame part, according to mark from the lookup in destination file Know symbol and new edition application is split into the first service part and the first frame part.
In the present embodiment, using the first increment of the service part between new edition application and old edition application, to old edition application It is updated, it is only necessary to which the service logic part to new and old application is compared, overall comparing no longer is carried out to application, improves Using the efficiency for updating.
Embodiment 14
As shown in figure 14, it is the structural representation of the client that embodiment 14 is provided.The client includes:Receive mould Block 101 and update module 102.
Wherein, receiver module 101, for the first increment that the reception server sends, wherein, the first increment is new edition application The first service part and the second service part of old edition application between increment;
Update module 102, for being updated to new edition application old edition application using the first increment;
First service part is used to represent the part of new edition applied business logic, and the second service part is used to represent that old edition should With the part of service logic;Old edition application is the current application to be updated of client;New edition application is client to old edition application It is updated rear corresponding application.
Further, update module 102, calculate specifically for the two-stage system residual quantity based on computer file system file-level Method, file delta merging is carried out to the first increment and the second service part, to obtain new edition application.
Receiver module 101, is additionally operable to the second increment that the reception server is issued, wherein, the second increment is new edition application Increment between first frame part and the second frame part of old edition application.
Update module 102, specifically for the two-stage system residual quantity algorithm based on computer file system file-level, to second Increment and the second frame part carry out file delta merging, to obtain new edition application.
In the present embodiment, client can also include:Authentication module 103.
Authentication module 103, for being verified to the integrality and legitimacy that merge the new edition application for obtaining.
Update module 102, for after being verified of new edition application obtained when merging, the new edition application obtained to merging It is localized and renders, completes the renewal to old edition application.
Update module 102, sends for entering to new edition application specifically for the ccf layer in the operating system to client The local instruction for rendering of row, so that ccf layer is locally rendered according to instruction to new edition application.
Further, receiver module 101 is during the first increment and/or the second increment is received, using breakpoint transmission machine The data to receiving are made to cache.
In the present embodiment, using the first increment of the service part between new edition application and old edition application, to old edition application It is updated, it is only necessary to which the service logic part to new and old application is compared, overall comparing no longer is carried out to application, improves Using the efficiency for updating.
Embodiment 15
As shown in figure 15, it is the structural representation of the server that embodiment 15 is provided.The server includes:Obtain mould Block 111, sending module 112, receiver module 113 and analysis module 114.
Wherein, acquisition module 111, for obtaining client to be tested according to the Test Strategy being pre-configured with.
Sending module 112, for sending the first increment to client, so that client utilizes the first increment by old edition application Update new edition application.
Receiver module 113, the use data for receiving client transmission, wherein, the use of data is to new by client The service condition of version application is acquired what is obtained.
Analysis module 114, the test result for obtaining new edition application to being analyzed using data.
Wherein, the first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of new edition applied business logic, and the second service part is used to represent old edition application industry The part of logic of being engaged in;Old edition application is the current application to be updated of client;New edition application is carried out for client to old edition application Corresponding application after renewal.
Further, server can include:Split module 115, enquiry module 116 and increment acquisition module 117.
Module 115 is split, for new edition application to be split into the first service part and the first frame part.
Enquiry module 116, for the mark according to client, inquires about the version letter of old edition application from information database Breath, and according to the version information of old edition application in edition data storehouse, inquire about the second service part of old edition application.
Increment acquisition module 117, for the two-stage system residual quantity algorithm based on computer file system file-level, to first Service part and the second service part carry out file delta decomposition and obtain the first increment;
Wherein, be stored with the service part and frame section obtained after being split using each version in edition data storehouse Point.
Further, when the first frame part and the second frame part have differences, enquiry module 116 is additionally operable to root According to the version information of client in edition data storehouse, the second frame part of old edition application is inquired about;
Increment acquisition module 117, is additionally operable to the two-stage system residual quantity algorithm based on computer file system file-level, to the One frame part and the second frame part carry out file delta decomposition and obtain the second increment.
Sending module 112, is additionally operable to for the second increment to be sent to client, so that second frame of the client to old edition application Frame part is updated.
Acquisition module 111, is additionally operable to obtain the relevant information of each client, and the relevant information to all clients enters line number According to excavation, to generate at least one Test Strategy, selection one is used as the test plan being pre-configured with from the Test Strategy of generation Slightly.
In the present embodiment, all clients are divided into multigroup client according to different Test Strategies, then to difference The client of group is tested such that it is able to which acquisition is applied in the different groups of test results of client, is improve and is applied Abtest It is comprehensive, can be the perfect offer foundation advantageously of application performance, due to only needing to property client issuing service portion The increment for dividing, reduces using quick iteration, the cost of quick trial and error, to apply the rapid deployment in different dimensions to provide skill The new breakthrough that art is realized.
Embodiment 16
As shown in figure 16, it is the structural representation of the client that embodiment 16 is provided.The client includes:Receive mould Block 121, update module 122 and collection sending module 123.
Receiver module 121, for the first increment that the reception server sends.
Update module 122, for being updated to new edition application old edition application using the first increment.
Collection sending module 123, for gathering the use data is activation of new edition application to server, so that server is to making It is analyzed with data, obtains the test result of new edition application.
Wherein, the first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of new edition applied business logic, and the second service part is used to represent old edition application industry The part of logic of being engaged in;Old edition application is the current application to be updated of client;New edition application is carried out for client to old edition application Corresponding application after renewal.
Collection sending module 123, is additionally operable to be reported to server the relevant information of client, so that server is according to all The relevant information of client generates at least one Test Strategy.
Update module 122, specifically for the two-stage system residual quantity algorithm based on computer file system file-level, to first Increment and the second service part carry out file delta merging, to obtain new edition application.
Receiver module 121, is additionally operable to the second increment that the reception server is issued, wherein, the second increment is new edition application Increment between first frame part and the second frame part of old edition application.
Update module 122, specifically for the two-stage system residual quantity algorithm based on computer file system file-level, to second Increment and the second frame part carry out file delta merging, to obtain new edition application.
In the present embodiment, all clients are divided into multigroup client according to different Test Strategies, then to difference The client of group is tested such that it is able to which acquisition is applied in the different groups of test results of client, is improve and is applied Abtest It is comprehensive, can be the perfect offer foundation advantageously of application performance, due to only needing to property client issuing service portion The increment for dividing, reduces using quick iteration, the cost of quick trial and error, to apply the rapid deployment in different dimensions to provide skill The new breakthrough that art is realized.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (35)

1. a kind of application update method based on increment, it is characterised in that including:
New edition application is split into the first service part for representing the new edition applied business logic and for table by server First frame part of required framework when showing that the new edition application runs;
The server obtains the second service part of the current old edition application to be updated of client;
The server obtains the first increment between first service part and second service part;
First increment is sent to the client by the server;
The client is updated to the new edition application old edition application using first increment.
2. method according to claim 1, it is characterised in that the server obtain first service part with it is described The first increment between second service part, including:
The server is based on the two-stage system residual quantity algorithm of computer file system file-level, to first service part and Second service part carries out file delta decomposition and obtains first increment.
3. method according to claim 2, it is characterised in that the client is using first increment by the old edition The new edition application is arrived using updating, including:
The client is based on the two-stage system residual quantity algorithm of computer file system file-level, to first increment and second Service part carries out file delta merging, to obtain the new edition application.
4. the method according to claim any one of 1-3, it is characterised in that also include:
When first frame part has differences with second frame part, the server obtains the client institute State the second frame part of old edition application;
The server is based on the two-stage system residual quantity algorithm of computer file system file-level, to first frame part and Second frame part carries out file delta decomposition and obtains the second increment;
Second increment is sent to the client by the server;
The client merges second increment with second frame part, to obtain the new edition application.
5. a kind of application update method based on increment, it is characterised in that including:
New edition application is split into the first service part for representing the new edition applied business logic and described for representing First frame part of required framework when new edition application runs;
Obtain the second service part of the current old edition application to be updated of client;
Obtain the first increment between first service part and second service part;
First increment is sent to the client, so that the client should by the old edition using first increment With being updated to the new edition application.
6. method according to claim 5, it is characterised in that also include:
The renewal for being updated to the old edition application for receiving the client transmission is asked;
Wherein, the mark of the client is carried in the renewal request.
7. method according to claim 5, it is characterised in that also include:
The client is selected according to the distributing policy being pre-configured with;
According to the mark of the client, the version letter of the old edition application in the client is inquired about from information database Breath.
8. the method according to claim 6 or 7, it is characterised in that the old edition of the current legacy version of acquisition client should Second service part, including:
Version information according to the client inquires about second business department of the old edition application in edition data storehouse Point;
Wherein, be stored with the service part and frame section obtained after being split using each version in the edition data storehouse Point.
9. method according to claim 8, it is characterised in that described to split into for representing service logic new edition application Corresponding first service part and the new edition application be when running after corresponding first frame part of required framework, including:
According to the corresponding version information of the new edition application, first service part and second frame part storage are existed In the edition data storehouse.
10. method according to claim 9, it is characterised in that acquisition first service part and described second The first increment between service part, including:
Two-stage system residual quantity algorithm based on computer file system file-level, to first service part and second industry Business part carries out file delta decomposition and obtains first increment.
11. methods according to claim 10, it is characterised in that also include:
When first frame part has differences with second frame part, the version information according to the client exists In edition data storehouse, the second frame part of the old edition application is inquired about;
Two-stage system residual quantity algorithm based on computer file system file-level, to first frame part and second frame Frame part carries out file delta decomposition and obtains the second increment;
Second increment is sent to the client, so that second framework of the client to the old edition application Part is updated.
12. method according to claim 6 or 7, it is characterised in that described to split into for representing business new edition application Corresponding first service part of logic and the new edition application required framework corresponding first frame part when running, including:
The source file of the new edition application is compiled and is converted into meeting the destination file that can be recognized by client;
It is used to distinguish the identifier of first frame part from the lookup in the destination file;
The new edition application is split into by first service part and first frame part according to the identifier.
A kind of 13. application update methods based on increment, it is characterised in that including:
The first increment that the reception server sends, wherein, first increment is first service part and old edition of new edition application Increment between second service part of application;First service part is used to represent the portion of the new edition applied business logic Point, second service part is used to represent the part of the old edition applied business logic;The old edition application is worked as client Preceding application to be updated;The new edition application is updated rear corresponding application to old edition application for the client;
The old edition application is updated to the new edition application using first increment.
14. methods according to claim 13, it is characterised in that described to utilize first increment by the old edition application The new edition application is updated, including:
Two-stage system residual quantity algorithm based on computer file system file-level, to first increment and second business department Dividing carries out file delta merging, to obtain the new edition application.
15. methods according to claim 14, it is characterised in that also include:
The second increment that the server is issued is received, wherein, second increment is the first frame section of the new edition application Divide and the increment between the second frame part of the old edition application;
Two-stage system residual quantity algorithm based on computer file system file-level, to second increment and second frame section Dividing carries out file delta merging, to obtain the new edition application.
16. methods according to claim 15, it is characterised in that after new edition application is got, also include:
The integrality and legitimacy of the new edition application obtained to merging are verified;
When after being verified of the new edition application that merging is obtained, wash with watercolours is localized to the new edition application that merging is obtained Dye, to complete the renewal to the old edition application.
17. method according to claim any one of 13-16, it is characterised in that described pair merges the new edition for obtaining Rendered using being localized, to complete the renewal to the old edition application, including:
The instruction for carrying out locally rendering to the new edition application is sent to the ccf layer in the operating system of client, so that The ccf layer is locally rendered according to the instruction to the new edition application.
18. methods according to claim 17, it is characterised in that also include:
During first increment and/or second increment is received, using breakpoint transmission mechanism to the number that receives According to being cached.
A kind of 19. application testing methods based on increment, it is characterised in that including:
Server obtains client to be tested according to the Test Strategy being pre-configured with;
The server sends the first increment to the client;
The client is updated to the new edition application old edition application using first increment;
The client is acquired to the use data of the new edition application, and the use data is activation that will be collected is to institute State server;
The server is analyzed to the use data, obtains the test result of the new edition application;
Wherein, first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of the new edition applied business logic, and second service part is used for table Show the part of the old edition applied business logic;The old edition application is the current application to be updated of client;The new edition should Rear corresponding application is updated to old edition application with for the client.
20. methods according to claim 19, it is characterised in that the server to client send the first increment it Before, also include:
The new edition application is split into first service part and first frame part by the server;
The server obtains the second service part of the old edition application in the client;
The server obtains the first increment between first service part and second service part.
21. methods according to claim 20, it is characterised in that also include:
When first frame part has differences with second frame part, the server obtains the client institute State the second frame part of old edition application;
The server obtains the second increment between first frame part and second frame part;
Second increment is sent to the client by the server;
The client is updated using second increment to the old edition application, to obtain the new edition application.
A kind of 22. application testing methods based on increment, it is characterised in that including:
Client to be tested is obtained according to the Test Strategy being pre-configured with;
The first increment is sent to the client, so that the client is updated the old edition application using first increment To the new edition application;
The use data that the client sends are received, wherein, the use data are should to the new edition by the client Service condition is acquired what is obtained;
The use data are analyzed to obtain the test result of the new edition application;
Wherein, first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of the new edition applied business logic, and second service part is used for table Show the part of the old edition applied business logic;The old edition application is the current application to be updated of client;The new edition should Rear corresponding application is updated to old edition application with for the client.
23. methods according to claim 22, it is characterised in that before first increment of transmission to the client, Also include:
The new edition application is split into first service part and first frame part;
According to the mark of the client, the version information of the old edition application is inquired about from information database;
Version information according to the old edition application inquires about second business department of the old edition application in edition data storehouse Point;
Two-stage system residual quantity algorithm based on computer file system file-level, to first service part and second industry Business part carries out file delta decomposition and obtains first increment;
Wherein, be stored with the service part and frame section obtained after being split using each version in the edition data storehouse Point.
24. methods according to claim 23, it is characterised in that also include:
When first frame part has differences with second frame part, the version information according to the client exists In edition data storehouse, the second frame part of the old edition application is inquired about;
Two-stage system residual quantity algorithm based on computer file system file-level, to first frame part and second frame Frame part carries out file delta decomposition and obtains the second increment;
Second increment is sent to the client, so that second framework of the client to the old edition application Part is updated.
25. method according to claim any one of 22-23, it is characterised in that described according to the test plan being pre-configured with Before slightly obtaining client to be tested, including:
Obtain the relevant information of each client;
Relevant information to all clients carries out data mining, to generate at least one Test Strategy;
One is selected from the Test Strategy of the generation as the Test Strategy being pre-configured with.
A kind of 26. application testing methods based on increment, it is characterised in that including:
The first increment that the reception server sends;
The old edition application is updated to the new edition application using first increment;
The use data is activation of the new edition application is gathered to the server, so that the server enters to the use data Row analysis, obtains the test result of the new edition application;
Wherein, first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of the new edition applied business logic, and second service part is used for table Show the part of the old edition applied business logic;The old edition application is the current application to be updated of client;The new edition should Rear corresponding application is updated to old edition application with for the client.
27. methods according to claim 26, it is characterised in that before the first increment that the reception server sends, Also include:
The relevant information of client is reported to the server, so that the server is given birth to according to the relevant information of all clients Into at least one Test Strategy.
28. methods according to claim 27, it is characterised in that described to utilize first increment by the old edition application The new edition application is updated, including:
Two-stage system residual quantity algorithm based on computer file system file-level, to first increment and second business department Dividing carries out file delta merging, to obtain the new edition application.
29. method according to claim any one of 26-28, it is characterised in that also include:
The second increment that the server is issued is received, wherein, second increment is the first frame section of the new edition application Divide and the increment between the second frame part of the old edition application;
Two-stage system residual quantity algorithm based on computer file system file-level, to second increment and second frame section Dividing carries out file delta merging, to obtain the new edition application.
A kind of 30. servers, it is characterised in that including:
Split module, for new edition application to be split into for the first service part for representing the new edition applied business logic and First frame part of required framework during for representing the new edition application operation;
Acquisition module, for obtaining the second service part of the current old edition application to be updated of client, and obtains described the The first increment between one service part and second service part;
Sending module, for first increment to be sent into the client, so that the client increases using described first The old edition application is updated to the new edition application by amount.
A kind of 31. clients, it is characterised in that including:
Receiver module, for the first increment that the reception server sends, wherein, first increment is the first industry of new edition application Increment between business part and the second service part of old edition application;
Update module, for being updated to the new edition application old edition application using first increment;
First service part is used to represent the part of the new edition applied business logic, and second service part is used for table Show the part of the old edition applied business logic;The old edition application is the current application to be updated of client;The new edition should Rear corresponding application is updated to old edition application with for the client.
A kind of 32. more new systems of the application based on increment, it is characterised in that including:Server and power described in claim 30 Profit requires the client described in 31.
A kind of 33. servers, it is characterised in that including:
Acquisition module, for obtaining client to be tested according to the Test Strategy being pre-configured with;
Sending module, for sending the first increment to the client, so that the client utilizes first increment by institute Old edition application is stated to update to the new edition application;
Receiver module, for receiving the use data that the client sends, wherein, the use data are by the client Service condition to the new edition application is acquired what is obtained;
Analysis module, the test result for obtaining the new edition application to being analyzed using the data;
Wherein, first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of the new edition applied business logic, and second service part is used for table Show the part of the old edition applied business logic;The old edition application is the current application to be updated of client;The new edition should Rear corresponding application is updated to old edition application with for the client.
A kind of 34. clients, it is characterised in that including:
Receiver module, for the first increment that the reception server sends;
Update module, for being updated to the new edition application old edition application using first increment;
Collection sending module, for gathering the use data is activation of the new edition application to the server, so that the service Device is analyzed to the use data, obtains the test result of the new edition application;
Wherein, first increment is the increasing between first service part and the second service part of old edition application of new edition application Amount;First service part is used to represent the part of the new edition applied business logic, and second service part is used for table Show the part of the old edition applied business logic;The old edition application is the current application to be updated of client;The new edition should Rear corresponding application is updated to old edition application with for the client.
A kind of 35. application test systems based on increment, it is characterised in that including:Server and power described in claim 33 Profit requires the client described in 34.
CN201610717576.9A 2016-08-24 2016-08-24 Application based on increment updates and method of testing and system, server and client Pending CN106919378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610717576.9A CN106919378A (en) 2016-08-24 2016-08-24 Application based on increment updates and method of testing and system, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610717576.9A CN106919378A (en) 2016-08-24 2016-08-24 Application based on increment updates and method of testing and system, server and client

Publications (1)

Publication Number Publication Date
CN106919378A true CN106919378A (en) 2017-07-04

Family

ID=59454632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610717576.9A Pending CN106919378A (en) 2016-08-24 2016-08-24 Application based on increment updates and method of testing and system, server and client

Country Status (1)

Country Link
CN (1) CN106919378A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984206A (en) * 2018-08-09 2018-12-11 聚好看科技股份有限公司 A kind of method and apparatus that data are sent
CN109496417A (en) * 2018-06-12 2019-03-19 优视科技新加坡有限公司 Data test method, apparatus, equipment/terminal/server and computer readable storage medium
CN109491695A (en) * 2018-10-19 2019-03-19 华南理工大学 A kind of increment updating method of integrated Android application
CN109783744A (en) * 2018-12-05 2019-05-21 北京奇艺世纪科技有限公司 The page starts method, apparatus, terminal and computer readable storage medium
CN110609793A (en) * 2019-09-10 2019-12-24 深圳证券交易所 Software transmitting and testing method, server and system
CN110943852A (en) * 2018-09-25 2020-03-31 厦门白山耘科技有限公司 Device and method for configuring DNS (Domain name Server), DNS and method for updating configuration of DNS
CN110995793A (en) * 2019-11-19 2020-04-10 北京奇艺世纪科技有限公司 Information flow control element updating system, method and device
CN111562924A (en) * 2019-12-04 2020-08-21 江苏艾佳家居用品有限公司 Distributed mobile application running system and application method based on Reactnative
CN111782542A (en) * 2020-07-13 2020-10-16 豆盟(北京)科技股份有限公司 Test method, device, equipment, system and computer storage medium
CN112328296A (en) * 2020-11-30 2021-02-05 北京百度网讯科技有限公司 Software updating method, device, equipment and medium for cross-platform application
CN112732584A (en) * 2021-01-15 2021-04-30 安徽七色米信息科技有限公司 Complex service logic completeness testing method for new and old system data migration process
CN112925722A (en) * 2021-03-30 2021-06-08 重庆阿克索信息科技有限公司 Development and test integrated service system based on GMP (good manufacturing practice) specification
CN113157436A (en) * 2021-03-02 2021-07-23 重庆度小满优扬科技有限公司 Resource request distribution method, device, server and storage medium
CN113760300A (en) * 2021-09-13 2021-12-07 武汉联影智融医疗科技有限公司 Software continuous integration method and device, computer equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848837A (en) * 2005-04-14 2006-10-18 华为技术有限公司 Method and apparatus for realizing independent staging business software in set-top box
CN102073520A (en) * 2010-12-30 2011-05-25 中国民航信息网络股份有限公司 Dynamic management system and method for C++ application program version
CN102200908A (en) * 2010-03-23 2011-09-28 上海果壳电子有限公司 Firmware system of electronic book reader
CN102547410A (en) * 2012-02-07 2012-07-04 北京数码视讯软件技术发展有限公司 Digital television (TV) terminal as well as upgrading method and device thereof
CN103024013A (en) * 2012-12-03 2013-04-03 百度在线网络技术(北京)有限公司 Differentiation transmission method, differentiation transmission system and differentiation transmission device
CN103890726A (en) * 2011-10-19 2014-06-25 良好科技公司 Application installation system
CN104375849A (en) * 2013-08-15 2015-02-25 腾讯科技(深圳)有限公司 Core loading method and device
CN104657164A (en) * 2013-11-21 2015-05-27 北大方正集团有限公司 Method and device for updating and processing software
US9152386B1 (en) * 2013-03-11 2015-10-06 Trizetto Corporation Method and system for rapid upgrade through transactional analysis
CN105630503A (en) * 2015-12-28 2016-06-01 北京大学 Selecting method for mobile device application and development based on operating records of user
CN105653303A (en) * 2014-11-10 2016-06-08 阿里巴巴集团控股有限公司 Application installation control method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848837A (en) * 2005-04-14 2006-10-18 华为技术有限公司 Method and apparatus for realizing independent staging business software in set-top box
CN102200908A (en) * 2010-03-23 2011-09-28 上海果壳电子有限公司 Firmware system of electronic book reader
CN102073520A (en) * 2010-12-30 2011-05-25 中国民航信息网络股份有限公司 Dynamic management system and method for C++ application program version
CN103890726A (en) * 2011-10-19 2014-06-25 良好科技公司 Application installation system
CN102547410A (en) * 2012-02-07 2012-07-04 北京数码视讯软件技术发展有限公司 Digital television (TV) terminal as well as upgrading method and device thereof
CN103024013A (en) * 2012-12-03 2013-04-03 百度在线网络技术(北京)有限公司 Differentiation transmission method, differentiation transmission system and differentiation transmission device
US9152386B1 (en) * 2013-03-11 2015-10-06 Trizetto Corporation Method and system for rapid upgrade through transactional analysis
CN104375849A (en) * 2013-08-15 2015-02-25 腾讯科技(深圳)有限公司 Core loading method and device
CN104657164A (en) * 2013-11-21 2015-05-27 北大方正集团有限公司 Method and device for updating and processing software
CN105653303A (en) * 2014-11-10 2016-06-08 阿里巴巴集团控股有限公司 Application installation control method and device
CN105630503A (en) * 2015-12-28 2016-06-01 北京大学 Selecting method for mobile device application and development based on operating records of user

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109496417A (en) * 2018-06-12 2019-03-19 优视科技新加坡有限公司 Data test method, apparatus, equipment/terminal/server and computer readable storage medium
WO2019237239A1 (en) * 2018-06-12 2019-12-19 优视科技新加坡有限公司 Data test method and apparatus, device/terminal/server and computer readable storage medium
CN108984206A (en) * 2018-08-09 2018-12-11 聚好看科技股份有限公司 A kind of method and apparatus that data are sent
CN110943852A (en) * 2018-09-25 2020-03-31 厦门白山耘科技有限公司 Device and method for configuring DNS (Domain name Server), DNS and method for updating configuration of DNS
CN109491695B (en) * 2018-10-19 2021-08-06 华南理工大学 Incremental updating method for integrated android application
CN109491695A (en) * 2018-10-19 2019-03-19 华南理工大学 A kind of increment updating method of integrated Android application
CN109783744A (en) * 2018-12-05 2019-05-21 北京奇艺世纪科技有限公司 The page starts method, apparatus, terminal and computer readable storage medium
CN110609793A (en) * 2019-09-10 2019-12-24 深圳证券交易所 Software transmitting and testing method, server and system
CN110995793A (en) * 2019-11-19 2020-04-10 北京奇艺世纪科技有限公司 Information flow control element updating system, method and device
CN111562924A (en) * 2019-12-04 2020-08-21 江苏艾佳家居用品有限公司 Distributed mobile application running system and application method based on Reactnative
CN111782542A (en) * 2020-07-13 2020-10-16 豆盟(北京)科技股份有限公司 Test method, device, equipment, system and computer storage medium
CN112328296A (en) * 2020-11-30 2021-02-05 北京百度网讯科技有限公司 Software updating method, device, equipment and medium for cross-platform application
CN112328296B (en) * 2020-11-30 2024-04-02 北京百度网讯科技有限公司 Method, device, equipment and medium for updating software aiming at cross-platform application
CN112732584A (en) * 2021-01-15 2021-04-30 安徽七色米信息科技有限公司 Complex service logic completeness testing method for new and old system data migration process
CN112732584B (en) * 2021-01-15 2023-12-15 安徽七色米信息科技有限公司 Complex business logic completeness test method for new and old system data migration process
CN113157436A (en) * 2021-03-02 2021-07-23 重庆度小满优扬科技有限公司 Resource request distribution method, device, server and storage medium
CN112925722A (en) * 2021-03-30 2021-06-08 重庆阿克索信息科技有限公司 Development and test integrated service system based on GMP (good manufacturing practice) specification
CN113760300A (en) * 2021-09-13 2021-12-07 武汉联影智融医疗科技有限公司 Software continuous integration method and device, computer equipment and storage medium
CN113760300B (en) * 2021-09-13 2023-10-27 武汉联影智融医疗科技有限公司 Software continuous integration method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106919378A (en) Application based on increment updates and method of testing and system, server and client
CN110348830B (en) Block chain-based network system, authentication method, equipment and storage medium
CN104363264B (en) The SDK access systems by all kinds of means of mobile terminal software
US10091123B2 (en) System and user interface for coordinating distributed workflow between multiple computing systems
CN103795745A (en) Monitoring method and monitoring system of intelligent mobile terminal
CN109478263A (en) System and equipment for architecture assessment and strategy execution
CN103957248A (en) Public real-time data management cloud service platform based on Internet of Things
CN1244076A (en) Method and structure for managing a set of mobile station in wireless data network
CN111580820A (en) Applet generation method and device
CN105938577A (en) Building a multi-tenant portal application
CN104079636A (en) Mobile campus network based on cloud computing
CN109462508A (en) Node deployment method, device and storage medium
CN106844730A (en) The display methods and device of file content
CN106455056A (en) Positioning method and device
CN114780301B (en) Disaster recovery method and system supporting multi-cloud production environment
CN105786581A (en) Multistage server and method for network data operation
CN107948148A (en) It is a kind of to simulate for the method and device filled out
CN113592677A (en) Education certificate management system based on alliance chain and building method
CN104363306A (en) Private cloud management control method for enterprise
Issa Mattos et al. The HURRIER process for experimentation in business‐to‐business mission‐critical systems
CN107844712A (en) A kind of browser shares the method, apparatus and computer-readable medium of voucher
CN101325525B (en) Commercial network operating system
CN113296744A (en) Application development system and method
KR20200006845A (en) Method for managing block chain and apparatus therefor
CN106778206A (en) Method, system and mobile terminal for being managed collectively multiple applications

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200928

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

Applicant after: Innovative advanced technology Co.,Ltd.

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

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200928

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

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170704