CN113407113A - Method for realizing storage acceleration on android system - Google Patents

Method for realizing storage acceleration on android system Download PDF

Info

Publication number
CN113407113A
CN113407113A CN202110572815.7A CN202110572815A CN113407113A CN 113407113 A CN113407113 A CN 113407113A CN 202110572815 A CN202110572815 A CN 202110572815A CN 113407113 A CN113407113 A CN 113407113A
Authority
CN
China
Prior art keywords
storage
data
local flash
storage device
android system
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.)
Pending
Application number
CN202110572815.7A
Other languages
Chinese (zh)
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.)
Shenzhen compuchip Information Technology Co.,Ltd.
Original Assignee
Shenzhen Vclusters Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Vclusters Information Technology Co ltd filed Critical Shenzhen Vclusters Information Technology Co ltd
Priority to CN202110572815.7A priority Critical patent/CN113407113A/en
Publication of CN113407113A publication Critical patent/CN113407113A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for realizing storage acceleration on an android system, which is characterized in that local flash storage and network mounting block storage equipment are combined to improve the data storage performance during application operation, when a large amount of data of apps on a mobile phone needs to be written into the storage or small I/O needs to be written with high frequency, when a user downloads a large amount of photos and video files from a network, or when a cloud mobile phone runs a large-scale mobile phone game and has a large amount of writing requirements of random I/O, the data storage performance of related apps is greatly improved, and therefore the use experience of the cloud mobile phone of the user is greatly improved.

Description

Method for realizing storage acceleration on android system
Technical Field
The invention relates to the technical field of data storage, in particular to a method for realizing storage acceleration on an android system.
Background
With the continuous expansion of the application field of the cloud mobile phone, the user experience requirements on the cloud mobile phone are higher and higher, especially the storage performance requirements on the cloud mobile phone almost exceed the requirements of the entity mobile phone, and as the office, the life and even the entertainment activities of the user are more or less started to be moved from the traditional entity mobile phone to the cloud mobile phone, the data storage requirements from the aspect of aspects not only have requirements on the storage capacity space, but also are not reduced at all even in the aspects of certain game requirements such as high I/Ops, and the like, and the requirements bring heavy burden to the traditional cloud mobile phone storage scheme.
The cloud mobile phone has natural advantages for the requirement of a user on storage capacity, can be connected to an external storage pool through a network, can provide a customized configuration scheme according to the requirement of the user on storage data, and for certain application requirements requiring high I/Ops, the disadvantages of network storage are obviously shown, and how to effectively exert the advantages of traditional storage and simultaneously make up for the defects to the maximum extent, so that the advantages of storage are fully exerted by making good use of the advantages and disadvantages of the existing traditional scheme to meet the requirement of the user.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method for realizing storage acceleration on an android system; by combining the local flash storage and the network mounting block storage device, the data storage performance during application running is improved.
In order to achieve the purpose, the invention adopts the following specific scheme:
the invention provides a method for realizing storage acceleration on an android system, which comprises the following steps:
s1, combining the local flash storage and the block storage device mounted in a network mode to form a combined storage device; s2, downloading and reading data through the combined storage device;
further, step S1 specifically includes:
s11, performing partition planning on the local flash memory, and presetting a partition space for later use;
s12, mounting the block storage device in a network mode;
s13, combining a partition preset by local flash storage with a block storage device mounted in a network mode, and using the combined device for user data storage of the android system;
the local flash storage and the cloud mobile phone are on the same hardware platform.
Further, step S12 includes performing a formatting operation on the block storage device.
Further, S2 specifically includes the following steps:
s21, the user data storage is firstly issued to the local flash storage;
and S22, the data is transmitted to the local flash for storage and then is synchronized to the block storage device mounted in the network mode by adopting an asynchronous I/O mode.
Further, the asynchronous I/O means that data is firstly flushed down to a local flash memory, and when the data memory of the local flash memory reaches a preset threshold value, the data is triggered to be flushed down from the local flash memory to a block memory device mounted in a network mode; the process of writing data into the local flash storage and the process of writing data into the network mount block storage device are not performed simultaneously.
Further, when an application needs to read certain data, the data is first retrieved or looked up in a local flash store.
By adopting the technical scheme of the invention, the invention has the following beneficial effects:
by combining the local flash storage and the network mount block storage device, the data storage performance of the application during running is improved, when a large amount of data of the app on the mobile phone needs to be written into the storage or small I/O needs to be written with high frequency, when a user downloads a large amount of photos and video files from the network, or when a cloud mobile phone runs a large-scale mobile phone game and has a large amount of writing requirements of random I/O, the data storage performance of the relevant app is greatly improved, and therefore the use experience of the cloud mobile phone of the user is greatly improved.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention;
FIG. 2 is a schematic diagram of the components of an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the following figures and specific examples.
The present invention is specifically described with reference to fig. 1-2:
firstly, the cloud mobile phone needs to perform partition planning on local flash storage of an operated hardware platform, and a section of available partition space is preset for a subsequent method.
The cloud mobile phone mounts the large-capacity block storage device provided by cluster storage in a network mode, and carries out formatting operation on the block storage device for combined use of the devices.
A partition preset in local flash storage is combined with block storage equipment mounted on an android system in a network mode to form combined equipment, and the combined equipment is used for storing user data of the android system.
The storage of the subsequent user data is firstly issued to the local flash storage of the combination device, at this moment, the local flash storage partition is equivalent to the cache partition of the combination device, and after the data is issued to the local flash storage, asynchronous I/O (input/output) mode synchronization is carried out on the large-capacity storage device mounted in a network mode by matching with a direct-write or write-back cache strategy, so that the rapid storage operation of the data is realized, and the data writing performance is improved.
When a user application needs to read some data, the data is retrieved or searched in the cache partition at this time, and the data request of the app can be quickly responded after the data is searched, so that the quick reading operation of the data is realized, and the data reading performance is improved.
After the user logs in the application app, the data directory corresponding to the user app program points to the combined storage device, and the storage device is formed by combining the local flash and the network block storage device, so that the flexible expandability is achieved, and the performance of the storage device is almost the same as that of the entity mobile phone.
By adjusting or modifying the I/O storage strategy of the device, the harsh requirements of the application app on storage under different use requirements and scenes of a user can be effectively and flexibly met.
Asynchronous I/O refers to a synchronization strategy of data, firstly, the data in the scheme can be down-brushed to a cache partition, and when the data storage of the cache partition reaches a preset threshold value, the triggering data is down-brushed from the cache partition to a large-capacity storage device mounted in a network mode. The process of writing data to the cache partition does not occur simultaneously with the process of writing data to the network mount device, and is referred to herein as asynchronous I/O.
The strategy is that the data synchronization operation can be triggered when the size of the file stored in the flash partition reaches 30% -50% of the size of the partition, so that the problem that the size of the data exceeds the size of the flash partition is solved.
The speed of data brushing to local flash storage is obviously higher than the speed of data brushing from flash to network storage equipment, and at this time, if data congestion does occur in continuous large I/O (input/output) issuing, the system will drop the speed and the speed is recovered to the scene without flash. The special scene needs to be additionally optimized for an actual case, for example, a cache flash partition with a larger capacity is provided for the scene, and meanwhile, the back-end storage can be optimized, and a similar high-capacity cache is added for the back-end storage, so that the cache mode cannot solve all problems, and only the adaptation evaluation can be performed for a specific use scene.
The asynchronous I/O mainly aims at reducing the issuing times of I/O and converting random I/O requests into sequential I/O requests, the flash has the advantages of high randomness, high concurrency, high bandwidth and high cost, the network mounted large-capacity equipment has the advantages of large storage capacity, high processing bandwidth during sequential I/O storage and low cost, and different advantages of physical storage media are fully utilized and combined.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (5)

