WO2018072511A1 - Method and device for expanding memory - Google Patents

Method and device for expanding memory Download PDF

Info

Publication number
WO2018072511A1
WO2018072511A1 PCT/CN2017/094452 CN2017094452W WO2018072511A1 WO 2018072511 A1 WO2018072511 A1 WO 2018072511A1 CN 2017094452 W CN2017094452 W CN 2017094452W WO 2018072511 A1 WO2018072511 A1 WO 2018072511A1
Authority
WO
WIPO (PCT)
Prior art keywords
connectable
data
instruction
connectable device
smart terminal
Prior art date
Application number
PCT/CN2017/094452
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 WO2018072511A1 publication Critical patent/WO2018072511A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a method and an apparatus for expanding memory.
  • the various types of data obtained by the user are often cached in the memory space. Therefore, it is easy to cause insufficient memory space, thereby affecting the user's further use.
  • the memory space is insufficient.
  • the capacity of the storage space required by the video exceeds the capacity of the memory space of the smart terminal, thereby causing insufficient memory space and affecting the video download of the smart terminal.
  • insufficient memory space not only reduces the running speed and processing efficiency of the terminal, but also consumes a lot of time, and also affects the further use of the smart terminal, which brings inconvenience to the user.
  • the embodiment of the invention provides a method and a device for expanding memory, which are used for expanding memory, improving memory capacity, improving operation speed and processing efficiency of the intelligent terminal, saving time and bringing convenience to users.
  • a method of expanding memory including:
  • the intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device;
  • the smart terminal is connected to at least one connectable device
  • the intelligent terminal performs data download based on the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
  • the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device, which specifically includes:
  • the intelligent terminal detects the device based on the first instruction, and adopts one or a combination of the following two methods:
  • the smart terminal detects the device through Bluetooth
  • the smart terminal detects the device through the wireless network
  • the intelligent terminal acquires the detection result, and obtains a list of connectable devices according to the detection result;
  • the intelligent terminal determines that there is at least one connectable device based on the list of connectable devices.
  • the smart terminal is connected to the at least one connectable device, and specifically includes:
  • the intelligent terminal selects at least one connectable device to connect in the list of connectable devices based on the third instruction; or
  • the smart terminal connects directly to all connectable devices in the list of connectable devices.
  • the intelligent terminal performs data downloading according to the second instruction, which specifically includes:
  • the smart terminal acquires a list of connectable device connections generated after the local connection with the connectable device is obtained;
  • the intelligent terminal selects a connectable device for data reception in the connectable device connection list based on the second instruction
  • the intelligent terminal downloads the data to at least one connectable device.
  • the method specifically includes:
  • the intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction;
  • the intelligent terminal sends an alert message when it determines that the distance between the connectable device establishing the connection reaches a preset threshold.
  • a method of expanding memory including:
  • the intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device;
  • the smart terminal is connected to at least one connectable device
  • the smart terminal acquires data from the at least one connectable device based on the second instruction, wherein each time a part of the data is acquired, the following operations are performed until the data is acquired:
  • the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device, which specifically includes:
  • the intelligent terminal detects the device based on the first instruction, and adopts one or a combination of the following two methods:
  • the smart terminal detects the device through Bluetooth
  • the smart terminal detects the device through the wireless network
  • the intelligent terminal acquires the detection result, and obtains a list of connectable devices according to the detection result;
  • the intelligent terminal determines that there is at least one connectable device based on the list of connectable devices.
  • the smart terminal is connected to the at least one connectable device, and specifically includes:
  • the intelligent terminal selects at least one connectable device to connect in the list of connectable devices based on the third instruction; or
  • the smart terminal connects directly to all connectable devices in the list of connectable devices.
  • the smart terminal acquires data from the at least one connectable device based on the second instruction, and specifically includes:
  • the smart terminal acquires a list of connectable device connections generated after the local connection with the connectable device is obtained;
  • the intelligent terminal selects a connectable device for data transmission in the connectable device connection list based on the second instruction
  • the smart terminal acquires data from at least one connectable device.
  • the method specifically includes:
  • the intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction;
  • the intelligent terminal sends an alert message when it determines that the distance between the connectable device establishing the connection reaches a preset threshold.
  • a device for expanding memory comprising:
  • a detecting unit configured to detect, according to the first instruction, that the device has at least one connectable device
  • connection unit for connecting with at least one connectable device
  • a download unit for downloading data based on the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
  • the detecting unit when detecting the device and determining that there is at least one connectable device, is specifically configured to:
  • the device is detected based on the first instruction, in any one or combination of the following two ways:
  • the connecting unit when connecting with at least one connectable device, is specifically configured to:
  • the download unit when the data is downloaded based on the second instruction, is specifically configured to:
  • the downloading unit is further configured to:
  • An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
  • a device for expanding memory comprising:
  • a detecting unit configured to detect, according to the first instruction, that the device has at least one connectable device
  • connection unit for connecting with at least one connectable device
  • an obtaining unit configured to acquire data from the at least one connectable device based on the second instruction, wherein each time a part of the data is acquired, the following operations are performed until the data is acquired:
  • the detecting unit when detecting the device and determining that there is at least one connectable device, is specifically configured to:
  • the device is detected based on the first instruction, in any one or combination of the following two ways:
  • the connecting unit when connecting with at least one connectable device, is specifically configured to:
  • the obtaining unit when acquiring data from the at least one connectable device based on the second instruction, is specifically configured to:
  • the acquiring unit is further configured to:
  • An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
  • the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device; the smart terminal connects with the at least one connectable device; and the smart terminal performs data download based on the second instruction, where each Download a portion of the data and do the following until the data is downloaded: cache a portion of the currently downloaded data to memory space; transfer a portion of the data to a connectable device; delete a portion of the data.
  • the smart terminal connects the local device to the connectable device, and then uses the memory space as the transfer station to download the data into the memory space in batches and transmit it to the connectable device. In the process of downloading, only a part of the memory space is occupied.
  • the data is stored in the connectable device, which expands the memory, improves the running speed and processing efficiency of the smart terminal, saves time, and provides convenience for the user.
  • FIG. 1 is a flowchart of a method for expanding memory in an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram 1 of an apparatus for expanding a memory according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram 2 of an apparatus for expanding a memory according to an embodiment of the present invention.
  • a method for expanding the memory is designed, wherein the smart terminal connects the local device to the connectable device. Then, the memory space is used as a transfer station, and the data is downloaded to the memory space in batches and transmitted to the connectable device. During the download process, only a fixed portion of the memory space is occupied, and finally the data is stored in the connectable device. .
  • Step 100 The intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device.
  • the smart terminal detects the device based on the first instruction, and may adopt any one or combination of the following two methods:
  • the first way is: the smart terminal detects the device through Bluetooth.
  • the second method is: the intelligent terminal detects the device through the wireless network.
  • the wireless network may be a local area network, such as a wireless connection (WIreless-FIdelity, WIFI), or may be a mobile network data.
  • WIFI wireless-FIdelity
  • the smart terminal can detect the device within a certain distance by wirelessly.
  • the smart terminal acquires the detection result, and obtains a list of connectable devices in real time according to the detection result.
  • the device identification information of the connectable device detected in real time is saved in the list of connectable devices.
  • the device identification information may be a device number of the connectable device or a model of the connectable device.
  • the model number "num11101" of one mobile phone and the model number "PC110010" of one computer are displayed.
  • the intelligent terminal determines that there is at least one connectable device based on the obtained list of connectable devices.
  • Step 110 The smart terminal is connected to at least one connectable device.
  • the smart terminal is connected to at least one connectable device, and may be used in the following manners:
  • the first way is: the intelligent terminal selects at least one connectable device to connect in the list of connectable devices based on the third instruction.
  • the smart terminal selects an e-book "ebook2016" in the list of connectable devices based on the third instruction.
  • the smart terminal can select a corresponding connectable device according to the needs of the user.
  • the second way is: the smart terminal directly connects with all connectable devices in the list of connectable devices.
  • the smart terminal sends a connection request to all connectable devices in the list of connectable devices. If there is a connectable device connected with the smart terminal, the connection is directly performed; otherwise, the connection is determined. After the device accepts the connection, it connects to the connectable device.
  • the smart terminal determines that there are three connectable devices in the list of connectable devices, namely, the mobile phone "phone20160102", the e-book “ebook1312", and the computer "pc2356". Further, the smart terminal sends a connection request to the three connectable devices. Since the smart terminal is connected to the mobile phone "phone20160102", the smart terminal is directly connected with the mobile phone "phone20160102". After the computer "pc2356" agrees to the connection request, the smart terminal connects with the computer "pc2356", and the ebook “ebook1312" rejects the connection request, the smart terminal fails to connect with the ebook "ebook1312".
  • a connectable device connected to the smart terminal realizes one-click connection, which simplifies the operation steps and saves time. For the connectable device that has not been connected, after determining that the connectable device agrees to connect, , to connect.
  • the smart terminal can connect with the connectable device, and the connectable device is used as a part of the smart terminal, which expands the memory of the smart terminal, and is ready for data storage and acquisition through the connectable device.
  • Step 120 The intelligent terminal performs data download based on the second instruction.
  • the smart terminal acquires a connectable device connection list generated after the local connection with the connectable device, and then, according to the second instruction of the user, selects a connectable device for data reception in the connectable device connection list, and the data is received. Download to at least one connectable device.
  • each time a part of the data is downloaded the following operations are performed until the data is downloaded: a part of the currently downloaded data is cached to the memory space; a part of the data is transferred to the connectable device; and a part of the data is deleted.
  • the size of each part of the data may be the same or different.
  • the smart terminal needs to download a file with a size of 30 MB, first select the mobile phone “phone78954” in the list of connectable devices for data reception, and then cache the downloaded file data into a memory space of 6 MB in size, and While caching, the cached data is transferred to the mobile phone "phone78954", and the data that has been transferred is deleted.
  • the smart terminal can occupy only a small memory space, divide the downloaded data into a transfer station by using the memory space as a transfer station, transfer and save to the connectable device, which expands the memory and improves the running speed.
  • Step 130 The smart terminal acquires data from the at least one connectable device based on the second instruction.
  • the smart terminal acquires a connectable device connection list generated after the local connection with the connectable device, and selects a connectable device for data transmission in the connectable device connection list according to the second instruction, and selects at least one connectable The device gets the data.
  • the smart terminal acquires data from at least one connectable device, each time a part of the data is acquired, the following operations are performed until the data is acquired: a part of the currently acquired data is cached into the memory space; a part of the data is used; and after determining that the use is completed, a part of the data is deleted.
  • the size of each part of the data may be the same or different.
  • the smart terminal is connected to a connectable device, the computer “PC5648”, and a video file of 50 MB in size is stored in the computer "PC5648".
  • the smart terminal occupies a memory space of 5 MB in size, and the video file is obtained in batches from the computer “PC5648”, and the memory space is used as a transfer station, and each time a video of 5 MB is acquired.
  • the file is cached to the memory space and determined to be deleted after the user has finished watching.
  • the smart terminal can occupy only a small memory space, and the acquired data is temporarily stored in the memory space as a transit station. After the user is determined to use the data, the acquired data is deleted, and the memory is expanded. Increased speed.
  • Step 140 The smart terminal is disconnected from the connectable device that establishes the connection.
  • the first way is: the intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction.
  • the user can actively disconnect from the connectable device according to the user's needs.
  • the second way is: when the smart terminal determines that the distance between the connectable devices that establish the connection reaches the preset threshold, the alert message is sent. Further, when the distance between the smart terminal and the connectable device that establishes the connection exceeds the use range of the wireless mode that is used, the two are passively disconnected.
  • the alert can be performed, so that the smart terminal can be disconnected from the connectable device according to the user's needs. Save the data you need to save before opening the connection.
  • the smart terminal When the user clicks the "device” button on the screen, the smart terminal detects the device by using Bluetooth and WIFI at the same time, obtains the detection result, and acquires and presents the list of connectable devices according to the detection result. Among them, the mobile phone "nm461" and the tablet “pingban4621" are displayed in the list of connectable devices.
  • the smart terminal selects the mobile phone “nm461” in the connectable device list to connect, and after the mobile phone “nm461” agrees to connect, successfully establishes a connection with the mobile phone “nm461”, and generates a connectable device connection list, wherein The mobile device "nm461" is displayed in the connectable device connection list.
  • the smart terminal downloads the video file with the size of 100 MB, first selects the mobile phone “nm461” for data reception in the connectable device connection list, and then caches the downloaded video file data into a memory of 10 MB in size. Space, and while caching, transfer the cached data to the phone "nm461" and delete the transferred data.
  • the smart terminal occupies a memory space of 10 MB in size, and the video file is obtained in batches from the mobile phone “nm461”, and the memory space is used as a transfer station, each acquiring 10 MB.
  • the video file is cached to the memory space and determined to be deleted after the user has finished watching.
  • the smart terminal is disconnected from the established handset "nm461" based on the user's new instructions.
  • FIG. 2 a schematic structural diagram of a device for expanding a memory, in the embodiment of the present invention, the device for memory expansion specifically includes:
  • a device for expanding memory comprising:
  • the detecting unit 20 is configured to detect, according to the first instruction, that the device has at least one connectable device;
  • a connecting unit 21 configured to connect with at least one connectable device
  • the downloading unit 22 is configured to perform data downloading according to the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
  • the detecting unit 20 is specifically configured to:
  • the device is detected based on the first instruction, in any one or combination of the following two ways:
  • the connecting unit 21 when connecting with at least one connectable device, is specifically configured to:
  • the downloading unit 22 is specifically configured to:
  • the downloading unit 22 is further configured to:
  • An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
  • FIG. 3 a schematic structural diagram of a device for expanding a memory, in the embodiment of the present invention, the device for memory expansion specifically includes:
  • a device for expanding memory comprising:
  • the detecting unit 30 is configured to detect, according to the first instruction, that the device has at least one connectable device;
  • a connecting unit 31 configured to connect with at least one connectable device
  • the obtaining unit 32 is configured to acquire data from the at least one connectable device based on the second instruction, wherein each time a part of the data is acquired, the following operations are performed until the data is acquired:
  • the detecting unit 30 is specifically configured to:
  • the device is detected based on the first instruction, in any one or combination of the following two ways:
  • the connecting unit 31 when connecting with at least one connectable device, is specifically configured to:
  • the obtaining unit 32 when acquiring data from the at least one connectable device based on the second instruction, is specifically configured to:
  • the obtaining unit 32 is further configured to:
  • An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
  • the intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device; the smart terminal connects with at least one connectable device; the intelligent terminal is based on The second instruction performs data downloading, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded: a part of the currently downloaded data is buffered to the memory space; a part of the data is transferred to the connectable device; and a part of the data is deleted.
  • the smart terminal connects the local device to the connectable device, and then uses the memory space as the transfer station to download the data into the memory space in batches and transmit it to the connectable device. In the process of downloading, only a part of the memory space is occupied.
  • the data is stored in the connectable device, which expands the memory, improves the running speed and processing efficiency of the smart terminal, saves time, and provides convenience for the user.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A method and device for expanding memory. The method comprises: a smart terminal detects, according to a first command, apparatuses, to determine that at least one connectable apparatus is present (100); the smart terminal connects to the at least one connectable apparatus (110); and the smart terminal downloads, according to a second command, data (120); wherein when a part of the data is downloaded, the following steps are executed until the data is downloaded completely: buffering, in a memory space, the part of the data being downloaded; transmitting, to the connectable apparatus, the part of the data; and deleting the part of the data. As a result, the embodiment expands memory spaces, increases an operating speed and processing efficiency of a smart terminal, saves time, and provides convenience to a user.

Description

一种扩展内存的方法及装置Method and device for expanding memory
本申请要求于2016年10月18日提交中国专利局、申请号为201610909287.9、发明名称为“一种扩展内存的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610909287.9, the entire disclosure of which is hereby incorporated by reference in its entirety in its entirety in in.
技术领域Technical field
本发明涉及智能终端技术领域,尤其涉及一种扩展内存的方法及装置。The present invention relates to the field of intelligent terminal technologies, and in particular, to a method and an apparatus for expanding memory.
背景技术Background technique
随着智能终端的普及,多媒体技术也得到了前所未有的发展,各类高清技术,如,高清图片、高清视频等等,也应运而生,由于采用高清技术生成的多媒体文件通常数据量较大,因此,智能终端对内存的需求也在不断地提高,With the popularization of intelligent terminals, multimedia technology has also been developed as never before. Various high-definition technologies, such as high-definition pictures, high-definition video, etc., have emerged as the times require. Because multimedia files generated by high-definition technology usually have a large amount of data, Therefore, the demand for memory in smart terminals is constantly increasing.
目前,智能终端的内存容量逐渐从千字节(KiloByte,KB)发展到了兆字节(MByte,MB)级。At present, the memory capacity of smart terminals has gradually evolved from kilobytes (KB) to megabytes (MByte, MB).
智能终端在被使用过程中,经常会在内存空间中缓存用户获得的各类数据,因此,很容易而造成内存空间不足,从而影响用户进一步使用。When the smart terminal is used, the various types of data obtained by the user are often cached in the memory space. Therefore, it is easy to cause insufficient memory space, thereby affecting the user's further use.
例如,由于用户没有及时对智能终端的内存空间进行清理,从而造成内存空间不足。For example, because the user does not clean up the memory space of the smart terminal in time, the memory space is insufficient.
又例如,用户通过智能终端下载视频时,由于视频所需要的存储空间的容量超出智能终端的内存空间的容量,从而造成内存空间不足,影响智能终端的视频下载。For example, when the user downloads the video through the smart terminal, the capacity of the storage space required by the video exceeds the capacity of the memory space of the smart terminal, thereby causing insufficient memory space and affecting the video download of the smart terminal.
显然,内存空间不足不仅会降低终端的运行速度以及处理效率,耗费大量的时间,还会影响智能终端的进一步使用,给用户带来了不便。Obviously, insufficient memory space not only reduces the running speed and processing efficiency of the terminal, but also consumes a lot of time, and also affects the further use of the smart terminal, which brings inconvenience to the user.
发明内容Summary of the invention
本发明实施例提供一种扩展内存的方法及装置,用于扩展内存,提高内存的容量,提高智能终端的运行速度以及处理效率,节约时间,为用户带来便利。The embodiment of the invention provides a method and a device for expanding memory, which are used for expanding memory, improving memory capacity, improving operation speed and processing efficiency of the intelligent terminal, saving time and bringing convenience to users.
本发明实施例提供的具体技术方案如下:The specific technical solutions provided by the embodiments of the present invention are as follows:
一种扩展内存的方法,包括:A method of expanding memory, including:
智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备; The intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device;
智能终端与至少一个可连接设备进行连接;The smart terminal is connected to at least one connectable device;
智能终端基于第二指令进行数据下载,其中,每下载一部分数据,执行以下操作,直到数据下载完毕:The intelligent terminal performs data download based on the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
将当前下载的一部分数据缓存至内存空间;Cache a portion of the currently downloaded data to the memory space;
将一部分数据传送至可连接设备;Transfer a portion of the data to a connectable device;
删除一部分数据。Delete some data.
较佳的,智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备,具体包括:Preferably, the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device, which specifically includes:
智能终端基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The intelligent terminal detects the device based on the first instruction, and adopts one or a combination of the following two methods:
智能终端通过蓝牙对设备进行检测;The smart terminal detects the device through Bluetooth;
智能终端通过无线网络对设备进行检测;The smart terminal detects the device through the wireless network;
智能终端获取检测结果,并根据检测结果,获取可连接设备列表;The intelligent terminal acquires the detection result, and obtains a list of connectable devices according to the detection result;
智能终端基于可连接设备列表,确定存在至少一个可连接设备。The intelligent terminal determines that there is at least one connectable device based on the list of connectable devices.
较佳的,智能终端与至少一个可连接设备进行连接,具体包括:Preferably, the smart terminal is connected to the at least one connectable device, and specifically includes:
智能终端基于第三指令,在可连接设备列表选取至少一个可连接设备进行连接;或者,The intelligent terminal selects at least one connectable device to connect in the list of connectable devices based on the third instruction; or
智能终端直接与可连接设备列表中的所有可连接设备进行连接。The smart terminal connects directly to all connectable devices in the list of connectable devices.
较佳的,智能终端基于第二指令进行数据下载,具体包括:Preferably, the intelligent terminal performs data downloading according to the second instruction, which specifically includes:
智能终端获取本地与可连接设备连接后生成的可连接设备连接列表;The smart terminal acquires a list of connectable device connections generated after the local connection with the connectable device is obtained;
智能终端基于第二指令,在可连接设备连接列表中选取一个可连接设备进行数据接收;The intelligent terminal selects a connectable device for data reception in the connectable device connection list based on the second instruction;
智能终端将数据下载到至少一个可连接设备中。The intelligent terminal downloads the data to at least one connectable device.
较佳的,在智能终端基于第二指令进行数据下载之后,具体包括:Preferably, after the intelligent terminal performs data downloading according to the second instruction, the method specifically includes:
智能终端基于第四指令,与建立连接的可连接设备断开连接;或者,The intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction; or
智能终端确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。The intelligent terminal sends an alert message when it determines that the distance between the connectable device establishing the connection reaches a preset threshold.
一种扩展内存的方法,包括:A method of expanding memory, including:
智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备; The intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device;
智能终端与至少一个可连接设备进行连接;The smart terminal is connected to at least one connectable device;
智能终端基于第二指令从至少一个可连接设备获取数据,其中,每获取一部分数据,执行以下操作,直到数据获取完毕:The smart terminal acquires data from the at least one connectable device based on the second instruction, wherein each time a part of the data is acquired, the following operations are performed until the data is acquired:
将当前获取的一部分数据缓存至内存空间;Cache a portion of the currently acquired data into the memory space;
使用一部分数据;Use part of the data;
确定使用完毕后,删除一部分数据。After you have determined that you are done using it, delete some of the data.
较佳的,智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备,具体包括:Preferably, the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device, which specifically includes:
智能终端基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The intelligent terminal detects the device based on the first instruction, and adopts one or a combination of the following two methods:
智能终端通过蓝牙对设备进行检测;The smart terminal detects the device through Bluetooth;
智能终端通过无线网络对设备进行检测;The smart terminal detects the device through the wireless network;
智能终端获取检测结果,并根据检测结果,获取可连接设备列表;The intelligent terminal acquires the detection result, and obtains a list of connectable devices according to the detection result;
智能终端基于可连接设备列表,确定存在至少一个可连接设备。The intelligent terminal determines that there is at least one connectable device based on the list of connectable devices.
较佳的,智能终端与至少一个可连接设备进行连接,具体包括:Preferably, the smart terminal is connected to the at least one connectable device, and specifically includes:
智能终端基于第三指令,在可连接设备列表选取至少一个可连接设备进行连接;或者,The intelligent terminal selects at least one connectable device to connect in the list of connectable devices based on the third instruction; or
智能终端直接与可连接设备列表中的所有可连接设备进行连接。The smart terminal connects directly to all connectable devices in the list of connectable devices.
较佳的,智能终端基于第二指令从至少一个可连接设备获取数据,具体包括:Preferably, the smart terminal acquires data from the at least one connectable device based on the second instruction, and specifically includes:
智能终端获取本地与可连接设备连接后生成的可连接设备连接列表;The smart terminal acquires a list of connectable device connections generated after the local connection with the connectable device is obtained;
智能终端基于第二指令,在可连接设备连接列表中选取一个可连接设备进行数据发送;The intelligent terminal selects a connectable device for data transmission in the connectable device connection list based on the second instruction;
智能终端从至少一个可连接设备获取数据。The smart terminal acquires data from at least one connectable device.
较佳的,在智能终端基于第二指令从至少一个可连接设备获取数据之后,具体包括:Preferably, after the smart terminal acquires data from the at least one connectable device based on the second instruction, the method specifically includes:
智能终端基于第四指令,与建立连接的可连接设备断开连接;或者,The intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction; or
智能终端确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。 The intelligent terminal sends an alert message when it determines that the distance between the connectable device establishing the connection reaches a preset threshold.
一种扩展内存的装置,包括:A device for expanding memory, comprising:
检测单元,用于基于第一指令,对设备进行检测,确定存在至少一个可连接设备;a detecting unit, configured to detect, according to the first instruction, that the device has at least one connectable device;
连接单元,用于与至少一个可连接设备进行连接;a connection unit for connecting with at least one connectable device;
下载单元,用于基于第二指令进行数据下载,其中,每下载一部分数据,执行以下操作,直到数据下载完毕:a download unit for downloading data based on the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
将当前下载的一部分数据缓存至内存空间;Cache a portion of the currently downloaded data to the memory space;
将一部分数据传送至可连接设备;Transfer a portion of the data to a connectable device;
删除一部分数据。Delete some data.
较佳的,基于第一指令,对设备进行检测,确定存在至少一个可连接设备时,检测单元具体用于:Preferably, based on the first instruction, when detecting the device and determining that there is at least one connectable device, the detecting unit is specifically configured to:
基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The device is detected based on the first instruction, in any one or combination of the following two ways:
通过蓝牙对设备进行检测;Detecting the device via Bluetooth;
通过无线网络对设备进行检测;Detecting devices over a wireless network;
获取检测结果,并根据检测结果,获取可连接设备列表;Obtaining the detection result, and obtaining a list of connectable devices according to the detection result;
基于可连接设备列表,确定存在至少一个可连接设备。Based on the list of connectable devices, it is determined that there is at least one connectable device.
较佳的,与至少一个可连接设备进行连接时,连接单元具体用于:Preferably, when connecting with at least one connectable device, the connecting unit is specifically configured to:
基于第三指令,在可连接设备列表选取至少一个可连接设备进行连接;或者,Selecting at least one connectable device to connect in the list of connectable devices based on the third instruction; or
直接与可连接设备列表中的所有可连接设备进行连接。Connect directly to all connectable devices in the list of connectable devices.
较佳的,基于第二指令进行数据下载时,下载单元具体用于:Preferably, when the data is downloaded based on the second instruction, the download unit is specifically configured to:
获取本地与可连接设备连接后生成的可连接设备连接列表;Obtain a list of connectable device connections generated after connecting to a connectable device locally;
基于第二指令,在可连接设备连接列表中选取一个可连接设备进行数据接收;Selecting a connectable device for data reception in the connectable device connection list based on the second instruction;
将数据下载到至少一个可连接设备中。Download the data to at least one connectable device.
较佳的,在智能终端基于第二指令进行数据下载之后,下载单元还用于:Preferably, after the intelligent terminal performs data downloading based on the second instruction, the downloading unit is further configured to:
基于第四指令,与建立连接的可连接设备断开连接;或者,Disconnecting from the connectable device establishing the connection based on the fourth instruction; or
确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。 An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
一种扩展内存的装置,包括:A device for expanding memory, comprising:
检测单元,用于基于第一指令,对设备进行检测,确定存在至少一个可连接设备;a detecting unit, configured to detect, according to the first instruction, that the device has at least one connectable device;
连接单元,用于与至少一个可连接设备进行连接;a connection unit for connecting with at least one connectable device;
获取单元,用于基于第二指令从至少一个可连接设备获取数据,其中,每获取一部分数据,执行以下操作,直到数据获取完毕:And an obtaining unit, configured to acquire data from the at least one connectable device based on the second instruction, wherein each time a part of the data is acquired, the following operations are performed until the data is acquired:
将当前获取的一部分数据缓存至内存空间;Cache a portion of the currently acquired data into the memory space;
使用一部分数据;Use part of the data;
确定使用完毕后,删除一部分数据。After you have determined that you are done using it, delete some of the data.
较佳的,基于第一指令,对设备进行检测,确定存在至少一个可连接设备时,检测单元具体用于:Preferably, based on the first instruction, when detecting the device and determining that there is at least one connectable device, the detecting unit is specifically configured to:
基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The device is detected based on the first instruction, in any one or combination of the following two ways:
通过蓝牙对设备进行检测;Detecting the device via Bluetooth;
通过无线网络对设备进行检测;Detecting devices over a wireless network;
获取检测结果,并根据检测结果,获取可连接设备列表;Obtaining the detection result, and obtaining a list of connectable devices according to the detection result;
基于可连接设备列表,确定存在至少一个可连接设备。Based on the list of connectable devices, it is determined that there is at least one connectable device.
较佳的,与至少一个可连接设备进行连接时,连接单元具体用于:Preferably, when connecting with at least one connectable device, the connecting unit is specifically configured to:
基于第三指令,在可连接设备列表选取至少一个可连接设备进行连接;或者,Selecting at least one connectable device to connect in the list of connectable devices based on the third instruction; or
直接与可连接设备列表中的所有可连接设备进行连接。Connect directly to all connectable devices in the list of connectable devices.
较佳的,基于第二指令从至少一个可连接设备获取数据时,获取单元具体用于:Preferably, when acquiring data from the at least one connectable device based on the second instruction, the obtaining unit is specifically configured to:
获取本地与可连接设备连接后生成的可连接设备连接列表;Obtain a list of connectable device connections generated after connecting to a connectable device locally;
基于第二指令,在可连接设备连接列表中选取一个可连接设备进行数据发送;Selecting a connectable device for data transmission in the connectable device connection list based on the second instruction;
从至少一个可连接设备获取数据。Get data from at least one connectable device.
较佳的,在智能终端基于第二指令从至少一个可连接设备获取数据之后,获取单元还用于:Preferably, after the smart terminal acquires data from the at least one connectable device based on the second instruction, the acquiring unit is further configured to:
基于第四指令,与建立连接的可连接设备断开连接;或者, Disconnecting from the connectable device establishing the connection based on the fourth instruction; or
确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
本发明实施例中,智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备;智能终端与至少一个可连接设备进行连接;智能终端基于第二指令进行数据下载,其中,每下载一部分数据,执行以下操作,直到数据下载完毕:将当前下载的一部分数据缓存至内存空间;将一部分数据传送至可连接设备;删除一部分数据。这样,智能终端将本地与可连接设备进行连接,然后,以内存空间为中转站,将数据分批次下载至内存空间,并传输到可连接设备,在下载的过程中,只占用一部分内存空间,最终将数据存储在可连接设备中,这扩展了内存,提高了智能终端的运行速度以及处理效率,节约了时间,为用户提供了便利。In the embodiment of the present invention, the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device; the smart terminal connects with the at least one connectable device; and the smart terminal performs data download based on the second instruction, where each Download a portion of the data and do the following until the data is downloaded: cache a portion of the currently downloaded data to memory space; transfer a portion of the data to a connectable device; delete a portion of the data. In this way, the smart terminal connects the local device to the connectable device, and then uses the memory space as the transfer station to download the data into the memory space in batches and transmit it to the connectable device. In the process of downloading, only a part of the memory space is occupied. Finally, the data is stored in the connectable device, which expands the memory, improves the running speed and processing efficiency of the smart terminal, saves time, and provides convenience for the user.
附图说明DRAWINGS
图1为本发明实施例中内存扩展的方法的流程图;1 is a flowchart of a method for expanding memory in an embodiment of the present invention;
图2为本发明实施例中内存扩展的装置的结构示意图1;2 is a schematic structural diagram 1 of an apparatus for expanding a memory according to an embodiment of the present invention;
图3为本发明实施例中内存扩展的装置的结构示意图2。FIG. 3 is a schematic structural diagram 2 of an apparatus for expanding a memory according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,并不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了扩展内存,提高智能终端的运行速度以及处理效率,节约时间,为用户提供了便利,本发明实施例中,设计了内存扩展的方法,该方法为,智能终端将本地与可连接设备进行连接,然后,以内存空间为中转站,将数据分批次下载至内存空间,并传输至可连接设备,在下载的过程中,只占用固定的一部分内存空间,最终将数据存储在可连接设备中。In order to expand the memory, improve the running speed and processing efficiency of the smart terminal, save time, and provide convenience for the user, in the embodiment of the present invention, a method for expanding the memory is designed, wherein the smart terminal connects the local device to the connectable device. Then, the memory space is used as a transfer station, and the data is downloaded to the memory space in batches and transmitted to the connectable device. During the download process, only a fixed portion of the memory space is occupied, and finally the data is stored in the connectable device. .
下面结合附图对本申请优选的实施方式进行详细说明。The preferred embodiments of the present application are described in detail below with reference to the accompanying drawings.
参阅图1所示,本发明实施例中,对内存扩展的具体流程如下: Referring to FIG. 1 , in the embodiment of the present invention, the specific process of the memory expansion is as follows:
步骤100:智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备。Step 100: The intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device.
实际应用中,当用户需要通过与可连接设备连接时,通过点击智能终端的相应按键,发出第一指令。然后,智能终端基于第一指令,对设备进行检测,可以采用以下两种方式中的任意一种或组合:In practical applications, when the user needs to connect with the connectable device, the first command is issued by clicking the corresponding button of the smart terminal. Then, the smart terminal detects the device based on the first instruction, and may adopt any one or combination of the following two methods:
第一种方式为:智能终端通过蓝牙对设备进行检测。The first way is: the smart terminal detects the device through Bluetooth.
第二种方式为:智能终端通过无线网络,对设备进行检测,可选的,无线网络可以是局域网,如无线连接(WIreless-FIdelity,WIFI),也可以是移动网络数据。The second method is: the intelligent terminal detects the device through the wireless network. Optionally, the wireless network may be a local area network, such as a wireless connection (WIreless-FIdelity, WIFI), or may be a mobile network data.
这样,智能终端可以通过无线的方式,对一定距离内的设备进行检测。In this way, the smart terminal can detect the device within a certain distance by wirelessly.
进一步地,智能终端获取检测结果,并根据检测结果,实时获取可连接设备列表。其中,可连接设备列表中保存的是实时检测的可连接设备的设备标识信息。可选的,设备标识信息可以是可连接设备的设备号,也可以是可连接设备的型号。Further, the smart terminal acquires the detection result, and obtains a list of connectable devices in real time according to the detection result. The device identification information of the connectable device detected in real time is saved in the list of connectable devices. Optionally, the device identification information may be a device number of the connectable device or a model of the connectable device.
例如,智能终端获取的可连接设备列表中,显示的为一个手机的型号“num11101”,以及一台电脑的型号“PC110010”。For example, in the list of connectable devices acquired by the smart terminal, the model number "num11101" of one mobile phone and the model number "PC110010" of one computer are displayed.
智能终端基于获取的可连接设备列表,确定存在至少一个可连接设备。The intelligent terminal determines that there is at least one connectable device based on the obtained list of connectable devices.
步骤110:智能终端与至少一个可连接设备进行连接。Step 110: The smart terminal is connected to at least one connectable device.
实际应用中,智能终端与至少一个可连接设备进行连接,可以采用但不限于以下几种方式:In an actual application, the smart terminal is connected to at least one connectable device, and may be used in the following manners:
第一种方式为:智能终端基于第三指令,在可连接设备列表中选取至少一个可连接设备进行连接。The first way is: the intelligent terminal selects at least one connectable device to connect in the list of connectable devices based on the third instruction.
例如,智能终端基于第三指令,在可连接设备列表中选取电子书“ebook2016For example, the smart terminal selects an e-book "ebook2016" in the list of connectable devices based on the third instruction.
”和手机“phone2341”进行连接。"Connect with the phone "phone2341".
采用第一种方式,智能终端可以根据用户的需要,选取相应的可连接设备。In the first mode, the smart terminal can select a corresponding connectable device according to the needs of the user.
第二种方式为:智能终端直接与可连接设备列表中的所有可连接设备进行连接。智能终端向可连接设备列表中的所有可连接设备都发出连接请求,若存在可连接设备与智能终端进行过连接,则直接进行连接,否则,在确定可连接 设备接受连接后,与该可连接设备进行连接。The second way is: the smart terminal directly connects with all connectable devices in the list of connectable devices. The smart terminal sends a connection request to all connectable devices in the list of connectable devices. If there is a connectable device connected with the smart terminal, the connection is directly performed; otherwise, the connection is determined. After the device accepts the connection, it connects to the connectable device.
例如,智能终端确定在可连接设备列表中存在三个可连接设备,即手机“phone20160102”、电子书“ebook1312”以及电脑“pc2356”。进一步地,智能终端向该三个可连接设备都发出连接请求。由于智能终端与手机“phone20160102”进行过连接,因此,智能终端与手机“phone20160102”直接进行连接。在电脑“pc2356”同意连接请求后,智能终端与电脑“pc2356”进行连接,而电子书“ebook1312”拒绝连接请求,则智能终端与电子书“ebook1312”连接失败。For example, the smart terminal determines that there are three connectable devices in the list of connectable devices, namely, the mobile phone "phone20160102", the e-book "ebook1312", and the computer "pc2356". Further, the smart terminal sends a connection request to the three connectable devices. Since the smart terminal is connected to the mobile phone "phone20160102", the smart terminal is directly connected with the mobile phone "phone20160102". After the computer "pc2356" agrees to the connection request, the smart terminal connects with the computer "pc2356", and the ebook "ebook1312" rejects the connection request, the smart terminal fails to connect with the ebook "ebook1312".
采用第二种方式,对与智能终端进行过连接的可连接设备,实现一键连接,简化了操作步骤,节约了时间,对于未进行过连接的可连接设备,在确定可连接设备同意连接后,进行连接。In the second method, a connectable device connected to the smart terminal realizes one-click connection, which simplifies the operation steps and saves time. For the connectable device that has not been connected, after determining that the connectable device agrees to connect, , to connect.
这样,智能终端就可以与可连接设备进行连接,并将可连接设备作为智能终端的一部分,扩大了智能终端的内存,为后续通过可连接设备进行数据存储和获取做好了准备。In this way, the smart terminal can connect with the connectable device, and the connectable device is used as a part of the smart terminal, which expands the memory of the smart terminal, and is ready for data storage and acquisition through the connectable device.
步骤120:智能终端基于第二指令进行数据下载。Step 120: The intelligent terminal performs data download based on the second instruction.
实际应用中,智能终端获取本地与可连接设备连接后生成的可连接设备连接列表,然后,基于用户的第二指令,在可连接设备连接列表中选取一个可连接设备进行数据接收,并将数据下载到至少一个可连接设备中。In an actual application, the smart terminal acquires a connectable device connection list generated after the local connection with the connectable device, and then, according to the second instruction of the user, selects a connectable device for data reception in the connectable device connection list, and the data is received. Download to at least one connectable device.
智能终端进行数据下载时,每下载一部分数据,执行以下操作,直到数据下载完毕:将当前下载的一部分数据缓存至内存空间;将一部分数据传送至可连接设备;删除一部分数据。When the smart terminal downloads data, each time a part of the data is downloaded, the following operations are performed until the data is downloaded: a part of the currently downloaded data is cached to the memory space; a part of the data is transferred to the connectable device; and a part of the data is deleted.
其中,每一部分数据的大小可以是相同的,也可以是不同的。The size of each part of the data may be the same or different.
例如,智能终端需要下载大小为30MB的文件,则先在可连接设备列表中选取手机“phone78954”进行数据接收,然后,将下载的文件数据分批次缓存至大小为6MB的内存空间,并在缓存的同时,将缓存的数据传送至手机“phone78954”中,以及将传送完成的数据进行删除。For example, if the smart terminal needs to download a file with a size of 30 MB, first select the mobile phone “phone78954” in the list of connectable devices for data reception, and then cache the downloaded file data into a memory space of 6 MB in size, and While caching, the cached data is transferred to the mobile phone "phone78954", and the data that has been transferred is deleted.
这样,智能终端就可以仅占用较小的内存空间,将下载的数据分批次以内存空间为中转站,传送并保存至可连接设备,这对内存进行了扩展,提高了运行速度。 In this way, the smart terminal can occupy only a small memory space, divide the downloaded data into a transfer station by using the memory space as a transfer station, transfer and save to the connectable device, which expands the memory and improves the running speed.
步骤130:智能终端基于第二指令从至少一个可连接设备获取数据。Step 130: The smart terminal acquires data from the at least one connectable device based on the second instruction.
实际应用中,智能终端获取本地与可连接设备连接后生成的可连接设备连接列表,并基于第二指令,在可连接设备连接列表中选取一个可连接设备进行数据发送,以及从至少一个可连接设备获取数据。In an actual application, the smart terminal acquires a connectable device connection list generated after the local connection with the connectable device, and selects a connectable device for data transmission in the connectable device connection list according to the second instruction, and selects at least one connectable The device gets the data.
智能终端从至少一个可连接设备获取数据时,每获取一部分数据,执行以下操作,直到数据获取完毕:将当前获取的一部分数据缓存至内存空间;使用一部分数据;确定使用完毕后,删除一部分数据。When the smart terminal acquires data from at least one connectable device, each time a part of the data is acquired, the following operations are performed until the data is acquired: a part of the currently acquired data is cached into the memory space; a part of the data is used; and after determining that the use is completed, a part of the data is deleted.
其中,每一部分数据的大小可以是相同的,也可以是不同的。The size of each part of the data may be the same or different.
例如,智能终端与一个可连接设备即电脑“PC5648”相连接,并且,在电脑“PC5648”中存储有一个大小为50MB的视频文件。用户在通过智能终端观看该视频文件的过程中,智能终端占用大小为5MB的内存空间,将该视频文件从电脑“PC5648”中分批次获取,以内存空间为中转站,每获取5MB的视频文件缓存至内存空间,并确定用户观看完毕后,进行删除。For example, the smart terminal is connected to a connectable device, the computer "PC5648", and a video file of 50 MB in size is stored in the computer "PC5648". During the process of viewing the video file through the smart terminal, the smart terminal occupies a memory space of 5 MB in size, and the video file is obtained in batches from the computer “PC5648”, and the memory space is used as a transfer station, and each time a video of 5 MB is acquired. The file is cached to the memory space and determined to be deleted after the user has finished watching.
这样,智能终端就可以仅占用较小的内存空间,将获取的数据以内存空间为中转站,进行暂时存储,待确定用户使用完毕后,对获取的数据进行删除,这对内存进行了扩展,提高了运行速度。In this way, the smart terminal can occupy only a small memory space, and the acquired data is temporarily stored in the memory space as a transit station. After the user is determined to use the data, the acquired data is deleted, and the memory is expanded. Increased speed.
步骤140:智能终端与建立连接的可连接设备断开连接。Step 140: The smart terminal is disconnected from the connectable device that establishes the connection.
实际应用中,智能终端与建立连接的可连接设备断开连接时,可以采用但不限于以下几种方式:In practical applications, when the smart terminal is disconnected from the connectable device that establishes the connection, the following methods may be adopted but are not limited to the following:
第一种方式为:智能终端基于第四指令,与建立连接的可连接设备断开连接。The first way is: the intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction.
采用第一种方式,用户可以根据用户的需求主动断开与可连接设备的连接。In the first way, the user can actively disconnect from the connectable device according to the user's needs.
第二种方式为:智能终端确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。进一步地,待智能终端与建立连接的可连接设备之间的距离超出采用的无线方式的使用范围时,两者之间被动断开连接。The second way is: when the smart terminal determines that the distance between the connectable devices that establish the connection reaches the preset threshold, the alert message is sent. Further, when the distance between the smart terminal and the connectable device that establishes the connection exceeds the use range of the wireless mode that is used, the two are passively disconnected.
采用第二种方式,在智能终端确定与建立连接的可连接设备之间的距离达到预设门限值时,可以进行提醒,从而使智能终端可以根据用户的需求,在与可连接设备进行断开连接之前,对需要保存的数据进行相应地保存。 In the second mode, when the distance between the smart terminal and the connectable device that establishes the connection reaches a preset threshold, the alert can be performed, so that the smart terminal can be disconnected from the connectable device according to the user's needs. Save the data you need to save before opening the connection.
下面采用一个具体的应用场景对上述实施例进行进一步说明。The above embodiment is further described below using a specific application scenario.
假设用户需要下载一个大小为100MB的视频文件,并观看该视频文件。Suppose the user needs to download a video file with a size of 100MB and watch the video file.
当用户点击屏幕中的“设备”按键时,智能终端对设备同时采用蓝牙和WIFI的方式进行检测,获得检测结果,并根据检测结果,获取并呈现可连接设备列表。其中,在该可连接设备列表中显示了手机“nm461”和平板电脑“pingban4621”。When the user clicks the "device" button on the screen, the smart terminal detects the device by using Bluetooth and WIFI at the same time, obtains the detection result, and acquires and presents the list of connectable devices according to the detection result. Among them, the mobile phone "nm461" and the tablet "pingban4621" are displayed in the list of connectable devices.
然后,智能终端基于用户的指令,在可连接设备列表中选取手机“nm461”进行连接,在手机“nm461”同意连接后,与手机“nm461”成功建立连接,并生成可连接设备连接列表,其中,该可连接设备连接列表中显示的是手机“nm461”。Then, based on the user's instruction, the smart terminal selects the mobile phone “nm461” in the connectable device list to connect, and after the mobile phone “nm461” agrees to connect, successfully establishes a connection with the mobile phone “nm461”, and generates a connectable device connection list, wherein The mobile device "nm461" is displayed in the connectable device connection list.
进一步地,智能终端下载上述大小为100MB的视频文件,先在可连接设备连接列表中,选取手机“nm461”进行数据接收,然后,将下载的视频文件数据分批次缓存至大小为10MB的内存空间,并在缓存的同时,将缓存的数据传送至手机“nm461”中,以及将传送完成的数据进行删除。Further, the smart terminal downloads the video file with the size of 100 MB, first selects the mobile phone “nm461” for data reception in the connectable device connection list, and then caches the downloaded video file data into a memory of 10 MB in size. Space, and while caching, transfer the cached data to the phone "nm461" and delete the transferred data.
然后,用户在通过智能终端观看该视频文件的过程中,智能终端占用大小为10MB的内存空间,将该视频文件从手机“nm461”中分批次获取,以内存空间为中转站,每获取10MB的视频文件缓存至内存空间,并确定用户观看完毕后,进行删除。Then, in the process of watching the video file through the smart terminal, the smart terminal occupies a memory space of 10 MB in size, and the video file is obtained in batches from the mobile phone “nm461”, and the memory space is used as a transfer station, each acquiring 10 MB. The video file is cached to the memory space and determined to be deleted after the user has finished watching.
最后,智能终端基于用户新的指令,与建立连接的手机“nm461”断开连接。Finally, the smart terminal is disconnected from the established handset "nm461" based on the user's new instructions.
基于上述实施例,参阅图2所示,内存扩展的装置的结构示意图,本发明实施例中,内存扩展的装置具体包括:Based on the foregoing embodiment, referring to FIG. 2, a schematic structural diagram of a device for expanding a memory, in the embodiment of the present invention, the device for memory expansion specifically includes:
一种扩展内存的装置,包括:A device for expanding memory, comprising:
检测单元20,用于基于第一指令,对设备进行检测,确定存在至少一个可连接设备;The detecting unit 20 is configured to detect, according to the first instruction, that the device has at least one connectable device;
连接单元21,用于与至少一个可连接设备进行连接;a connecting unit 21, configured to connect with at least one connectable device;
下载单元22,用于基于第二指令进行数据下载,其中,每下载一部分数据,执行以下操作,直到数据下载完毕:The downloading unit 22 is configured to perform data downloading according to the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
将当前下载的一部分数据缓存至内存空间; Cache a portion of the currently downloaded data to the memory space;
将一部分数据传送至可连接设备;Transfer a portion of the data to a connectable device;
删除一部分数据。Delete some data.
较佳的,基于第一指令,对设备进行检测,确定存在至少一个可连接设备时,检测单元20具体用于:Preferably, based on the first instruction, when the device is detected to determine that there is at least one connectable device, the detecting unit 20 is specifically configured to:
基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The device is detected based on the first instruction, in any one or combination of the following two ways:
通过蓝牙对设备进行检测;Detecting the device via Bluetooth;
通过无线网络对设备进行检测;Detecting devices over a wireless network;
获取检测结果,并根据检测结果,获取可连接设备列表;Obtaining the detection result, and obtaining a list of connectable devices according to the detection result;
基于可连接设备列表,确定存在至少一个可连接设备。Based on the list of connectable devices, it is determined that there is at least one connectable device.
较佳的,与至少一个可连接设备进行连接时,连接单元21具体用于:Preferably, when connecting with at least one connectable device, the connecting unit 21 is specifically configured to:
基于第三指令,在可连接设备列表选取至少一个可连接设备进行连接;或者,Selecting at least one connectable device to connect in the list of connectable devices based on the third instruction; or
直接与可连接设备列表中的所有可连接设备进行连接。Connect directly to all connectable devices in the list of connectable devices.
较佳的,基于第二指令进行数据下载时,下载单元22具体用于:Preferably, when the data is downloaded based on the second instruction, the downloading unit 22 is specifically configured to:
获取本地与可连接设备连接后生成的可连接设备连接列表;Obtain a list of connectable device connections generated after connecting to a connectable device locally;
基于第二指令,在可连接设备连接列表中选取一个可连接设备进行数据接收;Selecting a connectable device for data reception in the connectable device connection list based on the second instruction;
将数据下载到至少一个可连接设备中。Download the data to at least one connectable device.
较佳的,在智能终端基于第二指令进行数据下载之后,下载单元22还用于:Preferably, after the smart terminal performs data downloading based on the second instruction, the downloading unit 22 is further configured to:
基于第四指令,与建立连接的可连接设备断开连接;或者,Disconnecting from the connectable device establishing the connection based on the fourth instruction; or
确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
基于上述实施例,参阅图3所示,内存扩展的装置的结构示意图,本发明实施例中,内存扩展的装置具体包括:Based on the foregoing embodiment, referring to FIG. 3, a schematic structural diagram of a device for expanding a memory, in the embodiment of the present invention, the device for memory expansion specifically includes:
一种扩展内存的装置,包括:A device for expanding memory, comprising:
检测单元30,用于基于第一指令,对设备进行检测,确定存在至少一个可连接设备;The detecting unit 30 is configured to detect, according to the first instruction, that the device has at least one connectable device;
连接单元31,用于与至少一个可连接设备进行连接; a connecting unit 31, configured to connect with at least one connectable device;
获取单元32,用于基于第二指令从至少一个可连接设备获取数据,其中,每获取一部分数据,执行以下操作,直到数据获取完毕:The obtaining unit 32 is configured to acquire data from the at least one connectable device based on the second instruction, wherein each time a part of the data is acquired, the following operations are performed until the data is acquired:
将当前获取的一部分数据缓存至内存空间;Cache a portion of the currently acquired data into the memory space;
使用一部分数据;Use part of the data;
确定使用完毕后,删除一部分数据。After you have determined that you are done using it, delete some of the data.
较佳的,基于第一指令,对设备进行检测,确定存在至少一个可连接设备时,检测单元30具体用于:Preferably, based on the first instruction, when the device is detected to determine that there is at least one connectable device, the detecting unit 30 is specifically configured to:
基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The device is detected based on the first instruction, in any one or combination of the following two ways:
通过蓝牙对设备进行检测;Detecting the device via Bluetooth;
通过无线网络对设备进行检测;Detecting devices over a wireless network;
获取检测结果,并根据检测结果,获取可连接设备列表;Obtaining the detection result, and obtaining a list of connectable devices according to the detection result;
基于可连接设备列表,确定存在至少一个可连接设备。Based on the list of connectable devices, it is determined that there is at least one connectable device.
较佳的,与至少一个可连接设备进行连接时,连接单元31具体用于:Preferably, when connecting with at least one connectable device, the connecting unit 31 is specifically configured to:
基于第三指令,在可连接设备列表选取至少一个可连接设备进行连接;或者,Selecting at least one connectable device to connect in the list of connectable devices based on the third instruction; or
直接与可连接设备列表中的所有可连接设备进行连接。Connect directly to all connectable devices in the list of connectable devices.
较佳的,基于第二指令从至少一个可连接设备获取数据时,获取单元32具体用于:Preferably, when acquiring data from the at least one connectable device based on the second instruction, the obtaining unit 32 is specifically configured to:
获取本地与可连接设备连接后生成的可连接设备连接列表;Obtain a list of connectable device connections generated after connecting to a connectable device locally;
基于第二指令,在可连接设备连接列表中选取一个可连接设备进行数据发送;Selecting a connectable device for data transmission in the connectable device connection list based on the second instruction;
从至少一个可连接设备获取数据。Get data from at least one connectable device.
较佳的,在智能终端基于第二指令从至少一个可连接设备获取数据之后,获取单元32还用于:Preferably, after the smart terminal acquires data from the at least one connectable device based on the second instruction, the obtaining unit 32 is further configured to:
基于第四指令,与建立连接的可连接设备断开连接;或者,Disconnecting from the connectable device establishing the connection based on the fourth instruction; or
确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
本发明实施例中,智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备;智能终端与至少一个可连接设备进行连接;智能终端基于 第二指令进行数据下载,其中,每下载一部分数据,执行以下操作,直到数据下载完毕:将当前下载的一部分数据缓存至内存空间;将一部分数据传送至可连接设备;删除一部分数据。这样,智能终端将本地与可连接设备进行连接,然后,以内存空间为中转站,将数据分批次下载至内存空间,并传输到可连接设备,在下载的过程中,只占用一部分内存空间,最终将数据存储在可连接设备中,这扩展了内存,提高了智能终端的运行速度以及处理效率,节约了时间,为用户提供了便利。In the embodiment of the present invention, the intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device; the smart terminal connects with at least one connectable device; the intelligent terminal is based on The second instruction performs data downloading, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded: a part of the currently downloaded data is buffered to the memory space; a part of the data is transferred to the connectable device; and a part of the data is deleted. In this way, the smart terminal connects the local device to the connectable device, and then uses the memory space as the transfer station to download the data into the memory space in batches and transmit it to the connectable device. In the process of downloading, only a part of the memory space is occupied. Finally, the data is stored in the connectable device, which expands the memory, improves the running speed and processing efficiency of the smart terminal, saves time, and provides convenience for the user.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要 求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the attached rights The intention is to be construed as including the preferred embodiments and all changes and modifications falling within the scope of the invention.
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the embodiments of the invention without departing from the spirit and scope of the embodiments of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the embodiments of the invention.

