CN110188016A - Detection method, terminal and storage medium of the application program without response obstruction - Google Patents

Detection method, terminal and storage medium of the application program without response obstruction Download PDF

Info

Publication number
CN110188016A
CN110188016A CN201910441271.3A CN201910441271A CN110188016A CN 110188016 A CN110188016 A CN 110188016A CN 201910441271 A CN201910441271 A CN 201910441271A CN 110188016 A CN110188016 A CN 110188016A
Authority
CN
China
Prior art keywords
main thread
task
application program
triggered
thread
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
CN201910441271.3A
Other languages
Chinese (zh)
Other versions
CN110188016B (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.)
Shandong Duoke Technology Co ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910441271.3A priority Critical patent/CN110188016B/en
Publication of CN110188016A publication Critical patent/CN110188016A/en
Application granted granted Critical
Publication of CN110188016B publication Critical patent/CN110188016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The embodiment of the present application discloses a kind of detection method, terminal and computer readable storage medium of the application program without response obstruction, detection method of the application program without response obstruction includes: to start monitoring thread in application program launching, and trigger a monitor task every the first preset time by monitoring thread;In the case where monitor task is triggered, whether the judging that main thread executes when the currently performed task of the main thread of application program is triggered with a preceding monitor task of the task is identical;In the identical situation of task, judge whether the stack information of the main thread before and after the second preset time is identical;In the identical situation of stack information of the main thread before and after the second preset time, determine that main thread blocks.The embodiment of the present application determines that main thread blocks when task is identical, stack information is identical by starting monitoring thread in application program launching;Using simple, it can be pin-pointed to main thread closed position, do not expend CPU and memory source.

Description

