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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com