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

Data sharing method, device and electronic device

A data sharing and data volume technology, which is applied in the fields of electrical digital data processing, special data processing applications, digital data information retrieval, etc., can solve the problems of low data management efficiency, etc. Effect

Active Publication Date: 2021-11-30
密信(北京)数字科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a data sharing method, device and electronic equipment to solve the problem of low data management efficiency

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
  • Data sharing method, device and electronic device
  • Data sharing method, device and electronic device
  • Data sharing method, device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] see figure 1 A flowchart of a data sharing method is shown; the method is applied to multiple containers under the microservice architecture, including:

[0033] Step S102, setting up a network file system NFS.

[0034] The aforementioned Network File System (NFS for short) allows computers in the network to share resources through Transmission Control Protocol / Internet Protocol (TCP / IP for short). In NFS applications, local NFS client applications can read and write files located on remote NFS servers, similar to accessing local files.

[0035] Step S104, creating a data volume, wherein the data volume is used to store specified information.

[0036] The above data volume (Data Volumes) refers to a special directory available to the container, which directly maps the host operating system directory into the container. The characteristics of the data volume are as follows:

[0037] 1. Data volumes can be shared and reused between containers, making data transfer bet...

Embodiment 2

[0051] see figure 2 A flow chart of another data sharing method shown; the method includes the following steps:

[0052] Step S202, setting up a network file system NFS.

[0053] Step S204, creating a data volume, wherein the data volume is used to store specified information.

[0054] Wherein, the data volume is used to store several specified information; the above specified information may be user IP information and other unique information of the user.

[0055] Step S206, according to the specified information stored in the data volume, the mount point is obtained by mounting the host machine based on NFS;

[0056] After installing NFS on multiple hosts, only one node is allowed to access the file system of the remote computer through the network. The remote file system can be directly mounted to the local, and the mounting and access path can be created locally, and the readable, writable, and Executable permissions are mainly achieved through the following procedures...

Embodiment 3

[0071] see image 3 The data flow diagram of the application of the data sharing method shown; first install the NFS plug-in on the client; after the installation is complete, configure the NFS access directory, configure the file location, increase the permission of the specific IP to access the directory, and increase its readable and writable permissions ;package the files through application service mirroring, so that users can download and use; arrange applications, such as: file programming applications, write application logs or database files to specific data volumes; finally access and verify the data mounting status, that is, in the Check whether the corresponding log file is written on the remote server.

[0072] The image file is a kind of file similar to compression. A specific series of files are made into a single file in a certain format for users to download and use. The system image file includes operating system files, boot files, partition table information...

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 present invention provides a data sharing method, device and electronic equipment. The method is applied to multiple containers under the micro-service architecture, including: setting up a network file system NFS; establishing a data volume, wherein the data volume is used to store specified information; According to the specified information stored in the data volume, a mount point is established based on NFS, wherein the mount point is used to represent the directory of the specified information; the mount point is used for data sharing. The present invention stores information through data volumes, establishes NFS mounts, realizes data sharing between containers, and improves data transmission efficiency and user experience.

Description

technical field [0001] The present invention relates to the technical field of IT development, management, operation and maintenance, in particular to a data sharing method, device and electronic equipment. Background technique [0002] With the popularization of information systems and the increase of system complexity, in order to improve the high scalability and scalability of the system, the system is often not a single application. Among them, the application of containers under the micro-service architecture is becoming more and more extensive. They are isolated from each other in the container, distributed in different hosts, and inside different containers. Each application service is independent and isolated from each other, including: network, hardware, process, resources, etc. At the same time, the data distributed in each application service is relatively scattered and isolated from each other, and the problems of poor access and poor control of permissions are b...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06G06F16/176G06F16/182
CPCH04L63/10H04L67/1097
Inventor 林皓刘进辉戴相龙白志凌
Owner 密信(北京)数字科技有限公司
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