Unlock instant, AI-driven research and patent intelligence for your innovation.

Application program execution method and device

A technology of application programs and execution methods, applied in the field of communication, can solve problems such as failure to use normally, abnormalities, program crashes, etc., to achieve the effect of avoiding application program crashes, improving stability, and ensuring normal operation

Inactive Publication Date: 2019-06-25
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and device for executing an application program, aiming at solving the problems in the prior art that when an application program encounters a file containing abnormal resources during execution, an exception will occur, which will cause the program to crash and cannot Technical issues with normal use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application program execution method and device
  • Application program execution method and device
  • Application program execution method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0032] see figure 1 , figure 1 It is a schematic flowchart of the method for executing an application program provided in the first embodiment of the present invention. The methods include:

[0033] Step S101, acquiring an operation instruction set corresponding to an execution object. Wherein, the operation instruction set includes several operation instructions arranged in execution order.

[0034] It can be understood that when an application program is executed, several operation instructions need to be executed in the process of processing the execution object by the application program. The execution object may include multiple files.

[0035] For example, the application program needs to execute the following operation instructions when processing all files in the execution object, such as file opening, reading, writing, parsing, closing and other operation instructions. It can be understood that the operation instruction set corresponding to the file includes seve...

no. 2 example

[0049] Please also refer to figure 2 , figure 2 It is a schematic flowchart of the method for executing an application program provided by the second embodiment of the present invention. The methods include:

[0050] Step S201, performing a hash operation on the execution object to generate an identifier.

[0051] It can be understood that the hash operation is performed by a hash algorithm. The hash algorithm generates a fixed-length character string by performing operations on a character string of any length, and the generated character string represents all characters in the original character string, and is unique. The hash algorithm is a one-way cryptographic system, which is an irreversible mapping from plaintext to ciphertext. There is only an encryption process and no decryption process. Commonly used hash algorithms include MD4 (Message-Digest Algorithm 4, Message Digest Algorithm 4th Edition), MD5 (Message-Digest Algorithm 5, Message Digest Algorithm 5th Editi...

no. 3 example

[0080] see image 3 , image 3 It is a schematic structural diagram of a device for executing an application program provided by the third embodiment of the present invention. The device includes a first acquisition module 32 , a search module 33 , a judgment module 34 , an execution module 35 , and a second acquisition module 36 .

[0081] Wherein, the first acquiring module 32 is configured to acquire an operation instruction set corresponding to an execution object. Wherein, the operation instruction set includes several operation instructions arranged in execution order.

[0082] For example, the first obtaining module 32 obtains the operation instruction set U corresponding to the execution object, U={F 1 , F 2 , F 3 ...,F n}.

[0083] The search module 33 is configured to search in the exception record table whether there is an exception record for the first operation instruction.

[0084] For example, when executing file N 1 , the search module 33 searches the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an application program executing method and an application program executing device. The application program executing method comprises the steps of: acquiring an operating command set corresponding to an execution object; finding an exception record table to judge whether exception record exists in the operating command arranged foremost; if the exception record exists, executing the operating command arranged foremost when the exception record meets the preset executing condition; and if the exception record does not meet the preset executing condition, acquiring the next operating command arranged adjacently. When the exception record of the current operating command does not meet the preset executing condition, the device jumps over the current operating command and enters the next operating command arranged adjacently and avoids application program fault caused by exception exists in the process of executing the operating command so as to guarantee normal operation of the application program, improve the operating stability of the program and improve user experience.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to an application program execution method and device. Background technique [0002] In daily life, some abnormal files are usually processed by the application program in the process of processing the execution object. When the application processes these abnormal files, exceptions are prone to occur, which will cause the application to crash and cannot be used normally. [0003] For example, when multiple photos are opened in an album, one of the photos belongs to an abnormal resource, and an exception will occur when the album parses the data of the abnormal photo; as a result, every time the album is opened, as long as the abnormal photo is processed, the album will appear Exception, which in turn causes the album to crash and cannot be used normally. [0004] To sum up, the existing technology has the following technical problems: when an application program en...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/30
CPCG06F9/30
Inventor 马玉刚
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD