WO2014183374A1 - Method and apparatus for sending storage information of storage card - Google Patents

Method and apparatus for sending storage information of storage card Download PDF

Info

Publication number
WO2014183374A1
WO2014183374A1 PCT/CN2013/085226 CN2013085226W WO2014183374A1 WO 2014183374 A1 WO2014183374 A1 WO 2014183374A1 CN 2013085226 W CN2013085226 W CN 2013085226W WO 2014183374 A1 WO2014183374 A1 WO 2014183374A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory card
information
storage information
storage
card
Prior art date
Application number
PCT/CN2013/085226
Other languages
French (fr)
Chinese (zh)
Inventor
宋景山
刘艳
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014183374A1 publication Critical patent/WO2014183374A1/en

Links

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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays
    • 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/0604Improving or facilitating administration, e.g. storage management
    • 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/0629Configuration or reconfiguration of storage systems
    • G06F3/0632Configuration or reconfiguration of storage systems by initialisation or re-initialisation of storage systems

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for transmitting stored information of a memory card.
  • smart terminals including smart phones, tablet computers, electronic paper books, smart watches, smart cameras, and the like have been greatly popularized. On most smart terminals, users can install the application themselves.
  • the pluggable memory card technology including the SD card (Secure Digital Memory Card), TF card (TransFLash), MicroSD card, etc., has also been widely popularized, and a large number of applications. Program installation information, data will be stored in the data card, and even the program itself will be installed on the memory card.
  • the current mainstream practice is that some large Internet companies provide synchronization capabilities that allow users to upload phonebooks, short messages, and more to a network drive.
  • data such as phonebooks and short messages are only a small part of data, and most of them are stored in mobile phones instead of data cards.
  • an effective solution has not been proposed yet.
  • an embodiment of the present invention provides a storage information sending method of a memory card, where the method includes: after receiving a memory card replacement instruction, acquiring and saving the first memory card Storing information; wherein, the first memory card is a memory card of the current access terminal; transmitting a memory card replacement notification, detecting that the first memory card is disconnected from the terminal, and the terminal accessing the second memory card And sending the saved storage information to the second memory card.
  • acquiring and saving the storage information in the first memory card may include: acquiring the storage information in the first storage card; performing a compression and/or encryption operation on the storage information; and storing the compressed and/or encrypted storage information. .
  • the sending the saved storage information to the second memory card may include: determining whether the storage information needs to be sent to the second storage card; if necessary, sending the saved storage information to the second storage card.
  • the sending the saved storage information to the second memory card may include: performing a decompression and/or decryption operation on the saved storage information; and sending the decompressed and/or decrypted storage information to the foregoing Two memory cards.
  • the foregoing storage information may include at least one of the following: data, information, and an operation file of the application.
  • an embodiment of the present invention further provides a storage information transmitting apparatus for a memory card, where the apparatus includes: an information acquiring module, configured to acquire and after receiving the memory card replacement instruction Saving the storage information in the first memory card; wherein, the first memory card is a memory card of the current access terminal; the information sending module is configured to send a memory card replacement notification, and detecting that the first memory card is disconnected from the terminal When the connection is opened, and the terminal accesses the second memory card, the saved storage information is sent to the second memory card.
  • the information acquiring module may include: an acquiring unit configured to acquire storage information in the first memory card; a first processing unit configured to perform a compression and/or encryption operation on the storage information; and a saving unit configured to Save compressed and/or encrypted storage information.
  • the information sending module may include: a determining unit configured to determine whether the storage information needs to be sent to the second memory card; and the sending unit is configured to save when the determining result of the determining unit is yes The above stored information is sent to the second memory card.
  • the information sending module may include: a second processing unit configured to perform a decompression and/or decryption operation on the saved storage information; and an information sending unit configured to send the decompressed and/or decrypted storage information To the above second memory card.
  • the foregoing storage information may include at least one of the following: data, information, and an operation file of the application.
  • the saved storage information is sent to the second memory card, which solves the problem that the application program is prone to abnormality when the memory card is replaced in the related art, so that the automatic backup can be pulled out when the memory card is replaced.
  • FIG. 1 is a flowchart of a method for transmitting storage information of a memory card according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing a structure of a storage information transmitting device for a memory card according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for replacing a memory card by a smart terminal according to an embodiment of the present invention
  • FIG. 5 is another embodiment of replacing a memory card with a smart terminal according to an embodiment of the present invention
  • FIG. 1 is a flowchart of a method for transmitting storage information of a memory card according to an embodiment of the present invention. As shown in FIG.
  • the method includes the following steps (step S102- Step S104): Step S102, after receiving the memory card replacement instruction, acquiring and saving the storage information in the first memory card; wherein, the first memory card is a memory card of the current access terminal; and step S104, sending a memory card replacement notification, detecting When the first memory card is disconnected from the terminal, and the terminal accesses the second memory card, the saved storage information is sent to the second memory card.
  • the saved storage information is sent to the second memory card, which solves the problem that the application program is prone to abnormality when the memory card is replaced in the related art, so that the unplugged storage can be automatically backed up when the memory card is replaced.
  • step S102 after the storage information in the first memory card is acquired, it may be saved in the specified storage area. If the space of the storage area is small, the storage information may be compressed and saved in the storage area. This can reduce memory. In addition, if the stored information includes some confidential or relatively private information, the stored information may be encrypted and stored in the storage area.
  • the embodiment provides a preferred implementation manner, that is, acquiring and saving the storage information in the first memory card includes: acquiring storage information in the first storage card; performing compression and/or encryption operations on the storage information. ; Save compressed and / or encrypted storage information. Of course, in the actual operation process, if there are other requirements, the obtained storage information may be correspondingly operated and then saved to the storage area.
  • sending the saved storage information to the second memory card comprises: performing a decompression and/or decryption operation on the saved storage information; The decompressed and/or decrypted storage information is sent to the second memory card.
  • the above operations are not limited to compression and encryption, and different operations can be performed according to actual conditions.
  • the memory card replacement notification may be sent, and the user may disconnect the first memory card from the terminal, and then establish a connection between the second memory card and the terminal.
  • the embodiment provides a preferred implementation manner, that the sending the saved storage information to the second memory card includes: determining whether the storage information needs to be sent to the second storage card, and if necessary, storing the saved storage information. Send to the second memory card.
  • the flexibility in replacing the memory card is increased, so that the user can make different choices according to his own needs.
  • the foregoing storage information includes, but is not limited to, at least one of the following: data, information, an application file of the application (eg, an installation file, installation information, a data file, etc.).
  • the embodiment provides a storage information transmitting device of the memory card, and the device is used to implement the above embodiment.
  • 2 is a structural block diagram of a storage information transmitting apparatus of a memory card according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: an information acquiring module 10 and an information transmitting module 20. The structure is described in detail below.
  • the information obtaining module 10 is configured to acquire and save the storage information in the first memory card after receiving the memory card replacement instruction; wherein the first memory card is a memory card of the current access terminal; the information sending module 20, the connection
  • the information acquisition module 10 is configured to send a memory card replacement notification, and when detecting that the first memory card is disconnected from the terminal, and the terminal accesses the second memory card, sending the saved storage information to the foregoing Second memory card.
  • the information acquisition module 10 After the information acquisition module 10 receives the memory card replacement command, the information acquisition module 10 acquires and saves the storage information in the first memory card, and then the information transmission module 20 sends a memory card replacement notification, and detects that the first memory card is disconnected from the terminal.
  • the saved storage information is sent to the second memory card, which solves the problem that the application program is prone to abnormality when the memory card is replaced in the related art, so that the memory card can be replaced.
  • the information acquisition module 10 obtains the storage information in the first storage card, it may be saved in the specified storage area. If the storage area has a small space, the storage information may be compressed and saved in the storage area. Can reduce memory.
  • the stored information may be encrypted and stored in the storage area.
  • the information acquiring module 10 includes: an obtaining unit, configured to acquire storage information in the first memory card; and a first processing unit configured to perform the foregoing storage information Compression and/or encryption operations; save units, set to store compressed and/or encrypted storage information.
  • the obtained storage information may be correspondingly operated and then saved to the storage area.
  • the above operations are not limited to compression and encryption, and different operations may be performed according to actual conditions.
  • the embodiment further provides a preferred embodiment, that is, the information sending module 20 includes: a second processing unit configured to perform a decompression and/or decryption operation on the saved storage information; And a unit configured to send the decompressed and/or decrypted storage information to the second memory card.
  • the above operations are not limited to compression and encryption, and different operations can be performed according to actual conditions.
  • the information sending module 20 includes: a determining unit, configured to determine whether the storage information needs to be sent to the second memory card; and the sending unit is configured to determine When the determination result of the unit is YES, the stored storage information is transmitted to the second memory card.
  • the foregoing storage information includes, but is not limited to, at least one of the following: data, information, an application file of the application (eg, an installation file, installation information, a data file, etc.).
  • the apparatus includes a main control module, a user interface, a setting module, a memory card driving interface, and a data processing module.
  • the module may be disposed on the mobile terminal (for example, a mobile phone or a computer), and the device may further include a storage module.
  • the storage module may be disposed on the mobile terminal or may be independent of the mobile terminal.
  • the main control module controls the entire process of replacing the memory card.
  • the user interface is responsible for inputting and outputting to the user throughout the process, including receiving user input, and outputting information to the user during and after processing of the data of the main control module.
  • the setting module receives and saves the user input information received by the user interface, converts the processing and sends the information to the main control module, and receives the output information of the main control module, and outputs the content to the user interface for display to the user.
  • the memory card driver interface abstracts the operation of the memory card and is compatible with different types of memory cards, so that the operation of the memory card by the main control module is simpler.
  • the storage module is equivalent to the storage area described in the foregoing embodiment, and is configured to store intermediate data generated during the processing of the main control module, and may be a RAM random storage chip, a flash memory chip, or a third-party storage device such as a network hard disk.
  • a data processing module having functions equivalent to those of the first processing unit and the second processing unit introduced in the above embodiments for compressing/decompressing information that needs to be stored in the storage module, and/or for storing the information encrypt and decode.
  • the data processing module is not required when the space of the storage module is not limited.
  • the first memory card which requires a memory card to be taken out from the mobile terminal, stores an installation file of the application, installation information, data files, and the like.
  • the second memory card is a memory card inserted after the memory card 1 is taken out.
  • the main control module recovers the key files taken out from the first memory card in the second memory card, so as to achieve the effect that the entire card replacement process and the result are transparent to the operating system and the application program.
  • the memory card is replaced by the smart terminal, it is possible to ensure that the operation of the application is not abnormal after the replacement of the memory card.
  • the device for replacing a memory card by the smart terminal is described below. The following describes the method for replacing the memory card by the smart terminal.
  • FIG. 4 is a flowchart of the method for replacing the memory card by the smart terminal according to the embodiment of the present invention.
  • the method includes the following process (step S402 - step S414): Step S402, when the user needs to replace the memory card, first enter the user interaction interface provided by the setting module to send a replacement memory card instruction. Step S404, after receiving the user instruction by the setting module, the main control module takes out the key files necessary for running the application, such as the installation file, the installation information, and the data file, from the first memory card through the memory card driving interface. In step S406, the main control module compresses the extracted key file through the data processing module and saves the file into the storage module. Step S408, the setting module notifies the user that the memory card can be replaced through the user interface. Step S410: After the user replaces the memory card, the main control module detects that the second memory card is inserted.
  • Step S412 the main control module takes out the compressed file from the storage module, decompresses it through the data processing module, and saves the decompressed file into the second memory card through the memory card driving module.
  • Step S414 the setting module notifies the user that the memory card replacement is successful through the user interface.
  • the second memory card contains a key file that is completely consistent with the first memory card, the memory card does not change for the smart operating system and the application running on the smart operating system, the smart operating system And the application is still working.
  • FIG. 5 is a flowchart of another method for replacing a memory card by a smart terminal according to an embodiment of the present invention. As shown in FIG.
  • Step S502 When the user needs to replace the memory card, first enter the user interaction interface provided by the setting module to send a replacement memory card instruction.
  • Step S504 the main control module determines whether there are installation files, installation information, data files, and the like in the first memory card, which affect the operating system and the running of the application. If yes, proceed to step 203 to start backing up the key file; if not, proceed to step S510 to prompt the user to remove the first memory card.
  • Step S506 after receiving the user instruction by the setting module, the main control module takes out the key files necessary for running the application, such as the installation file, the installation information, and the data file, from the first memory card through the memory card driving interface.
  • Step S508 the main control module compresses the extracted key file through the data processing module, and saves the file into the storage module. If the storage module space is not limited, you do not need to compress and save the extracted key files directly into the storage module. If you need to increase security, you can encrypt the key files or compressed files and store them in the storage module.
  • Step S510 the setting module notifies the user that the memory card can be replaced through the user interface.
  • Step S512 after the user replaces the memory card, the main control module detects that the second memory card is inserted.
  • Step S514 the main control module determines whether it is necessary to restore the key file to the second memory card.
  • Step S516 the main control module takes out the compressed file from the storage module, decompresses it through the data processing module, and saves the decompressed file into the second memory card through the memory card driving module.