Claims (20)

  1. 一种扩展内存的方法,其特征在于,包括:A method of expanding memory, comprising:
    智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备;The intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device;
    智能终端与所述至少一个可连接设备进行连接;The smart terminal is connected to the at least one connectable device;
    智能终端基于第二指令进行数据下载,其中,每下载一部分数据,执行以下操作,直到数据下载完毕:The intelligent terminal performs data download based on the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
    将当前下载的一部分数据缓存至内存空间;Cache a portion of the currently downloaded data to the memory space;
    将所述一部分数据传送至所述可连接设备;Transmitting the portion of data to the connectable device;
    删除所述一部分数据。Delete the part of the data.
  2. 如权利要求1所述的方法,其特征在于,智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备,具体包括:The method of claim 1, wherein the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device, specifically:
    智能终端基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The intelligent terminal detects the device based on the first instruction, and adopts one or a combination of the following two methods:
    智能终端通过蓝牙对设备进行检测;The smart terminal detects the device through Bluetooth;
    智能终端通过无线网络对设备进行检测;The smart terminal detects the device through the wireless network;
    智能终端获取检测结果,并根据所述检测结果,获取可连接设备列表;The smart terminal acquires the detection result, and obtains a list of connectable devices according to the detection result;
    智能终端基于所述可连接设备列表,确定存在至少一个可连接设备。The intelligent terminal determines that there is at least one connectable device based on the list of connectable devices.
  3. 如权利要求2所述的方法,其特征在于,智能终端与所述至少一个可连接设备进行连接,具体包括:The method of claim 2, wherein the intelligent terminal is connected to the at least one connectable device, specifically comprising:
    智能终端基于第三指令,在所述可连接设备列表选取至少一个可连接设备进行连接;或者,The smart terminal selects at least one connectable device to connect in the connectable device list based on the third instruction; or
    智能终端直接与所述可连接设备列表中的所有可连接设备进行连接。The smart terminal directly connects with all connectable devices in the list of connectable devices.
  4. 如权利要求1、2或3所述的方法,其特征在于,智能终端基于第二指令进行数据下载,具体包括:The method of claim 1, 2 or 3, wherein the intelligent terminal performs data downloading based on the second instruction, specifically:
    智能终端获取本地与可连接设备连接后生成的可连接设备连接列表;The smart terminal acquires a list of connectable device connections generated after the local connection with the connectable device is obtained;
    智能终端基于第二指令,在所述可连接设备连接列表中选取一个可连接设备进行数据接收;The smart terminal selects a connectable device for data reception in the connectable device connection list based on the second instruction;
    智能终端将数据下载到所述至少一个可连接设备中。 The smart terminal downloads data to the at least one connectable device.
  5. 如权利要求1、2或3所述的方法,其特征在于,在智能终端基于第二指令进行数据下载之后,具体包括:The method of claim 1, 2 or 3, wherein after the intelligent terminal performs data downloading based on the second instruction, the method specifically includes:
    智能终端基于第四指令,与建立连接的可连接设备断开连接;或者,The intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction; or
    智能终端确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。The intelligent terminal sends an alert message when it determines that the distance between the connectable device establishing the connection reaches a preset threshold.
  6. 一种扩展内存的方法,其特征在于,包括:A method of expanding memory, comprising:
    智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备;The intelligent terminal detects the device based on the first instruction, and determines that there is at least one connectable device;
    智能终端与所述至少一个可连接设备进行连接;The smart terminal is connected to the at least one connectable device;
    智能终端基于第二指令从所述至少一个可连接设备获取数据,其中,每获取一部分数据,执行以下操作,直到数据获取完毕:The smart terminal acquires data from the at least one connectable device based on the second instruction, wherein each time a part of the data is acquired, the following operations are performed until the data is acquired:
    将当前获取的一部分数据缓存至内存空间;Cache a portion of the currently acquired data into the memory space;
    使用所述一部分数据;Using the portion of data;
    确定使用完毕后,删除所述一部分数据。After determining that the usage is complete, delete the part of the data.
  7. 如权利要求6所述的方法,其特征在于,智能终端基于第一指令,对设备进行检测,确定存在至少一个可连接设备,具体包括:The method of claim 6, wherein the smart terminal detects the device based on the first instruction, and determines that there is at least one connectable device, specifically:
    智能终端基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The intelligent terminal detects the device based on the first instruction, and adopts one or a combination of the following two methods:
    智能终端通过蓝牙对设备进行检测;The smart terminal detects the device through Bluetooth;
    智能终端通过无线网络对设备进行检测;The smart terminal detects the device through the wireless network;
    智能终端获取检测结果,并根据所述检测结果,获取可连接设备列表;The smart terminal acquires the detection result, and obtains a list of connectable devices according to the detection result;
    智能终端基于所述可连接设备列表,确定存在至少一个可连接设备。The intelligent terminal determines that there is at least one connectable device based on the list of connectable devices.
  8. 如权利要求7所述的方法,其特征在于,智能终端与所述至少一个可连接设备进行连接,具体包括:The method of claim 7, wherein the smart terminal is connected to the at least one connectable device, and the method specifically includes:
    智能终端基于第三指令,在所述可连接设备列表选取至少一个可连接设备进行连接;或者,The smart terminal selects at least one connectable device to connect in the connectable device list based on the third instruction; or
    智能终端直接与所述可连接设备列表中的所有可连接设备进行连接。The smart terminal directly connects with all connectable devices in the list of connectable devices.
  9. 如权利要求6、7或8所述的方法,其特征在于,智能终端基于第二指令从所述至少一个可连接设备获取数据,具体包括:The method of claim 6, 7 or 8, wherein the smart terminal acquires data from the at least one connectable device based on the second instruction, specifically:
    智能终端获取本地与可连接设备连接后生成的可连接设备连接列表; The smart terminal acquires a list of connectable device connections generated after the local connection with the connectable device is obtained;
    智能终端基于第二指令,在所述可连接设备连接列表中选取一个可连接设备进行数据发送;The smart terminal selects a connectable device for data transmission in the connectable device connection list based on the second instruction;
    智能终端从所述至少一个可连接设备获取数据。The smart terminal acquires data from the at least one connectable device.
  10. 如权利要求6、7或8所述的方法,其特征在于,在智能终端基于第二指令从所述至少一个可连接设备获取数据之后,具体包括:The method of claim 6, 7 or 8, after the smart terminal acquires data from the at least one connectable device based on the second instruction, the method specifically includes:
    智能终端基于第四指令,与建立连接的可连接设备断开连接;或者,The intelligent terminal disconnects from the connectable device that establishes the connection based on the fourth instruction; or
    智能终端确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。The intelligent terminal sends an alert message when it determines that the distance between the connectable device establishing the connection reaches a preset threshold.
  11. 一种扩展内存的装置,其特征在于,包括:A device for expanding memory, comprising:
    检测单元,用于基于第一指令,对设备进行检测,确定存在至少一个可连接设备;a detecting unit, configured to detect, according to the first instruction, that the device has at least one connectable device;
    连接单元,用于与所述至少一个可连接设备进行连接;a connecting unit, configured to connect with the at least one connectable device;
    下载单元,用于基于第二指令进行数据下载,其中,每下载一部分数据,执行以下操作,直到数据下载完毕:a download unit for downloading data based on the second instruction, wherein each time a part of the data is downloaded, the following operations are performed until the data is downloaded:
    将当前下载的一部分数据缓存至内存空间;Cache a portion of the currently downloaded data to the memory space;
    将所述一部分数据传送至所述可连接设备;Transmitting the portion of data to the connectable device;
    删除所述一部分数据。Delete the part of the data.
  12. 如权利要求11所述的装置,其特征在于,基于第一指令,对设备进行检测,确定存在至少一个可连接设备时,所述检测单元具体用于:The device according to claim 11, wherein the detecting unit is configured to: when the device is detected to determine that there is at least one connectable device, the detecting unit is specifically configured to:
    基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The device is detected based on the first instruction, in any one or combination of the following two ways:
    通过蓝牙对设备进行检测;Detecting the device via Bluetooth;
    通过无线网络对设备进行检测;Detecting devices over a wireless network;
    获取检测结果,并根据所述检测结果,获取可连接设备列表;Obtaining a detection result, and obtaining a list of connectable devices according to the detection result;
    基于所述可连接设备列表,确定存在至少一个可连接设备。Based on the list of connectable devices, it is determined that there is at least one connectable device.
  13. 如权利要求12所述的装置,其特征在于,与所述至少一个可连接设备进行连接时,所述连接单元具体用于:The device according to claim 12, wherein when connected to the at least one connectable device, the connecting unit is specifically configured to:
    基于第三指令,在所述可连接设备列表选取至少一个可连接设备进行连接;或者,Selecting at least one connectable device to connect in the list of connectable devices based on the third instruction; or
    直接与所述可连接设备列表中的所有可连接设备进行连接。 Connect directly to all connectable devices in the list of connectable devices.
  14. 如权利要求11、12或13所述的装置,其特征在于,基于第二指令进行数据下载时,所述下载单元具体用于:The device according to claim 11, 12 or 13, wherein when the data is downloaded based on the second instruction, the downloading unit is specifically configured to:
    获取本地与可连接设备连接后生成的可连接设备连接列表;Obtain a list of connectable device connections generated after connecting to a connectable device locally;
    基于第二指令,在所述可连接设备连接列表中选取一个可连接设备进行数据接收;And selecting, according to the second instruction, a connectable device in the connectable device connection list for data receiving;
    将数据下载到所述至少一个可连接设备中。Downloading data to the at least one connectable device.
  15. 如权利要求11、12或13所述的装置,其特征在于,在智能终端基于第二指令进行数据下载之后,所述下载单元还用于:The device according to claim 11, 12 or 13, wherein after the intelligent terminal performs data downloading based on the second instruction, the downloading unit is further configured to:
    基于第四指令,与建立连接的可连接设备断开连接;或者,Disconnecting from the connectable device establishing the connection based on the fourth instruction; or
    确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
  16. 一种扩展内存的装置,其特征在于,包括:A device for expanding memory, comprising:
    检测单元,用于基于第一指令,对设备进行检测,确定存在至少一个可连接设备;a detecting unit, configured to detect, according to the first instruction, that the device has at least one connectable device;
    连接单元,用于与所述至少一个可连接设备进行连接;a connecting unit, configured to connect with the at least one connectable device;
    获取单元,用于基于第二指令从所述至少一个可连接设备获取数据,其中,每获取一部分数据,执行以下操作,直到数据获取完毕:And an obtaining unit, configured to acquire data from the at least one connectable device based on the second instruction, where each time a part of the data is acquired, the following operations are performed until the data is acquired:
    将当前获取的一部分数据缓存至内存空间;Cache a portion of the currently acquired data into the memory space;
    使用所述一部分数据;Using the portion of data;
    确定使用完毕后,删除所述一部分数据。After determining that the usage is complete, delete the part of the data.
  17. 如权利要求16所述的装置,其特征在于,基于第一指令,对设备进行检测,确定存在至少一个可连接设备时,所述检测单元具体用于:The device according to claim 16, wherein the detecting unit is configured to: when the device is detected to determine that there is at least one connectable device, the detecting unit is specifically configured to:
    基于第一指令,对设备进行检测,采用以下两种方式中一任意一种或组合:The device is detected based on the first instruction, in any one or combination of the following two ways:
    通过蓝牙对设备进行检测;Detecting the device via Bluetooth;
    通过无线网络对设备进行检测;Detecting devices over a wireless network;
    获取检测结果,并根据所述检测结果,获取可连接设备列表;Obtaining a detection result, and obtaining a list of connectable devices according to the detection result;
    基于所述可连接设备列表,确定存在至少一个可连接设备。Based on the list of connectable devices, it is determined that there is at least one connectable device.
  18. 如权利要求17所述的装置,其特征在于,与所述至少一个可连接设备进行连接时,所述连接单元具体用于: The device according to claim 17, wherein when connected to the at least one connectable device, the connecting unit is specifically configured to:
    基于第三指令,在所述可连接设备列表选取至少一个可连接设备进行连接;或者,Selecting at least one connectable device to connect in the list of connectable devices based on the third instruction; or
    直接与所述可连接设备列表中的所有可连接设备进行连接。Connect directly to all connectable devices in the list of connectable devices.
  19. 如权利要求16、17或18所述的装置,其特征在于,基于第二指令从所述至少一个可连接设备获取数据时,所述获取单元具体用于:The device according to claim 16, 17 or 18, wherein the acquiring unit is specifically configured to: when acquiring data from the at least one connectable device based on the second instruction:
    获取本地与可连接设备连接后生成的可连接设备连接列表;Obtain a list of connectable device connections generated after connecting to a connectable device locally;
    基于第二指令,在所述可连接设备连接列表中选取一个可连接设备进行数据发送;And selecting, according to the second instruction, a connectable device in the connectable device connection list for data transmission;
    从所述至少一个可连接设备获取数据。Acquiring data from the at least one connectable device.
  20. 如权利要求16、17或18所述的装置,其特征在于,在智能终端基于第二指令从所述至少一个可连接设备获取数据之后,所述获取单元还用于:The device according to claim 16, 17 or 18, wherein after the smart terminal acquires data from the at least one connectable device based on the second instruction, the acquiring unit is further configured to:
    基于第四指令,与建立连接的可连接设备断开连接;或者,Disconnecting from the connectable device establishing the connection based on the fourth instruction; or
    确定与建立连接的可连接设备之间的距离达到预设门限值时,发送提醒消息。 An alert message is sent when it is determined that the distance between the connectable devices that establish the connection reaches a preset threshold.