1. A method of implementing storage acceleration on an android system, comprising:
s1, combining the local flash storage and the block storage device mounted in a network mode to form a combined storage device;
s2, downloading and reading data through the combined storage device;
wherein, step S1 specifically includes:
s11, performing partition planning on the local flash memory, and presetting a partition space for later use;
s12, mounting the block storage device in a network mode;
s13, combining a partition preset by local flash storage with a block storage device mounted in a network mode, and using the combined device for user data storage of the android system;
the local flash storage and the cloud mobile phone are on the same hardware platform.
2. The method for implementing storage acceleration on an android system of claim 1, wherein step S12 further comprises performing a formatting operation on the block storage device.
3. The method for realizing storage acceleration on the android system according to claim 1, wherein S2 specifically includes the following steps:
s21, the user data storage is firstly issued to the local flash storage;
and S22, the data is transmitted to the local flash for storage and then is synchronized to the block storage device mounted in the network mode by adopting an asynchronous I/O mode.
4. The method for realizing storage acceleration on the android system according to claim 3, wherein the asynchronous I/O is that data is first flushed down to a local flash storage, and when the data storage of the local flash storage reaches a preset threshold, data is triggered to be flushed down from the local flash storage onto a block storage device mounted in a network manner; the process of writing data into the local flash storage and the process of writing data into the network mount block storage device are not performed simultaneously.
5. The method for realizing storage acceleration on the android system as claimed in claim 1, wherein when an application needs to read some data, the data is first retrieved or looked up in a local flash storage.
CN202110572815.7A 2021-05-25 2021-05-25 Method for realizing storage acceleration on android system Pending CN113407113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110572815.7A CN113407113A (en) 2021-05-25 2021-05-25 Method for realizing storage acceleration on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110572815.7A CN113407113A (en) 2021-05-25 2021-05-25 Method for realizing storage acceleration on android system

Publications (1)

