CN106021057B - Data output method, device and mobile terminal - Google Patents

Data output method, device and mobile terminal Download PDF

Info

Publication number
CN106021057B
CN106021057B CN201610399708.8A CN201610399708A CN106021057B CN 106021057 B CN106021057 B CN 106021057B CN 201610399708 A CN201610399708 A CN 201610399708A CN 106021057 B CN106021057 B CN 106021057B
Authority
CN
China
Prior art keywords
data
memory module
transmission channel
data memory
preliminary
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.)
Active
Application number
CN201610399708.8A
Other languages
Chinese (zh)
Other versions
CN106021057A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of data output method, device and mobile terminal, the method includes:Hardware damage degree is detected in hardware loading procedure;When testing result meets default driver loading environment, data memory module is loaded to the driver of output interface, starts the data memory module to the preliminary data transmission channel of the output interface;The data stored in the data memory module are exported by the preliminary data transmission channel.User of the present invention can be by above-mentioned preliminary data transmission channel reading and saving in a storage module data, solve the problems, such as user's loss of vital data of existing appearance, be suitble to practical application.

Description

Data output method, device and mobile terminal
Technical field
The present invention relates to intelligent terminal technical field, more particularly to a kind of data output method, device and mobile terminal.
Background technology
With the fast development of development of Mobile Internet technology, intelligent terminal is more and more universal, and function is stronger and stronger, into An essential part in for people's lives.
When causing the intelligent terminal not to be switched on or be unable to normal use there are various abnormal causes now, even if in terminal Data memory module storage data there is no damage, user still can not data of the reading and saving in intelligent terminal, with hand For EMMC modules in machine, EMMC storages are the mainstream data storage schemes of mobile phone, and EMMC modules are very compact and integrated Degree is very high, and in most cases, even if mobile phone is broken in itself, the data stored in EMMC modules are all still intact, But user can not but read the data preserved in EMMC modules, lead to user's loss of vital data.
Invention content
Based on this, it is necessary to which when not being switched on for existing intelligent terminal or be unable to normal use, user can not read guarantor There are the data in intelligent terminal, the problem of leading to user's loss of vital data, a kind of data output method, device and shifting are provided Dynamic terminal.
To achieve these goals, the embodiment of technical solution of the present invention is:
A kind of data output method, includes the following steps:
Hardware damage degree is detected in hardware loading procedure;
When testing result meets default driver loading environment, driving of the data memory module to output interface is loaded Program starts the data memory module to the preliminary data transmission channel of the output interface;
The data stored in the data memory module are exported by the preliminary data transmission channel.
A kind of data output device, including:
Hardware damage detection module, for being detected in hardware loading procedure to hardware damage degree;
Preliminary data transmission channel starting module, for when testing result meets default driver loading environment, adding Data memory module is carried to the driver of output interface, starts the data memory module to the spare number of the output interface According to transmission channel;
Data outputting module, for exporting what is stored in the data memory module by the preliminary data transmission channel Data.
A kind of mobile terminal further includes above-mentioned data output device.
Compared with prior art, beneficial effects of the present invention are:Data output method of the present invention, device and mobile terminal, Hardware damage degree is detected in hardware loading procedure, when testing result meets default driver loading environment, loads number According to the driver of memory module to output interface, the preliminary data transmission channel of log-on data memory module to output interface, By the data in preliminary data transmission channel output data memory module, user can pass through above-mentioned preliminary data transmission channel The data of reading and saving in a storage module solve the problems, such as user's loss of vital data of existing appearance, are suitble to practical application.
Description of the drawings
Fig. 1 is data output method flow chart in one embodiment;
Fig. 2 is based on data output method flow chart in method one shown in Fig. 1 specific example;
Fig. 3 is data output device structure diagram in one embodiment;
Fig. 4 is mobile terminal structure schematic diagram in one embodiment.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, Do not limit protection scope of the present invention.
Data output method in one embodiment, as shown in Figure 1, including the following steps:
Step S101:Hardware damage degree is detected in hardware loading procedure;
Step S102:When testing result meets default driver loading environment, data memory module is loaded to output The driver of interface starts the data memory module to the preliminary data transmission channel of the output interface;It is described default The driver mentioned in driver loading environment is the driver of the data memory module that loads to output interface;
Step S103:The data stored in the data memory module are exported by the preliminary data transmission channel.
It is evidenced from the above discussion that data output method of the present invention, user can be read by above-mentioned preliminary data transmission channel It goes bail for the data deposited in a storage module, solves the problems, such as user's loss of vital data.
In addition, in a specific example, when the hardware damage degree of detection non-data memory module meets predetermined hardware During damage condition, judgement meets the default driver loading environment.
The predetermined hardware damage condition can be set according to actual needs, when the hardware damage of detection non-data memory module When bad degree meets the hardware damage condition of setting, judgement meets the driver loading environment of setting, loading data storage mould Block is to the driver of output interface, the preliminary data transmission channel of log-on data memory module to output interface.
In addition, in a specific example, exported in the data memory module by the preliminary data transmission channel The step of data of storage, includes:
Receive data output instruction;
It is exported in the data memory module and deposited by the preliminary data transmission channel according to the data output instruction The data of storage.
When receiving data output instruction, the data memory module of unlatching to output is passed through according to the data output instruction The preliminary data transmission channel of interface, the data stored in output data memory module avoid user from losing important data.
In addition, in a specific example, the predetermined hardware damage condition is abnormal according to touch screen and/or display screen Hardware damage degree setting during work.
When touch screen and/or display screen irregular working, user can not read the data stored in data memory module, Hardware damage degree setting predetermined hardware when therefore according to touch screen and/or display screen irregular working damages condition, works as inspection When the hardware damage degree of survey non-data memory module meets predetermined hardware damage condition, judgement meets default driver and loads Condition loads data memory module to the driver of output interface, the spare number of log-on data memory module to output interface According to transmission channel, the data that are stored in output data memory module meet practical application needs.
In addition, in a specific example, the data memory module includes EMMC modules.
Current EMMC module storages data are the mainstream data storage schemes of intelligent terminal, and EMMC modules are very compact and collect Into change degree it is very high, and be inside intelligent terminal, in most cases, even if intelligent terminal is broken in itself, EMMC The data stored in module are all still intact, in such cases, can export EMMC modules by above-mentioned data transmission method The data of middle storage, it is ensured that the important data of user will not lose.
The above method in order to better understand, the application example of a data output method of the present invention detailed below. This application example is by taking mobile phone as an example.
As shown in Fig. 2, it may comprise steps of:
Step S201:Hardware damage degree is detected in mobile phone power-on hardware loading procedure;
Step S202:When the hardware damage degree of detection mobile phone non-data memory module meets predetermined hardware damage condition When, judgement meets default driver loading environment, and the predetermined hardware damages condition according to handset touch panel and/or display screen Hardware damage degree setting during irregular working;
Step S203:Mobile phone loads EMMC modules to the driver of USB interface, starts EMMC modules and arrives USB interface Preliminary data transmission channel;
Step S204:Computer connects mobile phone by above-mentioned USB interface, and transmission data output order is to mobile phone;
Step S205:Mobile phone receives above-mentioned data output instruction;
Step S206:Mobile phone exports EMMC modules according to above-mentioned data output instruction by above-mentioned preliminary data transmission channel The data of middle storage are to computer;
Step S207:Computer preserves the data stored in the EMMC modules of mobile phone output.
It is evidenced from the above discussion that the present embodiment detects hardware damage degree in hardware loading procedure, when testing result expires When foot presets driver loading environment, EMMC modules are loaded to the driver of USB interface, starts EMMC modules and is connect to USB The preliminary data transmission channel of mouth exports EMMC moulds data in the block by preliminary data transmission channel, and user can be by upper Preliminary data transmission channel reading and saving is stated in EMMC moulds data in the block, solves user's loss of vital data of existing appearance Problem is suitble to practical application
Data output device in one embodiment, as shown in figure 3, including:
Hardware damage detection module 301, for being detected in hardware loading procedure to hardware damage degree;
Preliminary data transmission channel starting module 302, for when testing result meets default driver loading environment, Data memory module is loaded to the driver of output interface, starts the data memory module to the spare of the output interface Data transmission channel;
Data outputting module 303 is deposited for being exported in the data memory module by the preliminary data transmission channel The data of storage.
In addition, in a specific example, when the hardware damage degree of detection non-data memory module meets predetermined hardware During damage condition, judgement meets the default driver loading environment.
The predetermined hardware damage condition can be set according to actual needs, when the hardware damage of detection non-data memory module When bad degree meets the hardware damage condition of setting, judgement meets the driver loading environment of setting, loading data storage mould Block is to the driver of output interface, the preliminary data transmission channel of log-on data memory module to output interface.
As shown in figure 3, in a specific example, the data outputting module 303 includes:
Instruction reception unit 3031, for receiving data output instruction;
Data outputting unit 3032, for being exported according to the data output instruction by the preliminary data transmission channel The data stored in the data memory module.
When receiving data output instruction, the data memory module of unlatching to output is passed through according to the data output instruction The preliminary data transmission channel of interface, the data stored in output data memory module avoid user from losing important data.
In addition, in a specific example, the predetermined hardware damage condition is abnormal according to touch screen and/or display screen Hardware damage degree setting during work.
When touch screen and/or display screen irregular working, user can not read the data stored in data memory module, Hardware damage degree setting predetermined hardware when therefore according to touch screen and/or display screen irregular working damages condition, works as inspection When the hardware damage degree of survey non-data memory module meets predetermined hardware damage condition, judgement meets default driver and loads Condition loads data memory module to the driver of output interface, the spare number of log-on data memory module to output interface According to transmission channel, the data that are stored in output data memory module meet practical application needs.
In addition, in a specific example, the data memory module includes EMMC modules.
Current EMMC module storages data are the mainstream data storage schemes of intelligent terminal, and EMMC modules are very compact and collect Into change degree it is very high, and be inside intelligent terminal, in most cases, even if intelligent terminal is broken in itself, EMMC The data stored in module are all still intact, in such cases, can export EMMC modules by above-mentioned data transmission method The data of middle storage, it is ensured that the important data of user will not lose.
Based on the device of the present embodiment shown in Fig. 3, a specific course of work can be discussed further below:
Hardware damage detection module 301 is detected hardware damage degree in hardware loading procedure first;Work as detection When as a result meeting default driver loading environment, preliminary data transmission channel starting module 302 loads data memory module and arrives The driver of output interface starts the data memory module to the preliminary data transmission channel of the output interface, wherein When the hardware damage degree for detecting non-data memory module meets predetermined hardware damage condition, judgement meets the default driving Program loading environment, the hardware damage when predetermined hardware damages condition according to touch screen and/or display screen irregular working Degree is set;Instruction reception unit 3031 in final data output module 303 receives data output instruction, data outputting unit 3032 export what is stored in the data memory module according to the data output instruction by the preliminary data transmission channel Data.
It is evidenced from the above discussion that data output device of the present invention, user can be read by above-mentioned preliminary data transmission channel It goes bail for the data deposited in a storage module, solves the problems, such as user's loss of vital data.
Above-mentioned data output device is set to traditional mobile terminal and forms mobile terminal of the invention.
Mobile terminal in one embodiment as shown in figure 4, further including above-mentioned data output device, that is, further includes:
Hardware damage detection module 401, for being detected in hardware loading procedure to hardware damage degree;
Preliminary data transmission channel starting module 402, for when testing result meets default driver loading environment, Data memory module is loaded to the driver of output interface, starts the data memory module to the spare of the output interface Data transmission channel;Wherein when the hardware damage degree for detecting non-data memory module meets predetermined hardware damage condition, sentence Surely meet the default driver loading environment, the predetermined hardware damage condition according to touch screen and/or display screen not just Often hardware damage degree setting during work;
Data outputting module 403 is deposited for being exported in the data memory module by the preliminary data transmission channel The data of storage;
The data outputting module 403 includes:
Instruction reception unit 4031, for receiving data output instruction;
Data outputting unit 4032, for being exported according to the data output instruction by the preliminary data transmission channel The data stored in the data memory module.
It is evidenced from the above discussion that mobile terminal of the present invention, user can be read by above-mentioned preliminary data transmission channel and be protected There are the data in mobile terminal memory module, solve the problems, such as user's loss of vital data of existing appearance, are suitble to practical answer With.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of data output method, which is characterized in that include the following steps:
Hardware damage degree is detected in hardware loading procedure;
When testing result meets default driver loading environment, data memory module is loaded to the driving journey of output interface Sequence starts the data memory module to the preliminary data transmission channel of the output interface;
The data stored in the data memory module are exported by the preliminary data transmission channel;
The driver is the driver of the data memory module that loads to output interface.
2. data output method according to claim 1, which is characterized in that when the hardware damage of detection non-data memory module When bad degree meets predetermined hardware damage condition, judgement meets the default driver loading environment.
3. data output method according to claim 1 or 2, which is characterized in that pass through the preliminary data transmission channel The step of exporting the data stored in the data memory module includes:
Receive data output instruction;
Export what is stored in the data memory module by the preliminary data transmission channel according to the data output instruction Data.
4. data output method according to claim 2, which is characterized in that the predetermined hardware damages condition according to touch Hardware damage degree setting when screen and/or display screen irregular working.
5. data output method according to claim 1, which is characterized in that the data memory module includes EMMC moulds Block.
6. a kind of data output device, which is characterized in that including:
Hardware damage detection module, for being detected in hardware loading procedure to hardware damage degree;
Preliminary data transmission channel starting module, for when testing result meets default driver loading environment, loading number According to the driver of memory module to output interface, the preliminary data for starting the data memory module to the output interface passes Defeated channel;
Data outputting module, for exporting the number stored in the data memory module by the preliminary data transmission channel According to;
The driver is the driver of the data memory module that loads to output interface.
7. data output device according to claim 6, which is characterized in that when the hardware damage of detection non-data memory module When bad degree meets predetermined hardware damage condition, judgement meets the default driver loading environment.
8. the data output device described according to claim 6 or 7, which is characterized in that the data outputting module includes:
Instruction reception unit, for receiving data output instruction;
Data outputting unit, for exporting the data by the preliminary data transmission channel according to the data output instruction The data stored in memory module.
9. data output device according to claim 7, which is characterized in that the predetermined hardware damages condition according to touch Hardware damage degree setting when screen and/or display screen irregular working, the data memory module include EMMC modules.
10. a kind of mobile terminal, which is characterized in that further include the data output device described in any one of claim 6-9.
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 CN106021057A (en) 2016-10-12
CN106021057B true 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)