PCT/CN2017/094452 2016-10-18 2017-07-26 Method and device for expanding memory WO2018072511A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610909287.9 2016-10-18
CN201610909287.9A CN106855829A (en) 2016-10-18 2016-10-18 A kind of method and device of exented memory

Publications (1)

Publication Number Publication Date
WO2018072511A1 true WO2018072511A1 (en) 2018-04-26

Family

ID=59125643

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094452 WO2018072511A1 (en) 2016-10-18 2017-07-26 Method and device for expanding memory

Country Status (2)

Country Link
CN (1) CN106855829A (en)
WO (1) WO2018072511A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6792365B2 (en) * 2016-07-22 2020-11-25 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Content distribution system and method
CN106855829A (en) * 2016-10-18 2017-06-16 珠海格力节能环保制冷技术研究中心有限公司 A kind of method and device of exented memory
CN107577421A (en) * 2017-07-31 2018-01-12 深圳市牛鼎丰科技有限公司 Smart machine expansion method, device, storage medium and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489078A (en) * 2009-01-14 2009-07-22 深圳市同洲电子股份有限公司 Digital television terminal, memory expanding method and system based on middleware
CN101505395A (en) * 2008-12-22 2009-08-12 深圳市同洲电子股份有限公司 System and method for sharing data of digital television receiving terminal
US20120078400A1 (en) * 2003-11-13 2012-03-29 Jin-Sub Choi Memory Expansion Pack For Providing Content To Portable Terminal
CN106028259A (en) * 2016-04-28 2016-10-12 北京小米移动软件有限公司 Data download method and terminal
CN106855829A (en) * 2016-10-18 2017-06-16 珠海格力节能环保制冷技术研究中心有限公司 A kind of method and device of exented memory

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154188A (en) * 2006-09-25 2008-04-02 佛山市顺德区顺达电脑厂有限公司 System and method for temporary storage of internal memory data by using teledata storage medium
CN101674318A (en) * 2008-09-11 2010-03-17 北大方正集团有限公司 Method for pushing data to mobile equipment at regular time
CN102103470A (en) * 2011-01-28 2011-06-22 鸿富锦精密工业(深圳)有限公司 Memory-expandable electronic equipment and memory expanding method
CN102253893A (en) * 2011-04-02 2011-11-23 赵悦 Method for extending internal memory
CN104079716A (en) * 2014-05-28 2014-10-01 赵海林 Intelligent device, external storage expansion device and method based on external storage expansion of intelligent device
CN105788030B (en) * 2016-03-25 2018-07-06 航天科技控股集团股份有限公司 A kind of cycle for saving memory replaces formula data transmission method for uplink

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120078400A1 (en) * 2003-11-13 2012-03-29 Jin-Sub Choi Memory Expansion Pack For Providing Content To Portable Terminal
CN101505395A (en) * 2008-12-22 2009-08-12 深圳市同洲电子股份有限公司 System and method for sharing data of digital television receiving terminal
CN101489078A (en) * 2009-01-14 2009-07-22 深圳市同洲电子股份有限公司 Digital television terminal, memory expanding method and system based on middleware
CN106028259A (en) * 2016-04-28 2016-10-12 北京小米移动软件有限公司 Data download method and terminal
CN106855829A (en) * 2016-10-18 2017-06-16 珠海格力节能环保制冷技术研究中心有限公司 A kind of method and device of exented memory