Abstract

Disclosed are a method and an apparatus for sending storage information of a storage card. The method comprises: after a storage card changing instruction is received, obtaining and storing storage information in a first storage card, and the first storage card being a storage card of a currently accessing terminal; and sending a storage card changing notification, and sending the stored storage information to a second storage card when it is detected that the first storage card is disconnected from the terminal and the terminal accesses the a second storage card. By means of the present invention, the problem in the related art is solved that an exception is easy to occur on an application when a storage card is changed, so that a key file in an extracted storage card is automatically backed up when the storage card is changed, and the file is restored when a new storage card is inserted, effects that the whole card change process and the card change result are transparent to an operating system and an application are achieved, and the an exception does not occur to the operating system and the application.

Description

一种存储卡的存储信息发送方法及装置 技术领域 本发明涉及通讯领域, 特别是涉及一种存储卡的存储信息发送方法及装置。 背景技术 随着智能操作系统的发展, 包括智能手机、 平板电脑、 电纸书、 智能手表、 智能 相机等在内的智能终端得到了极大地普及。 在多数智能终端上, 用户可以自行安装应 用程序。 但是由于智能终端本身的存储空间有限, 因此, 可插拔的存储卡技术, 包括 SD卡 (Secure Digital Memory Card)、 TF卡 (TransFLash)、 MicroSD卡等, 也得到了 大量的普及, 大量的应用程序安装信息、 数据会存放在数据卡中, 甚至程序本身也会 安装在存储卡上。 当用户在某些情况下需要更换存储卡, 如将小容量存储卡更换大容量的存储卡、 需要使用存储了特殊文件的存储卡、 更换使用安全性能更好的加密卡、 一张存储卡空 间不够需要多张轮换使用等情况下, 便会遇到新的问题。 此时, 因为大量的应用程序 安装信息、 数据、 甚至程序本身都在原存储卡上, 在更换了存储卡后, 这些信息无法 再获取到。 对于安装在手机中的应用程序, 存放在数据卡中的数据丢失; 对于安装在 数据卡中的程序, 则需要重新安装。 此时, 应用程序的运行便会出现异常。 当前主流做法是, 一些大型互联网公司提供同步功能, 允许用户将电话本、 短消 息等数据上传到网络硬盘中。 但是电话本、 短消息等数据只是很少一部分数据, 而且 多数原本就存放在手机中而非数据卡中, 对于更多的应用程序数据的备份与同步, 没 有很好的解决方法。 针对相关技术中在更换存储卡时应用程序易出现异常的问题, 目前尚未提出有效 的解决方案。 发明内容 针对相关技术中在更换存储卡时应用程序易出现异常的问题, 本发明实施例提供 了一种存储卡的存储信息发送方法及装置, 用以解决上述技术问题。 根据本发明实施例的一个方面, 本发明实施例提供了一种存储卡的存储信息发送 方法, 其中, 该方法包括: 接收到存储卡更换指令之后, 获取并保存第一存储卡中的 存储信息; 其中, 上述第一存储卡为当前接入终端的存储卡; 发送存储卡更换通知, 在检测到上述第一存储卡与上述终端断开连接, 且上述终端接入第二存储卡时, 将保 存的上述存储信息, 发送至上述第二存储卡。 优选地, 获取并保存第一存储卡中的存储信息可以包括: 获取上述第一存储卡中 的存储信息;对上述存储信息执行压缩和 /或加密操作;保存压缩和 /或加密后的存储信 息。 优选地, 将保存的上述存储信息, 发送至上述第二存储卡可以包括: 判断是否需 要将上述存储信息发送至上述第二存储卡; 如果需要, 则将保存的上述存储信息发送 至上述第二存储卡。 优选地, 将保存的上述存储信息, 发送至上述第二存储卡可以包括: 对保存的上 述存储信息执行解压缩和 /或解密操作;将解压缩和 /或解密后的存储信息发送至上述第 二存储卡。 优选地, 上述存储信息可以包括以下至少之一: 数据、 信息、 应用程序的运行文 件。 根据本发明实施例的另一方面, 本发明实施例还提供了一种存储卡的存储信息发 送装置, 其中, 该装置包括: 信息获取模块, 设置为在接收到存储卡更换指令之后, 获取并保存第一存储卡中的存储信息; 其中, 上述第一存储卡为当前接入终端的存储 卡; 信息发送模块, 设置为发送存储卡更换通知, 在检测到上述第一存储卡与上述终 端断开连接, 且上述终端接入第二存储卡时, 将保存的上述存储信息, 发送至上述第 二存储卡。 优选地, 上述信息获取模块可以包括: 获取单元, 设置为获取上述第一存储卡中 的存储信息; 第一处理单元, 设置为对上述存储信息执行压缩和 /或加密操作; 保存单 元, 设置为保存压缩和 /或加密后的存储信息。 优选地, 上述信息发送模块可以包括: 判断单元, 设置为判断是否需要将上述存 储信息发送至上述第二存储卡; 发送单元, 设置为在上述判断单元的判断结果为是的 情况下, 将保存的上述存储信息发送至上述第二存储卡。 优选地, 上述信息发送模块可以包括: 第二处理单元, 设置为对保存的上述存储 信息执行解压缩和 /或解密操作;信息发送单元,设置为将解压缩和 /或解密后的存储信 息发送至上述第二存储卡。 优选地, 上述存储信息可以包括以下至少之一: 数据、 信息、 应用程序的运行文 件。 通过本发明实施例, 接收到存储卡更换指令之后, 获取并保存第一存储卡中的存 储信息, 然后发送存储卡更换通知, 在检测到第一存储卡与终端断开连接, 且终端接 入第二存储卡时, 将保存的上述存储信息, 发送至第二存储卡, 解决了相关技术中在 更换存储卡时应用程序易出现异常的问题, 从而能够在更换存储卡时自动备份被拔出 的存储卡中的关键文件, 并在新插入的存储卡中进行恢复, 达到整个换卡过程与换卡 结果对操作系统及应用程序透明的效果, 使得操作系统和应用程序能够不因为更换存 储卡而出现异常。 上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明的技术手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上述和其它目的、 特征和优点 能够更明显易懂, 以下特举本发明的具体实施方式。 附图说明 图 1 是根据本发明实施例的存储卡的存储信息发送方法的流程图; 图 2 是根据本发明实施例的存储卡的存储信息发送装置的结构框图; 图 3 是根据本发明实施例的智能终端更换存储卡的装置的示意图; 图 4 是根据本发明实施例的智能终端更换存储卡的方法的流程图; 图 5 是根据本发明实施例的智能终端更换存储卡的另一种方法的流程图。 具体实施方式 为了解决相关技术中在更换存储卡时应用程序易出现异常的问题, 本发明实施例 提供了一种存储卡的存储信息发送方法及装置, 以下结合附图以及实施例, 对本发明 进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并 不限定本发明。 本实施例提供了一种存储卡的存储信息发送方法, 图 1是根据本发明实施例的存 储卡的存储信息发送方法的流程图, 如图 1所示, 该方法包括以下步骤 (步骤 S102- 步骤 S104): 步骤 S102, 接收到存储卡更换指令之后, 获取并保存第一存储卡中的存储信息; 其中, 上述第一存储卡为当前接入终端的存储卡; 步骤 S104, 发送存储卡更换通知, 在检测到第一存储卡与上述终端断开连接, 且 终端接入第二存储卡时, 将保存的上述存储信息, 发送至第二存储卡。 通过上述方法, 接收到存储卡更换指令之后, 获取并保存第一存储卡中的存储信 息, 然后发送存储卡更换通知, 在检测到第一存储卡与终端断开连接, 且终端接入第 二存储卡时, 将保存的上述存储信息, 发送至第二存储卡, 解决了相关技术中在更换 存储卡时应用程序易出现异常的问题, 从而能够在更换存储卡时自动备份被拔出的存 储卡中的关键文件, 并在新插入的存储卡中进行恢复, 达到整个换卡过程与换卡结果 对操作系统及应用程序透明的效果, 使得操作系统和应用程序能够不因为更换存储卡 而出现异常。 在上述步骤 S102中,在获取到第一存储卡中的存储信息之后,可以保存在指定存 储区域中, 如果该存储区域的空间较小, 则可以将存储信息进行压缩, 在保存到存储 区域中, 这样可以减少内存。 另外, 如果上述存储信息中包含有一些比较机密或者比 较隐私的信息, 则可以将存储信息进行加密, 再保存至存储区域中。 针对上述情况, 本实施例提供了一种优选实施方式, 即获取并保存第一存储卡中的存储信息包括: 获 取第一存储卡中的存储信息;对该存储信息执行压缩和 /或加密操作;保存压缩和 /或加 密后的存储信息。 当然, 在实际操作过程中, 如果还有其他需求, 也可以对获取到的 存储信息执行相应操作, 然后再保存至存储区域, 上述操作不仅限于压缩和加密, 可 以根据实际情况执行不同操作。 对应于上述优选实施方式, 在将第一存储卡更换为第二存储卡之后, 将保存的存 储信息, 发送至第二存储卡包括: 对保存的存储信息执行解压缩和 /或解密操作; 将解 压缩和 /或解密后的存储信息发送至第二存储卡。 同样的, 上述操作不仅限于压缩和加 密, 可以根据实际情况执行不同操作。 在获取并保存了第一存储卡的存储信息之后, 便可以发送存储卡更换通知, 用户 可以将第一存储卡与终端断开连接, 然后将第二存储卡与终端建立连接, 此时可以先 判断是否需要将上述存储信息发送至第二存储卡, 如果确定需要, 再将存储信息恢复 至第二存储卡上。基于此, 本实施例提供了一种优选实施方式, 即将保存的存储信息, 发送至第二存储卡包括: 判断是否需要将存储信息发送至第二存储卡, 如果需要, 则 将保存的存储信息发送至第二存储卡。 通过该优选实施方式, 增加了更换存储卡时的 灵活性, 使得用户可以根据自己的需求做出不同选择。 在本实施例中, 上述存储信息包括但不限于以下至少之一: 数据、 信息、 应用程 序的运行文件 (例如安装文件、 安装信息、 数据文件等)。 对应于上述实施例介绍的一种存储卡的存储信息发送方法, 本实施例提供了一种 存储卡的存储信息发送装置, 该装置用以实现上述实施例。 图 2是根据本发明实施例 的存储卡的存储信息发送装置的结构框图, 如图 2所示, 该装置包括: 信息获取模块 10和信息发送模块 20。 下面对该结构进行详细介绍。 信息获取模块 10, 设置为在接收到存储卡更换指令之后, 获取并保存第一存储卡 中的存储信息; 其中, 上述第一存储卡为当前接入终端的存储卡; 信息发送模块 20, 连接至信息获取模块 10, 设置为发送存储卡更换通知, 在检测 到上述第一存储卡与上述终端断开连接, 且上述终端接入第二存储卡时, 将保存的上 述存储信息, 发送至上述第二存储卡。 通过上述装置,信息获取模块 10接收到存储卡更换指令之后, 获取并保存第一存 储卡中的存储信息,然后信息发送模块 20发送存储卡更换通知,在检测到第一存储卡 与终端断开连接, 且终端接入第二存储卡时, 将保存的上述存储信息, 发送至第二存 储卡, 解决了相关技术中在更换存储卡时应用程序易出现异常的问题, 从而能够在更 换存储卡时自动备份被拔出的存储卡中的关键文件,并在新插入的存储卡中进行恢复, 达到整个换卡过程与换卡结果对操作系统及应用程序透明的效果, 使得操作系统和应 用程序能够不因为更换存储卡而出现异常。 在信息获取模块 10获取到第一存储卡中的存储信息之后,可以保存在指定存储区 域中, 如果该存储区域的空间较小, 则可以将存储信息进行压缩, 在保存到存储区域 中, 这样可以减少内存。 另外, 如果上述存储信息中包含有一些比较机密或者比较隐 私的信息, 则可以将存储信息进行加密, 再保存至存储区域中。 针对上述情况, 本实 施例提供了一种优选实施方式, 即上述信息获取模块 10包括: 获取单元, 设置为获取 第一存储卡中的存储信息; 第一处理单元, 设置为对上述存储信息执行压缩和 /或加密 操作; 保存单元, 设置为保存压缩和 /或加密后的存储信息。 当然, 在实际操作过程中, 如果还有其他需求, 也可以对获取到的存储信息执行相应操作, 然后再保存至存储区 域, 上述操作不仅限于压缩和加密, 可以根据实际情况执行不同操作。 对应于上述优选实施方式, 本实施例还提供了一种优选实施方式, 即上述信息发 送模块 20包括: 第二处理单元, 设置为对保存的存储信息执行解压缩和 /或解密操作; 信息发送单元, 设置为将解压缩和 /或解密后的存储信息发送至上述第二存储卡。 同样 的, 上述操作不仅限于压缩和加密, 可以根据实际情况执行不同操作。 在信息获取模块 10获取并保存了第一存储卡的存储信息之后,便可以发送存储卡 更换通知, 用户可以将第一存储卡与终端断开连接, 然后将第二存储卡与终端建立连 接, 此时可以先判断是否需要将上述存储信息发送至第二存储卡, 如果确定需要, 再 将存储信息恢复至第二存储卡上。 基于此, 本实施例提供了一种优选实施方式, 即上 述信息发送模块 20包括: 判断单元, 设置为判断是否需要将上述存储信息发送至上述 第二存储卡; 发送单元, 设置为在上述判断单元的判断结果为是的情况下, 将保存的 上述存储信息发送至上述第二存储卡。 在本实施例中, 上述存储信息包括但不限于以下至少之一: 数据、 信息、 应用程 序的运行文件 (例如安装文件、 安装信息、 数据文件等)。 对应于上述实施例介绍的存储卡的存储信息发送装置, 下面介绍一种智能终端更 换存储卡的装置, 也是用于实现存储卡的存储信息发送方法。 图 3是根据本发明实施 例的智能终端更换存储卡的装置的示意图, 如图 3所示, 该装置包括主控模块、 用户 接口、 设置模块、 存储卡驱动接口、 数据处理模块, 上述几个模块可以设置在移动终 端上(例如手机或者电脑), 上述装置还可以包括存储模块, 当然存储模块可以设置在 移动终端上, 也可以独立于移动终端。 图 3中还介绍了第一存储卡和第二存储卡。 下 面对上述各个模块的功能进行介绍。 主控模块, 控制更换存储卡的整个流程。 用户接口, 负责整个过程中对用户的输入输出, 包括接收用户输入, 在主控模块 数据处理过程中及处理完之后, 向用户输出信息。 设置模块, 接收、 保存用户接口接收到的用户输入信息, 转化处理后发送给主控 模块, 并接收主控模块的输出信息, 格式化后输出给用户接口以显示给用户。 存储卡驱动接口, 抽象化对存储卡的操作, 能够兼容不同类型的存储卡, 使主控 模块对存储卡的操作更简单。 存储模块, 相当于上述实施例介绍的存储区域, 设置为存放主控模块处理过程中 产生的中间数据, 可以是 RAM随机存储芯片、 flash闪存芯片, 也可以是网络硬盘等 第三方存储设备等。 数据处理模块, 其功能与上述实施例介绍的第一处理单元和第二处理单元的功能 相当,用以对需要在存储模块中存储的信息的压缩 /解压缩,和 /或对存储的信息进行加 密 /解密。 当存储模块的空间不受限时, 数据处理模块不是必须的。 第一存储卡, 需要从移动终端中取出的存储卡, 保存有应用程序的安装文件、 安 装信息、 数据文件等。 第二存储卡, 是在取出存储卡 1之后再插入的存储卡。 主控模块会将从第一存储 卡取出的关键文件, 在第二存储卡中进行恢复, 以达到整个换卡过程与结果对操作系 统及应用程序透明的效果。 在本实施例中, 通过智能终端更换存储卡时的装置, 能够在更换存储卡后, 尽最 大可能保证应用程序的运行不会出现异常。 基于上述实施例介绍的智能终端更换存储卡的装置, 下面介绍智能终端更换存储 卡的方法, 图 4是根据本发明实施例的智能终端更换存储卡的方法的流程图, 如图 4 所示, 该方法包括以下流程 (步骤 S402-步骤 S414): 步骤 S402, 在用户需要更换存储卡时, 先进入设置模块提供的用户交互接口发送 更换存储卡指令。 步骤 S404, 主控模块通过设置模块接收到用户指令后, 通过存储卡驱动接口, 从 第一存储卡中将安装文件、 安装信息、 数据文件等运行应用程序所必须的关键文件取 出。 步骤 S406, 主控模块将取出的关键文件, 通过数据处理模块将文件压缩, 保存入 存储模块。 步骤 S408, 设置模块通过用户接口通知用户可以更换存储卡。 步骤 S410, 用户更换存储卡之后, 主控模块检测到第二存储卡插入。 步骤 S412, 主控模块从存储模块中取出压缩文件, 并通过数据处理模块解压缩, 并将解压缩后的文件通过存储卡驱动模块保存入第二存储卡。 步骤 S414, 设置模块通过用户接口通知用户存储卡更换成功。 在本实施例中, 因为第二存储卡包含了与第一存储卡完全一致的关键文件, 因此 对于智能操作系统以及运行在智能操作系统以上的应用程序, 存储卡并未发生变化, 智能操作系统及应用程序仍能够正常运行。 图 5是根据本发明实施例的智能终端更换存储卡的另一种方法的流程图, 如图 5 所示, 该方法包括以下流程 (步骤 S502-步骤 S518 ): 步骤 S502, 在用户需要更换存储卡时, 先进入设置模块提供的用户交互接口发送 更换存储卡指令。 步骤 S504, 主控模块判断第一存储卡中是否存在安装文件、 安装信息、 数据文件 等影响操作系统和应用程序运行的关键文件。 如果存在, 则进入步骤 203开始备份关 键文件; 如果不存在, 则进入步骤 S510提示用户可以拔除第一存储卡。 步骤 S506, 主控模块通过设置模块接收到用户指令后, 通过存储卡驱动接口, 从 第一存储卡中将安装文件、 安装信息、 数据文件等运行应用程序所必须的关键文件取 出。 步骤 S508, 主控模块将取出的关键文件, 通过数据处理模块将文件压缩, 保存入 存储模块。 如果存储模块空间不受限, 则不需要进行压缩, 直接将取出的关键文件保 存入存储模块。 如需要增加安全性, 则可以将关键文件或压缩文件进行加密后再存入 存储模块。 步骤 S510, 设置模块通过用户接口通知用户可以更换存储卡。 步骤 S512, 用户更换存储卡之后, 主控模块检测到第二存储卡插入。 步骤 S514, 主控模块判断是否需要将关键文件恢复到第二存储卡中。 如果需要, 则进入步骤 S516开始恢复关键文件; 如果不存在, 则进入步骤 S518提示用户换卡成 功。 步骤 S516, 主控模块从存储模块中取出压缩文件, 并通过数据处理模块解压缩, 并将解压缩后的文件通过存储卡驱动模块保存入第二存储卡。 步骤 S518, 设置模块通过用户接口通知用户存储卡更换成功。 从以上的描述中, 可以看出, 通过本发明实施例, 在进行存储卡更换操作之后, 第二存储卡包含了与第一存储卡完全一致的关键文件, 因此对于智能操作系统以及运 行在智能操作系统以上的应用程序, 存储卡并未发生变化, 智能操作系统及应用程序 仍能够正常运行。 尽管为示例目的, 已经公开了本发明的优选实施例, 本领域的技术人员将意识到 各种改进、 增加和取代也是可能的, 因此, 本发明的范围应当不限于上述实施例。 工业实用性 本发明实施例提供的技术方案可以应用于智能终端领域, 解决了相关技术中在更 换存储卡时应用程序易出现异常的问题, 从而能够在更换存储卡时自动备份被拔出的 存储卡中的关键文件, 并在新插入的存储卡中进行恢复, 达到整个换卡过程与换卡结 果对操作系统及应用程序透明的效果, 使得操作系统和应用程序能够不因为更换存储 卡而出现异常。 The present invention relates to the field of communications, and in particular, to a method and an apparatus for transmitting stored information of a memory card. BACKGROUND With the development of intelligent operating systems, smart terminals including smart phones, tablet computers, electronic paper books, smart watches, smart cameras, and the like have been greatly popularized. On most smart terminals, users can install the application themselves. However, due to the limited storage space of the smart terminal itself, the pluggable memory card technology, including the SD card (Secure Digital Memory Card), TF card (TransFLash), MicroSD card, etc., has also been widely popularized, and a large number of applications. Program installation information, data will be stored in the data card, and even the program itself will be installed on the memory card. When the user needs to replace the memory card in some cases, such as replacing a small-capacity memory card with a large-capacity memory card, using a memory card that stores a special file, replacing a security card with a better security performance, and a memory card space. If you don't need more than one rotation, you will encounter new problems. At this time, because a large amount of application installation information, data, and even the program itself are on the original memory card, after the memory card is replaced, the information can no longer be obtained. For applications installed in the phone, the data stored on the data card is lost; for programs installed on the data card, you need to reinstall. At this point, the application will run abnormally. The current mainstream practice is that some large Internet companies provide synchronization capabilities that allow users to upload phonebooks, short messages, and more to a network drive. However, data such as phonebooks and short messages are only a small part of data, and most of them are stored in mobile phones instead of data cards. There is no good solution for backing up and synchronizing more application data. In view of the problem that the application is prone to abnormality when replacing the memory card in the related art, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a method and an apparatus for transmitting storage information of a memory card to solve the above technical problem. According to an aspect of the present invention, an embodiment of the present invention provides a storage information sending method of a memory card, where the method includes: after receiving a memory card replacement instruction, acquiring and saving the first memory card Storing information; wherein, the first memory card is a memory card of the current access terminal; transmitting a memory card replacement notification, detecting that the first memory card is disconnected from the terminal, and the terminal accessing the second memory card And sending the saved storage information to the second memory card. Preferably, acquiring and saving the storage information in the first memory card may include: acquiring the storage information in the first storage card; performing a compression and/or encryption operation on the storage information; and storing the compressed and/or encrypted storage information. . Preferably, the sending the saved storage information to the second memory card may include: determining whether the storage information needs to be sent to the second storage card; if necessary, sending the saved storage information to the second storage card. Preferably, the sending the saved storage information to the second memory card may include: performing a decompression and/or decryption operation on the saved storage information; and sending the decompressed and/or decrypted storage information to the foregoing Two memory cards. Preferably, the foregoing storage information may include at least one of the following: data, information, and an operation file of the application. According to another aspect of the present invention, an embodiment of the present invention further provides a storage information transmitting apparatus for a memory card, where the apparatus includes: an information acquiring module, configured to acquire and after receiving the memory card replacement instruction Saving the storage information in the first memory card; wherein, the first memory card is a memory card of the current access terminal; the information sending module is configured to send a memory card replacement notification, and detecting that the first memory card is disconnected from the terminal When the connection is opened, and the terminal accesses the second memory card, the saved storage information is sent to the second memory card. Preferably, the information acquiring module may include: an acquiring unit configured to acquire storage information in the first memory card; a first processing unit configured to perform a compression and/or encryption operation on the storage information; and a saving unit configured to Save compressed and/or encrypted storage information. Preferably, the information sending module may include: a determining unit configured to determine whether the storage information needs to be sent to the second memory card; and the sending unit is configured to save when the determining result of the determining unit is yes The above stored information is sent to the second memory card. Preferably, the information sending module may include: a second processing unit configured to perform a decompression and/or decryption operation on the saved storage information; and an information sending unit configured to send the decompressed and/or decrypted storage information To the above second memory card. Preferably, the foregoing storage information may include at least one of the following: data, information, and an operation file of the application. After receiving the memory card replacement instruction, the storage information in the first memory card is acquired and saved, and then the memory card replacement notification is sent, and the first memory card is disconnected from the terminal, and the terminal is accessed. When the second memory card is used, the saved storage information is sent to the second memory card, which solves the problem that the application program is prone to abnormality when the memory card is replaced in the related art, so that the automatic backup can be pulled out when the memory card is replaced. The key files in the memory card, and the recovery in the newly inserted memory card, to achieve the effect of the entire card replacement process and card replacement results on the operating system and application transparency, so that the operating system and applications can not replace the memory card And an exception occurred. The above description is only an overview of the technical solutions of the present invention, and the technical means of the present invention can be more clearly understood, and can be implemented in accordance with the contents of the specification, and the above and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a flowchart of a method for transmitting storage information of a memory card according to an embodiment of the present invention; FIG. 2 is a block diagram showing a structure of a storage information transmitting device for a memory card according to an embodiment of the present invention; FIG. 4 is a flowchart of a method for replacing a memory card by a smart terminal according to an embodiment of the present invention; FIG. 5 is another embodiment of replacing a memory card with a smart terminal according to an embodiment of the present invention; Flow chart of the method. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to solve the problem that an application program is prone to abnormality when a memory card is replaced in the related art, an embodiment of the present invention provides a method and an apparatus for transmitting storage information of a memory card, and the present invention is described below with reference to the accompanying drawings and embodiments. Further details. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The present embodiment provides a method for transmitting storage information of a memory card. FIG. 1 is a flowchart of a method for transmitting storage information of a memory card according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (step S102- Step S104): Step S102, after receiving the memory card replacement instruction, acquiring and saving the storage information in the first memory card; wherein, the first memory card is a memory card of the current access terminal; and step S104, sending a memory card replacement notification, detecting When the first memory card is disconnected from the terminal, and the terminal accesses the second memory card, the saved storage information is sent to the second memory card. After receiving the memory card replacement command, acquiring and saving the storage information in the first memory card, and then sending the memory card replacement notification, detecting that the first memory card is disconnected from the terminal, and the terminal accessing the second When the memory card is used, the saved storage information is sent to the second memory card, which solves the problem that the application program is prone to abnormality when the memory card is replaced in the related art, so that the unplugged storage can be automatically backed up when the memory card is replaced. The key files in the card, and the recovery in the newly inserted memory card, to achieve the effect of the entire card replacement process and card replacement results on the operating system and application transparency, so that the operating system and applications can not appear due to the replacement of the memory card abnormal. In the above step S102, after the storage information in the first memory card is acquired, it may be saved in the specified storage area. If the space of the storage area is small, the storage information may be compressed and saved in the storage area. This can reduce memory. In addition, if the stored information includes some confidential or relatively private information, the stored information may be encrypted and stored in the storage area. For the above situation, the embodiment provides a preferred implementation manner, that is, acquiring and saving the storage information in the first memory card includes: acquiring storage information in the first storage card; performing compression and/or encryption operations on the storage information. ; Save compressed and / or encrypted storage information. Of course, in the actual operation process, if there are other requirements, the obtained storage information may be correspondingly operated and then saved to the storage area. The above operations are not limited to compression and encryption, and different operations may be performed according to actual conditions. Corresponding to the above preferred embodiment, after the first memory card is replaced with the second memory card, sending the saved storage information to the second memory card comprises: performing a decompression and/or decryption operation on the saved storage information; The decompressed and/or decrypted storage information is sent to the second memory card. Similarly, the above operations are not limited to compression and encryption, and different operations can be performed according to actual conditions. After the storage information of the first memory card is obtained and saved, the memory card replacement notification may be sent, and the user may disconnect the first memory card from the terminal, and then establish a connection between the second memory card and the terminal. Determining whether the storage information needs to be sent to the second memory card, and if necessary, restoring the storage information to the second memory card. Based on this, the embodiment provides a preferred implementation manner, that the sending the saved storage information to the second memory card includes: determining whether the storage information needs to be sent to the second storage card, and if necessary, storing the saved storage information. Send to the second memory card. With this preferred embodiment, the flexibility in replacing the memory card is increased, so that the user can make different choices according to his own needs. In this embodiment, the foregoing storage information includes, but is not limited to, at least one of the following: data, information, an application file of the application (eg, an installation file, installation information, a data file, etc.). Corresponding to the storage information transmitting method of the memory card introduced in the above embodiment, the embodiment provides a storage information transmitting device of the memory card, and the device is used to implement the above embodiment. 2 is a structural block diagram of a storage information transmitting apparatus of a memory card according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: an information acquiring module 10 and an information transmitting module 20. The structure is described in detail below. The information obtaining module 10 is configured to acquire and save the storage information in the first memory card after receiving the memory card replacement instruction; wherein the first memory card is a memory card of the current access terminal; the information sending module 20, the connection The information acquisition module 10 is configured to send a memory card replacement notification, and when detecting that the first memory card is disconnected from the terminal, and the terminal accesses the second memory card, sending the saved storage information to the foregoing Second memory card. After the information acquisition module 10 receives the memory card replacement command, the information acquisition module 10 acquires and saves the storage information in the first memory card, and then the information transmission module 20 sends a memory card replacement notification, and detects that the first memory card is disconnected from the terminal. When the terminal is connected to the second memory card, the saved storage information is sent to the second memory card, which solves the problem that the application program is prone to abnormality when the memory card is replaced in the related art, so that the memory card can be replaced. Automatically backs up the key files in the extracted memory card and restores them in the newly inserted memory card, achieving the effect of the entire card replacement process and card replacement results on the operating system and application transparency, making the operating system and applications Can not be abnormal due to the replacement of the memory card. After the information acquisition module 10 obtains the storage information in the first storage card, it may be saved in the specified storage area. If the storage area has a small space, the storage information may be compressed and saved in the storage area. Can reduce memory. In addition, if the stored information includes some confidential or relatively private information, the stored information may be encrypted and stored in the storage area. For the above situation, the embodiment provides a preferred embodiment, that is, the information acquiring module 10 includes: an obtaining unit, configured to acquire storage information in the first memory card; and a first processing unit configured to perform the foregoing storage information Compression and/or encryption operations; save units, set to store compressed and/or encrypted storage information. Of course, in the actual operation process, if there are other requirements, the obtained storage information may be correspondingly operated and then saved to the storage area. The above operations are not limited to compression and encryption, and different operations may be performed according to actual conditions. Corresponding to the above preferred embodiment, the embodiment further provides a preferred embodiment, that is, the information sending module 20 includes: a second processing unit configured to perform a decompression and/or decryption operation on the saved storage information; And a unit configured to send the decompressed and/or decrypted storage information to the second memory card. Similarly, the above operations are not limited to compression and encryption, and different operations can be performed according to actual conditions. After the information obtaining module 10 acquires and saves the storage information of the first memory card, the memory card replacement notification may be sent, and the user may disconnect the first memory card from the terminal, and then establish a connection between the second memory card and the terminal. At this time, it may be determined whether the storage information needs to be sent to the second memory card, and if it is determined, the storage information is restored to the second memory card. Based on this, the embodiment provides a preferred embodiment, that is, the information sending module 20 includes: a determining unit, configured to determine whether the storage information needs to be sent to the second memory card; and the sending unit is configured to determine When the determination result of the unit is YES, the stored storage information is transmitted to the second memory card. In this embodiment, the foregoing storage information includes, but is not limited to, at least one of the following: data, information, an application file of the application (eg, an installation file, installation information, a data file, etc.). Corresponding to the storage information transmitting apparatus of the memory card introduced in the above embodiment, the following describes a device for replacing the memory card by the smart terminal, and is also a method for transmitting the storage information of the memory card. 3 is a schematic diagram of an apparatus for replacing a memory card by a smart terminal according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a main control module, a user interface, a setting module, a memory card driving interface, and a data processing module. The module may be disposed on the mobile terminal (for example, a mobile phone or a computer), and the device may further include a storage module. The storage module may be disposed on the mobile terminal or may be independent of the mobile terminal. The first memory card and the second memory card are also described in FIG. The functions of each of the above modules are described below. The main control module controls the entire process of replacing the memory card. The user interface is responsible for inputting and outputting to the user throughout the process, including receiving user input, and outputting information to the user during and after processing of the data of the main control module. The setting module receives and saves the user input information received by the user interface, converts the processing and sends the information to the main control module, and receives the output information of the main control module, and outputs the content to the user interface for display to the user. The memory card driver interface abstracts the operation of the memory card and is compatible with different types of memory cards, so that the operation of the memory card by the main control module is simpler. The storage module is equivalent to the storage area described in the foregoing embodiment, and is configured to store intermediate data generated during the processing of the main control module, and may be a RAM random storage chip, a flash memory chip, or a third-party storage device such as a network hard disk. a data processing module having functions equivalent to those of the first processing unit and the second processing unit introduced in the above embodiments for compressing/decompressing information that needs to be stored in the storage module, and/or for storing the information encrypt and decode. The data processing module is not required when the space of the storage module is not limited. The first memory card, which requires a memory card to be taken out from the mobile terminal, stores an installation file of the application, installation information, data files, and the like. The second memory card is a memory card inserted after the memory card 1 is taken out. The main control module recovers the key files taken out from the first memory card in the second memory card, so as to achieve the effect that the entire card replacement process and the result are transparent to the operating system and the application program. In this embodiment, when the memory card is replaced by the smart terminal, it is possible to ensure that the operation of the application is not abnormal after the replacement of the memory card. The device for replacing a memory card by the smart terminal is described below. The following describes the method for replacing the memory card by the smart terminal. FIG. 4 is a flowchart of the method for replacing the memory card by the smart terminal according to the embodiment of the present invention. The method includes the following process (step S402 - step S414): Step S402, when the user needs to replace the memory card, first enter the user interaction interface provided by the setting module to send a replacement memory card instruction. Step S404, after receiving the user instruction by the setting module, the main control module takes out the key files necessary for running the application, such as the installation file, the installation information, and the data file, from the first memory card through the memory card driving interface. In step S406, the main control module compresses the extracted key file through the data processing module and saves the file into the storage module. Step S408, the setting module notifies the user that the memory card can be replaced through the user interface. Step S410: After the user replaces the memory card, the main control module detects that the second memory card is inserted. Step S412, the main control module takes out the compressed file from the storage module, decompresses it through the data processing module, and saves the decompressed file into the second memory card through the memory card driving module. Step S414, the setting module notifies the user that the memory card replacement is successful through the user interface. In this embodiment, since the second memory card contains a key file that is completely consistent with the first memory card, the memory card does not change for the smart operating system and the application running on the smart operating system, the smart operating system And the application is still working. FIG. 5 is a flowchart of another method for replacing a memory card by a smart terminal according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following process (step S502 - step S518): Step S502: When the user needs to replace the memory card, first enter the user interaction interface provided by the setting module to send a replacement memory card instruction. Step S504, the main control module determines whether there are installation files, installation information, data files, and the like in the first memory card, which affect the operating system and the running of the application. If yes, proceed to step 203 to start backing up the key file; if not, proceed to step S510 to prompt the user to remove the first memory card. Step S506, after receiving the user instruction by the setting module, the main control module takes out the key files necessary for running the application, such as the installation file, the installation information, and the data file, from the first memory card through the memory card driving interface. Step S508, the main control module compresses the extracted key file through the data processing module, and saves the file into the storage module. If the storage module space is not limited, you do not need to compress and save the extracted key files directly into the storage module. If you need to increase security, you can encrypt the key files or compressed files and store them in the storage module. Step S510, the setting module notifies the user that the memory card can be replaced through the user interface. Step S512, after the user replaces the memory card, the main control module detects that the second memory card is inserted. Step S514, the main control module determines whether it is necessary to restore the key file to the second memory card. If necessary, proceed to step S516 to start recovering the key file; if not, proceed to step S518 to prompt the user to change the card successfully. Step S516, the main control module takes out the compressed file from the storage module, decompresses it through the data processing module, and saves the decompressed file into the second memory card through the memory card driving module. Step S518, the setting module notifies the user that the memory card replacement is successful through the user interface. From the above description, it can be seen that, after the memory card replacement operation is performed by the embodiment of the present invention, the second memory card contains a key file that is completely consistent with the first memory card, and thus operates on the smart operating system and in the smart For applications above the operating system, the memory card has not changed, and the smart operating system and applications are still working. While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above. INDUSTRIAL APPLICABILITY The technical solution provided by the embodiments of the present invention can be applied to the field of intelligent terminals, and solves the problem that an application program is prone to abnormality when replacing a memory card in the related art, thereby automatically backing up the extracted storage when the memory card is replaced. The key files in the card, and the recovery in the newly inserted memory card, to achieve the effect of the entire card replacement process and card replacement results on the operating system and application transparency, so that the operating system and applications can not appear due to the replacement of the memory card abnormal.

