CN107920161A - Terminal control method and device, terminal and readable storage medium storing program for executing - Google Patents
Terminal control method and device, terminal and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN107920161A CN107920161A CN201711025859.8A CN201711025859A CN107920161A CN 107920161 A CN107920161 A CN 107920161A CN 201711025859 A CN201711025859 A CN 201711025859A CN 107920161 A CN107920161 A CN 107920161A
- Authority
- CN
- China
- Prior art keywords
- terminal
- fault
- fault message
- failure
- information
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72466—User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of terminal control method and device, terminal and readable storage medium storing program for executing, is related to electronic technology field.The terminal control method of the present invention includes:The fault message of the terminal is obtained in a failure mode, wherein, the fault message includes the software information and/or hardware information that the terminal breaks down;Include the fault cues information of failure cause and/or fault solution accordingly according to fault message output.Using the present invention, user can be beneficial to and handled according to the fault cues information for failure present in the terminal, solving failure for user provides facility.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of terminal control method and device, terminal and readable storage
Medium.
Background technology
This part intends to provides background for the embodiments of the present invention stated in claims and embodiment
Or context.Description herein recognizes it is the prior art not because not being included in this part.
When mobile phone is there are during failure, often directly influencing the realization of some functions in mobile phone, and the usual nothing of user
From knowing the source of trouble, therefore user is difficult to targetedly go to solve failure, and certain puzzlement is brought to user.
The content of the invention
In view of above-mentioned, the present invention provides a kind of terminal control method and device, terminal and readable storage medium storing program for executing, can be user
Solve failure present in terminal and facility is provided.
First aspect present invention provides a kind of terminal control method, applied to terminal, the described method includes:
The fault message of the terminal is obtained in a failure mode, wherein, the fault message occurs including the terminal
The software information and/or hardware information of failure;
Believed according to fault cues of the fault message output accordingly including failure cause and/or fault solution
Breath.
Further, the fault message for obtaining the terminal in a failure mode includes:
The terminal is controlled to carry out System self-test in a failure mode;
The current fault message of the terminal is obtained according to the result of the System self-test.
Further, before the fault message that the terminal is obtained under the fault mode, the method further includes:
Identify the input operation received;
If identifying, the input operation matches with predetermined registration operation, controls the terminal to enter the fault mode.
Further, the predetermined registration operation includes:
Press programmable button;Or
Long-press includes the combination button of the first programmable button and the second programmable button;Or
Touch default touch area.
Further, the first system independence that the fault mode is run when normal for relatively described terminal very when
The second system of operation.
Further, failure cause and/or failure solution party are included according to fault message output accordingly described
After the fault cues information of case, the method further includes:
Performing the event including failure cause and/or fault solution accordingly according to fault message output
After the preset duration for hindering prompt message, the fault message of the terminal is obtained again under the fault mode;
If the fault message includes software information, the terminal factory reset or the renewal software letter are controlled
Cease relevant software;
If the fault message includes hardware information, the end panel covert is controlled to state the relevant hardware of hardware information.
Second aspect of the present invention provides a kind of terminal control mechanism, and applied to terminal, the terminal control mechanism includes:
Acquisition module, for obtaining the fault message of the terminal in a failure mode, wherein, the fault message includes
The software information and/or hardware information that the terminal breaks down;
Output module, for including failure cause and/or fault solution accordingly according to fault message output
Fault cues information.
Further, the terminal control mechanism further includes:
Identification module, for identifying the input received operation;
Control module, for when identifying that the input operation matches with predetermined registration operation, controlling the terminal to enter
The fault mode.
Further, the predetermined registration operation includes:
Press programmable button;Or
Long-press includes the combination button of the first programmable button and the second programmable button;Or
Touch default touch area.
Further, when the control module obtains the fault message of the terminal in a failure mode, it is specifically used for:
The terminal is controlled to carry out System self-test in a failure mode;
When the acquisition module obtains the fault message of the terminal in a failure mode, it is specifically used for:
The current fault message of the terminal is obtained according to the result of the System self-test.
Further, the first system independence that the fault mode is run when normal for relatively described terminal very when
The second system of operation.
Further, the acquisition module includes failure cause accordingly in described exported according to the fault message of execution
And/or after the preset duration of the fault cues information of fault solution, also particularly useful for:Under the fault mode again
Obtain the fault message of the terminal;
The control module is specifically used for:When the fault message includes software information, the terminal is controlled to recover
Factory sets or updates the relevant software of the software information;When the fault message includes hardware information, the terminal is controlled
Shield the relevant hardware of the hardware information.
Third aspect present invention also provides a kind of terminal, and the terminal includes processor, and the processor is deposited for execution
The step of terminal control method as described above being realized during the computer program stored in reservoir.
Fourth aspect present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, described
The step of terminal control method as described above is realized when computer program is executed by processor.
Terminal control method and device provided by the invention, terminal and readable storage medium storing program for executing, the terminal is in fault mode
The lower fault message for obtaining terminal, and corresponding fault cues information is exported according to the fault message, in favor of user according to
The fault cues information is handled for failure present in the terminal, and solving failure present in terminal for user carries
For facility.
Further, utilisation system self-test of the present invention, the fault message in the terminal is comprehensively obtained with system, its
Afterwards, corresponding fault cues information is exported according to the fault message, so that user is according to the fault cues information pair event
Barrier is targetedly handled.
Further, the present invention can be operated by identifying the input of user, the fault mode can be rapidly entered, to support
User quickly solves the demand of failure.
Further, the present invention can specifically include software information according to the fault message and/or hardware information carries out
Corresponding control process, workability after a failure is being deposited to lift the terminal.
Brief description of the drawings
It is required in being described below to embodiment in order to illustrate more clearly of the technical solution of embodiment of the present invention
The attached drawing used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the flow chart of the terminal control method of first embodiment of the invention;
Fig. 2 is the flow chart of the terminal control method of second embodiment of the invention;
Fig. 3 is the flow chart of the terminal control method of third embodiment of the invention;
Fig. 4 is the flow chart of the terminal control method of four embodiment of the invention;
Fig. 5 is the exemplary functional block diagram for the terminal control mechanism that an embodiment of the present invention provides;
Fig. 6 is the exemplary structure diagram for the terminal that an embodiment of the present invention provides.
Main element symbol description
Terminal 1
Processor 10
Memory 20
Input unit 30
Terminal control mechanism 100
Acquisition module 11
Output module 12
Identification module 13
Control module 14
Embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention will be described in detail.It should be noted that in the case where there is no conflict, presently filed embodiment and reality
Applying the feature in mode can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, described embodiment
Only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this area
The every other embodiment that those of ordinary skill is obtained without making creative work, belongs to guarantor of the present invention
The scope of shield.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The normally understood implication of technical staff is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Fig. 1 is the flow chart of the terminal control method of first embodiment of the invention, it should be noted that embodiment party of the present invention
The terminal control method of formula is not limited to step and order in the flow chart shown in Fig. 1.It is shown according to different demands
Step in flow chart can increase, remove or change order.
As shown in Figure 1, the terminal control method of present embodiment may include steps of:
Step 101:The fault message of the terminal is obtained in a failure mode, wherein, the fault message includes described
The software information and/or hardware information that terminal breaks down.
In present embodiment, the fault mode can be a kind of operational mode, i.e., in terminal, there are failure or operation
When abnormal, related executable file is loaded.The fault mode can also be a system, i.e., terminal there are failure or
When running abnormal, start, the system of operation, and load related executable file in systems.
It is understood that run in the first system that the fault mode can be run when terminal is normal, thus, into
After entering the fault mode, the executable file of coherent detection program can be loaded, to be obtained by performing coherent detection program
The fault message of the terminal.
It is understood that the fault mode can be the second system of relatively foregoing the first system independent operating, and
The second system is the system that the terminal is run when very.
It is understood that the fault message can be including at least one of following:
The fault message of contact panel;
The fault message of communications module;
The fault message of infrared induction module;
The fault message of audio module;
The fault message of camera module;
The fault message of fingerprint module;
The fault message of button.
It is understood that the fault message for obtaining terminal can be obtained by way of Query System Log, may be used also
Obtained by way of the information list that inquiry system self-test is formed.
Step 102:Include the failure of failure cause and/or fault solution accordingly according to fault message output
Prompt message.
In present embodiment, the fault cues information is to be used to pass on customizing messages to allow the user to know to user
There are failure in present terminal, and failure cause and/or fault solution information are included so that user by output:Can
Know failure cause, the self-service solution failure of the failure cause is directed to beneficial to user;And/or it can be solved according to the failure
Scheme directly goes to solve failure.
The fault cues information can prompt user by following prompting mode:
1), the fault cues information is shown using the external display screen of the display screen of terminal or the terminal;And/or
2), the fault cues information is reported using the external loudspeaker of the loudspeaker of terminal or the terminal;And/or
3), the fault cues information is uploaded to server and/or other-end using the communicator of terminal;And/or
4), the failure is passed on to carry with default vibration frequency using the external vibrator of the vibrator of terminal or the terminal
Show information;And/or
5), passed on using the external light-emitting instrument of flash lamp/breath light of terminal or the terminal with default flicker frequency
The fault cues information.
It is understood that the prompting mode 1 in present embodiment) to 3) being usually easiest to be received by user, thus,
Can be with prompting mode 1) to 3) being equipped with preferable prompting mode.
It is understood that software information is included to the fault message, can be preferentially with the prompting in present embodiment
Mode 1) prompting user.
It is understood that the definite visual fault message of above-mentioned various prompting modes determines, can pre-set
Corresponding control strategy prompts the purpose of user to realize.For example, the control strategy can be:Reflect in the fault message
When haveing display screen display failure, it may be selected to show the fault cues information, while profit using the external display screen of the terminal
The fault cues information is reported with the external loudspeaker of the loudspeaker of terminal or the terminal.
It is understood that the terminal, while the fault message prompting is exported, current to the terminal is logical
Letter module be in normal operating condition, using the data in the communications module synchronously terminal to server or other
In terminal, to reduce the risk that data are lost.
In present embodiment, when the fault mode is the second system of relatively foregoing the first system independence, described the
Two system can be the system parallel with the first system (such as Flyme systems or android system), and can use especially division
Partition holding to preserve related executable file.
It is understood that dependence of the second system to hardware is smaller, it is only necessary to CPU, memory and corresponding file system
System etc. can normal operation.
It is understood that the second system can actively carry out relevant operation entrance by user, can also be described
When terminal cannot start shooting automatically into.
It is understood that the terminal remains to obtain foregoing fault message under the second system, and to corresponding
Hardware degree of dependence smaller, reliability of operation enhancing.
In present embodiment, the terminal obtains the fault message of terminal in a failure mode, and is believed according to the failure
Breath exports corresponding fault cues information, beneficial to user according to the fault cues information for failure present in the terminal
Handled, solving failure present in terminal for user provides facility.
Fig. 2 is the flow chart of the terminal control method of second embodiment of the invention, present embodiment and the first embodiment party
The main distinction of formula is, System self-test involved in second embodiment and etc..It should be noted that in the spirit of the present invention
Or in the range of essential characteristic, each concrete scheme suitable for first embodiment can also be suitable for second accordingly and implement
In mode, for the sake of saving space and avoiding repetition, just repeat no more herein.
As shown in Fig. 2, the terminal control method of present embodiment may include steps of:
Step 201:The terminal is controlled to carry out System self-test in a failure mode.
In present embodiment, when the terminal carries out System self-test, each port of the terminal can be scanned
To obtain the operating condition of port, and the operating condition of each port can be showed by the form of information list.Wherein, institute
Stating port may include hardware port, the network port and/or software port.
Control the terminal to carry out System self-test in a failure mode can be it is understood that described:The terminal
In a failure mode, the executable file of loading system self-check program.
Step 202:The current fault message of the terminal is obtained according to the result of the System self-test, wherein, the event
Hindering information includes software information and/or hardware information that the terminal breaks down.
It is understood that the result of the System self-test can be foregoing information list, can also be from foregoing
The information extracted in information list.
Step 203:Include the failure of failure cause and/or fault solution accordingly according to fault message output
Prompt message.
In present embodiment, using System self-test, the fault message in the terminal is comprehensively obtained with system, thereafter,
Corresponding fault cues information is exported according to the fault message, in favor of user according to the fault cues information to failure into
Row is targetedly handled.
Fig. 3 is the flow chart of the terminal control method of third embodiment of the invention, present embodiment and the first embodiment party
Formula, the main distinction of second embodiment be, identified input involved in the 3rd embodiment operate and control the terminal into
Enter the fault mode.It should be noted that in the range of the spirit or essential attributes of the present invention, suitable for first
Each concrete scheme in embodiment, second embodiment can also be accordingly suitable for the 3rd embodiment, to save a piece
Width and for the sake of avoiding repetition, just repeats no more herein.
As shown in figure 3, the terminal control method of present embodiment may include steps of:
Step 301:Identify the input operation received.
In present embodiment, the input operation can be user by predetermined manner press the terminal it is default by
Key, the default touch area realization for touching touch-screen.
Step 302:If identifying, the input operation matches with predetermined registration operation, controls the terminal to enter the event
Barrier pattern.
In present embodiment, the predetermined registration operation can include:
1) programmable button, is pressed;Or
2), long-press includes the combination button of the first programmable button and the second programmable button;Or
3) default touch area, is touched.
Corresponding predetermined registration operation 1), user can be realized by pressing button ad hoc in terminal, also can be pre- by pressing user
The button first customized is realized.
Corresponding predetermined registration operation 2), user can be realized by long-press home keys at the same time and power key, can also pass through long-press at the same time
Volume side switch and power key are realized.Herein, the long-press can be Continued depression button 3 to 5 seconds.
Corresponding predetermined registration operation 3), user can be realized by the region for the close volume side switch for touching touch-screen, can also be passed through
Realized with the default touch area of specified pressure pressing touch-screen.
It is understood that corresponding predetermined registration operation 3), when, there are during failure, user can be default by touching in the terminal
Touch area enters the fault mode, and in other words, user can touch default touch area at any time to judge that current terminal is transported
Whether row is normal and/or with the presence or absence of failure.
Step 303:The fault message of the terminal is obtained in a failure mode, wherein, the fault message includes described
The software information and/or hardware information that terminal breaks down.
Step 304:Include the failure of failure cause and/or fault solution accordingly according to fault message output
Prompt message.
In present embodiment, the input by identifying user operates, and the fault mode can be rapidly entered, to support user
The quick demand for solving failure.
Fig. 4 is the flow chart of the terminal control method of four embodiment of the invention, present embodiment and foregoing implementation
The main distinction of mode is that identified input involved in the 4th embodiment operates and controls the terminal to enter the failure mould
Formula and etc..It should be noted that in the range of the spirit or essential attributes of the present invention, suitable for foregoing embodiment
Each concrete scheme can also be accordingly suitable for the 4th embodiment, for the sake of saving space and avoiding repetition, herein
Repeat no more.
When terminal breaks down, which often influences the operation of whole terminal, more lightly, may make partial function
It cannot normally realize, seriously, terminal may be caused to cannot be started up or even irreversible damage is caused to some hardware.And to end
For end subscriber, no matter terminal when is damaged or which function cannot use, it can make the best use of everything, although some faulty components cause
It can not achieve partial function, but it is clearly that user is desired that the function of other non-faulting parts, which remains to use,.This implementation
Mode is based on this, to meet the use demand of user.
As shown in figure 4, the terminal control method of present embodiment may include steps of:
Step 401:The fault message of the terminal is obtained in a failure mode, wherein, the fault message includes described
The software information and/or hardware information that terminal breaks down.
Step 402:Include the failure of failure cause and/or fault solution accordingly according to fault message output
Prompt message.
It is understood that after the fault cues information is inputted, user can be without any operation, also can be according to institute
State fault cues information and go handling failure, and result is nothing more than failure has solved not solving two kinds of consequences with failure.Based on this,
After preset duration, 403 are entered step, whether is solved with failure judgement.
Step 403:Obtain the fault message of the terminal again under the fault mode.
Step 404:Judge that the fault message includes software information or including hardware information.If the fault message
Including software information, then 405 are entered step.If the fault message includes hardware information, 406 are entered step.
Step 405:Control the terminal factory reset or the renewal relevant software of software information.
In present embodiment, software information is included to the fault message, it is believed that pointed by the fault message
Software-related data mistake or software version is too low to cause that caused failure can not be run, thus, can be described soft by updating
The relevant software of part information solves.
It is understood that such as the recorded program failure of the configuration of dispatching from the factory in mobile phone, at this time, factory reset can be passed through
Mode solve, can also be solved by way of upgrading the recorded program, can also be by way of other recorded programs be installed
Solve.
Step 406:The end panel covert is controlled to state the relevant hardware of hardware information.
In present embodiment, hardware information, typically, user's self-healing hardware are included to the fault message
Difficulty is larger, at this time, can by shield hardware pointed by the hardware information and/or related hardware so that the hardware of failure not
Cause the normal work of other hardware in the influence terminal.
It is understood that such as the camera module failure in mobile phone, at this time, maskable camera module.
It is understood that the shielding can be off powering to hardware, can also reject from hardware transmission
And carry out signal.
In present embodiment, software information is specifically included according to the fault message and/or hardware information carries out accordingly
Control process, depositing workability after a failure to lift the terminal.
It is understood that when the terminal is mobile phone, the most basic function of call and SMS function as mobile phone is right
User has call demand, can an additional mask part (be capable of the hardware of normal operation but shielded hardware letter may be obtained
Breath and may cause power consumption increase) hardware with ensure call and SMS function normal use.In addition, in the fault mode
Under, it can be received calls by any physical button, such as volume plus key is for receiving calls, volume down key is used to hang up the telephone,
The scene that can not be normally received calls with mobile phone caused by tackling the hardware faults such as display panel, touch panel.
It is understood that to display panel, touch panel hardware fault, user can utilize terminal by the display of mobile phone
In data sending to predetermined server or other-end, the terminal can be controlled by predetermined server or other-end
System.
Fig. 5 is the exemplary functional block diagram of the terminal control mechanism of an embodiment of the present invention.As shown in figure 5, eventually
End control device 100 can obtain the fault message of the terminal in a failure mode, and should according to the fault message the output phase
The fault cues information for including failure cause and/or fault solution, so that user is according to the fault cues information
Handled for failure present in the terminal, solving failure present in terminal for user provides facility.
It is understood that the fault message includes the software information and/or hardware information that the terminal breaks down.
The terminal control mechanism 100 of the present invention can include one or more modules, and one or more of modules can be with
Be stored in the memory of terminal and may be configured to by one or more processors (present embodiment for one processing
Device) perform, to complete the present invention.For example, as shown in figure 5, the terminal control mechanism 100 can include acquisition module 11, defeated
Go out module 12, identification module 13 and control module 14.Module alleged by the present invention can complete the program segment of a specific function,
Than implementation procedure of the program more suitable for description software within a processor.
It should be noted that each embodiment of corresponding above-mentioned terminal control method, terminal control mechanism 100 can include
Part or all in each function module shown in Fig. 5, the function of each module will introduced in detail below.Above terminal control
Identical noun related terms and its specific explanation are readily applicable to following to each in each embodiment of method processed
The function introduction of module.For the sake of saving space and avoiding repetition, just repeat no more herein.
Fig. 6 is the exemplary structure diagram of the terminal of an embodiment of the present invention.Terminal 1 provided in this embodiment is wrapped
Include:Processor 10, memory 20, input unit 30 and it is stored in the memory 20 and can be transported on the processor 10
Capable computer program, such as terminal control program.When the processor 10 performs the computer program, above-mentioned each end is realized
Hold the step in control method embodiment, such as step 101 shown in Fig. 1 is to step 102.Alternatively, the processor 10 is held
The function of each module in above device embodiment is realized during the row computer program, such as the acquisition module 11 in Fig. 5 is real
The function of the fault message of the terminal is now obtained in a failure mode, wherein, the fault message occurs including the terminal
The software information and/or hardware information of failure.
The terminal 1 can be the computing devices such as mobile phone, palm PC and cloud server.The terminal 1 may include, but
It is not limited to, processor 10, memory 20 and input unit 30.It will be understood by those skilled in the art that the schematic diagram is only
The present invention is used for realization the restriction of the example, not structure paired terminal 1 of the terminal 1 of terminal control method, can include than diagram
More or fewer components, either combine some components or different components, such as the terminal 1 can also include input
Output equipment, network access equipment, bus etc..
Alleged processor 10 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor 10 is the control centre of the terminal 1, utilizes various interfaces and each portion of the whole terminal 1 of connection
Point.
The memory 20 can be used for storing the computer program and/or module, the processor 10 by operation or
The computer program and/or module being stored in the memory 20 are performed, and calls the data being stored in memory 20,
Realize the various functions of the terminal 1.The memory 20 can mainly include storing program area and storage data field, wherein, deposit
Storing up program area can storage program area, application program (such as sound-playing function, image player work(needed at least one function
Can etc.) etc.;Storage data field can be stored uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.
In addition, memory 20 can include high-speed random access memory, nonvolatile memory can also be included, for example, it is hard disk, interior
Deposit, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The input unit 30 instructs to input control, it can be specifically touch-screen, button and the data of the terminal 1
Interface etc..
The terminal 1 may also include terminal control mechanism 100 as shown in Figure 5, and the terminal control mechanism 100 can be deposited
It is stored in the memory 20.
Exemplary, the computer program can be divided into one or more modules, one or more of moulds
Block is stored in the memory 20, and is performed by the processor 10, to complete the present invention.One or more of modules
Can be the series of computation machine programmed instruction section that can complete specific function, which is used to describe the computer program
Implementation procedure in the terminal 1.For example, the computer program can be divided into terminal control dress as shown in Figure 5
100, including acquisition module 11, output module 12, identification module 13 and control module 14 are put, each module concrete function is as follows:
Acquisition module 11, available for the fault message for obtaining the terminal in a failure mode, wherein, the fault message
The software information and/or hardware information to break down including the terminal.Wherein, the fault mode can be relatively described terminal
The first system independence run when normal very when the second system that runs.
Output module 12, includes failure cause and/or failure solution accordingly available for according to fault message output
The fault cues information of scheme.
Identification module 13, the input operation received available for identification.
Control module 14, available for when identifying that the input operation matches with predetermined registration operation, controls the terminal
Into the fault mode.
Wherein, the predetermined registration operation can include:
Press programmable button;Or
Long-press includes the combination button of the first programmable button and the second programmable button;Or
Touch default touch area.
Further, can also be specific when the acquisition module 11 obtains the fault message of the terminal in a failure mode
For:
The current fault message of the terminal is obtained according to the result of the System self-test.
Further, the acquisition module 11 is described former including failure accordingly according to fault message output in execution
After the preset duration of the fault cues information of cause and/or fault solution, it can also be specifically used for:Under the fault mode
The fault message of the terminal is obtained again;
The control module 14 can also be specifically used for:When the fault message includes software information, the terminal is controlled
Factory reset or the renewal relevant software of software information;When the fault message includes hardware information, institute is controlled
State end panel covert and state the relevant hardware of hardware information.
If the integrated module of terminal 1 of the present invention is realized in the form of SFU software functional unit and is used as independent product
Sale in use, can be stored in a computer read/write memory medium.It is of the invention to realize based on such understanding
All or part of flow in embodiment method is stated, relevant hardware can also be instructed to complete by computer program, institute
The computer program stated can be stored in a computer-readable recording medium, which, can when being executed by processor
The step of realizing above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, the computer
Program code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer can
Reading medium can include:Any entity or device of the computer program code, recording medium, USB flash disk, mobile hard can be carried
Disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need what is illustrated
It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice
When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium, which does not include electric carrier wave, to be believed
Number and telecommunication signal.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.This
Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.System, device or terminal installation right
Multiple units, module or the device stated in it is required that can also pass through software or hardware by same unit, module or device
To realize.The first, the second grade word is used for representing title, and is not offered as any specific order.
Embodiment of above is merely illustrative of the technical solution of the present invention and unrestricted, although the preferable embodiment party with reference to more than
The present invention is described in detail in formula, it will be understood by those of ordinary skill in the art that, can be to technical scheme
Modify or equivalent substitution should not all depart from the spirit and scope of technical solution of the present invention.
Claims (10)
- A kind of 1. terminal control method, applied to terminal, it is characterised in that the described method includes:The fault message of the terminal is obtained in a failure mode, wherein, the fault message breaks down including the terminal Software information and/or hardware information;Include the fault cues information of failure cause and/or fault solution accordingly according to fault message output.
- 2. terminal control method as claimed in claim 1, it is characterised in that described to obtain the terminal in a failure mode Fault message includes:The terminal is controlled to carry out System self-test in a failure mode;The current fault message of the terminal is obtained according to the result of the System self-test.
- 3. terminal control method as claimed in claim 1, it is characterised in that the terminal is obtained under the fault mode Before fault message, the method further includes:Identify the input operation received;If identifying, the input operation matches with predetermined registration operation, controls the terminal to enter the fault mode.
- 4. terminal control method as claimed in claim 2, it is characterised in that the predetermined registration operation includes:Press programmable button;OrLong-press includes the combination button of the first programmable button and the second programmable button;OrTouch default touch area.
- 5. the terminal control method as described in claim 1-4 any one, it is characterised in that the fault mode is opposite institute State the first system independence that terminal is run when normal very when the second system that runs.
- 6. terminal control method as claimed in claim 1, it is characterised in that answered described according to the fault message the output phase The fault cues information for including failure cause and/or fault solution after, the method further includes:Carried performing the failure for including failure cause and/or fault solution accordingly according to fault message output After showing the preset duration of information, the fault message of the terminal is obtained again under the fault mode;If the fault message includes software information, the terminal factory reset or the renewal software information phase are controlled The software of pass;If the fault message includes hardware information, the end panel covert is controlled to state the relevant hardware of hardware information.
- 7. a kind of terminal control mechanism, applied to terminal, it is characterised in that the terminal control mechanism includes:Acquisition module, for obtaining the fault message of the terminal in a failure mode, wherein, the fault message includes described The software information and/or hardware information that terminal breaks down;Output module, for the event including failure cause and/or fault solution accordingly according to fault message output Hinder prompt message.
- 8. terminal control mechanism as claimed in claim 7, it is characterised in that the terminal control mechanism further includes:Identification module, for identifying the input received operation;Control module, for when identifying that the input operation matches with predetermined registration operation, controlling described in the terminal entrance Fault mode.
- 9. a kind of terminal, it is characterised in that the terminal includes processor, and the processor is used to perform what is stored in memory The step of control method as described in any one in claim 1-6 is realized during computer program.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of control method as described in any one in claim 1-6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711025859.8A CN107920161A (en) | 2017-10-26 | 2017-10-26 | Terminal control method and device, terminal and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711025859.8A CN107920161A (en) | 2017-10-26 | 2017-10-26 | Terminal control method and device, terminal and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107920161A true CN107920161A (en) | 2018-04-17 |
Family
ID=61895062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711025859.8A Withdrawn CN107920161A (en) | 2017-10-26 | 2017-10-26 | Terminal control method and device, terminal and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107920161A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582506A (en) * | 2018-12-25 | 2019-04-05 | 深圳开立生物医疗科技股份有限公司 | The restoration methods and device of touch screen failure, host equipment and touch-control system |
CN111400144A (en) * | 2020-03-18 | 2020-07-10 | 上海闻泰信息技术有限公司 | Fault information acquisition method and device |
CN111897683A (en) * | 2020-07-10 | 2020-11-06 | 广东小天才科技有限公司 | Electronic equipment and fault repairing method and device thereof |
CN113691676A (en) * | 2021-07-27 | 2021-11-23 | 宇龙计算机通信科技(深圳)有限公司 | Equipment state prompting method and device, storage medium and electronic equipment |
CN114327969A (en) * | 2021-11-30 | 2022-04-12 | 西安广和通无线软件有限公司 | Information acquisition method and device, computer equipment and computer storage medium |
CN114371963A (en) * | 2020-10-14 | 2022-04-19 | 华为技术有限公司 | Fault detection method and electronic terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010049263A1 (en) * | 1998-03-26 | 2001-12-06 | Xiang Zhang | Automatic station/system configuration monitoring and error tracking system and software upgrade tool kit |
CN101466115A (en) * | 2008-12-30 | 2009-06-24 | 宇龙计算机通信科技(深圳)有限公司 | Failure detection method, system and mobile terminal |
CN104679630A (en) * | 2015-02-13 | 2015-06-03 | 广东欧珀移动通信有限公司 | Adjustment method and device for working mode of intelligent terminal |
-
2017
- 2017-10-26 CN CN201711025859.8A patent/CN107920161A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010049263A1 (en) * | 1998-03-26 | 2001-12-06 | Xiang Zhang | Automatic station/system configuration monitoring and error tracking system and software upgrade tool kit |
CN101466115A (en) * | 2008-12-30 | 2009-06-24 | 宇龙计算机通信科技(深圳)有限公司 | Failure detection method, system and mobile terminal |
CN104679630A (en) * | 2015-02-13 | 2015-06-03 | 广东欧珀移动通信有限公司 | Adjustment method and device for working mode of intelligent terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582506A (en) * | 2018-12-25 | 2019-04-05 | 深圳开立生物医疗科技股份有限公司 | The restoration methods and device of touch screen failure, host equipment and touch-control system |
CN109582506B (en) * | 2018-12-25 | 2022-01-07 | 深圳开立生物医疗科技股份有限公司 | Touch screen failure recovery method and device, host equipment and touch system |
CN111400144A (en) * | 2020-03-18 | 2020-07-10 | 上海闻泰信息技术有限公司 | Fault information acquisition method and device |
CN111897683A (en) * | 2020-07-10 | 2020-11-06 | 广东小天才科技有限公司 | Electronic equipment and fault repairing method and device thereof |
CN114371963A (en) * | 2020-10-14 | 2022-04-19 | 华为技术有限公司 | Fault detection method and electronic terminal |
WO2022078095A1 (en) * | 2020-10-14 | 2022-04-21 | 华为技术有限公司 | Fault detection method and electronic terminal |
CN113691676A (en) * | 2021-07-27 | 2021-11-23 | 宇龙计算机通信科技(深圳)有限公司 | Equipment state prompting method and device, storage medium and electronic equipment |
CN113691676B (en) * | 2021-07-27 | 2023-12-29 | 宇龙计算机通信科技(深圳)有限公司 | Equipment state prompting method and device, storage medium and electronic equipment |
CN114327969A (en) * | 2021-11-30 | 2022-04-12 | 西安广和通无线软件有限公司 | Information acquisition method and device, computer equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107920161A (en) | Terminal control method and device, terminal and readable storage medium storing program for executing | |
EP3848795A1 (en) | Firmware upgrade method and device, and storage medium | |
CN104951335A (en) | Processing method and device for application program installation packages | |
CN110224854A (en) | Dispositions method, device and the storage medium of block chain node | |
CN106919458B (en) | Method and device for Hook target kernel function | |
CN107861738A (en) | Using abnormality eliminating method, device, storage medium and terminal device | |
CN109947449A (en) | Method for upgrading system, device, storage medium and electronic equipment | |
CN110399153A (en) | Method for upgrading system, device, terminal and computer readable storage medium | |
CN107423064A (en) | Message treatment method, device, terminal device and storage medium | |
CN108322540A (en) | Customized data lead-in method, terminal and computer readable storage medium | |
CN107844341A (en) | Management-control method, device and the storage medium and mobile terminal of process initiation | |
CN108121560A (en) | Difference bag upgrade method, device, terminal and computer readable storage medium | |
CN107690002A (en) | Communication means and device, system, computer installation and readable storage medium storing program for executing | |
CN106453571A (en) | Data migration method and terminal | |
CN111352530B (en) | Adjustment method and device for threshold range of capacitor key signal and terminal equipment | |
EP2869233B1 (en) | Method, device and terminal for protecting application program | |
CN111897726B (en) | Abnormality positioning method, abnormality positioning device, storage medium and mobile terminal | |
CN108920214A (en) | A kind of application program operation method, application program running gear and mobile terminal | |
CN103002436B (en) | Upgrade method and device of terminal device with android platform | |
CN107742076A (en) | System is forbidden to put forward the method, apparatus, storage medium and terminal device of power | |
CN104750375A (en) | Interface display method and device | |
CN107292614A (en) | Pay class application management method, device and mobile terminal | |
US10073957B2 (en) | Method and terminal device for protecting application program | |
CN105446835A (en) | Method and device for repairing system file | |
CN113132195B (en) | Control method and control gateway for smart home |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180417 |
|
WW01 | Invention patent application withdrawn after publication |