CN106021057A - Data output method and device and mobile terminal - Google Patents

Data output method and device and mobile terminal Download PDF

Info

Publication number
CN106021057A
CN106021057A CN201610399708.8A CN201610399708A CN106021057A CN 106021057 A CN106021057 A CN 106021057A CN 201610399708 A CN201610399708 A CN 201610399708A CN 106021057 A CN106021057 A CN 106021057A
Authority
CN
China
Prior art keywords
data
module
memory module
transmission channel
hardware
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
CN201610399708.8A
Other languages
Chinese (zh)
Other versions
CN106021057B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610399708.8A priority Critical patent/CN106021057B/en
Publication of CN106021057A publication Critical patent/CN106021057A/en
Application granted granted Critical
Publication of CN106021057B publication Critical patent/CN106021057B/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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • G06F11/2635Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers using a storage for the test inputs, e.g. test ROM, script files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The invention discloses a data output method and device and a mobile terminal. The method includes the steps that the hardware damage degree is detected in the hardware loading process; when a detection result meets preset drive program loading conditions, a drive program from a data storage module to an output interface is loaded, and a standby data transmission channel from the data storage module to the output interface is started; data stored in the data storage module is output through the data transmission channel by means of the device. a user can read data stored in the storage module by means of the standby data transmission channel, the problem that important data of the user is lost in the prior art is solved, and the data output method and device and the mobile terminal are suitable for practical use.

Description