Claims

权 利 要 求 书 、 一种存储卡的存储信息发送方法, 包括: The claim method, a method for transmitting storage information of a memory card, comprising:
接收到存储卡更换指令之后,获取并保存第一存储卡中的存储信息;其中, 所述第一存储卡为当前接入终端的存储卡;  Acquiring and storing the storage information in the first memory card after receiving the memory card replacement instruction; wherein the first memory card is a memory card of the current access terminal;
发送存储卡更换通知, 在检测到所述第一存储卡与所述终端断开连接, 且 所述终端接入第二存储卡时,将保存的所述存储信息,发送至所述第二存储卡。 、 如权利要求 1所述的方法, 其中, 获取并保存第一存储卡中的存储信息包括- 获取所述第一存储卡中的存储信息;  Sending a memory card replacement notification, when detecting that the first memory card is disconnected from the terminal, and the terminal accesses the second memory card, sending the saved storage information to the second storage card. The method of claim 1, wherein acquiring and saving the storage information in the first memory card comprises: acquiring the storage information in the first memory card;
对所述存储信息执行压缩和 /或加密操作;  Performing a compression and/or encryption operation on the stored information;
保存压缩和 /或加密后的存储信息。 、 如权利要求 1所述的方法, 其中, 将保存的所述存储信息, 发送至所述第二存 储卡包括:  Save compressed and / or encrypted storage information. The method of claim 1, wherein the saving the stored information to the second memory card comprises:
判断是否需要将所述存储信息发送至所述第二存储卡;  Determining whether the storage information needs to be sent to the second memory card;
如果需要, 则将保存的所述存储信息发送至所述第二存储卡。 、 如权利要求 1所述的方法, 其中, 将保存的所述存储信息, 发送至所述第二存 储卡包括:  The saved storage information is sent to the second memory card if needed. The method of claim 1, wherein the saving the stored information to the second memory card comprises:
对保存的所述存储信息执行解压缩和 /或解密操作;  Performing a decompression and/or decryption operation on the stored storage information;
将解压缩和 /或解密后的存储信息发送至所述第二存储卡。 、 如权利要求 1至 4中任一项所述的方法, 其中, 所述存储信息包括以下至少之 一: 数据、 信息、 应用程序的运行文件。 、 一种存储卡的存储信息发送装置, 包括:  The decompressed and/or decrypted storage information is sent to the second memory card. The method according to any one of claims 1 to 4, wherein the stored information comprises at least one of the following: data, information, an operating file of an application. A storage information transmitting device for a memory card, comprising:
信息获取模块, 设置为在接收到存储卡更换指令之后, 获取并保存第一存 储卡中的存储信息; 其中, 所述第一存储卡为当前接入终端的存储卡;  The information obtaining module is configured to: after receiving the memory card replacement instruction, acquire and save the storage information in the first storage card; wherein, the first memory card is a memory card of the current access terminal;
信息发送模块, 设置为发送存储卡更换通知, 在检测到所述第一存储卡与 所述终端断开连接, 且所述终端接入第二存储卡时, 将保存的所述存储信息, 发送至所述第二存储卡。 、 如权利要求 6所述的装置, 其中, 所述信息获取模块包括: 获取单元, 设置为获取所述第一存储卡中的存储信息; The information sending module is configured to send a memory card replacement notification, and when the first memory card is disconnected from the terminal, and the terminal accesses the second memory card, the saved storage information is sent To the second memory card. The device of claim 6, wherein the information acquiring module comprises: an acquiring unit, configured to acquire storage information in the first memory card;
第一处理单元, 设置为对所述存储信息执行压缩和 /或加密操作; 保存单元, 设置为保存压缩和 /或加密后的存储信息。 、 如权利要求 6所述的装置, 其中, 所述信息发送模块包括- 判断单元, 设置为判断是否需要将所述存储信息发送至所述第二存储卡; 发送单元, 设置为在所述判断单元的判断结果为是的情况下, 将保存的所 述存储信息发送至所述第二存储卡。 、 如权利要求 6所述的装置, 其中, 所述信息发送模块包括- 第二处理单元, 设置为对保存的所述存储信息执行解压缩和 /或解密操作; 信息发送单元,设置为将解压缩和 /或解密后的存储信息发送至所述第二存 储卡。 、 如权利要求 6至 9中任一项所述的装置, 其中, 所述存储信息包括以下至少之 一: 数据、 信息、 应用程序的运行文件。  The first processing unit is configured to perform a compression and/or encryption operation on the stored information; and a saving unit configured to save the compressed and/or encrypted storage information. The device according to claim 6, wherein the information transmitting module includes a determining unit configured to determine whether the storage information needs to be sent to the second memory card, and a sending unit configured to determine When the judgment result of the unit is YES, the stored storage information is transmitted to the second memory card. The device according to claim 6, wherein the information transmitting module comprises: a second processing unit configured to perform a decompression and/or decryption operation on the saved storage information; and an information sending unit configured to solve The compressed and/or decrypted storage information is sent to the second memory card. The apparatus according to any one of claims 6 to 9, wherein the stored information comprises at least one of the following: data, information, an operating file of an application.
PCT/CN2013/085226 2013-05-15 2013-10-15 Method and apparatus for sending storage information of storage card WO2014183374A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310180001.4 2013-05-15
CN201310180001.4A CN104156259A (en) 2013-05-15 2013-05-15 Stored information sending method and device for memory cards