Families Citing this family (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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5598491B2 (en) * 2012-03-28 2014-10-01 株式会社デンソー Vehicle data output device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106021057A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN107589928A (en) Double screen displaying method of terminal, device, terminal and computer-readable recording medium
US20150113544A1 (en) Method for controlling process of application and computer system
CN108647140A (en) A kind of test method and test system of mobile terminal
CN109462262A (en) A kind of wireless headset charging method, system and charging box and storage medium
CN103116412A (en) Method and system for starting music player
CN110020528A (en) A kind of BMC starting method, apparatus and electronic equipment and storage medium
CN106021057B (en) Data output method, device and mobile terminal
CN111163203A (en) Liquid inlet monitoring device, mobile terminal and liquid inlet monitoring method of mobile terminal
CN102883044A (en) Information processing method and device
CN105225092A (en) A kind of method of half networking pickup and express mail case
CN103064772A (en) Mobile terminal test method and system
CN110765085A (en) Log information writing method, system, storage medium and mobile terminal
CN109375871A (en) A kind of log processing method, system and electronic equipment and storage medium
CN110888679B (en) Memory compatibility method, device, equipment and medium
CN106708555A (en) Method and device for loading plug-ins
TWI554887B (en) System and method for charging an electronic device
CN102360065B (en) Battery detection method and device
CN101923521A (en) Electronic device with function of protecting universal serial bus ports thereof and method
CN107037977A (en) A kind of data write-in control method and system based on mobile terminal
CN103310148B (en) A kind of implementation method of login mode and mobile terminal
CN115333196A (en) Mobile energy storage power supply quick charging method, system, equipment and storage medium
CN104731723A (en) Power-off protection method and device for storage device
CN104615387A (en) Vehicle-mounted equipment based on XPE system and design method of vehicle-mounted equipment
US20170118168A1 (en) Computer and network attribute setting method
CN104965799A (en) Data caching device and method

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.