Data output method, device and mobile terminal
Technical field
The present invention relates to intelligent terminal's technical field, particularly relate to a kind of data output method, device and shifting Dynamic terminal.
Background technology
Along with the fast development of development of Mobile Internet technology, intelligent terminal is more and more universal, function from strength to strength, Have become as a requisite part in people's life.
There is now various abnormal cause when causing intelligent terminal not start shooting or can not normally use, even if eventually The data of the data memory module storage in end are not damaged, user still cannot reading and saving in intelligence eventually Data in end, as a example by the EMMC module in mobile phone, EMMC storage is that the mainstream data of mobile phone is deposited Storage scheme, EMMC module is the smallest and the most exquisite and integration degree is the highest, as a rule, even if mobile phone Itself breaks, and in EMMC module, the data of storage are the most intact, but user but cannot read The data preserved in EMMC module, cause user's loss of vital data.
Summary of the invention
Based on this, it is necessary to when not starting shooting for existing intelligent terminal or can not normally use, user cannot Reading and saving data in intelligent terminal, the problem causing user's loss of vital data, it is provided that a kind of data Output intent, device and mobile terminal.
To achieve these goals, the embodiment of technical solution of the present invention is:
A kind of data output method, comprises the following steps:
Hardware damage degree is detected by hardware loading procedure;
When testing result meets and presets driver loading environment, loading data memory module is to output interface Driver, start the described data memory module preliminary data transmission channel to described output interface;
The data of storage in described data memory module are exported by described preliminary data transmission channel.
A kind of data output device, including:
Hardware damage detection module, for detecting hardware damage degree in hardware loading procedure;
Preliminary data transmission channel starts module, for presetting driver loading environment when testing result meets Time, the driver of loading data memory module to output interface, start described data memory module to described The preliminary data transmission channel of output interface;
Data outputting module, for exporting in described data memory module by described preliminary data transmission channel The data of storage.
A kind of mobile terminal, also includes above-mentioned data output device.
Compared with prior art, the invention have the benefit that data output method of the present invention, device and shifting Dynamic terminal, detects hardware damage degree in hardware loading procedure, presets driver when testing result meets During loading environment, the driver of loading data memory module to output interface, start data memory module and arrive The preliminary data transmission channel of output interface, by preliminary data transmission channel output data memory module Data, user can be solved by above-mentioned preliminary data transmission channel reading and saving data in a storage module The certainly problem of the existing user's loss of vital data occurred, is suitable for reality application.
Accompanying drawing explanation
Fig. 1 is data output method flow chart in an embodiment;
Fig. 2 is for based on data output method flow chart in the concrete example of method one shown in Fig. 1;
Fig. 3 is data output device structural representation in an embodiment;
Fig. 4 is mobile terminal structure schematic diagram in an embodiment.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and enforcement Example, is described in further detail the present invention.Should be appreciated that detailed description of the invention described herein Only in order to explain the present invention, do not limit protection scope of the present invention.
Data output method in one embodiment, as it is shown in figure 1, comprise the following steps:
Step S101: in hardware loading procedure, hardware damage degree is detected;
Step S102: when testing result meets and presets driver loading environment, loading data memory module To the driver of output interface, start the described data memory module preliminary data biography to described output interface Defeated passage;The driver mentioned in described default driver loading environment is the data memory module loaded Driver to output interface;
Step S103: export the number of storage in described data memory module by described preliminary data transmission channel According to.
It is evidenced from the above discussion that, data output method of the present invention, user can be transmitted by above-mentioned preliminary data Passage reading and saving data in a storage module, the problem solving user's loss of vital data.
Additionally, in a concrete example, when the hardware damage degree of detection non-data memory module meets pre- If during hardware damage condition, it is determined that meet described default driver loading environment.
Described predetermined hardware damages condition and can arrange according to actual needs, when detection non-data memory module When hardware damage degree meets the hardware damage condition of setting, it is determined that meet the driver loading environment arranged, Loading data memory module to the driver of output interface, starts standby to output interface of data memory module Use data transmission channel.
Additionally, in a concrete example, export described data by described preliminary data transmission channel and store In module, the step of the data of storage includes:
Receive data output instruction;
Described data memory module is exported by described preliminary data transmission channel according to described data output instruction The data of middle storage.
When receiving data output instruction, according to this data output instruction by the data memory module opened To the preliminary data transmission channel of output interface, the data of storage in output data memory module, it is to avoid user Lose important data.
Additionally, in a concrete example, described predetermined hardware damages condition according to touch screen and/or display screen Hardware damage degree during irregular working is arranged.
When touch screen and/or display screen irregular working, user cannot read storage in data memory module Data, therefore arrange predetermined hardware according to hardware damage degree when touch screen and/or display screen irregular working Damage condition, when the hardware damage degree detecting non-data memory module meets predetermined hardware damage condition, Judgement meets presets driver loading environment, the driver of loading data memory module to output interface, Start the data memory module preliminary data transmission channel to output interface, output data memory module stores Data, meet reality application needs.
Additionally, in a concrete example, described data memory module includes EMMC module.
Current EMMC module stores data are the mainstream data storage schemes of intelligent terminal, and EMMC module is non- Chang little Qiao and integration degree are the highest, and are inside intelligent terminal, as a rule, even if intelligence Can terminal itself break, in EMMC module, the data of storage are the most intact, in such cases, and can With by the data of storage in above-mentioned data transmission method output EMMC module, it is ensured that the data that user is important Will not lose.
In order to be more fully understood that said method, the application of a data output method of the present invention detailed below Example.This application example is as a example by mobile phone.
As in figure 2 it is shown, may comprise steps of:
Step S201: in mobile phone power-on hardware loading procedure, hardware damage degree is detected;
Step S202: damage when the hardware damage degree of detection mobile phone non-data memory module meets predetermined hardware During condition, it is determined that meet and preset driver loading environment, described predetermined hardware damages condition and touches according to mobile phone Hardware damage degree when touching screen and/or display screen irregular working is arranged;
Step S203: mobile phone loads the EMMC module driver to USB interface, starts EMMC mould Block is to the preliminary data transmission channel of USB interface;
Step S204: computer connects mobile phone by above-mentioned USB interface, sends data output instruction to mobile phone;
Step S205: mobile phone receives above-mentioned data output instruction;
Step S206: mobile phone is exported by above-mentioned preliminary data transmission channel according to above-mentioned data output instruction In EMMC module, the data of storage are to computer;
Step S207: computer preserves the data stored in the EMMC module of mobile phone output.
It is evidenced from the above discussion that, the present embodiment detects hardware damage degree in hardware loading procedure, works as detection When result meets default driver loading environment, load the EMMC module driver to USB interface, Start the EMMC module preliminary data transmission channel to USB interface, defeated by preliminary data transmission channel Going out the data in EMMC module, user can be existed by above-mentioned preliminary data transmission channel reading and saving Data in EMMC module, the problem solving the existing user's loss of vital data occurred, being suitable for reality should With
Data output device in one embodiment, as it is shown on figure 3, include:
Hardware damage detection module 301, for detecting hardware damage degree in hardware loading procedure;
Preliminary data transmission channel starts module 302, for adding carrier strip when testing result meets default driver During part, the driver of loading data memory module to output interface, start described data memory module to institute State the preliminary data transmission channel of output interface;
Data outputting module 303, for exporting described data memory module by described preliminary data transmission channel The data of middle storage.
Additionally, in a concrete example, when the hardware damage degree of detection non-data memory module meets pre- If during hardware damage condition, it is determined that meet described default driver loading environment.
Described predetermined hardware damages condition and can arrange according to actual needs, when detection non-data memory module When hardware damage degree meets the hardware damage condition of setting, it is determined that meet the driver loading environment arranged, Loading data memory module to the driver of output interface, starts standby to output interface of data memory module Use data transmission channel.
As it is shown on figure 3, in a concrete example, described data outputting module 303 includes:
Instruction reception unit 3031, is used for receiving data output instruction;
Data outputting unit 3032, for logical by the transmission of described preliminary data according to described data output instruction Road exports the data of storage in described data memory module.
When receiving data output instruction, according to this data output instruction by the data memory module opened To the preliminary data transmission channel of output interface, the data of storage in output data memory module, it is to avoid user Lose important data.
Additionally, in a concrete example, described predetermined hardware damages condition according to touch screen and/or display screen Hardware damage degree during irregular working is arranged.
When touch screen and/or display screen irregular working, user cannot read storage in data memory module Data, therefore arrange predetermined hardware according to hardware damage degree when touch screen and/or display screen irregular working Damage condition, when the hardware damage degree detecting non-data memory module meets predetermined hardware damage condition, Judgement meets presets driver loading environment, the driver of loading data memory module to output interface, Start the data memory module preliminary data transmission channel to output interface, output data memory module stores Data, meet reality application needs.
Additionally, in a concrete example, described data memory module includes EMMC module.
Current EMMC module stores data are the mainstream data storage schemes of intelligent terminal, and EMMC module is non- Chang little Qiao and integration degree are the highest, and are inside intelligent terminal, as a rule, even if intelligence Can terminal itself break, in EMMC module, the data of storage are the most intact, in such cases, and can With by the data of storage in above-mentioned data transmission method output EMMC module, it is ensured that the data that user is important Will not lose.
Device based on the present embodiment shown in Fig. 3, a concrete work process can be discussed further below:
Hardware damage degree is detected in hardware loading procedure by first hardware damage detection module 301; When testing result meets and presets driver loading environment, preliminary data transmission channel starts module 302 and adds Load data memory module, to the driver of output interface, starts described data memory module and connects to described output The preliminary data transmission channel of mouth, wherein presets when the hardware damage degree of detection non-data memory module meets During hardware damage condition, it is determined that meet described default driver loading environment, described predetermined hardware damages bar Part is arranged according to hardware damage degree when touch screen and/or display screen irregular working;Final data output mould Instruction reception unit 3031 in block 303 receives data output instruction, and data outputting unit 3032 is according to institute State data output instruction and export the number of storage in described data memory module by described preliminary data transmission channel According to.
It is evidenced from the above discussion that, data output device of the present invention, user can be transmitted by above-mentioned preliminary data Passage reading and saving data in a storage module, the problem solving user's loss of vital data.
Above-mentioned data output device is arranged at traditional mobile terminal and forms the mobile terminal of the present invention.
Mobile terminal in one embodiment, as shown in Figure 4, also includes above-mentioned data output device, i.e. also Including:
Hardware damage detection module 401, for detecting hardware damage degree in hardware loading procedure;
Preliminary data transmission channel starts module 402, for adding carrier strip when testing result meets default driver During part, the driver of loading data memory module to output interface, start described data memory module to institute State the preliminary data transmission channel of output interface;Wherein when the hardware damage degree of detection non-data memory module When meeting predetermined hardware damage condition, it is determined that meet described default driver loading environment, described default hard Part damages condition and arranges according to hardware damage degree when touch screen and/or display screen irregular working;
Data outputting module 403, for exporting described data memory module by described preliminary data transmission channel The data of middle storage;
Described data outputting module 403 includes:
Instruction reception unit 4031, is used for receiving data output instruction;
Data outputting unit 4032, for logical by the transmission of described preliminary data according to described data output instruction Road exports the data of storage in described data memory module.
It is evidenced from the above discussion that, mobile terminal of the present invention, user can be by above-mentioned preliminary data transmission channel Reading and saving data in mobile terminal memory module, solve user's loss of vital data of existing appearance Problem, is suitable for reality application.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, the most right The all possible combination of each technical characteristic in above-described embodiment is all described, but, if these skills There is not contradiction in the combination of art feature, is all considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, But can not therefore be construed as limiting the scope of the patent.It should be pointed out that, for this area For those of ordinary skill, without departing from the inventive concept of the premise, it is also possible to make some deformation and change Entering, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended power Profit requires to be as the criterion.