Publications (1)

Publication Number Publication Date
WO2014183374A1 true WO2014183374A1 (en) 2014-11-20

Family

ID=51881765

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085226 WO2014183374A1 (en) 2013-05-15 2013-10-15 Method and apparatus for sending storage information of storage card

Country Status (2)

Country Link
CN (1) CN104156259A (en)
WO (1) WO2014183374A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808379A (en) * 2016-02-26 2016-07-27 努比亚技术有限公司 Terminal backup method and terminal
CN107589904B (en) * 2016-07-08 2021-09-03 中兴通讯股份有限公司 SD card reading and writing method and device
CN107526814B (en) * 2017-08-25 2020-11-03 青岛海信移动通信技术股份有限公司 Mobile terminal file storage method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829251A (en) * 2006-04-07 2006-09-06 深圳市杰特电信控股有限公司 Automatic backup method and device for mobile phone address list
CN1863352A (en) * 2005-08-12 2006-11-15 深圳华为移动通信技术有限公司 Method and apparatus for obtaining and replacing portable information memory card information by terminal apparatus
CN101674583A (en) * 2009-08-25 2010-03-17 联信摩贝软件(北京)有限公司 Method for hiding or recovering personal information when changing SIM card and system thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6026458A (en) * 1997-10-14 2000-02-15 International Business Machines Corporation System with pluggable adapter card and hot-swap interface controller
CN100426270C (en) * 2005-12-30 2008-10-15 英业达股份有限公司 System and method for replacing memory card
CN101494924A (en) * 2008-01-24 2009-07-29 启碁科技股份有限公司 Method for replacing electronic card without closedown and communication apparatus
CN101329618B (en) * 2008-07-28 2012-03-28 宇龙计算机通信科技(深圳)有限公司 Data interactive method
CN102073526B (en) * 2011-01-21 2013-10-02 奇智软件(北京)有限公司 Software transfer installation method and system for mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863352A (en) * 2005-08-12 2006-11-15 深圳华为移动通信技术有限公司 Method and apparatus for obtaining and replacing portable information memory card information by terminal apparatus
CN1829251A (en) * 2006-04-07 2006-09-06 深圳市杰特电信控股有限公司 Automatic backup method and device for mobile phone address list
CN101674583A (en) * 2009-08-25 2010-03-17 联信摩贝软件(北京)有限公司 Method for hiding or recovering personal information when changing SIM card and system thereof