Detection method, terminal and storage medium of the application program without response obstruction
Technical field
A kind of detection side the invention relates to field of terminal technology more particularly to application program without response obstruction Method, terminal and computer readable storage medium.
Background technique
For running on the application program in Android system, if the application program respond whithin a period of time it is not sensitive enough, Then system can show a dialog box to user, and user can choose " waiting " to allow application program to continue to run, can also select " positive closing " is selected, this dialog box is referred to as ANR (Application Not Responding, application program is without response) dialogue Frame.
After ANR occurs in the application program in a certain terminal, developer usually requires the original that positioning ANR occurs Cause, and then to carry out repair process to the application program.Usually, the reason of being occurred by following two information analysis ANR: One is system service and interapplication communications, business and system is responded when reaching untreated finish in application program end after a certain period of time Server-side, server-side quote application program end ANR;Another kind be main thread after having executed a task if it find that this The overlong time that business executes, then print the information of this task.
Problem of the existing technology is if system detection discovery client has blocked time-out, then to print stack information, The function of client main thread obstruction has been executed with method at this time completes, and the stack information printed is without reference to meaning Justice;If the discovery execution time is too long after the Looper of client has executed a task, this mission bit stream is then printed, but Be task execution class hold it is very more, be difficult to be the discovery that going to some specific method causes to block.
Summary of the invention
In view of this, the embodiment of the present application be designed to provide a kind of detection method without response obstruction of application program, Terminal and computer readable storage medium, in the investigation method that solves ANR in the prior art, that there are operation complexities is higher, difficult The problem of to analyze ANR occurrence cause.
It is as follows that the embodiment of the present application solves technical solution used by above-mentioned technical problem:
According to the one aspect of the embodiment of the present application, detection method of a kind of application program without response obstruction provided should Method is used for terminal, and detection method of the application program without response obstruction includes:
Start monitoring thread in application program launching, and triggers one every the first preset time by the monitoring thread Secondary monitor task;
In the case where the monitor task is triggered, judge the currently performed task of the main thread of the application program with Whether the preceding monitor task task that the main thread executes when being triggered is identical;
What when the currently performed task of the main thread and a preceding monitor task are triggered, the main thread was executed appoints It is engaged in identical situation, judges whether the stack information of the main thread before and after the second preset time is identical;
In the identical situation of stack information of the main thread before and after second preset time, the main line is determined Cheng Fasheng obstruction.
It is described in the case where the monitor task is triggered in a kind of possible embodiment, judge the application The main thread of the program currently performed task task that the main thread executes when being triggered with a preceding monitor task whether phase It is same to include:
In the case where the monitor task is triggered, it is currently performed that the main thread is obtained by the monitoring thread The hash code value of the hash code value of task, a preceding monitor task task that the main thread executes when being triggered;
The master when hash code value of the currently performed task of the main thread and a preceding monitor task are triggered The hash code value for the task that thread executes is compared;
The master when the hash code value of the currently performed task of the main thread and a preceding monitor task are triggered In the identical situation of hash code value for the task that thread executes, the currently performed task of the main thread of the application program is determined The task that the main thread executes when being triggered with a preceding monitor task is identical.
It is described in the currently performed task of the main thread and a preceding monitor task in a kind of possible embodiment In the identical situation of task that the main thread executes when being triggered, the heap of the main thread before and after the second preset time is judged Whether stack information is identical to include:
What when the currently performed task of the main thread and a preceding monitor task are triggered, the main thread was executed appoints It is engaged in identical situation, saves the stack information of the main thread;
After second preset time, the stack information of the main thread is reacquired;
The stack information of the stack information of the main thread of preservation and the main thread of reacquisition is compared, Determine whether the stack information of the second preset time front and back main thread is identical according to comparing result.
In a kind of possible embodiment, the storehouse of the main thread before and after second preset time is believed Manner of breathing determines that the main thread blocks, later in the case where further include:
In the case where determining that the main thread blocks, print log information;The log information includes the master The system time of the stack information of thread and the currently performed task of the main thread.
In a kind of possible embodiment, the print log information, before further include:
In the case where determining that the main thread blocks, when sending of the currently performed task of the main thread is obtained Between;
The time of dispatch of the currently performed task of the main thread is converted as the currently performed task of the main thread System time.
In a kind of possible embodiment, the storehouse of the main thread before and after second preset time is believed Manner of breathing determines that the main thread blocks, later in the case where further include:
Judge whether the duration that the main thread blocks is more than preset duration threshold value;
In the case where the duration that the main thread blocks is more than preset duration threshold value, the recovery number of backup is obtained According to;
The application program is restarted according to the recovery data of the backup.
It is described to apply journey according to the restarting of the recovery data of the backup is described in a kind of possible embodiment Sequence, later further include:
In the case where restarting application program failure according to the recovery data of the backup, the application is deleted The data of program restart the application program.
In a kind of possible embodiment, the monitoring thread is independent, the finger daemon of low priority and possesses The message loop Looper of oneself.
According to the other side of the embodiment of the present application, a kind of terminal provided, the terminal includes memory, processor And it is stored in detection program of the application program without response obstruction that can be run on the memory and on the processor, it is described Application program realizes above-mentioned application program without response obstruction when being executed without the detection program of response obstruction by the processor The step of detection method.
According to the other side of the embodiment of the present application, a kind of computer readable storage medium provided, the computer Detection program of the application program without response obstruction, detection of the application program without response obstruction are stored on readable storage medium storing program for executing The step of detection method of the above-mentioned application program without response obstruction is realized when program is executed by processor.
Detection method, terminal and computer-readable storage medium of the application program of the embodiment of the present application without response obstruction Matter determines that main thread hinders when task is identical, stack information is identical by starting monitoring thread in application program launching Plug;Solving the problems, such as the investigation method of ANR in the prior art, that there are operation complexities is higher, is difficult to analyze ANR occurrence cause; Using simple, it can be pin-pointed to main thread closed position, do not expend CPU and memory source.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing the mobile terminal of each embodiment of the application;
Fig. 2 is a kind of communications network system architecture diagram provided by the embodiments of the present application;
Fig. 3 is the application program of the application first embodiment without the detection method flow diagram of response obstruction;
Fig. 4 is the application program of the embodiment of the present application without the detection process flow diagram of response obstruction;
Fig. 5 is the terminal structure schematic diagram of the application second embodiment.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
In order to be clearer and more clear technical problems to be solved in this application, technical solution and beneficial effect, tie below Drawings and examples are closed, the application is further elaborated.It should be appreciated that specific embodiment described herein is only To explain the application, it is not used to limit the application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, PDA (Personal Digital Assistant, personal digital assistant), PMP (Portable Media Player, portable media player), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as equal mobile terminals, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
The embodiment of the present application in order to better understand is below illustrated related technology:
MessageQueue is usually translated as " message queue ", one group of data of its storage inside, in the form of queue pair Outer offer insertion and delete operation.
Looper can be understood as message loop, because MessageQueue is a storage message queue, cannot go Message is handled, so need Looper Infinite Cyclic goes to check whether new message, just processing message, no if any Then just wait (obstruction) always.
ANR is generally there are three types of type: key or touch event in specific time (5s) without response, BroadcastReceiver (10s) in specific time can not handle completion, (20s) can not within the specific time by Service Processing is completed.
As shown in figure 3, the application first embodiment provides a kind of detection method of the application program without response obstruction, this method For terminal, detection method of the application program without response obstruction includes:
Step S31, start monitoring thread in application program launching, and through the monitoring thread when first is default Between trigger a monitor task.
In the present embodiment, the monitoring thread be independent, the finger daemon of low priority and the message for possessing oneself Recycle Looper.After monitoring thread starting, the freestanding environment of oneself can be operated in not with other process interactions, it will not It is interfered with each other with other processes.
It should be noted that the first preset time is usually longer, with key or touch event in specific time (5s) nothing For response, the first preset time can be set to 2.5s, i.e. 2500ms.Since the period that monitoring thread executes monitor task is long Up to 2.5s, spent resource is considerably less, will not cause to bear to application program.
Step S32, in the case where the monitor task is triggered, judge that the main thread of the application program currently executes The task task that the main thread executes when being triggered with a preceding monitor task it is whether identical.
In the present embodiment, when in an application program operational process, it usually needs while running multiple threads.Such as: In Video Applications, a thread is responsible for showing image, and a thread is responsible for playing sound, and only multiple threads work at the same time It just can ensure that user's acoustic while watching the video.The effect of main thread be with user carry out information exchange, such as: User clicks the button on screen, which makes a response.If main thread blocks, user will be unable to carry out with application program Interaction, will occur ANR more than 5 seconds.
In the present embodiment, when the monitor task is triggered, the main thread by judging the application program is current Whether the task of the execution task that the main thread executes when being triggered with a preceding monitor task is identical, confirms described using journey Whether the main thread of sequence blocks.
In one embodiment, described in the case where the monitor task is triggered, judge the application program Whether the main thread currently performed task task that the main thread executes when being triggered with a preceding monitor task is identical to include:
In the case where the monitor task is triggered, it is currently performed that the main thread is obtained by the monitoring thread The hash code value of the hash code value of task, a preceding monitor task task that the main thread executes when being triggered;
The master when hash code value of the currently performed task of the main thread and a preceding monitor task are triggered The hash code value for the task that thread executes is compared;
The master when the hash code value of the currently performed task of the main thread and a preceding monitor task are triggered In the identical situation of hash code value for the task that thread executes, the currently performed task of the main thread of the application program is determined The task that the main thread executes when being triggered with a preceding monitor task is identical.
In this embodiment, after monitor task is triggered, monitoring thread can actively obtain the main thread and currently hold Then the hashCode value of capable task appoints the hashCode value of the currently performed task of the main thread and preceding primary monitoring The hashCode value of the business task that the main thread executes when being triggered is compared.If hashCode value twice is identical, It then proves the execution total time of the main thread current task at least over first preset time, but not can confirm that institute It is to block completely that main thread, which is stated, in first preset time.
As the above analysis, the hashCode value that monitor task only obtains the task that the main thread executes is compared Compared with performed task is very simple, and the time of execution is also very short.
Step S33, the main thread when the currently performed task of the main thread and a preceding monitor task are triggered In the identical situation of the task of execution, judge whether the stack information of the main thread before and after the second preset time is identical.
In the present embodiment, application program can all generate one or more corresponding process at runtime, and terminal system System can the corresponding process of each application program of real-time monitoring, if system monitoring arrived each application program it is corresponding it is one or more into Journey breaks down, such as process for a long time takes long time event without response or execution, then can generate stack information.
As Such analysis it is found that described in when the currently performed task of the main thread and a preceding monitor task are triggered When the task that main thread executes is identical, it was demonstrated that the execution total time of the main thread current task is pre- at least over described first If the time, but it not can confirm that the main thread is to block completely in first preset time.Therefore, it is also desirable to pass through Judge whether the stack information of the main thread before and after the second preset time is identical, reaffirms whether the main thread hinders Plug.
In one embodiment, described to be triggered in the currently performed task of the main thread and a preceding monitor task In the identical situation of task that Shi Suoshu main thread executes, the stack information of the main thread before and after the second preset time is judged Whether identical include:
What when the currently performed task of the main thread and a preceding monitor task are triggered, the main thread was executed appoints It is engaged in identical situation, saves the stack information of the main thread;
After second preset time, the stack information of the main thread is reacquired;
The stack information of the stack information of the main thread of preservation and the main thread of reacquisition is compared, Determine whether the stack information of the second preset time front and back main thread is identical according to comparing result.
In this embodiment, described in when the currently performed task of the main thread and a preceding monitor task are triggered When the task that main thread executes is identical, the stack information of the main thread is saved.In second preset time and then secondary obtain Take the stack information of the main thread.If stack information is identical twice, it can confirm that the main thread blocks.
Step S34, it in the identical situation of stack information of the main thread before and after second preset time, determines The main thread blocks.
In one embodiment, the stack information of the main thread before and after second preset time is identical In the case where, determine that the main thread blocks, later further include:
In the case where determining that the main thread blocks, print log information;The log information includes the master The system time of the stack information of thread and the currently performed task of the main thread.
In this embodiment, if the first preset time is set as 2500ms, as the one secondary stricture 5s of main thread, prison Control thread can at least print the stack information of the primary main thread.And the ANR information that user is typically encountered can all surpass substantially 5s is crossed, therefore when the main thread really blocks, monitoring thread can at least print the stack information of the main thread twice, The number of the time of obstruction longer printing also can be more.It, can be according to the storehouse repeatedly printed when solving the problems, such as ANR Information inference goes out program is specifically which place is blocked in.
In one embodiment, the print log information, before further include:
In the case where determining that the main thread blocks, when sending of the currently performed task of the main thread is obtained Between;
The time of dispatch of the currently performed task of the main thread is converted as the currently performed task of the main thread System time.
In one embodiment, the stack information of the main thread before and after second preset time is identical In the case where, determine that the main thread blocks, later further include:
Judge whether the duration that the main thread blocks is more than preset duration threshold value;
In the case where the duration that the main thread blocks is more than preset duration threshold value, the recovery number of backup is obtained According to;
The application program is restarted according to the recovery data of the backup.
For by key or touch event, (5s) is without response in specific time, when the duration that the main thread blocks When more than 5s, the recovery number for whether backing up application program before can be searched by the data packet name of the application program of no response According to.If finding the recovery data of the application program of backup, the application program is restarted.If application program launching at Function, the then further, it is possible to data backed up before prompting to be restored to.The prompt information can be display screen in a manner of text Prompt, can also be prompted in a manner of audio, the present embodiment is not limited thereto loudspeaker.
In another embodiment, described to restart the application program according to the recovery data of the backup, it Afterwards further include:
In the case where restarting application program failure according to the recovery data of the backup, the application is deleted The data of program restart the application program.
In this embodiment, it when application program launching fails, is eliminated by resetting application data using journey Sequence unnecessary redundant data for generating when without response, guarantees that application program smoothly restarts, avoid because application program without When responding and can not restart, it is necessary to the problem of reinstalling and cause trivial operations, influencing user's normal use.
In order to preferably illustrate the detection process of the application program of the embodiment of the present application without response obstruction, below in conjunction with Fig. 4 It is illustrated:
As shown in figure 4, starting monitoring thread in application program launching, monitoring thread triggers primary monitoring every 2500ms Task.
After monitor task triggering, monitoring thread can actively obtain the task that main thread queue is currently executing The time of dispatch of hashCode value and task, and preserve, then this hashCode value and preceding primary monitoring are appointed The hashCode value obtained when business triggering compares, and proves the current task of main thread if hashCode value twice is identical Total time is executed at least over 2.5s, but not can confirm that main thread is to block 2.5s completely, so keeping master now Whether the stack information of thread blocks again by the method confirmation main thread of confirmation main thread obstruction after 10ms.
The stack information for the main thread that monitoring thread obtains the stack information of main thread again after 10ms and front saves It is compared, if stack information is identical twice and sends be greater than 2.5s, base the time of the time of task till now Originally it can be confirmed that main thread is blocked in place suggested by stack information in the task of execution.Then it is by time of dispatch conversion System time is finally printed the time and stack information with the Log information of alert type.
As one secondary stricture 5s of main thread, monitoring thread can at least print the stack information of a main thread.And user is logical The ANR information often encountered all can be more than 5s substantially, therefore when main thread really blocks, monitoring thread can at least print two The number of the stack information of secondary main thread, the longer printing of the time of obstruction also can be more.It, can be with when solving the problems, such as ANR It is inferred to program is specifically which place is blocked according to the stack information repeatedly printed.
Detection method of the application program of the embodiment of the present application without response obstruction, is supervised by starting in application program launching Thread is controlled, determines that main thread blocks when task is identical, stack information is identical;Solves the investigation of ANR in the prior art Method has that operation complexity is higher, is difficult to analyze ANR occurrence cause;Using simple, main thread can be pin-pointed to Closed position does not expend CPU and memory source.
Second embodiment
As shown in figure 5, the application second embodiment provides a kind of terminal, the terminal includes memory 41, processor 42 And it is stored in detection program of the application program without response obstruction that can be run on the memory 41 and on the processor 42, When the application program is executed without the detection program of response obstruction by the processor 42, for realizing application journey as described below The step of detection method that sequence is blocked without response:
Start monitoring thread in application program launching, and triggers one every the first preset time by the monitoring thread Secondary monitor task;
In the case where the monitor task is triggered, judge the currently performed task of the main thread of the application program with Whether the preceding monitor task task that the main thread executes when being triggered is identical;
What when the currently performed task of the main thread and a preceding monitor task are triggered, the main thread was executed appoints It is engaged in identical situation, judges whether the stack information of the main thread before and after the second preset time is identical;
In the identical situation of stack information of the main thread before and after second preset time, the main line is determined Cheng Fasheng obstruction.
When the application program is executed without the detection program of response obstruction by the processor 42, it is also used to realize following institute The step of detection method that the application program stated is blocked without response:
It is described in the case where the monitor task is triggered, judge the main thread of the application program currently performed Whether the business task that the main thread executes when being triggered with a preceding monitor task is identical to include:
In the case where the monitor task is triggered, it is currently performed that the main thread is obtained by the monitoring thread The hash code value of the hash code value of task, a preceding monitor task task that the main thread executes when being triggered;
The master when hash code value of the currently performed task of the main thread and a preceding monitor task are triggered The hash code value for the task that thread executes is compared;
The master when the hash code value of the currently performed task of the main thread and a preceding monitor task are triggered In the identical situation of hash code value for the task that thread executes, the currently performed task of the main thread of the application program is determined The task that the main thread executes when being triggered with a preceding monitor task is identical.
When the application program is executed without the detection program of response obstruction by the processor 42, it is also used to realize following institute The step of detection method that the application program stated is blocked without response:
The main thread described when the currently performed task of the main thread and a preceding monitor task are triggered executes The identical situation of task under, judging whether the stack information of the main thread before and after the second preset time identical includes:
What when the currently performed task of the main thread and a preceding monitor task are triggered, the main thread was executed appoints It is engaged in identical situation, saves the stack information of the main thread;
After second preset time, the stack information of the main thread is reacquired;
The stack information of the stack information of the main thread of preservation and the main thread of reacquisition is compared, Determine whether the stack information of the second preset time front and back main thread is identical according to comparing result.
When the application program is executed without the detection program of response obstruction by the processor 42, it is also used to realize following institute The step of detection method that the application program stated is blocked without response:
In the identical situation of stack information of the main thread before and after second preset time, described in determination Main thread blocks, later further include:
In the case where determining that the main thread blocks, print log information;The log information includes the master The system time of the stack information of thread and the currently performed task of the main thread.
When the application program is executed without the detection program of response obstruction by the processor 42, it is also used to realize following institute The step of detection method that the application program stated is blocked without response:
The print log information, before further include:
In the case where determining that the main thread blocks, when sending of the currently performed task of the main thread is obtained Between;
The time of dispatch of the currently performed task of the main thread is converted as the currently performed task of the main thread System time.
When the application program is executed without the detection program of response obstruction by the processor 42, it is also used to realize following institute The step of detection method that the application program stated is blocked without response:
In the identical situation of stack information of the main thread before and after second preset time, described in determination Main thread blocks, later further include:
Judge whether the duration that the main thread blocks is more than preset duration threshold value;
In the case where the duration that the main thread blocks is more than preset duration threshold value, the recovery number of backup is obtained According to;
The application program is restarted according to the recovery data of the backup.
When the application program is executed without the detection program of response obstruction by the processor 42, it is also used to realize following institute The step of detection method that the application program stated is blocked without response:
It is described to restart the application program according to the recovery data of the backup, later further include:
In the case where restarting application program failure according to the recovery data of the backup, the application is deleted The data of program restart the application program.
When the application program is executed without the detection program of response obstruction by the processor 42, it is also used to realize following institute The step of detection method that the application program stated is blocked without response:
The monitoring thread is independent, the finger daemon of low priority and the message loop Looper for possessing oneself.
The terminal of the embodiment of the present application, by starting monitoring thread in application program launching, task is identical, storehouse letter Manner of breathing determines that main thread blocks simultaneously;Solving the investigation method of ANR in the prior art, that there are operation complexities is higher, difficult The problem of to analyze ANR occurrence cause;Using simple, it can be pin-pointed to main thread closed position, do not expend CPU and memory money Source.
3rd embodiment
The application 3rd embodiment provides a kind of computer readable storage medium, deposits on the computer readable storage medium Detection program of the application program without response obstruction is contained, the application program is executed by processor without the detection program of response obstruction When for realizing application program described in first embodiment without response obstruction detection method the step of.
It should be noted that the computer readable storage medium of the present embodiment, belongs to same with the method for first embodiment Design, specific implementation process is shown in embodiment of the method in detail, and the technical characteristic in embodiment of the method is right in the present embodiment It should be applicable in, which is not described herein again.
The computer readable storage medium of the embodiment of the present application, by starting monitoring thread in application program launching, Determine that main thread blocks when task is identical, stack information is identical;There is behaviour in the investigation method for solving ANR in the prior art Make that complexity is higher, is difficult to the problem of analyzing ANR occurrence cause;Using simple, it can be pin-pointed to main thread closed position, no Expend CPU and memory source.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data) The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc According to, and may include any information delivery media.
Above by reference to Detailed description of the invention preferred embodiment of the present application, not thereby limit to the interest field of the application.This Field technical staff does not depart from made any modifications, equivalent replacements, and improvements in scope of the present application and essence, should all be at this Within the interest field of application.

