A home cloud system based on optical and magnetic storage
Through the home cloud system based on opto-magnetic storage, combined with Blu-ray disc and network-specific storage technology, the security risks and short storage time problems of existing storage technology are solved, and long-term safe, convenient and low-cost storage of data is achieved, which is suitable for A variety of terminal devices.
Patent Information
- Application Number
- CN202110710365.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-25
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-06-25
AI Technical Summary
Existing storage technology has security risks and short storage time problems, especially the security risks of public cloud storage and the limited life of magnetic storage media, poor electromagnetic interference resistance, and high power consumption.
Adopt a home cloud system based on opto-magnetic storage, combined with Blu-ray disc and network-specific storage technology, to achieve safe, convenient and long-term storage of data through solid-state memory and optical disc arrays, use data activity score sorting to clear infrequently used data, and use encryption algorithms to ensure Data security.
It achieves long-term secure storage of data, reduces storage costs, avoids the problems of high-frequency noise and high power consumption, while improving data privacy and storage life, and is suitable for a variety of terminal devices.
Smart Images

Figure CN113282972B
Abstract
Description
Technical Field
[0001] The present invention relates to a private cloud storage system, and in particular, to a home cloud system based on optical-magnetic storage. Background Art
[0002] With the advent of the 5G era and the improvement of mobile phone shooting capabilities, people need to store more and more photos, videos and other family information. There are two main storage methods now: one is to use various public cloud storage, that is, to adopt the online storage mode, that is, to store data on multiple virtual servers usually hosted by a third party, rather than on a dedicated server. For example: Baidu Netdisk, Tencent WeCloud, etc. The second is to store it on storage media such as home computers and mobile hard drives.
[0003] Using public cloud storage has its own security risks. If there is a cyber attack or service outage or technical failure, personal information may be lost. Secondly, private photos or videos are stored on cloud servers, which poses a network security risk. In addition, the charges for cloud storage services are not controlled by users.
[0004] The use of magnetic storage media (HDD) and semiconductor storage media (SSD) also has certain defects: First, the life of a disk is generally 3 to 5 years, and the life of a semiconductor is generally 10 years. After the life cycle is reached, data migration must be performed, otherwise the data may be lost. Second, the electromagnetic interference resistance of disks and semiconductor storage media is poor, and lightning may cause data loss. Finally, the disk will only work when it is powered on, which is relatively power-consuming and accompanied by high-frequency noise. Summary of the invention
[0005] Based on the above technical problems that the existing storage technology has high security risks and short storage time, a home cloud system based on optical and magnetic storage is provided. The present invention provides a home private cloud system based on Blu-ray disc storage technology and network dedicated storage (NAS) technology, which can store data safely for a long time, is easy to use and has low cost.
[0006] The technical means adopted by the present invention are as follows:
[0007] A home cloud system based on optical and magnetic storage, comprising:
[0008] Applications installed on user terminal devices;
[0009] Service programs in Internet servers;
[0010] A home private cloud terminal, the home private cloud terminal comprising an optical disk array and its subsidiary mechanism, a main control circuit board, a solid-state memory, an operating system and a program, the solid-state memory being divided into a storage buffer and a read buffer; the solid-state memory comprising a disk memory or a semiconductor memory;
[0011] When the application on the user terminal device saves data to the home private cloud terminal through the service program in the Internet server, the data to be stored is first saved to the storage buffer, and then the data to be stored is burned to the optical disk in the optical disk array;
[0012] When the application on the user terminal device requests storage data from the home private cloud terminal through the wireless communication network, the storage buffer on the solid-state storage is first queried. If the corresponding storage data is found, it is sent to the corresponding terminal device. Otherwise, the read buffer on the solid-state storage is continued to be queried. If the corresponding storage data is found, it is sent to the corresponding terminal device. Otherwise, the CD information in the CD library is queried, and the found storage data is extracted to the read buffer on the solid-state storage, and then sent to the corresponding terminal device.
[0013] Furthermore, when the storage buffer and the read buffer on the solid-state memory are full of data, the data with the lowest activity and exceeding the buffer capacity is cleared according to the data activity score sorting result.
[0014] Furthermore, the data activity score is calculated based on the access frequency score, the access flow score and the access trend score, and the calculation method is as follows:
[0015] L = α1P+ α2F + α3T
[0016] Among them, L is the data activity score, P is the access frequency score, F is the access flow score, T is the access trend score, α1 is the access frequency weight, α2 is the access frequency weight, and α3 is the access flow weight.
[0017] Furthermore, the Internet server is used to transfer communication data between the user terminal device and the home private cloud terminal; wherein, the application on the user terminal device determines whether to transfer data using a P2P method based on the UDP protocol or a forwarding method based on the TCPIP protocol according to network conditions.
[0018] Furthermore, the step of the application on the user terminal device requesting data from the home private cloud terminal includes:
[0019] The application on the terminal device sends a data request message to the home private cloud terminal;
[0020] After receiving the data request message, the home private cloud terminal obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device, and encrypts the data requested by the terminal device based on the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device to generate encrypted data in a fixed format;
[0021] The family private cloud terminal sends the encrypted data to the application on the user terminal device via wireless communication;
[0022] The application on the user terminal device decrypts the encrypted data to obtain restored data.
[0023] Furthermore, the home private cloud terminal encrypts the data requested by the terminal device based on the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device to generate encrypted data, including:
[0024] Generate a Token token using a first encryption algorithm based on the received timestamp, the client identifier string, and the random number seed;
[0025] Obtain a secret key of a third encryption algorithm by calculating the second encryption algorithm according to the Token and the user identifier string;
[0026] The data area data is encrypted according to a third encryption algorithm to generate encrypted data.
[0027] Furthermore, the application on the terminal device decrypts the encrypted data to obtain restored data, including:
[0028] The application on the terminal device obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device;
[0029] Generate a new Token token using the first encryption algorithm based on the received timestamp, client identifier string, and random number seed, and compare it with the Token token in the request data. If the comparison fails, ignore the request.
[0030] After the token comparison is successful, the secret key of the third encryption algorithm is calculated by the second encryption algorithm based on the Token and the user identifier string;
[0031] The encrypted data in the data area is decrypted based on the secret key of the third encryption algorithm to restore the data.
[0032] Furthermore, the encrypted data includes a command header and a data area, the command header includes a command word, data length, Token and timestamp field, and the data area includes the encrypted data.
[0033] Furthermore, the step of the application on the user terminal device storing data to the home private cloud terminal includes:
[0034] The application on the user terminal device obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device, and encrypts the data to be stored in the terminal device based on the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device to generate encrypted data in a fixed format;
[0035] The application on the user terminal device sends the encrypted data to the home private cloud terminal via wireless communication;
[0036] The family private cloud terminal decrypts the encrypted data, obtains the restored data and saves it in the storage buffer on the solid-state memory.
[0037] Furthermore, the home private cloud terminal includes an upper shell component and a lower shell component, which together form a rectangular shell with a hollow accommodating cavity;
[0038] The rectangular shell is provided with an optical disc box inside, and an optical disc array is provided inside the optical disc box;
[0039] A disc cartridge loading assembly is disposed on the side of the disc cartridge;
[0040] The optical disc cartridge loading assembly is provided with an optical disc reading assembly inside;
[0041] When the home private cloud terminal receives the stored data, the CD tray pops up, the CD tray loading component takes out the CD in the CD tray, transports it to the disc reading component along the slide rail, and places it in the CD compartment of the disc reading component, and burns the CD through the magnetic head to complete the storage of the current stored data.
[0042] The present invention combines network-specific storage technology with optical disk storage to meet people's growing demand for data storage. Compared with the prior art, its advantages are as follows:
[0043] 1. The present invention uses an algorithm to use a solid-state memory as an intermediate bridge for accessing an optical disc, thereby achieving fast access to the optical disc.
[0044] 2. Since the present invention avoids using a public server as a storage medium, it has strong privacy and the data cannot be tampered with.
[0045] 3. The present invention stores data in a Blu-ray disc, thereby extending the storage and service life of data to 50 to 100 years, and the storage cost is low.
[0046] 4. The present invention is environmentally friendly and green, has low power consumption and no high-frequency noise.
[0047] 5. The present invention is applicable to various terminal devices such as Android, IOS mobile phones and computers. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0049] Figure 1 This is a schematic diagram of the structure of the home cloud system of the present invention.
[0050] Figure 2 It is a schematic diagram of the data transmission structure of the home cloud system of the present invention.
[0051] Figure 3 It is a flowchart of extracting audio and video data in the embodiment.
[0052] Figure 4 Schematic diagram of the circuit of the home private cloud terminal in the embodiment.
[0053] Figure 5 It is an exploded diagram of the structure of a home private cloud terminal in the embodiment.
[0054] In the figure: 1. upper shell assembly; 101. upper shell; 102. top plate; 103. loading cover; 2. optical disc magazine; 201. optical disc array; 3. lower shell assembly; 301. bottom plate; 302. lower shell; 303. outlet; 4. disc reading assembly; 401. upper disc magazine assembly; 402. lower disc magazine assembly; 403. optical head assembly; 5. optical disc magazine loading assembly; 6. movement drive board; 7. network storage main board. DETAILED DESCRIPTION
[0055] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0056] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0058] Unless otherwise specifically stated, the relative arrangement of the parts and steps described in these embodiments, the numerical expressions and numerical values do not limit the scope of the present invention. At the same time, it should be clear that, for ease of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship. The technology, methods and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, methods and equipment should be regarded as part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0059] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, perpendicular, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description. Unless otherwise specified, these directional words do not indicate or imply that the device or element referred to must have a specific direction or be constructed and operated in a specific direction. Therefore, they cannot be understood as limiting the scope of protection of the present invention: the directional words "inside and outside" refer to the inside and outside relative to the contours of each component itself.
[0060] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below their position devices or structures". Thus, the exemplary term "above" may include both "above" and "below". The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.
[0061] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of the present invention.
[0062] The present invention provides a home cloud system based on optical magnetic storage, including an application on a user terminal device, a service program in an Internet server, and a home private cloud terminal device. There may be one or more terminal devices, all of which are equipped with applications for data storage and reading. Terminal devices include home computers, smart phones, and smart tablets. Each terminal device can be associated with one or more home private cloud terminal devices through identity authentication. In actual use, files (photos, music, videos, etc.) in the terminals of different family members are quickly stored in an optical magnetic storage server placed in the home through a local area network, 4G, 5G network, by forwarding or P2P; conversely, data from the home optical magnetic storage server can be read. The system is constructed as follows: Figure 1 , where the network server includes: a user management server, which is used to manage terminals, register accounts and verify customer login information; a forwarding server, which is used to transfer data in forwarding mode; a P2P server, which is used to inform the communication addresses of both parties during data transmission, and then the two parties transmit data to each other based on the communication addresses.
[0063] The home private cloud terminal includes an optical disk library and a solid-state memory, wherein the solid-state memory is logically divided into a storage buffer and a read buffer, and the buffer is used to store active data, and the active data is determined according to the statistical result of the number of accesses within a set time period. The solid-state memory element can be replaced by an SSD or other fast storage medium, such as other semiconductor storage media, magnetic disks, etc. In the embodiments introduced in the present invention, an SSD is preferably used.
[0064] When an application on a user terminal device transmits the generated storage data to a home private cloud terminal via a wireless communication network, if the storage data is determined to be frequently accessed data, it is written into a storage buffer in the solid-state storage and then burned to a CD in the CD library.
[0065] In one embodiment, when a piece of stored data is first stored in a home private cloud terminal, it is considered active data and written into the storage area buffer. After that, each time the data is accessed, the access number is increased by 1. The more times the data is accessed within a certain period of time, the more active the data is. When the number of times the data is accessed within a certain period of time is 0, the data is determined to be inactive data. When the buffer is full and new data enters the buffer, the inactive data is removed from the buffer.
[0066] When the application on the user terminal device requests to store data from the home private cloud terminal through the wireless communication network, the storage buffer of the solid-state memory is first queried. If the corresponding storage data is found, it is sent to the corresponding terminal device. Otherwise, the read buffer of the solid-state memory is queried. If the corresponding storage data is found, it is sent to the corresponding terminal device. Otherwise, the optical disc information in the optical disc library is queried, and the found storage data is extracted to the read buffer of the solid-state memory, and then sent to the corresponding terminal device. Furthermore, when the buffer data of the solid-state memory is full, the data with the lowest activity and exceeding the buffer capacity is cleared according to the data activity score sorting result.
[0067] This embodiment uses two storage media, SSD and optical disk library. SSD has fast access speed but limited capacity and is used to store frequently accessed data. The optical disk library can replace the optical disk box, and the capacity can be expanded arbitrarily, and the retention time is long, but the reading speed is slow, which is suitable for storing infrequently used data. When multiple users access the data on the optical disk library, not only the optical disk reading performance is reduced, but also the system is unstable. This system solves this problem by establishing a buffer on the SSD.
[0068] As a preferred implementation, the data activity score is calculated based on the access frequency score, the access flow score, and the access trend score. The following definitions are made in the present invention:
[0069] Visit frequency: Each visit counts +1.
[0070] Access traffic: Traffic is calculated based on file size, traffic per access + file size.
[0071] Visit trend: The more recent the visit, the higher the score. January 1, 2020 is taken as the origin. When visiting, the number of days from the origin to the visit time is used as the score for this time.
[0072] The data activity score is calculated as follows:
[0073] L = α1P+ α2F + α3T
[0074] Among them, L is the data activity score, P is the access frequency score, F is the access flow score, T is the access trend score, α1 is the access frequency weight, α2 is the access frequency weight, and α3 is the access flow weight. α1, α2, and α3 can be set and adjusted according to usage requirements.
[0075] In one embodiment of the present invention, the system also includes a server, which is used to transfer the communication data between the terminal device and the family private cloud terminal. In data transmission, "data encryption technology" is used for data security. When the data communication between the user terminal and the family private cloud terminal is relatively smooth, the data sent by the application of the user terminal device to the family private cloud terminal can be quickly and completely received. In order to reduce the cost of data transmission as much as possible, the two will use the "P2P" method based on the UDP protocol for data transmission. On the contrary, when communication is difficult, the delay in data arrival is long, and data loss occurs. In order to ensure the integrity of the data, the two automatically use the "forwarding" method based on the TCP / IP protocol for data transmission. The "P2P" communication method is that the server opens the communication path between the mobile terminal and the NAS device, establishes a data link for direct transmission between the two parties, and the data transmission does not pass through the server. The data of both parties is directly transmitted to each other. It should be noted that in the "forwarding" communication method, the data of one party must be sent to the server first, and then sent to the other party by the server. In order to meet the needs of multiple family members at the same time, this system has developed a NAS service in the windows environment.
[0076] The terminal device requests data from the home private cloud terminal through the network, and the home private cloud terminal replies with data. The communication process is encrypted, and the data format is the same as the encryption and decryption algorithms. Specifically, the communication data has a fixed format, which is divided into two parts: the command header and the data area. The data header contains the command word, data length, Token token and timestamp field, such as Figure 2 shown.
[0077] Based on the above communication data format, the terminal device requests data from the home private cloud terminal, mainly including:
[0078] a. The terminal device sends a data request message to the home private cloud terminal.
[0079] b. After receiving the data request message, the home private cloud terminal obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device, and encrypts the data requested by the terminal device based on the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device to generate encrypted data in a fixed format.
[0080] Specifically, the system allocates a 32-byte "user terminal identifier" to each user terminal application during use. When binding the device, the device will generate a random number seed (32 bytes) for each account and save it on the WEB server. When the application on the terminal device logs in, it downloads the seed from the web server.
[0081] A Token is generated by a first encryption algorithm according to the received timestamp, the client identifier string and the random number seed. In this embodiment, the first encryption algorithm is preferably an MD5 algorithm.
[0082] The secret key of the third encryption algorithm is obtained by calculating the second encryption algorithm according to the Token and the user identifier string. In this embodiment, the second encryption algorithm is preferably the SHA512 algorithm.
[0083] The data in the data area is encrypted according to the third encryption algorithm to generate encrypted data. In this embodiment, the third encryption algorithm is preferably the AES256-CBC encryption algorithm.
[0084] c. The home private cloud terminal sends the encrypted data to the terminal device via wireless communication.
[0085] d. The terminal device decrypts the encrypted data to obtain restored data.
[0086] Specifically, the terminal device obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device;
[0087] Generate a new Token token using the first encryption algorithm based on the received timestamp, client identifier string, and random number seed, and compare it with the Token token in the request data. If the comparison fails, ignore the request.
[0088] After the token comparison is successful, the secret key of the third encryption algorithm is calculated by the second encryption algorithm based on the Token and the user identifier string;
[0089] The encrypted data in the data area is decrypted based on the secret key of the third encryption algorithm to restore the data.
[0090] On the other hand, based on the above communication data format, the terminal device stores data to the home private cloud terminal, mainly including:
[0091] The terminal device obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device, and encrypts the data to be stored by the terminal device based on the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device to generate encrypted data in a fixed format;
[0092] The application of the user terminal device sends the encrypted data to the home private cloud terminal via wireless communication;
[0093] The family private cloud terminal decrypts the encrypted data to obtain the restored data and saves it in the storage buffer of the solid-state memory.
[0094] The following describes the working process of this system by taking the process of a terminal device requesting an audio file to be played from a home private cloud terminal.
[0095] like Figure 3 As shown in the figure, the server uses nginx as the http streaming media server. To ensure security, nginx only opens the local port 127.0.0.1, which cannot be accessed from the outside. A forwarding server is developed, which receives the http request from the APP. The terminal device request consists of the playback address + account ID + token + TimeStamp. After base64 encryption, it is encoded by URLEncode. Then the above encoded file is sent to the forwarding server. After receiving the request, the forwarding server first decrypts it and checks whether the account ID is a valid account for the device. If it does not exist, an error is returned. According to the timestamp and customer identifier, a token is generated through the MD5 algorithm, and the token is compared with the terminal device request token. If it is inconsistent, an error is returned. Otherwise, according to the playback address, data is requested from the nginx server, and the data is forwarded to the terminal device, and the audio data is played using the application installed on the terminal device.
[0096] As a preferred embodiment, Figure 5As shown, the home private cloud terminal includes an upper shell component 1, an optical disc cartridge 2, a lower shell component 3, a disc reading component 4, an optical disc cartridge loading component 5, a movement driving board 6 and a network storage main board (NAS main board) 7. Among them, the upper shell component 1 and the lower shell component 2 are buckled together to form a hollow accommodating space, one side of which is provided with an optical disc cartridge for storing an optical disc array, and the other side is provided with an optical disc cartridge loading component 5 and a disc reading component 4 arranged in an upper and lower structure, and the disc reading component 4 is placed on the upper part of the disc cartridge loading component 5. In addition, the device also includes a movement driving board 6 arranged at the lower part of the disc cartridge loading component 5 and a network storage main board 7 connected to the optical disc cartridge, the optical disc cartridge loading component, the disc reading component and the movement driving board signal respectively. The movement driving board 6 is used to drive the optical disc cartridge loading component 5 and the disc reading component 4 to read or write data to the optical disc in the optical disc array. A solid-state memory is provided on the network storage main board 7. Preferably, the solid-state memory adopts a disk memory or a semiconductor memory.
[0097] As a preferred embodiment, the upper shell assembly 1 includes an upper shell 101, a top plate 102 and a loading cover plate 103 arranged in sequence from the outside to the inside; the lower shell assembly 3 includes a lower shell 302 and a bottom plate 301 arranged in sequence from the outside to the inside; and a movable outlet 303 is arranged on the side of the lower shell 302, and the optical disc cartridge can be replaced through the outlet 303 when in use. Preferably, the upper shell 101 and the lower shell 302 are made of plastic, and the top plate 102 and the bottom plate 301 are made of metal.
[0098] As a preferred embodiment, the optical disc magazine loading assembly 5 includes an extraction mechanism, which can reciprocate along the optical disc arrangement direction; when reading data from the optical disc, the extraction mechanism moves along the first direction slide rail to the target optical disc position to take out the optical disc in the optical disc magazine, and then transports the target optical disc to the bottom of the disc reading assembly along the second direction slide rail; after saving the data to the optical disc, the extraction mechanism transports the target optical disc back to the optical disc magazine position along the second direction slide rail, and then moves along the first direction slide rail to the storage position of the target optical disc and puts it into the optical disc magazine. Preferably, in this embodiment, the optical disc array is placed horizontally, and the first direction slide rail is arranged in the vertical direction, so that the extraction mechanism can extract the optical disc at any position in the optical disc array. The second direction slide rail is arranged in the horizontal direction so that the extraction mechanism can reciprocate between the optical disc magazine and the disc reading assembly to realize the access of the optical disc. Further preferably, the design of the specific optical disc loading assembly can refer to the Chinese patent application number 201420430565.9. As a preferred embodiment, the disc reading assembly 4 includes a disc magazine assembly (including an upper disc magazine assembly 401 and a lower disc magazine assembly 402) and an optical head assembly 403. The disc magazine assembly is used to fix and load the optical disc, and the optical head assembly 403 is used to burn the optical disc. Preferably, the optical disc drive recorded in the application No. 200410042311.0 can be selected as the disc reading assembly to complete the specific optical disc reading and writing.
[0099] As a preferred embodiment, the structural principle of the network storage mainboard 7 is as follows: Figure 4 As shown, it includes a CPU and various interface structures for realizing signal connection with the optical disc box 2, the optical disc box loading component 5, the disc reading component 4 and the movement driving board 6. It should be noted that the network storage mainboard 7 is provided with a solid-state memory, preferably a NAS with a built-in hard disk. During the data backup process, the backed-up data is simultaneously written into the NAS for double backup. Or through remote control, the commonly used data and the uncommonly used data are stored separately and written into the small Blu-ray library and the solid-state memory respectively. Further preferably, the network storage mainboard 7 is provided with a core processor, which is connected to the solid-state memory on the one hand and connected to the optical disc library through the optical disc drive system on the other hand. The core processor can select the storage location of the received file according to the use requirements. In order to realize the multi-data source receiving function, the network storage mainboard 7 is provided with multiple interfaces, including an HDMI interface for realizing multimedia connection, a network interface for realizing network connection, a USB interface for realizing U disk connection and an I / O expansion interface for providing expandable functions. In addition, the network storage mainboard 7 is also provided with a power management module, which is connected to the DC power supply on the one hand and supplies power to the entire mainboard through the core processor on the other hand. In addition, the storage port of the core processor is also connected to two contents for storing the operation information of the mainboard.
[0100] The system of the present invention "moves" the storage server to the user's home, and uses family members as the usage unit; the storage server uses a disk or (semiconductor SSD) + Blu-ray disc as the storage medium. The semiconductor storage is used as a fast storage space to achieve fast data upload and access, and the optical disc is used as a permanent storage space to achieve safe and long-term storage. The Blu-ray disc can achieve unlimited storage space by replacing it.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A home cloud system based on optical and magnetic storage, characterized in that: include: Applications installed on user terminal devices; Service programs in Internet servers; A home private cloud terminal, the home private cloud terminal comprising an optical disk array and its subsidiary mechanism, a main control circuit board, a solid-state memory, an operating system and a program, the solid-state memory being divided into a storage buffer and a read buffer; the solid-state memory comprising a disk memory or a semiconductor memory; When the application on the user terminal device saves data to the home private cloud terminal through the service program in the Internet server, the data to be stored is first saved to the storage buffer, and then the data to be stored is burned to the optical disk in the optical disk array. The step of the application on the user terminal device saving data to the home private cloud terminal through the service program in the Internet server includes: The application on the user terminal device obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device, and encrypts the data to be stored in the terminal device based on the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device to generate encrypted data in a fixed format. The application on the user terminal device sends the encrypted data to the home private cloud terminal via wireless communication. The family private cloud terminal decrypts the encrypted data, obtains the restored data and saves it in the storage buffer on the solid-state memory; When the application on the user terminal device requests the home private cloud terminal to store data through the wireless communication network, the storage buffer on the solid-state storage is first queried, and if the corresponding storage data is found, it is sent to the corresponding terminal device, otherwise the read buffer on the solid-state storage is continued to be queried, and if the corresponding storage data is found, it is sent to the corresponding terminal device, otherwise the optical disc information in the optical disc library is queried, and the found storage data is extracted to the read buffer on the solid-state storage, and then sent to the corresponding terminal device. The step of the application on the user terminal device requesting the home private cloud terminal to store data through the wireless communication network includes: The application on the terminal device sends a data request message to the home private cloud terminal, After receiving the data request message, the home private cloud terminal obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device, and encrypts the data requested by the terminal device based on the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device to generate encrypted data in a fixed format, including: generating a Token token through a first encryption algorithm according to the received timestamp, the customer identifier string, and the random number seed, calculating a secret key of a third encryption algorithm through a second encryption algorithm according to the Token token and the user identifier string, encrypting the data area data according to the third encryption algorithm to generate encrypted data, The home private cloud terminal sends the encrypted data to the application on the user terminal device via wireless communication. The application on the user terminal device decrypts the encrypted data to obtain restored data, including: the application on the terminal device obtains the timestamp field, the user identifier string assigned by the system to each user, and the random number seed generated when the user registers the device, generates a new Token token through the first encryption algorithm based on the received timestamp, customer identifier string and random number seed, and compares it with the Token token in the request data. If the comparison is unsuccessful, the request is ignored. After the token comparison is successful, the key of the third encryption algorithm is calculated based on the Token token and the user identifier string through the second encryption algorithm, and the encrypted data in the data area is decrypted based on the key of the third encryption algorithm to restore the data.
2. The home cloud system based on optical-magnetic storage according to claim 1, characterized in that: When the storage buffer and the read buffer on the solid-state memory are full of data, the data with the lowest activity and exceeding the buffer capacity is cleared according to the data activity score sorting result.
3. The home cloud system based on optical and magnetic storage according to claim 2 is characterized in that: The data activity score is calculated based on the access frequency score, access flow score and access trend score, and the calculation method is as follows: L = α1P+ α2F + α3T Among them, L is the data activity score, P is the access frequency score, F is the access flow score, T is the access trend score, α1 is the access frequency weight, α2 is the access frequency weight, and α3 is the access flow weight.
4. The home cloud system based on optical-magnetic storage according to claim 1, characterized in that: The Internet server is used to transfer communication data between the user terminal device and the home private cloud terminal; wherein, the application on the user terminal device determines whether to transfer data using a P2P method based on the UDP protocol or a forwarding method based on the TCP / IP protocol according to network conditions.
5. The home cloud system based on optical-magnetic storage according to claim 1, characterized in that: The encrypted data includes a command header and a data area, wherein the command header includes a command word, a data length, a Token and a timestamp field, and the data area includes the encrypted data.
6. The home cloud system based on optical-magnetic storage according to claim 1, characterized in that: The home private cloud terminal comprises an upper shell component and a lower shell component, which together form a rectangular shell with a hollow accommodating cavity; The rectangular shell is provided with an optical disc box inside, and an optical disc array is provided inside the optical disc box; A disc cartridge loading assembly is disposed on the side of the disc cartridge; The optical disc cartridge loading assembly is provided with an optical disc reading assembly inside; When the home private cloud terminal receives the stored data, the CD tray pops up, the CD tray loading component takes out the CD in the CD tray, transports it to the disc reading component along the slide rail, and places it in the CD compartment of the disc reading component, and burns the CD through the magnetic head to complete the storage of the current stored data.