Also Published As

Publication number Publication date
CN104156259A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
US8595321B2 (en) Supporting system for remote control
US9137225B2 (en) Seamless remote storage of uniformly encrypted data for diverse platforms and devices
US11720265B2 (en) Data migration synchronization process using a manifest from a source device to a new destination device
CN104123199A (en) Method and device for recovering application program and mobile terminal
KR102124188B1 (en) Electronic device and method for processing image
KR101418797B1 (en) Security token device for cloud service, system for providing security cloud service and method thereof
CN104199791A (en) Mobile terminal and dual-system file transfer method and device thereof
US9182982B1 (en) Techniques for creating an encrypted virtual hard disk
CN103942121A (en) Data recovery system and mobile terminal
US20160299734A1 (en) Image mirror display method and device thereof
CN104079633A (en) Method and system for synchronously saving data acquired by terminal to cloud server
CN112764817A (en) Equipment function awakening method and device
WO2018233668A1 (en) Android system-based abnormality recovery method and apparatus, smart device and storage medium
WO2014183374A1 (en) Method and apparatus for sending storage information of storage card
US9332405B2 (en) Short message backup method, mobile terminal, and server
CN110855460A (en) Scene recovery method, cloud platform and computer storage medium
CN101216794A (en) Improved Server-Less backup method, memory apparatus and backup server
CN110399150A (en) A kind of bios upgrade method, system, device and computer storage medium
CN103024545A (en) Starting method of operating system of set-top box, set-top box and server
CN113704206B (en) Metadata processing method and device, electronic equipment and storage medium
CN109471756A (en) Data reconstruction method, device and computer readable storage medium
JP6040636B2 (en) Method for restoring client device system and wireless connection device
TW201617871A (en) Data backup restoring system and method thereof
CN111309522A (en) Object storage data protection method and device based on snapshot technology
CN109240849B (en) Data backup method and device and multipoint control unit for video conference system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13884888

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13884888

Country of ref document: EP

Kind code of ref document: A1