Claims (10)

1. a kind of detection method of application program without response obstruction, this method are used for terminal, which is characterized in that the application program Include: without the detection method for responding obstruction
Start monitoring thread in application program launching, and primary prison is triggered every the first preset time by the monitoring thread Control task;
In the case where the monitor task is triggered, judge the currently performed task of the main thread of the application program with it is previous Whether the secondary monitor task task that the main thread executes when being triggered is identical;
The task phase that the main thread executes when the currently performed task of the main thread is triggered with a preceding monitor task With in the case where, judge whether the stack information of the main thread before and after the second preset time is identical;
In the identical situation of stack information of the main thread before and after second preset time, the main thread hair is determined Raw obstruction.
2. detection method of the application program according to claim 1 without response obstruction, which is characterized in that described in the prison In the case that control task is triggered, the currently performed task of the main thread of the application program and a preceding monitor task quilt are judged Whether the task that the main thread executes when triggering is identical to include:
In the case where the monitor task is triggered, the currently performed task of main thread is obtained by the monitoring thread Hash code value, the hash code value of the preceding monitor task task that the main thread executes when being triggered;
The main thread when hash code value of the currently performed task of the main thread and a preceding monitor task are triggered The hash code value of the task of execution is compared;
The main thread when the hash code value of the currently performed task of the main thread and a preceding monitor task are triggered In the identical situation of hash code value of the task of execution, determine the currently performed task of the main thread of the application program with before One time the task that the main thread executes when monitor task is triggered is identical.
3. detection method of the application program according to claim 1 without response obstruction, which is characterized in that described in the master In the identical situation of the thread currently performed task task that the main thread executes when being triggered with a preceding monitor task, sentence Whether the stack information of the main thread before and after disconnected second preset time is identical to include:
The task phase that the main thread executes when the currently performed task of the main thread is triggered with a preceding monitor task With in the case where, the stack information of the main thread is saved;
After second preset time, the stack information of the main thread is reacquired;
The stack information of the stack information of the main thread of preservation and the main thread of reacquisition is compared, according to Comparing result determines whether the stack information of the second preset time front and back main thread is identical.
4. detection method of the application program according to claim 1 without response obstruction, which is characterized in that described described the In the identical situation of stack information of the main thread before and after two preset times, determine that the main thread blocks, later Further include:
In the case where determining that the main thread blocks, print log information;The log information includes the main thread Stack information and the currently performed task of the main thread system time.
5. detection method of the application program according to claim 4 without response obstruction, which is characterized in that the print log Information, before further include:
In the case where determining that the main thread blocks, the time of dispatch of the currently performed task of the main thread is obtained;
The time of dispatch of the currently performed task of the main thread is converted as the system of the currently performed task of the main thread Time.
6. detection method of the application program according to claim 1 without response obstruction, which is characterized in that described described the In the identical situation of stack information of the main thread before and after two preset times, determine that the main thread blocks, later Further include:
Judge whether the duration that the main thread blocks is more than preset duration threshold value;
In the case where the duration that the main thread blocks is more than preset duration threshold value, the recovery data of backup are obtained;
The application program is restarted according to the recovery data of the backup.
7. detection method of the application program according to claim 6 without response obstruction, which is characterized in that described according to The recovery data of backup restart the application program, later further include:
In the case where restarting application program failure according to the recovery data of the backup, the application program is deleted Data, restart the application program.
8. detection method of the application program according to claim 1 without response obstruction, which is characterized in that the monitoring thread It is independent, the finger daemon of low priority and the message loop Looper for possessing oneself.
9. a kind of terminal, which is characterized in that the terminal includes memory, handles and is stored on the memory and can be in institute State detection program of the application program without response obstruction run on processor, detection program of the application program without response obstruction The detection side such as application program described in any item of the claim 1 to 8 without response obstruction is realized when being executed by the processor The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium using journey Detection program of the sequence without response obstruction, the application program are realized when being executed without the detection program of response obstruction by the processor The step of such as application program described in any item of the claim 1 to 8 without the detection method for responding obstruction.
CN201910441271.3A 2019-05-24 2019-05-24 Method, terminal and storage medium for detecting application program no-response blocking Active CN110188016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910441271.3A CN110188016B (en) 2019-05-24 2019-05-24 Method, terminal and storage medium for detecting application program no-response blocking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910441271.3A CN110188016B (en) 2019-05-24 2019-05-24 Method, terminal and storage medium for detecting application program no-response blocking