Publication Number Publication Date
CN113407113A true CN113407113A (en) 2021-09-17

Family

ID=77674858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110572815.7A Pending CN113407113A (en) 2021-05-25 2021-05-25 Method for realizing storage acceleration on android system

Country Status (1)

Country Link
CN (1) CN113407113A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110307795A1 (en) * 2010-06-15 2011-12-15 France Telecom Data storage management method, device and user interface
CN103530186A (en) * 2013-05-30 2014-01-22 Tcl集团股份有限公司 Method and system for achieving multi-position storage supported by camera application
CN106462362A (en) * 2014-06-24 2017-02-22 谷歌公司 Storing content items
CN107122135A (en) * 2017-04-25 2017-09-01 北京小米移动软件有限公司 Data processing method and device
CN209545624U (en) * 2019-05-24 2019-10-25 王语舟 A kind of cloud mobile phone safe storage system based on family's private clound
CN110489060A (en) * 2019-07-26 2019-11-22 广东睿江云计算股份有限公司 A kind of mixed file construction method and its system based on FUSE technology
CN111917891A (en) * 2020-08-20 2020-11-10 深圳市瑞驰信息技术有限公司 Method and system for realizing data sharing between mobile phone and cloud mobile phone
CN111988409A (en) * 2020-08-20 2020-11-24 深圳市瑞驰信息技术有限公司 Method and system for realizing external storage starting of cloud mobile phone mounting

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110307795A1 (en) * 2010-06-15 2011-12-15 France Telecom Data storage management method, device and user interface
CN103530186A (en) * 2013-05-30 2014-01-22 Tcl集团股份有限公司 Method and system for achieving multi-position storage supported by camera application
CN106462362A (en) * 2014-06-24 2017-02-22 谷歌公司 Storing content items
CN107122135A (en) * 2017-04-25 2017-09-01 北京小米移动软件有限公司 Data processing method and device
CN209545624U (en) * 2019-05-24 2019-10-25 王语舟 A kind of cloud mobile phone safe storage system based on family's private clound
CN110489060A (en) * 2019-07-26 2019-11-22 广东睿江云计算股份有限公司 A kind of mixed file construction method and its system based on FUSE technology
CN111917891A (en) * 2020-08-20 2020-11-10 深圳市瑞驰信息技术有限公司 Method and system for realizing data sharing between mobile phone and cloud mobile phone
CN111988409A (en) * 2020-08-20 2020-11-24 深圳市瑞驰信息技术有限公司 Method and system for realizing external storage starting of cloud mobile phone mounting

Similar Documents

Publication Publication Date Title
US9098413B2 (en) Read and write requests to partially cached files
CN108810041A (en) A kind of data write-in of distributed cache system and expansion method, device
CN104580437A (en) Cloud storage client and high-efficiency data access method thereof
CN111176549B (en) Data storage method and device based on cloud storage and storage medium
CN102117287A (en) Distributed file system access method, a metadata server and client side
CN104537112B (en) A kind of method of safe cloud computing
WO2020199760A1 (en) Data storage method, memory and server
CN108540510B (en) Cloud host creation method and device and cloud service system
CN109240607A (en) A kind of file reading and device
CN110058816A (en) A kind of high speed multi-user queue management device and method based on DDR
CN112346659B (en) Storage method, equipment and storage medium for distributed object storage metadata
CN101923571A (en) Method and device for managing terminal data logging
CN109471843A (en) A kind of metadata cache method, system and relevant apparatus
CN112954244A (en) Method, device and equipment for realizing storage of monitoring video and storage medium
CN112748877A (en) File integration uploading method and device and file downloading method and device
CN111163297A (en) Method for realizing high concurrency and quick playback of video monitoring cloud storage
JP3543661B2 (en) Buffer cache method and apparatus in exchange file system
CN107329695B (en) Distributed storage memory management method, system and computer storage medium
CN111984198B (en) Message queue implementation method and device and electronic equipment
CN103823634A (en) Data processing method and system supporting non-random write mode
CN112995257B (en) Cache expansion method and device based on cloud storage architecture and storage medium
CN113407113A (en) Method for realizing storage acceleration on android system
CN110502457B (en) Metadata storage method and device
CN111061652B (en) Nonvolatile memory management method and system based on MPI-IO middleware
CN109977079B (en) Data processing method and device based on distributed file system

Legal Events

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

Effective date of registration: 20211221

Address after: 518000 B901, Shenzhen national engineering laboratory building, No. 20, Gaoxin South seventh Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: Shenzhen compuchip Information Technology Co.,Ltd.

Address before: 518000 Building 201, No. 1, Qianwan Road, Qianhai Shenzhen-Hong Kong Cooperation Zone, Shenzhen, Guangdong Province (Admitted to Shenzhen Qianhai Business Secretary Co., Ltd.)

Applicant before: SHENZHEN VCLUSTERS INFORMATION TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210917