Claims (10)

1. a data output method, it is characterised in that comprise the following steps:
Hardware damage degree is detected by hardware loading procedure;
When testing result meets and presets driver loading environment, loading data memory module is to output interface Driver, start the described data memory module preliminary data transmission channel to described output interface;
The data of storage in described data memory module are exported by described preliminary data transmission channel.
Data output method the most according to claim 1, it is characterised in that when detection non-data storage When the hardware damage degree of module meets predetermined hardware damage condition, it is determined that meet described default driver and add Carrier strip part.
Data output method the most according to claim 1 and 2, it is characterised in that by described standby Data transmission channel exports the step of the data of storage in described data memory module and includes:
Receive data output instruction;
Described data memory module is exported by described preliminary data transmission channel according to described data output instruction The data of middle storage.
Data output method the most according to claim 2, it is characterised in that described predetermined hardware damages Condition is arranged according to hardware damage degree when touch screen and/or display screen irregular working.
Data output method the most according to claim 1, it is characterised in that described data memory module Including EMMC module.
6. a data output device, it is characterised in that including:
Hardware damage detection module, for detecting hardware damage degree in hardware loading procedure;
Preliminary data transmission channel starts module, for presetting driver loading environment when testing result meets Time, the driver of loading data memory module to output interface, start described data memory module to described The preliminary data transmission channel of output interface;
Data outputting module, for exporting in described data memory module by described preliminary data transmission channel The data of storage.
Data output device the most according to claim 6, it is characterised in that when detection non-data storage When the hardware damage degree of module meets predetermined hardware damage condition, it is determined that meet described default driver and add Carrier strip part.
8. according to the data output device described in claim 6 or 7, it is characterised in that described data export Module includes:
Instruction reception unit, is used for receiving data output instruction;
Data outputting unit, for defeated by described preliminary data transmission channel according to described data output instruction Go out the data of storage in described data memory module.
Data output device the most according to claim 7, it is characterised in that described predetermined hardware damages Condition is arranged according to hardware damage degree when touch screen and/or display screen irregular working, and described data store Module includes EMMC module.
10. a mobile terminal, it is characterised in that also include the data according to any one of claim 6-9 Output device.
CN201610399708.8A 2016-06-07 2016-06-07 Data output method, device and mobile terminal Active CN106021057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610399708.8A CN106021057B (en) 2016-06-07 2016-06-07 Data output method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610399708.8A CN106021057B (en) 2016-06-07 2016-06-07 Data output method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106021057A true CN106021057A (en) 2016-10-12
CN106021057B CN106021057B (en) 2018-06-29