Publications (2)

Publication Number Publication Date
CN110188016A true CN110188016A (en) 2019-08-30
CN110188016B CN110188016B (en) 2022-11-01

Family

ID=67717756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910441271.3A Active CN110188016B (en) 2019-05-24 2019-05-24 Method, terminal and storage medium for detecting application program no-response blocking

Country Status (1)

Country Link
CN (1) CN110188016B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795669A (en) * 2019-10-28 2020-02-14 口碑(上海)信息技术有限公司 Form page response processing method and device
CN112546617A (en) * 2020-12-29 2021-03-26 珠海金山网络游戏科技有限公司 Task processing method and device
CN113138883A (en) * 2021-05-14 2021-07-20 北京字节跳动网络技术有限公司 Message processing method and device, storage medium and electronic equipment
CN113297052A (en) * 2020-02-21 2021-08-24 腾讯科技(深圳)有限公司 Application program stuck event positioning method and device, storage medium and equipment
CN113742177A (en) * 2021-09-10 2021-12-03 掌阅科技股份有限公司 Application performance monitoring method, electronic device and storage medium
CN114880159A (en) * 2022-07-13 2022-08-09 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN115080247A (en) * 2022-08-15 2022-09-20 科来网络技术股份有限公司 High-availability thread pool switching method and device
CN113297052B (en) * 2020-02-21 2024-04-26 腾讯科技(深圳)有限公司 Method, device, storage medium and equipment for positioning stuck event of application program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5233611A (en) * 1990-08-20 1993-08-03 International Business Machines Corporation Automated function testing of application programs
CN106598806A (en) * 2016-12-05 2017-04-26 北京金和网络股份有限公司 Method for monitoring slow running of mobile APP developed on the basis of iPhone platform
CN107590015A (en) * 2017-09-11 2018-01-16 北京京东尚科信息技术有限公司 The method and apparatus for monitoring the obstruction of main thread
CN107729207A (en) * 2017-09-15 2018-02-23 青岛海信电器股份有限公司 A kind of monitoring method and device of application program main thread
CN107741897A (en) * 2017-09-11 2018-02-27 广州市百果园信息技术有限公司 Application program smoothness degree detection method, device and intelligent terminal
CN108345524A (en) * 2017-01-22 2018-07-31 腾讯科技(深圳)有限公司 Method for monitoring application program and Application Monitoring device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5233611A (en) * 1990-08-20 1993-08-03 International Business Machines Corporation Automated function testing of application programs
CN106598806A (en) * 2016-12-05 2017-04-26 北京金和网络股份有限公司 Method for monitoring slow running of mobile APP developed on the basis of iPhone platform
CN108345524A (en) * 2017-01-22 2018-07-31 腾讯科技(深圳)有限公司 Method for monitoring application program and Application Monitoring device
CN107590015A (en) * 2017-09-11 2018-01-16 北京京东尚科信息技术有限公司 The method and apparatus for monitoring the obstruction of main thread
CN107741897A (en) * 2017-09-11 2018-02-27 广州市百果园信息技术有限公司 Application program smoothness degree detection method, device and intelligent terminal
CN107729207A (en) * 2017-09-15 2018-02-23 青岛海信电器股份有限公司 A kind of monitoring method and device of application program main thread

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795669A (en) * 2019-10-28 2020-02-14 口碑(上海)信息技术有限公司 Form page response processing method and device
CN110795669B (en) * 2019-10-28 2022-03-29 口碑(上海)信息技术有限公司 Form page response processing method and device
CN113297052A (en) * 2020-02-21 2021-08-24 腾讯科技(深圳)有限公司 Application program stuck event positioning method and device, storage medium and equipment
CN113297052B (en) * 2020-02-21 2024-04-26 腾讯科技(深圳)有限公司 Method, device, storage medium and equipment for positioning stuck event of application program
CN112546617A (en) * 2020-12-29 2021-03-26 珠海金山网络游戏科技有限公司 Task processing method and device
CN112546617B (en) * 2020-12-29 2022-08-30 珠海金山数字网络科技有限公司 Task processing method and device
CN113138883A (en) * 2021-05-14 2021-07-20 北京字节跳动网络技术有限公司 Message processing method and device, storage medium and electronic equipment
CN113138883B (en) * 2021-05-14 2024-02-02 北京字节跳动网络技术有限公司 Message processing method and device, storage medium and electronic equipment
CN113742177A (en) * 2021-09-10 2021-12-03 掌阅科技股份有限公司 Application performance monitoring method, electronic device and storage medium
CN114880159A (en) * 2022-07-13 2022-08-09 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN114880159B (en) * 2022-07-13 2022-09-13 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN115080247A (en) * 2022-08-15 2022-09-20 科来网络技术股份有限公司 High-availability thread pool switching method and device