Also Published As

Publication number Publication date
CN106855829A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
JP6228676B2 (en) Connection state prompting method and apparatus
CN108762859B (en) Wallpaper display method and device, mobile terminal and storage medium
WO2015024390A1 (en) Image management method, apparatus, and terminal device
CN109151494B (en) Multimedia data transmission method, multimedia acquisition equipment and server
WO2018072511A1 (en) Method and device for expanding memory
JP2016525754A (en) Web page access method, apparatus, server, terminal, program, and recording medium
WO2014045080A1 (en) Methods, apparatuses and computer program products for providing a protocol to resolve synchronization conflicts when synchronizing between multiple devices
WO2015131768A1 (en) Video processing method, apparatus and system
KR102294040B1 (en) Method and apparatus for transmitting and receiving data
WO2018049970A1 (en) Hotspot network switching method and terminal
CN108600516B (en) Data acquisition method, mobile terminal and computer readable storage medium
US20130171937A1 (en) Method and apparatus for providing mobile services outside of cellular coverage
WO2018161788A1 (en) Multimedia data sharing method and device
CN106789488B (en) Intelligent household equipment management method and device
TW201233211A (en) Caching at the wireless tower with remote charging services
CN104077163A (en) Installing method, device and terminal for installation package
WO2019034054A1 (en) Mobile terminal-based nfc stress testing method and system, and storage device
CN109194979B (en) Audio and video processing method and device, mobile terminal and readable storage medium
WO2018049969A1 (en) Hotspot establishment method and related device
KR20180110517A (en) An elelctronic device and a coverrage compensation method for a shortrange communication in the elelctronic device
US10044829B2 (en) Control system and method for cache coherency
KR20120082162A (en) Terminal perfroming synchronization through direct connection based on ip and synchronizing method using the same
CN109429076B (en) Playing card pause processing method and device for multimedia data
CN107608629B (en) Data migration method, terminal and computer readable storage medium

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: 17861829

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: 17861829

Country of ref document: EP

Kind code of ref document: A1