Family

ID=57089755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610399708.8A Active CN106021057B (en) 2016-06-07 2016-06-07 Data output method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106021057B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113488A (en) * 2019-04-28 2019-08-09 软通动力信息技术(集团)有限公司 A kind of data transmission device and method preventing mobile terminal data loss

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130261878A1 (en) * 2012-03-28 2013-10-03 Denso Corporation Data output device for vehicle
CN104572328A (en) * 2014-12-29 2015-04-29 广东欧珀移动通信有限公司 Control method and device
CN104765705A (en) * 2015-04-22 2015-07-08 广东欧珀移动通信有限公司 Method and device for reading data stored by turned-off mobile terminal and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130261878A1 (en) * 2012-03-28 2013-10-03 Denso Corporation Data output device for vehicle
CN104572328A (en) * 2014-12-29 2015-04-29 广东欧珀移动通信有限公司 Control method and device
CN104765705A (en) * 2015-04-22 2015-07-08 广东欧珀移动通信有限公司 Method and device for reading data stored by turned-off mobile terminal and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113488A (en) * 2019-04-28 2019-08-09 软通动力信息技术(集团)有限公司 A kind of data transmission device and method preventing mobile terminal data loss

Also Published As

Publication number Publication date
CN106021057B (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN103019842A (en) Background program finishing method and system
US10003207B2 (en) Method and apparatus for battery charging
US20200374665A1 (en) Short Message Processing Method and Apparatus, and Electronic Device
WO2018103401A1 (en) Wireless fidelity wi-fi scanning method and related product
CN103150235B (en) Method and the mobile terminal of data in a kind of automatic preservation volatile memory
CN104683598A (en) Proximity sensor threshold adjusting method and device and intelligent device
CN106055077A (en) Wake-up lock-based processing method and device
CN103455410A (en) Application icon display method and communication terminal thereof
CN106095492B (en) The method for closing and device of a kind of application program
CN103984781A (en) Webpage loading method and device
WO2014153998A1 (en) Method for controlling process of application and computer system
CN104780311A (en) Terminal control method
CN102883044A (en) Information processing method and device
CN105528171A (en) Method and system for quickly starting application of intelligent terminal, and intelligent terminal
CN102387245A (en) Mobile terminal and backlight adjusting method thereof
CN103902011A (en) Electronic device controlling method and electronic device
CN104780312A (en) Terminal
CN106021057A (en) Data output method and device and mobile terminal
CN103713858A (en) Local log preservation method and device for electronic products
CN105721671A (en) Portable terminal sleeping method of mis-awakening and portable terminal
CN103885437A (en) Data security protection method and device and electronic control unit
CN105100384A (en) Mobile terminal and default storage device selection method and device of mobile terminal
CN104050044A (en) Terminal and method and device for releasing memory
CN104503881B (en) The method of handheld device consumption detection, device and handheld device
CN104615387B (en) Mobile unit and its design method based on XPE systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.