Data acquisition method, data transmission method, host and embedded memory

An embedded memory and data acquisition technology, which is applied in the field of communication, can solve the problem of low data acquisition efficiency of the host computer, and achieve the effect of improving speed and data efficiency

Active Publication Date: 2019-05-24
VIVO MOBILE COMM CO LTD
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present application is to provide a method for acquiring data, a method for sending data, a host and an embedded memory, so as to solve the problem of low efficiency of acquiring data by the host in the prior art

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data acquisition method, data transmission method, host and embedded memory
  • Data acquisition method, data transmission method, host and embedded memory
  • Data acquisition method, data transmission method, host and embedded memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] In order to solve the above-mentioned problems existing in the prior art, the present application provides a method for obtaining data, which is applied to the host Host, and is especially suitable for the host Host connected to the embedded memory eMMC, such as figure 1 shown, including the following steps:

[0042] S11: Obtain an address mapping table stored in the embedded memory eMMC, where the address mapping table includes a mapping relationship between a target logical address and a target physical address.

[0043] The eMMC in this solution can be understood as an embedded multimedia memory card, which can include a Flash memory and a control chip packaged together. The Host in this solution can be directly connected to the eMMC, or can be connected in other ways to realize the data transmission function.

[0044] Optionally, based on a method of obtaining data described in the above scheme, such as figure 2 As shown, the above step S11 includes the following...

Embodiment 2

[0078] In order to solve the above-mentioned problems existing in the prior art, such as Figure 6 As shown, the present application also provides a method for sending data, which is applied to the embedded memory eMMC, comprising the following steps:

[0079] S21: Receive the mapping table acquisition instruction sent by the host Host.

[0080] Specifically, the mapping table acquisition command sent by the Host to the eMMC may be a CMD60+arg:11111111 command.

[0081] S22: Obtain an instruction according to the mapping table, and send an address mapping table to the host, where the address mapping table includes a mapping relationship between a target logical address and a target physical address.

[0082] After receiving the above-mentioned mapping table acquisition instruction, eMMC feeds back the address mapping table Mapping Table related to the internal data to the Host.

[0083] S23: Determine data of the target physical address according to the target physical addre...

Embodiment 3

[0100] In order to solve the above-mentioned problems existing in the prior art, such as Figure 9 As shown, the present application also provides a host Host, the host 90 includes:

[0101] The mapping table acquisition module 91 is used to obtain the address mapping table stored in the embedded memory eMMC, and the address mapping table includes the mapping relationship between the target logical address and the target physical address;

[0102] A determining module 92, configured to determine the target physical address corresponding to the target logical address according to the address mapping table;

[0103] The data acquisition module 93 is configured to acquire the data of the target physical address.

[0104] Based on the host described in the above solution, the mapping table acquisition module 91 is configured to:

[0105] sending a mapping table acquisition instruction to the embedded memory;

[0106] and receiving the address mapping table fed back by the embed...

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

PUM

No PUM Login to view more

Abstract

The invention discloses a data acquisition method, a data sending method, a host and an embedded memory, which are used for solving the problem of low data acquisition efficiency of the host in the prior art. The method provided by the invention comprises the following steps: obtaining an address mapping table stored in an embedded memory, wherein the address mapping table comprises a mapping relation between a target logic address and a target physical address; determining a target physical address corresponding to the target logic address according to the address mapping table; and acquiringdata of the target physical address. According to the scheme, electronic equipment such as a host and the like can directly inquire the target physical address through the obtained address mapping table, then data of the target physical address are obtained, and the situation that an embedded memory loads the address mapping table and inquires the target physical address corresponding to the target logic address is avoided. According to the scheme provided by the invention, the target physical address can be quickly determined according to the target logic address, so that the overall speed of obtaining the data of the target physical address is improved, and the data obtaining efficiency is improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for acquiring data, a method for sending data, a host and an embedded memory. Background technique [0002] In the prior art, when the host Host needs to obtain the data of the logical address, it often sends the target logical address to an embedded memory (Embedded Multi Media Card, eMMC). The part of the address mapping table (Mapping Table) containing the target logical address is loaded by the eMMC, and then the target physical address corresponding to the target logical address is searched in the loaded address mapping table, and then the data of the target physical address is obtained. Finally, send the obtained data to the Host, so that the Host can obtain the required data. [0003] In the above process, since the random access memory (Random Access Memory, RAM) of eMMC is often small in capacity, it is impossible to load a complete address mapping table. In the actu...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
Inventor 刘如一缪强
Owner VIVO MOBILE COMM CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products