CN106648899A - Cloud computing storage method and device based on surplus storage space of terminal device - Google Patents
Cloud computing storage method and device based on surplus storage space of terminal device Download PDFInfo
- Publication number
- CN106648899A CN106648899A CN201611242255.4A CN201611242255A CN106648899A CN 106648899 A CN106648899 A CN 106648899A CN 201611242255 A CN201611242255 A CN 201611242255A CN 106648899 A CN106648899 A CN 106648899A
- Authority
- CN
- China
- Prior art keywords
- cloud computing
- data
- information
- terminal device
- computing service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种基于终端设备剩余存储空间的云计算存储方法。本发明还公开了一种基于终端设备剩余存储空间的云计算存储装置。本发明所实现的有益效果。本发明接收具有剩余存储空间的终端设备发送的设备信息,将所述设备信息记录到云计算服务列表中,再根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中,根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储,从而避免了终端设备的存储空间存在浪费的问题。
The invention discloses a cloud computing storage method based on the remaining storage space of terminal equipment. The invention also discloses a cloud computing storage device based on the remaining storage space of the terminal equipment. The beneficial effects realized by the present invention. The present invention receives the device information sent by the terminal device with remaining storage space, records the device information into the cloud computing service list, performs data distribution according to the device information in the cloud computing service list, and adds the data distribution result to In the cloud computing service list, according to the cloud computing service list, the data to be stored is written into the remaining storage space of the corresponding terminal device through the cloud computing service interface, so as to realize the cloud computing storage of the data, thereby avoiding the terminal device There is a waste of storage space.
Description
技术领域technical field
本发明涉及云计算技术领域,尤其涉及一种基于终端设备剩余存储空间的云计算存储方法及装置。The present invention relates to the technical field of cloud computing, in particular to a cloud computing storage method and device based on remaining storage space of terminal equipment.
背景技术Background technique
目前由于用户的需求,终端设备都在逐步智能化,不管是智能一体机、还是智能机顶盒、或是各种手持电视终端,通过网络连接互联网几乎成为了产品标准配置,而与此同时,终端设备的存储空间被设计得也越来越大,但是很多用户正在使用的终端设备的存储空间并没有被充分利用。换句话来说,这部分空间由于用户使用不到而闲置,使得存储空间存在浪费的情况。At present, due to the needs of users, terminal equipment is gradually becoming intelligent. Whether it is a smart all-in-one machine, a smart set-top box, or a variety of handheld TV terminals, connecting to the Internet through the network has almost become a standard product configuration. At the same time, terminal equipment The storage space is designed to be larger and larger, but the storage space of the terminal devices that many users are using has not been fully utilized. In other words, this part of the space is idle because the user does not use it, so that the storage space is wasted.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solution of the present invention, and does not mean that the above content is admitted as prior art.
发明内容Contents of the invention
本发明的主要目的在于提供一种基于终端设备剩余存储空间的云计算存储方法及装置,旨在解决现有技术中终端设备的存储空间没有充分利用,使得存储空间存在浪费的技术问题。The main purpose of the present invention is to provide a cloud computing storage method and device based on the remaining storage space of the terminal equipment, aiming to solve the technical problem in the prior art that the storage space of the terminal equipment is not fully utilized, resulting in waste of storage space.
为实现上述目的,本发明提供一种基于终端设备剩余存储空间的云计算存储方法,所述方法包括以下步骤:In order to achieve the above object, the present invention provides a cloud computing storage method based on the remaining storage space of the terminal device, the method comprising the following steps:
接收当前终端设备发送的设备信息,所述当前终端设备为具有剩余存储空间的终端设备;receiving device information sent by a current terminal device, where the current terminal device is a terminal device with remaining storage space;
将所述当前终端设备的设备信息记录到云计算服务列表中;Recording the device information of the current terminal device into the cloud computing service list;
根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中;performing data distribution according to the device information in the cloud computing service list, and adding the data distribution result to the cloud computing service list;
根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储。Write the data to be stored into the remaining storage space of the corresponding terminal device through the cloud computing service interface according to the cloud computing service list, so as to realize cloud computing storage of the data.
优选地,在根据所述云计算服务列表中的设备信息进行数据分配时,为所述待存储数据分配至少两个终端设备的设备信息。Preferably, when performing data distribution according to the device information in the cloud computing service list, the device information of at least two terminal devices is allocated to the data to be stored.
优选地,所述根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储之后,所述方法还包括:Preferably, after writing the data to be stored into the remaining storage space of the corresponding terminal device through the cloud computing service interface according to the cloud computing service list to realize cloud computing storage of data, the method further includes:
根据待读取数据查找所述云计算服务列表,获得信息集合,所述信息集合中包括:与所述待读取数据对应的终端设备的设备信息;Finding the cloud computing service list according to the data to be read to obtain an information set, the information set including: device information of a terminal device corresponding to the data to be read;
对所述信息集合中的终端设备的设备信息进行遍历;Traversing the device information of the terminal devices in the information set;
在遍历到的设备信息对应的终端设备处于在线状态时,通过云计算服务接口从该终端设备中读出所述待读取数据。When the terminal device corresponding to the traversed device information is online, the data to be read is read from the terminal device through the cloud computing service interface.
优选地,所述将所述当前终端设备的设备信息记录到云计算服务列表中,具体包括:Preferably, the recording the device information of the current terminal device into the cloud computing service list specifically includes:
在所述设备信息满足预设条件时,将所述当前终端设备的设备信息记录到云计算服务列表中。When the device information satisfies the preset condition, record the device information of the current terminal device into the cloud computing service list.
优选地,所述设备信息包括:设备IP地址、端口号、软件版本、硬件版本、设备类型、设备硬件识别号、当前带宽和设备剩余空间大小中的至少一项。Preferably, the device information includes: at least one of device IP address, port number, software version, hardware version, device type, device hardware identification number, current bandwidth and remaining space of the device.
此外,为实现上述目的,本发明还提供一种基于终端设备剩余存储空间的云计算存储装置,所述装置包括:In addition, in order to achieve the above object, the present invention also provides a cloud computing storage device based on the remaining storage space of the terminal device, the device includes:
信息接收模块,用于接收当前终端设备发送的设备信息,所述当前终端设备为具有剩余存储空间的终端设备;An information receiving module, configured to receive device information sent by a current terminal device, where the current terminal device is a terminal device with remaining storage space;
信息记录模块,用于将所述当前终端设备的设备信息记录到云计算服务列表中;An information recording module, configured to record the device information of the current terminal device into the cloud computing service list;
数据分配模块,用于根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中;A data distribution module, configured to perform data distribution according to the device information in the cloud computing service list, and add the data distribution result to the cloud computing service list;
数据写入模块,用于根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储。The data writing module is used to write the data to be stored into the remaining storage space of the corresponding terminal device through the cloud computing service interface according to the cloud computing service list, so as to realize cloud computing storage of data.
优选地,所述数据分配模块在根据所述云计算服务列表中的设备信息进行数据分配时,为所述待存储数据分配至少两个终端设备的设备信息。Preferably, the data allocation module allocates the device information of at least two terminal devices to the data to be stored when performing data distribution according to the device information in the cloud computing service list.
优选地,所述装置还包括:Preferably, the device also includes:
列表查找模块,用于根据待读取数据查找所述云计算服务列表,获得信息集合,所述信息集合中包括:与所述待读取数据对应的终端设备的设备信息;A list search module, configured to search the cloud computing service list according to the data to be read, and obtain an information set, wherein the information set includes: device information of a terminal device corresponding to the data to be read;
信息遍历模块,用于对所述信息集合中的终端设备的设备信息进行遍历;An information traversal module, configured to traverse the device information of the terminal devices in the information set;
数据读出模块,用于在遍历到的设备信息对应的终端设备处于在线状态时,通过云计算服务接口从该终端设备中读出所述待读取数据。The data reading module is configured to read the data to be read from the terminal device through the cloud computing service interface when the terminal device corresponding to the traversed device information is in an online state.
优选地,所述信息记录模块,还用于在所述设备信息满足预设条件时,将所述当前终端设备的设备信息记录到云计算服务列表中。Preferably, the information recording module is further configured to record the device information of the current terminal device into the cloud computing service list when the device information satisfies a preset condition.
优选地,所述设备信息包括:设备IP地址、端口号、软件版本、硬件版本、设备类型、设备硬件识别号、当前带宽和设备剩余空间大小中的至少一项。Preferably, the device information includes: at least one of device IP address, port number, software version, hardware version, device type, device hardware identification number, current bandwidth and remaining space of the device.
本发明接收具有剩余存储空间的终端设备发送的设备信息,将所述设备信息记录到云计算服务列表中,再根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中,根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储,从而避免了终端设备的存储空间存在浪费的问题。The present invention receives the device information sent by the terminal device with remaining storage space, records the device information into the cloud computing service list, performs data distribution according to the device information in the cloud computing service list, and adds the data distribution result to In the cloud computing service list, according to the cloud computing service list, the data to be stored is written into the remaining storage space of the corresponding terminal device through the cloud computing service interface, so as to realize the cloud computing storage of the data, thereby avoiding the terminal device There is a waste of storage space.
附图说明Description of drawings
图1为本发明基于终端设备剩余存储空间的云计算存储方法第一实施例的流程示意图;1 is a schematic flow diagram of a first embodiment of a cloud computing storage method based on the remaining storage space of a terminal device in the present invention;
图2为本发明基于终端设备剩余存储空间的云计算存储方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a cloud computing storage method based on the remaining storage space of a terminal device according to the present invention;
图3为本发明基于终端设备剩余存储空间的云计算存储装置第一实施例的功能模块示意图;3 is a schematic diagram of the functional modules of the first embodiment of the cloud computing storage device based on the remaining storage space of the terminal device in the present invention;
图4为本发明基于终端设备剩余存储空间的云计算存储装置第二实施例的功能模块示意图。FIG. 4 is a schematic diagram of functional modules of a second embodiment of a cloud computing storage device based on the remaining storage space of a terminal device according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
参照图1,本发明第一实施例提供一种基于终端设备剩余存储空间的云计算存储方法,所述方法包括:Referring to FIG. 1, the first embodiment of the present invention provides a cloud computing storage method based on the remaining storage space of the terminal device, the method comprising:
S10:接收当前终端设备发送的设备信息,所述当前终端设备为具有剩余存储空间的终端设备;S10: Receive device information sent by the current terminal device, where the current terminal device is a terminal device with remaining storage space;
需要说明的是,本实施例的方法的执行主体为云计算服务器。It should be noted that the execution subject of the method in this embodiment is a cloud computing server.
可理解的是,所述终端设备可以为智能电视、智能手机、PC机、笔记本或平板电脑等设备,本实施例对此不加以限制。It can be understood that the terminal device may be a device such as a smart TV, a smart phone, a PC, a notebook, or a tablet computer, which is not limited in this embodiment.
应理解的是,在当前终端设备上电开机后,接入网络A实现互联,此时用户可在所述当前终端设备上选择是否开放设备的剩余存储空间,在选择开放设备的剩余存储空间时,当前终端设备即会向所述云计算服务器发送设备信息,在选择不开放设备的剩余存储空间时,当前终端设备不进行后续处理。It should be understood that after the current terminal device is powered on, the access network A realizes interconnection. At this time, the user can choose whether to open the remaining storage space of the device on the current terminal device. When choosing to open the remaining storage space of the device , the current terminal device will send device information to the cloud computing server, and when choosing not to open the remaining storage space of the device, the current terminal device will not perform subsequent processing.
在具体实现中,所述设备信息即用于反映所述设备状态的信息,可包括:设备IP地址、端口号、软件版本、硬件版本、设备类型、设备硬件识别号(例如:国际移动用户识别码IMSI、设备被分配的唯一ID号等)、当前带宽和设备剩余空间大小等信息中的至少一项。In a specific implementation, the device information is the information used to reflect the state of the device, which may include: device IP address, port number, software version, hardware version, device type, device hardware identification number (for example: International Mobile Subscriber Identity code IMSI, the unique ID number assigned to the device, etc.), the current bandwidth and the remaining space of the device and other information.
为保证设备信息的全面性,可将所述设备信息的数据结构定义为:In order to ensure the comprehensiveness of the device information, the data structure of the device information can be defined as:
S20:将所述当前终端设备的设备信息记录到云计算服务列表中;S20: Record the device information of the current terminal device into the cloud computing service list;
可理解的是,由于当前终端设备的剩余存储空间可能会出现不够,又或是当前带宽过小等问题,故而,可判断所述设备信息是否满足预设条件,在所述设备信息满足预设条件时,将所述当前终端设备的设备信息记录到云计算服务列表中。It is understandable that because the remaining storage space of the current terminal device may be insufficient, or the current bandwidth is too small, etc., it can be judged whether the device information meets the preset condition, and when the device information meets the preset condition When the condition is met, record the device information of the current terminal device into the cloud computing service list.
S30:根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中;S30: Perform data distribution according to the device information in the cloud computing service list, and add the data distribution result to the cloud computing service list;
需要说明的是,根据所述云计算服务列表中的设备信息进行数据分配,可理解为,将云计算中需要保存的数据分配给设备信息,为防止读取时终端设备不在线的情况出现,本实施例中,在根据所述云计算服务列表中的设备信息进行数据分配时,可为所述待存储数据分配至少两个终端设备的设备信息。It should be noted that the data allocation according to the device information in the cloud computing service list can be understood as allocating the data that needs to be saved in the cloud computing to the device information. In order to prevent the terminal device from being offline when reading, In this embodiment, when performing data distribution according to the device information in the cloud computing service list, the device information of at least two terminal devices may be allocated to the data to be stored.
S40:根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储。S40: Write the data to be stored into the remaining storage space of the corresponding terminal device through the cloud computing service interface according to the cloud computing service list, so as to realize cloud computing storage of data.
可理解的是,为保证数据写入的安全性和完整性,在将待存储数据写入对应终端设备的剩余存储空间的过程中,可通过心跳机制对终端设备进行连接,如果有的终端设备的网络出现异常或关机,可对所述云计算服务列表进行更新。It is understandable that in order to ensure the security and integrity of data writing, in the process of writing the data to be stored into the remaining storage space of the corresponding terminal device, the terminal device can be connected through the heartbeat mechanism. If the network is abnormal or shut down, the list of cloud computing services can be updated.
本实施例接收具有剩余存储空间的终端设备发送的设备信息,将所述设备信息记录到云计算服务列表中,再根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中,根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储,从而避免了终端设备的存储空间存在浪费的问题。This embodiment receives the device information sent by the terminal device with remaining storage space, records the device information in the cloud computing service list, and then performs data distribution according to the device information in the cloud computing service list, and records the data distribution result Added to the cloud computing service list, write the data to be stored into the remaining storage space of the corresponding terminal device through the cloud computing service interface according to the cloud computing service list, so as to realize the cloud computing storage of the data, thus avoiding the terminal The storage space of the device is wasted.
参照图2,图2为本发明基于终端设备剩余存储空间的云计算存储方法的流程示意图,基于上述图1所示的实施例,提出本发明基于终端设备剩余存储空间的云计算存储方法的第二实施例。Referring to FIG. 2, FIG. 2 is a schematic flowchart of the cloud computing storage method based on the remaining storage space of the terminal device in the present invention. Based on the embodiment shown in FIG. 1 above, the first cloud computing storage method based on the remaining storage space of the terminal device in the present invention is proposed Two examples.
本实施例中,所述步骤S40之后,所述方法还包括:In this embodiment, after the step S40, the method further includes:
S50:根据待读取数据查找所述云计算服务列表,获得信息集合,所述信息集合中包括:与所述待读取数据对应的终端设备的设备信息;S50: Search the cloud computing service list according to the data to be read, and obtain an information set, where the information set includes: device information of a terminal device corresponding to the data to be read;
可理解的是,在将数据存储至终端设备中后,在云计算服务器在运行过程中,可能需要获取待读取数据进行后续处理,此时,需要将待读取数据读出。It is understandable that after the data is stored in the terminal device, the cloud computing server may need to obtain the data to be read for subsequent processing during the operation of the cloud computing server. At this time, the data to be read needs to be read out.
在具体实现中,由于在根据所述云计算服务列表中的设备信息进行数据分配时,可为所述待存储数据分配至少两个终端设备的设备信息,因此,查找到的与所述待读取数据对应的终端设备的设备信息通常也具有至少两个,因此,可将查找到的设备信息添加至信息集合中。In a specific implementation, since the device information of at least two terminal devices can be allocated to the data to be stored when data is allocated according to the device information in the cloud computing service list, the found and the to-be-read There are usually at least two pieces of equipment information about the terminal equipment corresponding to the fetched data. Therefore, the found equipment information can be added to the information set.
S60:对所述信息集合中的终端设备的设备信息进行遍历;S60: Traversing the device information of the terminal devices in the information set;
S70:在遍历到的设备信息对应的终端设备处于在线状态时,通过云计算服务接口从该终端设备中读出所述待读取数据。S70: When the terminal device corresponding to the traversed device information is online, read the data to be read from the terminal device through a cloud computing service interface.
当然,如果所述信息集合中设备信息对应的终端设备均不处于在线状态,即可理解为,待读取数据读取失败。Of course, if none of the terminal devices corresponding to the device information in the information set is online, it can be understood that the reading of the data to be read fails.
参照图3,本发明第一实施例提供一种基于终端设备剩余存储空间的云计算存储装置,所述装置包括:Referring to FIG. 3 , the first embodiment of the present invention provides a cloud computing storage device based on the remaining storage space of the terminal device, the device includes:
信息接收模块10,用于接收当前终端设备发送的设备信息,所述当前终端设备为具有剩余存储空间的终端设备;An information receiving module 10, configured to receive device information sent by a current terminal device, where the current terminal device is a terminal device with remaining storage space;
需要说明的是,本实施例的装置部署于云计算服务器上。It should be noted that the device in this embodiment is deployed on a cloud computing server.
可理解的是,所述终端设备可以为智能电视、智能手机、PC机、笔记本或平板电脑等设备,本实施例对此不加以限制。It can be understood that the terminal device may be a device such as a smart TV, a smart phone, a PC, a notebook, or a tablet computer, which is not limited in this embodiment.
应理解的是,在当前终端设备上电开机后,接入网络A实现互联,此时用户可在所述当前终端设备上选择是否开放设备的剩余存储空间,在选择开放设备的剩余存储空间时,当前终端设备即会向所述云计算服务器发送设备信息,在选择不开放设备的剩余存储空间时,当前终端设备不进行后续处理。It should be understood that after the current terminal device is powered on, the access network A realizes interconnection. At this time, the user can choose whether to open the remaining storage space of the device on the current terminal device. When choosing to open the remaining storage space of the device , the current terminal device will send device information to the cloud computing server, and when choosing not to open the remaining storage space of the device, the current terminal device will not perform subsequent processing.
在具体实现中,所述设备信息即用于反映所述设备状态的信息,可包括:设备IP地址、端口号、软件版本、硬件版本、设备类型、设备硬件识别号(例如:国际移动用户识别码IMSI、设备被分配的唯一ID号等)、当前带宽和设备剩余空间大小等信息中的至少一项。In a specific implementation, the device information is the information used to reflect the state of the device, which may include: device IP address, port number, software version, hardware version, device type, device hardware identification number (for example: International Mobile Subscriber Identity code IMSI, the unique ID number assigned to the device, etc.), the current bandwidth and the remaining space of the device and other information.
为保证设备信息的全面性,可将所述设备信息的数据结构定义为:In order to ensure the comprehensiveness of the device information, the data structure of the device information can be defined as:
信息记录模块20,用于将所述当前终端设备的设备信息记录到云计算服务列表中;An information recording module 20, configured to record the device information of the current terminal device into the cloud computing service list;
可理解的是,由于当前终端设备的剩余存储空间可能会出现不够,又或是当前带宽过小等问题,故而,可判断所述设备信息是否满足预设条件,在所述设备信息满足预设条件时,将所述当前终端设备的设备信息记录到云计算服务列表中。It is understandable that because the remaining storage space of the current terminal device may be insufficient, or the current bandwidth is too small, etc., it can be judged whether the device information meets the preset condition, and when the device information meets the preset condition When the condition is met, record the device information of the current terminal device into the cloud computing service list.
数据分配模块30,用于根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中;A data distribution module 30, configured to perform data distribution according to the device information in the cloud computing service list, and add the data distribution result to the cloud computing service list;
需要说明的是,根据所述云计算服务列表中的设备信息进行数据分配,可理解为,将云计算中需要保存的数据分配给设备信息,为防止读取时终端设备不在线的情况出现,本实施例中,在根据所述云计算服务列表中的设备信息进行数据分配时,可为所述待存储数据分配至少两个终端设备的设备信息。It should be noted that the data allocation according to the device information in the cloud computing service list can be understood as allocating the data that needs to be saved in the cloud computing to the device information. In order to prevent the terminal device from being offline when reading, In this embodiment, when performing data distribution according to the device information in the cloud computing service list, the device information of at least two terminal devices may be allocated to the data to be stored.
数据写入模块40,用于根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储。The data writing module 40 is configured to write the data to be stored into the remaining storage space of the corresponding terminal device through the cloud computing service interface according to the cloud computing service list, so as to realize cloud computing storage of data.
可理解的是,为保证数据写入的安全性和完整性,在将待存储数据写入对应终端设备的剩余存储空间的过程中,可通过心跳机制对终端设备进行连接,如果有的终端设备的网络出现异常或关机,可对所述云计算服务列表进行更新。It is understandable that in order to ensure the security and integrity of data writing, in the process of writing the data to be stored into the remaining storage space of the corresponding terminal device, the terminal device can be connected through the heartbeat mechanism. If the network is abnormal or shut down, the list of cloud computing services can be updated.
本实施例接收具有剩余存储空间的终端设备发送的设备信息,将所述设备信息记录到云计算服务列表中,再根据所述云计算服务列表中的设备信息进行数据分配,并将数据分配结果添加至所述云计算服务列表中,根据所述云计算服务列表通过云计算服务接口将待存储数据写入对应终端设备的剩余存储空间中,以实现对数据的云计算存储,从而避免了终端设备的存储空间存在浪费的问题。This embodiment receives the device information sent by the terminal device with remaining storage space, records the device information in the cloud computing service list, and then performs data distribution according to the device information in the cloud computing service list, and records the data distribution result Added to the cloud computing service list, write the data to be stored into the remaining storage space of the corresponding terminal device through the cloud computing service interface according to the cloud computing service list, so as to realize the cloud computing storage of the data, thus avoiding the terminal The storage space of the device is wasted.
参照图4,图4为本发明基于终端设备剩余存储空间的云计算存储装置的功能模块示意图,基于上述图3所示的实施例,提出本发明基于终端设备剩余存储空间的云计算存储装置的第二实施例。Referring to FIG. 4, FIG. 4 is a schematic diagram of the functional modules of the cloud computing storage device based on the remaining storage space of the terminal equipment in the present invention. Based on the embodiment shown in FIG. 3 above, the cloud computing storage device based on the remaining storage space of the terminal equipment in the present invention is proposed Second embodiment.
本实施例中,所述装置还包括:In this embodiment, the device also includes:
列表查找模块50,用于根据待读取数据查找所述云计算服务列表,获得信息集合,所述信息集合中包括:与所述待读取数据对应的终端设备的设备信息;A list search module 50, configured to search the cloud computing service list according to the data to be read, and obtain an information set, wherein the information set includes: device information of a terminal device corresponding to the data to be read;
可理解的是,在将数据存储至终端设备中后,在云计算服务器在运行过程中,可能需要获取待读取数据进行后续处理,此时,需要将待读取数据读出。It is understandable that after the data is stored in the terminal device, the cloud computing server may need to obtain the data to be read for subsequent processing during the operation of the cloud computing server. At this time, the data to be read needs to be read out.
在具体实现中,由于在根据所述云计算服务列表中的设备信息进行数据分配时,可为所述待存储数据分配至少两个终端设备的设备信息,因此,查找到的与所述待读取数据对应的终端设备的设备信息通常也具有至少两个,因此,可将查找到的设备信息添加至信息集合中。In a specific implementation, since the device information of at least two terminal devices can be allocated to the data to be stored when data is allocated according to the device information in the cloud computing service list, the found and the to-be-read There are usually at least two pieces of equipment information about the terminal equipment corresponding to the fetched data. Therefore, the found equipment information can be added to the information set.
信息遍历模块60,用于对所述信息集合中的终端设备的设备信息进行遍历;An information traversal module 60, configured to traverse the device information of the terminal devices in the information set;
数据读出模块70,用于在遍历到的设备信息对应的终端设备处于在线状态时,通过云计算服务接口从该终端设备中读出所述待读取数据。The data reading module 70 is configured to read the data to be read from the terminal device through the cloud computing service interface when the terminal device corresponding to the traversed device information is in an online state.
当然,如果所述信息集合中设备信息对应的终端设备均不处于在线状态,即可理解为,待读取数据读取失败。Of course, if none of the terminal devices corresponding to the device information in the information set is online, it can be understood that the reading of the data to be read fails.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611242255.4A CN106648899A (en) | 2016-12-28 | 2016-12-28 | Cloud computing storage method and device based on surplus storage space of terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611242255.4A CN106648899A (en) | 2016-12-28 | 2016-12-28 | Cloud computing storage method and device based on surplus storage space of terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106648899A true CN106648899A (en) | 2017-05-10 |
Family
ID=58836571
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611242255.4A Pending CN106648899A (en) | 2016-12-28 | 2016-12-28 | Cloud computing storage method and device based on surplus storage space of terminal device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106648899A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109597589A (en) * | 2018-12-12 | 2019-04-09 | 珠海格力电器股份有限公司 | Data storage method and system |
| CN109660604A (en) * | 2018-11-29 | 2019-04-19 | 上海碳蓝网络科技有限公司 | Data access method and equipment |
| CN109783576A (en) * | 2019-01-02 | 2019-05-21 | 佛山市顺德区美的洗涤电器制造有限公司 | Household appliance and its date storage method, device |
| CN110012108A (en) * | 2019-04-15 | 2019-07-12 | 深圳市网心科技有限公司 | Data copy storage method, download method, cloud storage system and related device |
| CN114490031A (en) * | 2021-12-27 | 2022-05-13 | 华能国际电力江苏能源开发有限公司清洁能源分公司 | Cloud resource management method for cloud desktop system server |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101710901A (en) * | 2009-10-22 | 2010-05-19 | 乐视网信息技术(北京)股份有限公司 | Distributed type storage system having p2p function and method thereof |
| CN101807944A (en) * | 2010-03-03 | 2010-08-18 | 中兴通讯股份有限公司 | Mobile terminal and data sharing method thereof |
| CN103516748A (en) * | 2012-06-25 | 2014-01-15 | 北京智慧风云科技有限公司 | Method and system for self-adaption file downloading processing of cloud server and cloud server |
| CN103533014A (en) * | 2013-04-23 | 2014-01-22 | Tcl集团股份有限公司 | Method and system for providing temporary extension space |
| CN103997540A (en) * | 2014-06-10 | 2014-08-20 | 深圳市友华通信技术有限公司 | Method for achieving distributed storage of network, storage system and customer premise equipment |
| CN104468715A (en) * | 2014-10-31 | 2015-03-25 | 广东工业大学 | Manufacturing industry Internet of Things node synergy storage method |
| EP2874059A1 (en) * | 2013-11-14 | 2015-05-20 | Humax Co., Ltd. | Personal cloud storage chain service system and method |
| CN105635214A (en) * | 2014-11-03 | 2016-06-01 | 中兴通讯股份有限公司 | Data storage method, first mobile terminal, storage node and storage system |
| CN106101270A (en) * | 2016-08-05 | 2016-11-09 | 成都佳荣科技有限公司 | Data distributed memory system |
-
2016
- 2016-12-28 CN CN201611242255.4A patent/CN106648899A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101710901A (en) * | 2009-10-22 | 2010-05-19 | 乐视网信息技术(北京)股份有限公司 | Distributed type storage system having p2p function and method thereof |
| CN101807944A (en) * | 2010-03-03 | 2010-08-18 | 中兴通讯股份有限公司 | Mobile terminal and data sharing method thereof |
| CN103516748A (en) * | 2012-06-25 | 2014-01-15 | 北京智慧风云科技有限公司 | Method and system for self-adaption file downloading processing of cloud server and cloud server |
| CN103533014A (en) * | 2013-04-23 | 2014-01-22 | Tcl集团股份有限公司 | Method and system for providing temporary extension space |
| EP2874059A1 (en) * | 2013-11-14 | 2015-05-20 | Humax Co., Ltd. | Personal cloud storage chain service system and method |
| CN103997540A (en) * | 2014-06-10 | 2014-08-20 | 深圳市友华通信技术有限公司 | Method for achieving distributed storage of network, storage system and customer premise equipment |
| CN104468715A (en) * | 2014-10-31 | 2015-03-25 | 广东工业大学 | Manufacturing industry Internet of Things node synergy storage method |
| CN105635214A (en) * | 2014-11-03 | 2016-06-01 | 中兴通讯股份有限公司 | Data storage method, first mobile terminal, storage node and storage system |
| CN106101270A (en) * | 2016-08-05 | 2016-11-09 | 成都佳荣科技有限公司 | Data distributed memory system |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109660604A (en) * | 2018-11-29 | 2019-04-19 | 上海碳蓝网络科技有限公司 | Data access method and equipment |
| CN109597589A (en) * | 2018-12-12 | 2019-04-09 | 珠海格力电器股份有限公司 | Data storage method and system |
| CN109597589B (en) * | 2018-12-12 | 2020-08-11 | 珠海格力电器股份有限公司 | Data storage method and system |
| CN109783576A (en) * | 2019-01-02 | 2019-05-21 | 佛山市顺德区美的洗涤电器制造有限公司 | Household appliance and its date storage method, device |
| CN109783576B (en) * | 2019-01-02 | 2022-05-31 | 佛山市顺德区美的洗涤电器制造有限公司 | Household appliance and data storage method and device thereof |
| CN110012108A (en) * | 2019-04-15 | 2019-07-12 | 深圳市网心科技有限公司 | Data copy storage method, download method, cloud storage system and related device |
| CN114490031A (en) * | 2021-12-27 | 2022-05-13 | 华能国际电力江苏能源开发有限公司清洁能源分公司 | Cloud resource management method for cloud desktop system server |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106648899A (en) | Cloud computing storage method and device based on surplus storage space of terminal device | |
| CN111786984B (en) | Pod communication connection method and device, electronic equipment and storage medium | |
| CN107239701B (en) | Method and device for identifying malicious website | |
| CN110198530B (en) | Flow-free service scheduling processing method, device, equipment and storage medium | |
| CN109885577A (en) | Data processing method, device, terminal and storage medium | |
| CN110362547A (en) | Coding, parsing, storage method and the device of journal file | |
| CN104935469A (en) | A log information distributed storage method and system | |
| CN108989101B (en) | Log output system and method and electronic equipment | |
| CN114895852A (en) | Data processing method, system, device, storage medium and electronic device | |
| WO2025152628A1 (en) | Application programming interface asset management method and apparatus, and electronic device | |
| CN110275913A (en) | Data supply method, device, storage medium, and electronic device | |
| CN116304403A (en) | Webpage access method and device, computer equipment and storage medium | |
| US20170169044A1 (en) | Property retrieval apparatus, method and system | |
| CN104714760B (en) | Method and device for reading and writing storage devices | |
| CN110020290B (en) | Webpage resource caching method and device, storage medium and electronic device | |
| KR20150139546A (en) | Removable storage device identity and configuration information | |
| US20240256495A1 (en) | Method, apparatus, electronic device and storage medium for data processing | |
| CN114491653B (en) | Data content tamper-proof system, method and device | |
| CN113824763B (en) | Message push method, device, computer equipment and storage medium | |
| CN111694611B (en) | Data processing method and device and electronic equipment | |
| CN116405578A (en) | Asset identification method and device | |
| CN115795544A (en) | File security attribute storage method and related device | |
| CN114490530A (en) | Method and device for batch transfer online file processing | |
| CN113760450A (en) | Private cloud virtual machine automatic security management method, device, terminal and storage medium | |
| US20090241134A1 (en) | Remote storage service api |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
| RJ01 | Rejection of invention patent application after publication |