Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Resource storage method and device based on Internet of Things operating system

An operating system and Internet of Things technology, which is applied in the field of resource storage based on the Internet of Things operating system, can solve the problem that the data access process takes a long time, etc.

Active Publication Date: 2019-11-05
QINGDAO HAIER TECH
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present application provides a resource storage method and device based on the Internet of Things operating system to at least solve the problem in the related art that the data access process in the distributed storage takes a long time

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource storage method and device based on Internet of Things operating system
  • Resource storage method and device based on Internet of Things operating system
  • Resource storage method and device based on Internet of Things operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] The method embodiment provided in Embodiment 1 of the present application may be executed in a terminal or a similar computing device. Take running on the terminal as an example, figure 1 It is a block diagram of the terminal hardware structure of a resource storage method based on the Internet of Things operating system in the embodiment of the present application, as shown in figure 1 As shown, the terminal can include one or more ( figure 1 Only one is shown in ) processor 102 (processor 102 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA) and memory 104 for storing data. Optionally, the above-mentioned terminal can also be A transmission device 106 for communication functions and an input and output device 108 are included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does not limit the structure of the above-mentioned terminal. Fo...

Embodiment 2

[0051] In this embodiment, a resource storage device based on an Internet of Things operating system is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have already been explained will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0052] According to an embodiment of the present application, a resource storage device based on an Internet of Things operating system is provided, including:

[0053] The first obtaining module is used to obtain the entity hash value of the storage entity, map the storage entity to the hash ring according to the entity hash value, and obtain the entity hash position o...

Embodiment 3

[0063] The embodiment of the present application also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

[0064] S1. Obtain an entity hash value of a storage entity, map the storage entity to a hash ring according to the entity hash value, and acquire the entity hash position of each storage entity;

[0065] S2. Obtain the data hash value of the data key of the data to be stored, and store the data to be stored in the hash ring according to a specified direction to a storage entity closest to the data hash value;

[0066] S3. After receiving the query request, obtain the query hash value of the query keyword in the query request, and determine that the query content corresponding to the query request is stored on the hash ring according to the specified turning distance. The first storage entity with the closest hash value;

[0067] S4. Obtain query conten...

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

PUM

No PUM Login to View More

Abstract

The invention provides a resource storage method and device based on an Internet of Things operating system, and the method comprises the steps: obtaining an entity hash value of a storage entity, mapping the storage entity to a hash ring according to the entity hash value, and obtaining an entity hash position of each storage entity; obtaining a data hash value of a data keyword of the to-be-stored data, and storing the to-be-stored data to a storage entity closest to the data hash value according to a specified turning distance on a hash ring; receiving a query request, obtaining a query hash value of a query keyword in the query request, and determining that query content corresponding to the query request is stored in a first storage entity closest to the query hash value according toa specified turning distance; and obtaining query content corresponding to the query request from the first storage entity. By adopting the scheme, all the storage entities do not need to be traversedto search the data, so that the data access time is greatly saved, and the problem that the data access process in distributed storage consumes long time in the related technology is solved.

Description

technical field [0001] The present application relates to but is not limited to the field of data storage, and specifically relates to a resource storage method and device based on an Internet of Things operating system. Background technique [0002] Among related technologies, the Internet of Things (Internet Of Things, IoT for short) has become one of the hottest topics in the technical field. Although more and more IoT systems are being built, there is still no unified M2M solution for machine-to-machine dialogue within IoT systems, which makes it difficult for these IoT systems to expand or cooperate with each other. oneM2M, the global standard for M2M communication, can provide a solution to this difficult problem. [0003] The operating system is a computer program that manages computer and software resources. It is also the core and cornerstone of the computer system. The operating system needs to handle things such as managing and configuring memory, determining the...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/901H04L29/08
CPCG06F16/9014H04L67/1097
Inventor 赵峰徐志方刘超尹德帅王方前井皓
Owner QINGDAO HAIER TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products