CN109508209A - A kind of APP load flow optimization method based on statistical data - Google Patents

A kind of APP load flow optimization method based on statistical data Download PDF

Info

Publication number
CN109508209A
CN109508209A CN201811187804.1A CN201811187804A CN109508209A CN 109508209 A CN109508209 A CN 109508209A CN 201811187804 A CN201811187804 A CN 201811187804A CN 109508209 A CN109508209 A CN 109508209A
Authority
CN
China
Prior art keywords
mobile terminal
interface
optimization method
resource
flow optimization
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
CN201811187804.1A
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.)
Nanjing Machinery Island Intelligent Technology Co Ltd
Original Assignee
Nanjing Machinery Island Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Machinery Island Intelligent Technology Co Ltd filed Critical Nanjing Machinery Island Intelligent Technology Co Ltd
Priority to CN201811187804.1A priority Critical patent/CN109508209A/en
Publication of CN109508209A publication Critical patent/CN109508209A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Abstract

The present invention provides a kind of APP load flow optimization method based on statistical data, comprising the following steps: S1: mobile terminal carries out statistics to all user interfaces at application and development initial stage and buries a little, obtains burying point data and upload service end;S2: server-side collects bury point data after it is for statistical analysis, generate corresponding detailed data, and mobile terminal is returned to by interface;S3: mobile terminal occurs size according to probability to all routes by the detailed data that interface receives server-side passback and is ranked up, and the route that preferentially maximum probability occurs is initialized resource in advance;S4: opening individual threads, resource-related operations will be initialized in S3 and all be put into the thread and execute, and adjusted back after thread has executed by interface, again return to main thread, updates multimedia related interfaces, completion APP load process.The present invention fundamentally solves the problems, such as slow into multimedia time.

Description

A kind of APP load flow optimization method based on statistical data
Technical field
The invention belongs to application program loading technique fields, and in particular to a kind of APP load process based on statistical data Optimization method.
Background technique
Activity be in android system it is most basic be also most commonly seen four big components (Activity, service, One of content provides and radio receiver), specifically, in android system, Activity, which is one, to be responsible for interacting with user Component, provide a user human-computer interaction interface, be widely used in each application;In the programming language of object-oriented, one The human-computer interaction interface that a Activity is provided corresponds to an Activity example.
Application program enter it is multimedia when, need to initialize resource, view, Camera and configuration, wherein these Operation is mostly very time-consuming, so that it is time-consuming many into multimedia interface, seriously affect user experience.
There are two types of existing solutions, first is that increasing guidance animation to remind user loading, second is that exiting more Without closing when media, thus will not be especially slow when entrance for second.But the both the above mode side of having the following problems: Activity is set singleton by formula one, does not solve the problems, such as from basic reason, and consuming that many system resources do need not Work, two Activity of mode is resident, cause some memories to be unable to get release, once extremely, being again introduced into occurs in program It is still very slow.
Summary of the invention
The object of the present invention is to provide a kind of, and the APP based on statistical data loads flow optimization method, fundamentally solves The problem slow into multimedia time.
The present invention provides the following technical solutions:
A kind of APP load flow optimization method based on statistical data, comprising the following steps:
S1: mobile terminal carries out statistics to all user interfaces at application and development initial stage and buries a little, obtains burying point data simultaneously Upload service end;
S2: server-side collects bury point data after it is for statistical analysis, generate corresponding detailed data, and pass through interface and return It is transmitted to mobile terminal;
S3: mobile terminal by interface receive server-side passback detailed data to all routes according to probability occur size into Row sequence, the route that preferentially maximum probability occurs are initialized resource in advance;
S4: opening individual threads, resource-related operations will be initialized in S3 and all be put into the thread and execute, and wait until thread It is adjusted back after having executed by interface, again returns to main thread, update multimedia related interfaces, completed APP and load process.
Preferably, server-side calculates all possible opening routes by big data and is returned to by interface in the S2 Mobile terminal.
Preferably, mobile terminal is directed to maximum probability route and initializes resource in advance in the S3.
Preferably, the S4 further includes discharging resource when user terminates to exit the program, and terminates whole flow process.
Preferably, the S1-S4 is suitable for the task that multimedia is loaded or worked independently for that can be detached from the specific interface UI.
The beneficial effects of the present invention are: the present invention calculates all potential routes by server-side big data, money is preloaded Originating task calls this task status after Activity starting, keeps program more smooth, structure is more rigorous;The present invention passes through Profound understanding Activity Booting sequence, time-consuming operation are completed with thread, a whole set of man-machine interactive operation are realized, entire User hardly has any perception in treatment process, enhances the usability of APP, improves user experience;The present invention utilizes interface The mode of readjustment realizes the interaction of task and Activity, greatly promotes human-computer interaction, is conducive to the public praise for improving application.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is that the present invention executes flow diagram;
Fig. 2 is that AA loads flow diagram in the prior art.
Specific embodiment
It is illustrated in figure 2 original scheme, such as schemes simply to illustrate two paths: Activity1 to Activity2 to starting Multimedia;Activity1 to Activity3 does not do special processing to starting multimedia during startup, and initialization is completed Multimedia is directly opened afterwards, and such scheme do not solve the problems, such as from basic reason, and do need not for many system resources of consumption Work, Activity is resident, cause some memories to be unable to get release, once extremely, being again introduced into still occurs very much in program Slowly.
As shown in Figure 1 it is new departure of the present invention, it is not difficult to find out that, before starting multimedia operations, passes through service from figure End big data calculates all potential routes, and size then occurs according to probability to all routes in mobile terminal and is ranked up, excellent First prepare in advance to what maximum probability occurred, the work of initialization vast resources is fulfiled ahead of schedule.This method is not only suitable for Multimedia can be detached from the task that the specific interface UI works independently and be all suitable for for all time-consumings.
Specifically, a kind of APP based on statistical data loads flow optimization method, comprising the following steps:
S1: mobile terminal carries out statistics to all user interfaces at application and development initial stage and buries a little, obtains burying point data simultaneously Upload service end;
S2: server-side collects bury point data after it is for statistical analysis, generate corresponding detailed data, and pass through interface and return It is transmitted to mobile terminal;
S3: mobile terminal by interface receive server-side passback detailed data to all routes according to probability occur size into Row sequence, the route that preferentially maximum probability occurs are initialized resource in advance;
S4: opening individual threads, resource-related operations will be initialized in S3 and all be put into the thread and execute, and wait until thread It is adjusted back after having executed by interface, again returns to main thread, update multimedia related interfaces, completed APP and load process.
It is buried a little specifically, carrying out statistics to all user interfaces at application and development initial stage first, and upload service end; Server-side collects for statistical analysis after these data, generates corresponding detailed data, and return to mobile terminal by interface. In the case where having been switched on, mobile terminal by interface receive server-side passback data obtain user in next step can do it is assorted , what most probable does, and as a result the thing that maximum probability occurs can taken the lead in completing from the background by program, and user opens Afterwards, directly it is presented to foreground.Individual threads are opened, initialization resource-related operations are all put into the thread and are executed, It is adjusted back after the completion of thread executes by interface, again returns to main thread, updated multimedia related interfaces, realize a whole set of Man-machine interactive operation, user hardly has any perception in entire treatment process, in addition to interface jumps rapidly, greatly promotes Human-computer interaction is conducive to the public praise for improving application.Finally when user terminates to exit the program, resource is discharged, whole flow process Terminate.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, although referring to aforementioned reality Applying example, invention is explained in detail, for those skilled in the art, still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features.It is all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (5)

1. a kind of APP based on statistical data loads flow optimization method, which comprises the following steps:
S1: mobile terminal carries out statistics to all user interfaces at application and development initial stage and buries a little, obtains burying point data and upload Server-side;
S2: server-side collects bury point data after it is for statistical analysis, generate corresponding detailed data, and return to by interface Mobile terminal;
S3: mobile terminal occurs size according to probability to all routes by the detailed data that interface receives server-side passback and arranges Sequence, the route that preferentially maximum probability occurs are initialized resource in advance;
S4: opening individual threads, resource-related operations will be initialized in S3 and all be put into the thread and execute, until thread executes It is adjusted back after complete by interface, again returns to main thread, update multimedia related interfaces, completed APP and load process.
2. a kind of APP based on statistical data according to claim 1 loads flow optimization method, which is characterized in that institute Server-side in S2 is stated to calculate all possible opening routes by big data and return to mobile terminal by interface.
3. a kind of APP based on statistical data according to claim 1 loads flow optimization method, which is characterized in that institute It states in S3 mobile terminal and initializes resource in advance for maximum probability route.
4. a kind of APP based on statistical data according to claim 1 loads flow optimization method, which is characterized in that institute Stating S4 further includes discharging resource when user terminates to exit the program, and terminates whole flow process.
5. a kind of APP based on statistical data according to claim 1 loads flow optimization method, which is characterized in that institute State the task that S1-S4 is loaded suitable for multimedia or worked independently for that can be detached from the specific interface UI.
CN201811187804.1A 2018-10-11 2018-10-11 A kind of APP load flow optimization method based on statistical data Pending CN109508209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811187804.1A CN109508209A (en) 2018-10-11 2018-10-11 A kind of APP load flow optimization method based on statistical data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811187804.1A CN109508209A (en) 2018-10-11 2018-10-11 A kind of APP load flow optimization method based on statistical data

Publications (1)

Publication Number Publication Date
CN109508209A true CN109508209A (en) 2019-03-22

Family

ID=65746499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811187804.1A Pending CN109508209A (en) 2018-10-11 2018-10-11 A kind of APP load flow optimization method based on statistical data

Country Status (1)

Country Link
CN (1) CN109508209A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966136A (en) * 2015-06-25 2015-10-07 北京慧点科技有限公司 Dynamic process execution prediction method
CN105808091A (en) * 2014-12-31 2016-07-27 阿里巴巴集团控股有限公司 Apparatus and method for adjusting distribution range of interface operation icons and touch screen device
CN107196788A (en) * 2017-05-02 2017-09-22 阿里巴巴集团控股有限公司 A kind of processing method for burying point data, device, server and client
CN108536589A (en) * 2018-03-26 2018-09-14 广州小鹏汽车科技有限公司 A kind of application program buries point methods and system
CN108595228A (en) * 2018-05-10 2018-09-28 Oppo广东移动通信有限公司 Application program prediction model method for building up, device, storage medium and mobile terminal
CN108628645A (en) * 2018-04-28 2018-10-09 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808091A (en) * 2014-12-31 2016-07-27 阿里巴巴集团控股有限公司 Apparatus and method for adjusting distribution range of interface operation icons and touch screen device
CN104966136A (en) * 2015-06-25 2015-10-07 北京慧点科技有限公司 Dynamic process execution prediction method
CN107196788A (en) * 2017-05-02 2017-09-22 阿里巴巴集团控股有限公司 A kind of processing method for burying point data, device, server and client
CN108536589A (en) * 2018-03-26 2018-09-14 广州小鹏汽车科技有限公司 A kind of application program buries point methods and system
CN108628645A (en) * 2018-04-28 2018-10-09 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108595228A (en) * 2018-05-10 2018-09-28 Oppo广东移动通信有限公司 Application program prediction model method for building up, device, storage medium and mobile terminal

Similar Documents

Publication Publication Date Title
CN103744643B (en) The method and device of multi-node parallel framework under a kind of multithread programs
US8122292B2 (en) Debugging of business flows deployed in production servers
CN103605498B (en) The multithreading of mono-thread tasks performs method and system
US10552289B2 (en) Correlation analysis of performance metrices
CN106445617B (en) Android-based application cold start optimization method and system
CN111400000B (en) Network request processing method, device, equipment and storage medium
CN112988499A (en) Data processing method and device, electronic equipment and storage medium
CN110955499B (en) Processor core configuration method, device, terminal and storage medium
CN106293661A (en) The generation of pictorial statement, generation processing method and processing device
US9395960B2 (en) Method and system for data plane abstraction to enable a dynamic creation of network applications
CN109992509A (en) The automated execution method, apparatus of test case, electronic equipment
CN110928531A (en) Electromagnetic spectrum monitoring system software platform construction method
CN111752435B (en) Multimedia and multi-file multimedia real-time rendering method, system and device
US20220083456A1 (en) Debugging a cross-technology and cross-environment execution
CN112114832A (en) Vehicle upgrade control method, terminal device, vehicle, and computer storage medium
CN110968320A (en) Joint compiling method and compiling system for heterogeneous hardware architecture
CN108595331B (en) Asynchronous interface testing method, medium, device and computing equipment
CN105975168A (en) OSD menu fading-in and fading-out method and device
CN105847319A (en) Mobile terminal network request method and system
CN109508209A (en) A kind of APP load flow optimization method based on statistical data
CN106227595A (en) Process the most quick operating method and system
CN106126213B (en) A kind of Android exploitation modeling method based on IFML
CN102270135B (en) Television and method for realizing user interface (UI) framework thereof
CN111240658B (en) Console implementation method and terminal based on Unity engine
US10303523B2 (en) Method and apparatus to migrate stacks for thread execution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190322

RJ01 Rejection of invention patent application after publication