Also Published As

Publication number Publication date
CN110188016B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN110188016A (en) Detection method, terminal and storage medium of the application program without response obstruction
CN109542689A (en) Applied program processing method, terminal and computer readable storage medium
CN107276789A (en) Daily record method for uploading, device and computer-readable recording medium
CN109710135A (en) Split screen display available control method, terminal and computer readable storage medium
CN107357704A (en) A kind of application program detection method, terminal and computer-readable recording medium
CN107861854A (en) A kind of terminal local collapse processing method, terminal and computer-readable recording medium
CN110162418A (en) Using cold start-up method, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109766119A (en) Restore subregion upgrade method, terminal and computer readable storage medium
CN109618049A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN107480003A (en) A kind of method, equipment and the computer-readable recording medium of backup radio frequency parameter
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN109309762A (en) Message treatment method, device, mobile terminal and storage medium
CN109165042A (en) Restoration methods, terminal and computer readable storage medium are interrupted in a kind of application
CN108762639A (en) A kind of control method of physical button, mobile terminal and storage medium
CN108650281A (en) A kind of data managing method, device and computer readable storage medium
CN110413330A (en) A kind of face unlock initial method, equipment and computer readable storage medium
CN110187934A (en) Application control method, terminal and computer readable storage medium
CN110175052A (en) A kind of method, apparatus and computer readable storage medium of file opening
CN110083476A (en) Application control method, terminal and computer readable storage medium
CN109818967A (en) A kind of notification method, server, mobile terminal and computer readable storage medium
CN109582565A (en) Prevent the method, terminal and computer storage medium of application crashes
CN108833687A (en) Terminal prot open method, terminal and computer readable storage medium
CN109739676A (en) A kind of operational monitoring method, mobile terminal and computer readable storage medium
CN108038038B (en) Mobile terminal restart positioning method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221013

Address after: 252000 Room 3011-1, Building A1 and S4, Zhihuigu Industrial Base, the intersection of Hunan Road and East Outer Ring Road, Xuying Town, High tech Zone, Liaocheng City, Shandong Province

Applicant after: Shandong Duoke Technology Co.,Ltd.

Address before: 518000 6-8 / F, 10-11 / F, 6 / F, 6-10 / F, C zone, Han's innovation building, No. 9018, Beihuan Avenue, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant