CN111198725A - Application starting processing method, computing equipment and computer storage medium - Google Patents

Application starting processing method, computing equipment and computer storage medium Download PDF

Info

Publication number
CN111198725A
CN111198725A CN201911396067.0A CN201911396067A CN111198725A CN 111198725 A CN111198725 A CN 111198725A CN 201911396067 A CN201911396067 A CN 201911396067A CN 111198725 A CN111198725 A CN 111198725A
Authority
CN
China
Prior art keywords
screen
application
file
opening
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911396067.0A
Other languages
Chinese (zh)
Other versions
CN111198725B (en
Inventor
张宝全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ireader Technology Co Ltd
Original Assignee
Ireader 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 Ireader Technology Co Ltd filed Critical Ireader Technology Co Ltd
Priority to CN201911396067.0A priority Critical patent/CN111198725B/en
Publication of CN111198725A publication Critical patent/CN111198725A/en
Application granted granted Critical
Publication of CN111198725B publication Critical patent/CN111198725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F9/44526Plug-ins; Add-ons

Abstract

The invention discloses a processing method for application starting, computing equipment and a computer storage medium. The method comprises the following steps: when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value, wherein the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen opening crash; if the identification value is a first preset value, skipping the loading of the screen opening file, and loading a first page of the application; reporting the version information of the screen-opening plug-in to a server, and changing the application starting logic to avoid the application from generating screen-opening crash again, thereby ensuring that a user can normally use the application; if the identification value is not the first preset value, the screen-opening file is loaded firstly, then the home page of the application is loaded, the application is started according to the original application starting logic, the content promotion of the screen-opening file is continuously realized, and the benefit of an application platform is further ensured.

Description

Application starting processing method, computing equipment and computer storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a processing method for application starting, a computing device and a computer storage medium.
Background
Along with the development of smart machine, people more and more obtain corresponding information through the application on the terminal equipment, some advertisers can open the release of screen advertisement on using usually, can open the show of screen advertisement when opening the application promptly, and this kind of mode of opening the screen advertisement can play fine advertising effect.
In the prior art scheme, in order to realize the popularization effect, usually when the application is started, the screen-opening file is loaded first, and the screen-opening file is displayed for the user, so that the purpose of content popularization is achieved, after the display time of the screen-opening file is over, the home page of the application is loaded, the home page of the application is displayed for the user, and the user can start to use the application after the application enters the home page, however, the following problem inevitably occurs in the method: when the screen-opening crash of the application is caused by the problem of the screen-opening plug-in, the situation that the application cannot enter the home page occurs, and the application is started again, the screen-opening crash still occurs, so that the application cannot be started normally.
Disclosure of Invention
In view of the above, the present invention has been made to provide an application startup processing method, a computing device and a computer storage medium that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a processing method for application startup, including:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading a first page of the application;
reporting the version information of the screen-opening plug-in to a server;
if the identification value is not the first preset value, the screen-opening file is loaded firstly, and then the first page of the application is loaded.
According to another aspect of the present invention, there is provided a computing device comprising: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following operations:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading a first page of the application; reporting the version information of the screen-opening plug-in to a server;
if the identification value is not the first preset value, the screen-opening file is loaded firstly, and then the first page of the application is loaded.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading a first page of the application; reporting the version information of the screen-opening plug-in to a server;
if the identification value is not the first preset value, the screen-opening file is loaded firstly, and then the first page of the application is loaded.
According to the scheme provided by the invention, when the application is started, under the condition that the identification value recorded by the local identification file is judged to be the first preset value, the application starting logic is changed, the loading of the screen-opening file is skipped, the home page of the application is directly loaded, and the screen-opening crash of the application is avoided, so that the user can be ensured to normally use the application; under the condition that the identification value recorded by the local identification file is not the first preset value, the application is started according to the original logic of application starting, for example, the screen-opening file is loaded firstly, then the first page of the application is loaded, the content promotion of the screen-opening file is continuously realized, and further the benefit of an application platform is ensured.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram illustrating a method for processing application startup according to one embodiment of the invention;
FIG. 2 is a flow diagram illustrating a method for processing application startup according to another embodiment of the invention;
FIG. 3 shows a schematic structural diagram of a computing device according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart illustrating a processing method for application startup according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step S101, when the application is started, detecting a local identification file, judging whether an identification value recorded by the local identification file is a first preset value, if so, executing step S102; if not, step S103 is executed.
In the present embodiment, when describing the processing method for application startup, one-time application startup is taken as an example for description, and each time an application is started, corresponding processing needs to be performed according to the processing method for application startup provided in the present embodiment.
Specifically, the starting operation of the user on the application installed on the terminal device, that is, the corresponding application is considered to be started, for example, the clicking operation of the user on an application icon in a desktop of the terminal device, or the voice starting operation of the user on the installed application through a voice function provided by the terminal device, may be considered to be the starting of the corresponding application.
When the application is started, the local identification file needs to be detected, wherein the local identification file is a file locally used for recording an identification value at the application client, and the local identification file is detected to judge whether the identification value recorded by the local identification file is a first preset value or not, so that whether the screen-opening file is loaded or not is determined according to a judgment result. The first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash.
Step S102, skipping the loading of the screen opening file, and loading a first page of the application; and reporting the version information of the screen-opening plug-in to a server.
If the identification value recorded by the local identification file is judged to be the first preset value, it can be determined that the screen-opening crash occurs before the application, and in a general case, the cause of the screen-opening crash of the application is that the screen-opening plug-in is in a problem, for example, the screen-opening plug-in is in a problem due to the screen-opening service logic of the platform corresponding to the application, or the SDK of the third party is in a problem, so that in this step, in order to avoid the influence on the normal use of the application by the user, the loading of the screen-opening file is skipped, the home page of the application is directly loaded, and from the perspective of the visual effect, the application does not show the screen-opening file to the user any more, but directly shows the home page of the application to the user after the application is started, wherein the screen-opening file can be a dynamic picture.
In addition, the fact that the identification value recorded by the local identification file is the first preset value also indicates that the screen-opening plug-in is not repaired, and the screen-opening plug-in version information is description information of the screen-opening plug-in of the application client, so that the application client can report the screen-opening plug-in version information to the server.
In an optional implementation manner of the present invention, the server determines, according to the reported version information of the screen-opening plug-in, whether to instruct the application client to repair the screen-opening plug-in, after the application client receives the instruction information of the server, the application client performs repair processing of the screen-opening plug-in according to the instruction information of the server, and after the repair is completed, the identification value of the local identification file is set to a second preset value, where the second preset value is a value in which the identification value recorded by the local identification file is set after the screen-opening plug-in is repaired.
Step S103, loading the screen opening file firstly, and then loading the first page of the application.
If the identification value recorded by the local identification file is judged not to be the first preset value, it can be determined that the screen-opening plug-in of the application client is repaired at the moment, the problem of application screen-opening crash is solved, or the application does not generate screen-opening crash, wherein when the application client does not generate screen-opening crash, the identification value recorded by the local identification file can be null, the screen-opening file is loaded firstly, for example, a LoadAD method is called to load the screen-opening file, in order to avoid that the screen-opening file is displayed for too long time and normal use of a user is influenced, the display time of the screen-opening file is set to be generally 5-8 seconds, and then the first page of the application is loaded.
According to the scheme provided by the invention, when the application is started, under the condition that the identification value recorded by the local identification file is judged to be the first preset value, the application starting logic is changed, the loading of the screen-opening file is skipped, the home page of the application is directly loaded, and the screen-opening crash of the application is avoided, so that the user can be ensured to normally use the application; under the condition that the identification value recorded by the local identification file is not the first preset value, the application is started according to the original logic of application starting, for example, the screen-opening file is loaded firstly, then the first page of the application is loaded, the content promotion of the screen-opening file is continuously realized, and further the benefit of an application platform is ensured.
Fig. 2 is a flowchart illustrating a processing method for application startup according to another embodiment of the present invention. In this embodiment, taking multiple times of application startup after application crash as an example, a processing method for application startup is described in detail, as shown in fig. 2, the method includes the following steps:
step S201, when the application is started at a certain time, if the application crashes, collecting a crash log, and detecting whether a page identifier of an open-screen page exists in the crash log; if yes, go to step S202; if not, the method ends.
When the application is started for a certain time, the application may crash due to various reasons, and if the application crashes, the crash collector in the application client may be used to collect the crash log, where the crash collector may be started along with the start of the application, so that when the application crashes, the crash collector may collect the crash log in time, and the crash log may record the page identifier corresponding to the crashed page. The application client side obtains the acquired crash logs, then determines whether the crash of the application is the screen-opening crash by detecting whether the page identifier of the screen-opening page exists in the crash logs, and if the page identifier of the screen-opening page exists in the crash logs, the application can be determined to have the screen-opening crash; if the page identifier of the screen-opening page does not exist in the crash log, whether the application is screen-opening crash or not can be determined, and the method is ended.
In addition, after the crash collector is used for collecting the crash logs, the crash logs are reported to the server, so that the server can know that the application client is crashed.
Step S202, setting the identification value of the local identification file to be a first preset value.
If it is detected that the page identifier of the open-screen page exists in the crash log according to step S201, it may be determined that the application has an open-screen crash, and at this time, the identifier value of the local identifier file may be set to a first preset value, where the local identifier file is a file locally used for recording the identifier value at the application client, and the first preset value is a value set for the identifier value recorded by the local identifier file after the application has an open-screen crash.
The setting of the identification value of the local identification file as the first preset value in this step is to facilitate the corresponding starting processing when the application is started next time after being crashed, so that the situation that the application is again crashed after being opened and the normal use of the application by a user is influenced is avoided.
Step S203, when the application is started next time after collapse, the local identification file is detected, the identification value recorded by the local identification file is judged to be a first preset value, loading of the screen opening file is skipped, and the first page of the application is loaded.
When the application is started next time after the application crashes, the local identification file needs to be detected first, and the detection aims to determine the identification value recorded by the local identification file, specifically, the local identification file is obtained, the identification value recorded by the local identification file is read, and the application can be determined to be crashed after the application is opened when the identification value recorded by the local identification file is judged to be a first preset value. In order to avoid influence on normal use of the application by the user, the step skips loading of the screen opening file, and directly loads the home page of the application, so that from the visual effect perspective, the application does not show the screen opening file to the user any more, but directly shows the home page of the application to the user after the application is started, wherein the screen opening file can be a dynamic picture, a video or other static pictures needing to be shown.
Step S204, reporting the version information of the screen-opening plug-in to a server, and downloading the updated screen-opening plug-in according to the repair indication information of the server; repairing by using the updated screen-opening plug-in, and sending feedback information of repairing completion to the server after repairing is completed; receiving updating indication information for updating the identification value of the local identification file, which is returned by the server in response to the repair completion feedback information, and setting the identification value of the local identification file to be a second preset value according to the updating indication information; if the repair is not completed, no processing is done.
The method comprises the steps that a screen-opening plug-in is not repaired when an identification value recorded by a local identification file is a first preset value, so that in order to avoid the situation that a subsequent application skips loading of a screen-opening file when started, an application client can report version information of the screen-opening plug-in to a server, the server can determine whether to instruct the application client to repair the screen-opening plug-in according to the reported version information of the screen-opening plug-in, specifically, the version information of the latest version of the screen-opening plug-in is stored in advance on the server side, and the server can judge whether to return the instruction information according to the prestored version information of the screen-opening plug-in and the version information of; and if the reported screen opening plug-in version information is smaller than the pre-stored screen opening plug-in version information, which indicates that the screen opening plug-in of the application client needs to be repaired, the server returns repair indication information to the client. Wherein, the screen opening plug-in version information comprises: the version number of the screen-opening plug-in, the model of the terminal equipment and the user identification information.
The application client downloads the updated screen-opening plug-in according to the repair indication information of the server, and performs repair processing by using the updated screen-opening plug-in, for example, the application client can repair the screen-opening plug-in a background of the application so as not to affect normal use of the application by a user, and after the repair is completed, sends repair completion feedback information to the server to notify the server that the screen-opening plug-in is repaired, and after receiving the repair completion feedback information, the server can return the update indication information to the application client, and the application client receives the update indication information of the identification value of the updated local identification file returned by the server in response to the repair completion feedback information, and sets the identification value of the local identification file to be a second preset value according to the update indication information, wherein the second preset value is a value set for the identification value recorded by the local identification file after the screen-.
If the reported screen opening plug-in version information is equal to the pre-stored screen opening plug-in version information, the screen opening plug-in of the application client is the latest screen opening plug-in, and the server side does not have the updated screen opening plug-in, at this moment, the server can not make any response, and the application client cannot receive the response of the server, or the server can return a notification message that the screen opening plug-in is not updated, at this moment, the screen opening plug-in cannot be repaired, and the application client cannot make any processing.
Step S205, when the application is restarted, detecting the local identification file, judging whether the identification value recorded by the local identification file is a first preset value, if not, executing step S206; if yes, go to step S207.
When the application is started again, the local identification file needs to be detected firstly, the detection aims at determining an identification value recorded by the local identification file, specifically, the local identification file is obtained, the identification value recorded by the local identification file is read, whether the identification value recorded by the local identification file is a first preset value or not is judged, if the identification value recorded by the local identification file is the first preset value, the screen-opening plug-in is not successfully repaired, and the loading of the screen-opening file is continuously skipped over, so that the phenomenon that the application is subjected to screen-opening breakdown again due to the loading of the screen-opening file is avoided; if the identification value recorded by the local identification file is the second preset value, which indicates that the screen-opening plug-in is successfully repaired, the screen-opening file can be normally loaded, and step S206 is specifically executed.
In step S206, the screen-open file is loaded first, and then the first page of the application is loaded.
If the identification value recorded by the local identification file is judged to be the second preset value, it can be determined that the screen-opening plug-in of the application client is repaired at the moment, the screen-opening file is loaded firstly, for example, a LoadAD method is called to load the screen-opening file, in order to avoid that the display time of the screen-opening file is too long and the normal use of a user is influenced, the display time of the screen-opening file is set to be generally 5-8 seconds, and then the first page of the application is loaded.
And step S207, skipping the loading of the screen opening file and loading the first page of the application.
If the identification value recorded by the local identification file is the first preset value, the screen-opening plug-in is not successfully repaired, the loading of the screen-opening file is continuously skipped, and the first page of the application is loaded, so that the phenomenon that the application is subjected to screen-opening crash again due to the loading of the screen-opening file is avoided.
According to the scheme provided by the invention, when the application is started at a certain time, if the application crashes, under the condition that the application is determined to be screen-opening crashed, the identification value of the local identification file is set as the first preset value, so that when the application is started next time after being crashed, the screen-opening crash of the application is determined according to the first preset value, the application starting logic is changed in time, the loading of the screen-opening file is skipped, the first page of the application is directly loaded, the screen-opening crash of the application is avoided, and the user can be ensured to normally use the application; and after the restoration is finished, setting the identification value of the local identification file as a second preset value, so that when the application is restarted, the original application starting logic can be restored in time, the screen-opening file is loaded firstly, then the first page of the application is loaded, the content popularization of the screen-opening file is continuously realized, and further the benefit of the application platform is ensured.
The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the processing method for application starting in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading a first page of the application; reporting the version information of the screen-opening plug-in to a server;
if the identification value is not the first preset value, the screen-opening file is loaded firstly, and then the first page of the application is loaded.
In an alternative embodiment, the executable instructions further cause the processor to:
and repairing the screen-opening plug-in according to the indication information of the server, and setting the identification value of the local identification file as a second preset value after the repair is finished.
In an alternative embodiment, the executable instructions further cause the processor to:
downloading the updated screen opening plug-in according to the repair indication information of the server;
and carrying out repair processing by utilizing the updated screen-opening plug-in.
In an alternative embodiment, the executable instructions further cause the processor to:
after the repair is finished, sending repair finishing feedback information to the server;
and receiving updating indication information for updating the identification value of the local identification file, which is returned by the server in response to the repair completion feedback information, and setting the identification value of the local identification file to be a second preset value according to the updating indication information.
In an alternative embodiment, the executable instructions further cause the processor to:
when the application crashes, acquiring a crash log, and detecting whether a page identifier of an open-screen page exists in the crash log;
and if the page identifier of the open-screen page exists, setting the identifier value of the local identifier file as a first preset value.
In an alternative embodiment, the executable instructions further cause the processor to:
and collecting the crash logs by using the crash collector and reporting the crash logs to the server.
In an alternative embodiment, the executable instructions further cause the processor to:
judging whether to return indication information or not according to prestored screen opening plug-in version information and reported screen opening plug-in version information;
and if the reported version information of the screen opening plug-in is less than the prestored version information of the screen opening plug-in, returning the repair indication information.
In an alternative embodiment, the screen-on plug-in version information includes: the version number of the screen-opening plug-in, the model of the terminal equipment and the user identification information.
Fig. 3 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 3, the computing device may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308.
A communication interface 304 for communicating with network elements of other devices, such as clients or other servers.
The processor 302 is configured to execute the program 310, and may specifically execute relevant steps in the above-described processing method for starting the application.
In particular, program 310 may include program code comprising computer operating instructions.
The processor 302 may be a central processing unit CPU, or an application specific Integrated circuit (asic), or one or more Integrated circuits configured to implement an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 310 may specifically be configured to cause the processor 302 to perform the following operations:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading a first page of the application; reporting the version information of the screen-opening plug-in to a server;
if the identification value is not the first preset value, the screen-opening file is loaded firstly, and then the first page of the application is loaded.
In an alternative embodiment, program 310 also causes processor 302 to:
and repairing the screen-opening plug-in according to the indication information of the server, and setting the identification value of the local identification file as a second preset value after the repair is finished.
In an alternative embodiment, program 310 further causes processor 302 to:
downloading the updated screen opening plug-in according to the repair indication information of the server;
and carrying out repair processing by utilizing the updated screen-opening plug-in.
In an alternative embodiment, program 310 further causes processor 302 to:
after the repair is finished, sending repair finishing feedback information to the server;
and receiving updating indication information for updating the identification value of the local identification file, which is returned by the server in response to the repair completion feedback information, and setting the identification value of the local identification file to be a second preset value according to the updating indication information.
In an alternative embodiment, program 310 also causes processor 302 to:
when the application crashes, acquiring a crash log, and detecting whether a page identifier of an open-screen page exists in the crash log;
and if the page identifier of the open-screen page exists, setting the identifier value of the local identifier file as a first preset value.
In an alternative embodiment, program 310 also causes processor 302 to:
and collecting the crash logs by using the crash collector and reporting the crash logs to the server.
In an alternative embodiment, program 310 also causes processor 302 to:
judging whether to return indication information or not according to prestored screen opening plug-in version information and reported screen opening plug-in version information;
and if the reported version information of the screen opening plug-in is less than the prestored version information of the screen opening plug-in, returning the repair indication information.
In an alternative embodiment, the screen-on plug-in version information includes: the version number of the screen-opening plug-in, the model of the terminal equipment and the user identification information.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
The invention discloses: A1. a processing method for application startup comprises the following steps:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading the first page of the application; reporting the version information of the screen-opening plug-in to a server;
and if the identification value is not the first preset value, loading the screen opening file firstly, and then loading the first page of the application.
A2. The method according to a1, wherein after reporting the screen-open plug-in version information to the server, the method further comprises: and repairing the screen-opening plug-in according to the indication information of the server, and setting the identification value of the local identification file as a second preset value after the repair is finished.
A3. The method according to a2, wherein the repairing process of the screen-open plug-in according to the indication information of the server further comprises:
downloading the updated screen opening plug-in according to the repair indication information of the server;
and carrying out repair processing by utilizing the updated screen-opening plug-in.
A4. The method according to a2 or A3, wherein the setting the identification value of the local identification file to the second preset value after the repair is completed further comprises:
after the repair is finished, sending repair finishing feedback information to the server;
and receiving updating indication information for updating the identification value of the local identification file, which is returned by the server in response to the repair completion feedback information, and setting the identification value of the local identification file to be a second preset value according to the updating indication information.
A5. The method of any one of a1-a4, wherein the method further comprises: when the application crashes, acquiring a crash log, and detecting whether a page identifier of an open-screen page exists in the crash log;
and if the page identifier of the open-screen page exists, setting the identifier value of the local identifier file as a first preset value.
A6. The method of a5, wherein the method further comprises: and collecting the crash logs by using the crash collector and reporting the crash logs to the server.
A7. The method of any one of a1-a6, wherein the method further comprises: the server judges whether to return indication information or not according to prestored screen opening plug-in version information and reported screen opening plug-in version information;
and if the reported version information of the screen opening plug-in is less than the prestored version information of the screen opening plug-in, returning the repair indication information.
A8. The method of any of A1-A7, wherein the screen-on plug-in version information includes: the version number of the screen-opening plug-in, the model of the terminal equipment and the user identification information.
B9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading the first page of the application; reporting the version information of the screen-opening plug-in to a server;
and if the identification value is not the first preset value, loading the screen opening file firstly, and then loading the first page of the application.
B10. The computing device of B9, wherein the executable instructions further cause the processor to:
and repairing the screen-opening plug-in according to the indication information of the server, and setting the identification value of the local identification file as a second preset value after the repair is finished.
B11. The computing device of B10, wherein the executable instructions further cause the processor to:
downloading the updated screen opening plug-in according to the repair indication information of the server;
and carrying out repair processing by utilizing the updated screen-opening plug-in.
B12. The computing device of B10 or B11, wherein the executable instructions further cause the processor to:
after the repair is finished, sending repair finishing feedback information to the server;
and receiving updating indication information for updating the identification value of the local identification file, which is returned by the server in response to the repair completion feedback information, and setting the identification value of the local identification file to be a second preset value according to the updating indication information.
B13. The computing device of any one of B9-B12, wherein the executable instructions further cause the processor to:
when the application crashes, acquiring a crash log, and detecting whether a page identifier of an open-screen page exists in the crash log;
and if the page identifier of the open-screen page exists, setting the identifier value of the local identifier file as a first preset value.
B14. The computing device of B13, wherein the executable instructions further cause the processor to:
and collecting the crash logs by using the crash collector and reporting the crash logs to the server.
B15. The computing device of any one of B9-B14, wherein the executable instructions further cause the processor to:
judging whether to return indication information or not according to prestored screen opening plug-in version information and reported screen opening plug-in version information;
and if the reported version information of the screen opening plug-in is less than the prestored version information of the screen opening plug-in, returning the repair indication information.
B16. The computing device of any of B9-B15, wherein the open plug-in version information includes: the version number of the screen-opening plug-in, the model of the terminal equipment and the user identification information.
C17. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading the first page of the application; reporting the version information of the screen-opening plug-in to a server;
and if the identification value is not the first preset value, loading the screen opening file firstly, and then loading the first page of the application.
C18. The computer storage medium of C17, wherein the executable instructions further cause the processor to:
and repairing the screen-opening plug-in according to the indication information of the server, and setting the identification value of the local identification file as a second preset value after the repair is finished.
C19. The computer storage medium of C18, wherein the executable instructions further cause the processor to:
downloading the updated screen opening plug-in according to the repair indication information of the server;
and carrying out repair processing by utilizing the updated screen-opening plug-in.
C20. The computer storage medium of C18 or C19, wherein the executable instructions further cause the processor to:
after the repair is finished, sending repair finishing feedback information to the server;
and receiving updating indication information for updating the identification value of the local identification file, which is returned by the server in response to the repair completion feedback information, and setting the identification value of the local identification file to be a second preset value according to the updating indication information.
C21. The computer storage medium of any one of C17-C20, wherein the executable instructions further cause the processor to:
when the application crashes, acquiring a crash log, and detecting whether a page identifier of an open-screen page exists in the crash log;
and if the page identifier of the open-screen page exists, setting the identifier value of the local identifier file as a first preset value.
C22. The computer storage medium of C21, wherein the executable instructions further cause the processor to:
and collecting the crash logs by using the crash collector and reporting the crash logs to the server.
C23. The computer storage medium of any one of C17-C22, wherein the executable instructions further cause the processor to:
judging whether to return indication information or not according to prestored screen opening plug-in version information and reported screen opening plug-in version information;
and if the reported version information of the screen opening plug-in is less than the prestored version information of the screen opening plug-in, returning the repair indication information.
C24. The computer storage medium of any one of C17-C23, wherein the screen-on plug-in version information comprises: the version number of the screen-opening plug-in, the model of the terminal equipment and the user identification information.

Claims (10)

1. A processing method for application startup comprises the following steps:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading the first page of the application; reporting the version information of the screen-opening plug-in to a server;
and if the identification value is not the first preset value, loading the screen opening file firstly, and then loading the first page of the application.
2. The method of claim 1, wherein after reporting the open screen plug-in version information to a server, the method further comprises: and repairing the screen-opening plug-in according to the indication information of the server, and setting the identification value of the local identification file as a second preset value after the repair is finished.
3. The method of claim 2, wherein the repairing the open screen plug-in according to the indication information of the server further comprises:
downloading the updated screen opening plug-in according to the repair indication information of the server;
and carrying out repair processing by utilizing the updated screen-opening plug-in.
4. The method according to claim 2 or 3, wherein the setting the identification value of the local identification file to the second preset value after the repair is completed further comprises:
after the repair is finished, sending repair finishing feedback information to the server;
and receiving updating indication information for updating the identification value of the local identification file, which is returned by the server in response to the repair completion feedback information, and setting the identification value of the local identification file to be a second preset value according to the updating indication information.
5. The method according to any one of claims 1-4, wherein the method further comprises: when the application crashes, acquiring a crash log, and detecting whether a page identifier of an open-screen page exists in the crash log;
and if the page identifier of the open-screen page exists, setting the identifier value of the local identifier file as a first preset value.
6. The method of claim 5, wherein the method further comprises: and collecting the crash logs by using the crash collector and reporting the crash logs to the server.
7. The method according to any one of claims 1-6, wherein the method further comprises: the server judges whether to return indication information or not according to prestored screen opening plug-in version information and reported screen opening plug-in version information;
and if the reported version information of the screen opening plug-in is less than the prestored version information of the screen opening plug-in, returning the repair indication information.
8. The method of any of claims 1-7, wherein the screen-on plug-in version information comprises: the version number of the screen-opening plug-in, the model of the terminal equipment and the user identification information.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading the first page of the application; reporting the version information of the screen-opening plug-in to a server;
and if the identification value is not the first preset value, loading the screen opening file firstly, and then loading the first page of the application.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
when the application is started, detecting a local identification file, and judging whether an identification value recorded by the local identification file is a first preset value or not; the first preset value is a value set for the identification value recorded by the local identification file after the application is subjected to screen-opening crash;
if the identification value is a first preset value, skipping the loading of the screen opening file, and loading the first page of the application; reporting the version information of the screen-opening plug-in to a server;
and if the identification value is not the first preset value, loading the screen opening file firstly, and then loading the first page of the application.
CN201911396067.0A 2019-12-30 2019-12-30 Application starting processing method, computing equipment and computer storage medium Active CN111198725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911396067.0A CN111198725B (en) 2019-12-30 2019-12-30 Application starting processing method, computing equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911396067.0A CN111198725B (en) 2019-12-30 2019-12-30 Application starting processing method, computing equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN111198725A true CN111198725A (en) 2020-05-26
CN111198725B CN111198725B (en) 2023-02-28

Family

ID=70746703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911396067.0A Active CN111198725B (en) 2019-12-30 2019-12-30 Application starting processing method, computing equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN111198725B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698890A (en) * 2020-12-31 2021-04-23 百果园技术(新加坡)有限公司 Method, device and equipment for collecting function time consumption and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932885A (en) * 2015-06-11 2015-09-23 联想(北京)有限公司 Information processing method and electronic equipment
CN107239381A (en) * 2017-06-07 2017-10-10 北京奇虎科技有限公司 The processing method of crash info, apparatus and system
CN107766101A (en) * 2017-09-30 2018-03-06 五八有限公司 App starts processing method, device and the equipment of event
CN108156048A (en) * 2016-12-06 2018-06-12 北京奇虎科技有限公司 It is a kind of to realize the method and apparatus that application crashes information is obtained in complex scene
CN108762837A (en) * 2018-05-21 2018-11-06 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108958830A (en) * 2018-06-06 2018-12-07 Oppo广东移动通信有限公司 Application program launching method, device, storage medium and terminal
CN109542689A (en) * 2018-11-30 2019-03-29 努比亚技术有限公司 Applied program processing method, terminal and computer readable storage medium
CN109669798A (en) * 2018-12-25 2019-04-23 北京金山安全软件有限公司 Crash analysis method, crash analysis device, electronic equipment and storage medium
CN109901950A (en) * 2019-03-01 2019-06-18 山东浪潮商用系统有限公司 A kind of method and device for evading application crash
CN110020325A (en) * 2018-08-17 2019-07-16 深圳壹账通智能科技有限公司 Page loading method, device, equipment and readable storage medium storing program for executing
CN110308951A (en) * 2019-06-28 2019-10-08 Oppo广东移动通信有限公司 A kind of processing method and processing device of startup interface Caton, equipment, storage medium
CN110413341A (en) * 2019-07-02 2019-11-05 上海上湖信息技术有限公司 A kind of starting method, apparatus, terminal and the medium of application program
CN110413347A (en) * 2019-07-31 2019-11-05 Oppo广东移动通信有限公司 The processing method of advertisement, device, storage medium and terminal in application program
CN110430324A (en) * 2019-08-07 2019-11-08 华为技术有限公司 A kind of application is spread its tail the display methods and electronic equipment of information

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932885A (en) * 2015-06-11 2015-09-23 联想(北京)有限公司 Information processing method and electronic equipment
CN108156048A (en) * 2016-12-06 2018-06-12 北京奇虎科技有限公司 It is a kind of to realize the method and apparatus that application crashes information is obtained in complex scene
CN107239381A (en) * 2017-06-07 2017-10-10 北京奇虎科技有限公司 The processing method of crash info, apparatus and system
CN107766101A (en) * 2017-09-30 2018-03-06 五八有限公司 App starts processing method, device and the equipment of event
CN108762837A (en) * 2018-05-21 2018-11-06 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108958830A (en) * 2018-06-06 2018-12-07 Oppo广东移动通信有限公司 Application program launching method, device, storage medium and terminal
WO2019233241A1 (en) * 2018-06-06 2019-12-12 Oppo广东移动通信有限公司 Method and apparatus for starting application program, and storage medium and terminal
CN110020325A (en) * 2018-08-17 2019-07-16 深圳壹账通智能科技有限公司 Page loading method, device, equipment and readable storage medium storing program for executing
CN109542689A (en) * 2018-11-30 2019-03-29 努比亚技术有限公司 Applied program processing method, terminal and computer readable storage medium
CN109669798A (en) * 2018-12-25 2019-04-23 北京金山安全软件有限公司 Crash analysis method, crash analysis device, electronic equipment and storage medium
CN109901950A (en) * 2019-03-01 2019-06-18 山东浪潮商用系统有限公司 A kind of method and device for evading application crash
CN110308951A (en) * 2019-06-28 2019-10-08 Oppo广东移动通信有限公司 A kind of processing method and processing device of startup interface Caton, equipment, storage medium
CN110413341A (en) * 2019-07-02 2019-11-05 上海上湖信息技术有限公司 A kind of starting method, apparatus, terminal and the medium of application program
CN110413347A (en) * 2019-07-31 2019-11-05 Oppo广东移动通信有限公司 The processing method of advertisement, device, storage medium and terminal in application program
CN110430324A (en) * 2019-08-07 2019-11-08 华为技术有限公司 A kind of application is spread its tail the display methods and electronic equipment of information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698890A (en) * 2020-12-31 2021-04-23 百果园技术(新加坡)有限公司 Method, device and equipment for collecting function time consumption and storage medium

Also Published As

Publication number Publication date
CN111198725B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN109614766B (en) Method and device for carrying out block chaining and evidence saving on webpage through file acquisition
CN110022260B (en) Cross-environment receipt message processing method and system
WO2017186066A1 (en) Software management method and apparatus
CN112988281B (en) Application starting method and device
CN112783568B (en) Initialization method, device, equipment and storage medium of application program
CN110825399A (en) Deployment method and device of application program
WO2015131643A1 (en) Software detection method and device
CN111198725B (en) Application starting processing method, computing equipment and computer storage medium
CN113656107A (en) Mobile application loading method and device and electronic equipment
CN106874020B (en) Method and device for starting plug-in
CN107967192B (en) System crash processing method and device for intelligent terminal
US9348728B2 (en) Trace capture of successfully completed transactions for trace debugging of failed transactions
CN114138961A (en) Playing processing method of audio electronic book, computing equipment and computer storage medium
CN111338829B (en) Calling method and device for remote procedure call service
CN109992511B (en) Device and method for obtaining code test coverage rate
CN113760308A (en) DSP system construction method and device, electronic equipment and storage medium
CN111767203A (en) Application test-based bullet frame processing method and system
CN108170568B (en) Delivery test method and device of intelligent equipment and flashing package generation method and device
CN110889073A (en) Page request response method, server and computer storage medium
CN113869989B (en) Information processing method and device
CN112650684B (en) Verification method, device and equipment for webpage evidence obtaining and storage medium
CN112667491B (en) Function test method and device for virtual machine
CN110022296B (en) Real-time data processing method and device, storage medium and computer equipment
CN115469934A (en) Configuration file loading method, device and equipment
CN111611507A (en) Modularization-based in-application page jump method and computing device

Legal Events

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