CN110471893A - Sharing method, system and the device in the distributed storage space between a kind of multi-user - Google Patents

Sharing method, system and the device in the distributed storage space between a kind of multi-user Download PDF

Info

Publication number
CN110471893A
CN110471893A CN201910770686.5A CN201910770686A CN110471893A CN 110471893 A CN110471893 A CN 110471893A CN 201910770686 A CN201910770686 A CN 201910770686A CN 110471893 A CN110471893 A CN 110471893A
Authority
CN
China
Prior art keywords
user
shared
memory space
terminal
network
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.)
Granted
Application number
CN201910770686.5A
Other languages
Chinese (zh)
Other versions
CN110471893B (en
Inventor
曾亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201910770686.5A priority Critical patent/CN110471893B/en
Publication of CN110471893A publication Critical patent/CN110471893A/en
Application granted granted Critical
Publication of CN110471893B publication Critical patent/CN110471893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1727Details of free space management performed by the file system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses sharing method, system and the device in the distributed storage space between a kind of multi-user, this method includes calculating the terminal attribute for the network storage terminal for being provided with memory space to be shared;Terminal attribute includes any of the following or a variety of: internet network speed, the memory capacity of memory space to be shared, the equipment performance of the stability of memory space to be shared and the network storage terminal;Calculated terminal attribute and the demand of arbitrary first user with storage demand are matched, and the right to use of memory space Uij to be shared is handed into the first user in successful match.By the example scheme, realizes the other users that user smoothly shares to memory space in internet and use, make memory space resource rational utilization, improve service efficiency.

Description

Sharing method, system and the device in the distributed storage space between a kind of multi-user
Technical field
The present embodiments relate to internet of things field, the shared side in the distributed storage space between espespecially a kind of multi-user Method, system and device.
Background technique
User is allowed to manage and use simultaneously multiple long-range privately owned storages empty currently, certain technologies have been realized in Between, however some users possess largely idle privately owned memory space, the privately owned storage space volume of other users is insufficient, makes At the wasting of resources of memory space.
Summary of the invention
The embodiment of the invention provides sharing method, system and the device in the distributed storage space between a kind of multi-user, The other users for enabling to user smoothly to share to memory space in internet use, and realize the reasonable of memory space resource It utilizes, improves service efficiency.
In order to reach purpose of the embodiment of the present invention, the embodiment of the invention provides the distributed storage between a kind of multi-user is empty Between sharing method, the method may include:
The terminal attribute for the network storage terminal for being provided with memory space to be shared is calculated;The terminal attribute packet Include it is following any one or more: internet network speed, the memory capacity of the memory space to be shared, the storage to be shared are empty Between stability and the network storage terminal equipment performance;
By network storage where jth part of i-th of user arbitrary in calculated internet memory space Uij to be shared The terminal attribute of terminal and the demand of arbitrary first user with storage demand match, and will be described in successful match The right to use of memory space Uij to be shared hands to first user;Wherein, i, j are positive integer.
In an exemplary embodiment of the present invention, when the terminal parameter is the internet network speed, described pair of setting Have the terminal parameter of the network storage terminal of memory space to be shared carry out calculate may include:
Where jth part memory space Uij to be shared in i-th of user in network storage terminal, using time t1 as interval, N network speed value is acquired in the first preset duration T1, wherein n is positive integer, n=| T1/t1 |;
N network speed value is sorted from small to large, obtains the | n*p% | the jth part of a network speed value as i-th of user The calculated result of the internet network speed Vij of network storage terminal where memory space Uij to be shared;P is whole between 1~100 Number, | | it indicates to be rounded.
In an exemplary embodiment of the present invention, when the stabilization that the terminal parameter is the memory space Uij to be shared Property when, the terminal parameter of the described pair of network storage terminal for being provided with memory space to be shared carry out calculate may include:
The duration t2 that the memory space Uij to be shared is capable of normal table reading in the second preset duration T2 is counted, The stability Psij of the memory space Uij to be shared is then denoted as Psij=t2/T2.
In an exemplary embodiment of the present invention, when the equipment performance that the terminal parameter is the network storage terminal When, the terminal parameter of the described pair of network storage terminal for being provided with memory space to be shared, which calculate, may include:
The evaluation integral of network storage terminal where calculating each of i-th of user memory space to be shared, and according to institute The evaluation integral of i-th of user of evaluation integral calculation of network storage terminal where stating each memory space to be shared;
Wherein, the evaluation integral of network storage terminal where memory space to be shared is in a preset duration, to institute It is integrated in the evaluation of network storage terminal capabilities and the matching degree of estimated performance;The evaluation integral of i-th of user is to i-th The overall merit integral of network storage terminal where the whole of user memory space to be shared.
In an exemplary embodiment of the present invention, net where each of i-th of user of calculating memory space to be shared The evaluation of network storage terminal, which integrates, may include:
Before network storage terminal where jth part memory space Uij to be shared in i-th of user comes into operation every time, In It tests and assesses in third preset duration T3 to the stability of the internet network speed and each memory space to be shared, and It counts the internet network speed and is greater than or equal to preset stabilization more than or equal to preset network speed threshold value and the stability Property threshold value holding duration t3, then network storage terminal where jth part of i-th of user memory space Uij to be shared Evaluation integral CDij=t3/T3;
Described i-th of user of evaluation integral calculation according to network storage terminal where each memory space to be shared Evaluation integral include: network storage where calculating each of i-th of user memory space to be shared according to following relational expression The sum of evaluation integral of terminal:
Wherein CDi is i-th of user all to altogether The evaluation integral of network storage terminal where enjoying memory space, m is the sum of memory space to be shared, and m is positive integer;P and q are Weighted value.
In an exemplary embodiment of the present invention, described jth part by i-th of user arbitrary in calculated internet The need of the terminal attribute of network storage terminal and arbitrary first user with storage demand where memory space Uij to be shared Ask that match may include: to solve the preset inequation group about the terminal attribute, and in the inequation Group determines successful match when having solution, determines that it fails to match when the inequation group is without solution.
In an exemplary embodiment of the present invention, the inequation group may include:
Dc*α≤Ucij;
Dv≤Vij;
Dps≤1-∏i(1-Psij);
Dcdi≤CDi;
Dcdij≤CDij;
Wherein, Dc is demand capacity, and α is data capacity ratio shared after data encryption, and Dv is the internet network speed of demand, Dps is the stability of the memory space to be shared of demand, and Dcdi is the equipment performance of the network storage terminal of demand, and Dcdij is The user's evaluation of the network storage terminal of demand integrates, and Ucij is the appearance of jth part memory space Uij to be shared of i-th of user Amount.
In an exemplary embodiment of the present invention, the method can also include: empty in the shared storage of arbitrary user Ui Between after, calculate user's evaluation integrate CU;User's evaluation integral CU is to carry out the shared user Ui of memory space and user Ui The function of lower shared memory space Uci;And
Increase with the number x of user sharing memory space and user's evaluation integral CU is accumulated, obtains user's product Iterated integral C;And increased using the number y of the shared memory space of the other users in addition to itself to acquired use with user Family evaluation integral CU is consumed.
In an exemplary embodiment of the present invention, the method can also include: within the same period, will be described to be shared The right to use of memory space Uij only hands to one people of the first user, and/or, in making for the memory space Uij to be shared Before not delivered with power, the access right of the memory space Uij to be shared is transferred into multiple users.
The embodiment of the invention also provides a kind of shared systems in the distributed storage space between multi-user, and the system can With the sharing method for realizing the distributed storage space between multi-user described in above-mentioned any one.
The embodiment of the invention also provides a kind of sharing means in the distributed storage space between multi-user, may include: Control module, memory module, network module and input and output I/O interface module, the network module are used to be mostly used with described Terminal where the shared system in the distributed storage space between family is connected to the network, and with log in the distribution between the multi-user Multiple hardware devices that the User ID of the shared system of formula memory space is registered are connected to the network;The I/O interface module is used In external expansion storage device;The memory space expanded storage device and be used to expand the memory module;The storage mould It is stored with instruction in block, when described instruction is executed by the control module, realizes between multi-user described in above-mentioned any one Distributed storage space sharing method.
The embodiment of the present invention includes the terminal attributes to the network storage terminal for being provided with memory space to be shared to count It calculates;The terminal attribute includes any of the following or a variety of: the storage of internet network speed, the memory space to be shared is held The equipment performance of amount, the stability of the memory space to be shared and the network storage terminal;By calculated internet In arbitrary i-th of user jth part memory space Uij to be shared where network storage terminal terminal attribute with there is storage The demand of arbitrary first user of demand matches, and in successful match by the use of the memory space Uij to be shared Power hands to first user;Wherein, i, j are positive integer.By the example scheme, realizing user smoothly will storage sky Between share to other users in internet and use, realize the reasonable utilization of memory space resource.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the sharing method flow chart in the distributed storage space between the multi-user of the embodiment of the present invention;
Fig. 2 is the sharing means composition block diagram in the distributed storage space between the multi-user of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
In order to reach purpose of the embodiment of the present invention, the embodiment of the invention provides the distributed storage between a kind of multi-user is empty Between sharing method, as shown in Figure 1, the method may include S101-S102:
S101, the terminal attribute for the network storage terminal for being provided with memory space to be shared is calculated;The terminal Attribute includes any of the following or a variety of: the memory capacity, described to be shared of internet network speed, the memory space to be shared The equipment performance of the stability of memory space and the network storage terminal.
In an exemplary embodiment of the present invention, which includes but is not limited to: hard disk and storage card etc..It is distributed Memory space, which refers to, forms distributed frame between local storage space and/or remote memory spaces, regard distributed storage sky as Between.
In an exemplary embodiment of the present invention, in order to enable user can smoothly share to memory space in internet Other users use, the memory capacity, described to be shared of internet network speed, the memory space to be shared can be comprehensively considered The many factors such as the equipment performance of the stability of memory space and the network storage terminal are needed to above before this Factor (i.e. terminal attribute) is calculated.
In an exemplary embodiment of the present invention, for the ease of elaboration application scheme, it is assumed that share Z use in internet Family, i-th user are denoted as Ui, if sharable part in the whole memory spaces of oneself is divided into m parts by i-th user, Then jth part memory space to be shared of i-th user can be denoted as Uij, and the spatial content of this part of memory space to be shared can To be denoted as Dij.
In an exemplary embodiment of the present invention, the sharable memory space of the whole of every user may include local deposits Space is stored up, also may include remote memory spaces.And the spatial content of the m part marked off memory space to be shared can be equal It is identical, it can also be all different, it can also part be identical, part is different.
In an exemplary embodiment of the present invention, when the terminal parameter is the internet network speed, described pair of setting Have the terminal parameter of the network storage terminal of memory space to be shared carry out calculate may include:
Where jth part memory space Uij to be shared in i-th of user in network storage terminal, using time t1 as interval, N network speed value is acquired in the first preset duration T1, wherein n is positive integer, n=| T1/t1 |;
N network speed value is sorted from small to large, obtains the | n*p% | the jth part of a network speed value as i-th of user The calculated result of the internet network speed Vij of network storage terminal where memory space Uij to be shared;P is whole between 1~100 Number, | | it indicates to be rounded.
In an exemplary embodiment of the present invention, the calculating of internet network speed Vij can exist according to current terminal to be tested Network speed statistical result in certain time length calculates.For example, total duration can be denoted as T1, time interval t1, the number of statistics For n=T1/t1, n statistical result can be sorted from small to large, be taken the in sequence | n*p% | a network speed value, as Vij.
In an exemplary embodiment of the present invention, when the stabilization that the terminal parameter is the memory space Uij to be shared Property when, the terminal parameter of the described pair of network storage terminal for being provided with memory space to be shared carry out calculate may include:
The duration t2 that the memory space Uij to be shared is capable of normal table reading in the second preset duration T2 is counted, The stability Psij of the memory space Uij to be shared is then denoted as Psij=t2/T2.
In an exemplary embodiment of the present invention, the stability of Uij can be denoted as Psij, wherein Uij can stablize reading When be considered as stable state, conversely, then be unstable state.In a period of time T2, if count can stablize reading when A length of t2, then Psij=t2/T2.
In an exemplary embodiment of the present invention, when the equipment performance that the terminal parameter is the network storage terminal When, the terminal parameter of the described pair of network storage terminal for being provided with memory space to be shared, which calculate, may include:
The evaluation integral of network storage terminal where calculating each of i-th of user memory space to be shared, and according to institute The evaluation integral of i-th of user of evaluation integral calculation of network storage terminal where stating each memory space to be shared;
Wherein, the evaluation integral of network storage terminal where memory space to be shared is in a preset duration, to institute It is integrated in the evaluation of network storage terminal capabilities and the matching degree of estimated performance;The evaluation integral of i-th of user is to i-th The overall merit integral of network storage terminal where the whole of user memory space to be shared.
In an exemplary embodiment of the present invention, the equipment performance of network storage terminal can be by empty to storage to be shared Between where network storage terminal evaluation integrate to measure;Wherein, the evaluation integral may include Ui evaluation integral CDi and The evaluation of network storage terminal integrates CDij where Uij.Evaluation integral is for measuring to terminal capabilities and expection in one section of duration The matching degree of performance.
In an exemplary embodiment of the present invention, net where each of i-th of user of calculating memory space to be shared The evaluation of network storage terminal, which integrates, may include:
Before network storage terminal where jth part memory space Uij to be shared in i-th of user comes into operation every time, In It tests and assesses in third preset duration T3 to the stability of the internet network speed and each memory space to be shared, and It counts the internet network speed and is greater than or equal to preset stabilization more than or equal to preset network speed threshold value and the stability Property threshold value holding duration t3, then network storage terminal where jth part of i-th of user memory space Uij to be shared Evaluation integral CDij=t3/T3;
Described i-th of user of evaluation integral calculation according to network storage terminal where each memory space to be shared Evaluation integral include: network storage where calculating each of i-th of user memory space to be shared according to following relational expression The sum of evaluation integral of terminal:
Wherein CDi is i-th of user all to altogether The evaluation integral of network storage terminal where enjoying memory space, m is the sum of memory space to be shared, and m is positive integer;P and q are Weighted value.
S102, by net where jth part of i-th of user arbitrary in calculated internet memory space Uij to be shared The terminal attribute of network storage terminal and the demand of arbitrary first user with storage demand match, and in successful match The right to use of the memory space Uij to be shared is handed into first user;Wherein, i, j are positive integer.
In an exemplary embodiment of the present invention, above-mentioned matching refers to shared matching, and expression will be multiple available in network Shared between shared memory space (Uij) and memory space user (Ui) attribute and storage demand user (can mark for Dij) match, and the memory space access right of shared part is handed into storage demand user in successful match.
In an exemplary embodiment of the present invention, described jth part by i-th of user arbitrary in calculated internet The need of the terminal attribute of network storage terminal and arbitrary first user with storage demand where memory space Uij to be shared Ask that match may include: to solve the preset inequation group about the terminal attribute, and in the inequation Group determines successful match when having solution, determines that it fails to match when the inequation group is without solution.
In an exemplary embodiment of the present invention, the inequation group can include but is not limited to:
Dc*α≤Ucij;
Dv≤Vij;
Dps≤1-∏i(1-Psij);
Dcdi≤CDi;
Dcdij≤CDij;
Wherein, Dc is demand capacity, and α is data capacity ratio shared after data encryption, and Dv is the internet network speed of demand, Dps is the stability of the memory space to be shared of demand, and Dcdi is the equipment performance of the network storage terminal of demand, and Dcdij is The user's evaluation of the network storage terminal of demand integrates, and Ucij is the appearance of jth part memory space Uij to be shared of i-th of user Amount.
In an exemplary embodiment of the present invention, if equation group has solution, illustrate successful match, if equation group Without solution, then illustrate to match unsuccessful.When matching unsuccessful, two can be carried out in systems and is operated, 1) ask demand user's tune Whole reduction demand;2) proposition demand is broadcasted to the whole network.
In an exemplary embodiment of the present invention, the method can also include: empty in the shared storage of arbitrary user Ui Between after, calculate user's evaluation integrate CU;User's evaluation integral CU is to carry out the shared user Ui of memory space and user Ui The function of lower shared memory space Uci;And
Increase with the number x of user sharing memory space and user's evaluation integral CU is accumulated, obtains user's product Iterated integral C;And increased using the number y of the shared memory space of the other users in addition to itself to acquired use with user Family evaluation integral CU is consumed.
In an exemplary embodiment of the present invention, user's evaluation integral CU can be by the storage shared under Ui and user name Space Uci is determined.CU=f (Ui, Uci).Wherein, CU value can share the increase of number with Ui and increase, and CU value can be with The increase of Uci quantity and increase.
In an exemplary embodiment of the present invention, the acquisition pattern that user accumulates integral C can be with are as follows: user sharing storage is empty Between after, obtain integral C, C determines by the function of CU and shared number x, and coefficient can be γ, 0 γ≤1 <.If user uses The communal space of other users, can consume integral, and the integral of the consumption can be recorded by system server.
In an exemplary embodiment of the present invention, it is assumed that shared user is U1, the use of user is U2, system U3.Then U1 The integral of acquisition can be with are as follows: C1=∑ CU*x* γ;Then the integral of U2 consumption can be with are as follows: C2=∑ CU*y;If the numerical value of x and y It is identical, i.e. C1≤C2;Then system U3 accumulative integral are as follows: C3=C2-C1.
In an exemplary embodiment of the present invention, the method can also include: within the same period, will be described to be shared The right to use of memory space Uij only hands to one people of the first user, and/or, in making for the memory space Uij to be shared Before not delivered with power, the access right of the memory space Uij to be shared is transferred into multiple users.
In an exemplary embodiment of the present invention, memory space it is shared refer to by the administration authority of memory space (or The right to use) transfer new user, a variety of operations such as new user can be read out the memory space, be written, modify, delete. And original subscriber is since after the transfering use right of memory space, then without any permission, terminate until shared.
In an exemplary embodiment of the present invention, when memory space is not shared (for example, memory space shares it Before), that is, when not giving the transfering use right of memory space to new user, original subscriber can have administration authority (to make memory space With power), and the access authority that can carry out memory space is shared, and access authority is shared, and refer to can be by the access of memory space Authority sharing is in other people (access authority shared different from the shared of memory space), for example, original subscriber possesses reading, writes The permission enter, modify, deleted, new user only have the permission read.
In an exemplary embodiment of the present invention, memory space is shared, can only transfer the possession of a user, and with for the moment Between only a user possess permission.Sharing for access authority, can transfer the possession of multi-purpose user, and same time, several new users The data of same memory space can be accessed with original subscriber.
The embodiment of the invention also provides a kind of shared systems in the distributed storage space between multi-user, and the system can With the sharing method for realizing the distributed storage space between multi-user described in above-mentioned any one.
In an exemplary embodiment of the present invention, which can be using APP, the network platform, small routine etc., for this The concrete embodiment form of system is with no restrictions.
The embodiment of the invention also provides a kind of sharing means 1 in the distributed storage space between multi-user, such as Fig. 2 institute Show, may include: control module 11, memory module 12, network module 13 and input and output I/O interface module 14, the network Module 13 is connected to the network for terminal where the shared system in the distributed storage space between the multi-user, and with It logs in multiple hardware devices that the User ID of the shared system in the distributed storage space between the multi-user is registered and carries out net Network connection;The I/O interface module 14 is used for external expansion storage device;The expansion storage device is for expanding the storage The memory space of module 12;It is stored with instruction in the memory module 12, when described instruction is executed by the control module 11, Realize the sharing method in the distributed storage space between multi-user described in above-mentioned any one.
In an exemplary embodiment of the present invention, which may include the shared of the distributed storage space between multi-user In operating system, network control system, storage management system etc..
In an exemplary embodiment of the present invention, which is the basic system of system, can be based on window, Linux, Huawei primeval atmosphere of nature os etc. systems.
In an exemplary embodiment of the present invention, embodiment one: hardware system: intelCPU can be used in control module 11; Operation system of software can use: win10.
In an exemplary embodiment of the present invention, embodiment two: hardware system: Arm can be used in control module 11;Software behaviour Making system can use: linux-ubuntu.
In an exemplary embodiment of the present invention, embodiment three: hardware system: Huawei's letter can be used in control module 11 Swan 818MT7688;Operation system of software can use: linux-openwrt Huawei primeval atmosphere of nature OS.
In an exemplary embodiment of the present invention, network control system is mainly useful what realization was connected to the network and routed Setting and control function, are based on network control function, and the storage unit and other terminal devices for connecting equipment can connect interconnection Net.
In an exemplary embodiment of the present invention, network system connection setting function, can be used simultaneously WiFi, wired, 4G/ The modes such as 5G access internet.User is settable to connect internet using one or more modes.
In an exemplary embodiment of the present invention, different connection types can be respectively set to uploading and downloading in user.Such as Using plurality of access modes, system can select optimal connection type or connection type to combine.
In an exemplary embodiment of the present invention, network system can provide WiFi AP (wireless access points) function, He can also access internet by AP hot spot function at terminal.The terminal of Wi-Fi hotspot is accessed in a local area network simultaneously.
In an exemplary embodiment of the present invention, storage management system may include: local storage system function and distribution Long-range memory management functions of formula etc..
In an exemplary embodiment of the present invention, the sharing means 1 in the distributed storage space between multi-user itself can be with Included memory space, can also pass through external hard drive extension storage space.Such as expand storage sky by USB external hard drive Between.
In an exemplary embodiment of the present invention, in local storage system, disk array raid is can be used in multiple hard disks Mode is managed and is backed up.
The embodiment of the present invention includes the terminal attributes to the network storage terminal for being provided with memory space to be shared to count It calculates;The terminal attribute includes any of the following or a variety of: the storage of internet network speed, the memory space to be shared is held The equipment performance of amount, the stability of the memory space to be shared and the network storage terminal;By calculated internet In arbitrary i-th of user jth part memory space Uij to be shared where network storage terminal terminal attribute with there is storage The demand of arbitrary first user of demand matches, and in successful match by the use of the memory space Uij to be shared Power hands to first user;Wherein, i, j are positive integer.By the example scheme, realizing user smoothly will storage sky Between share to other users in internet and use, realize the reasonable utilization of memory space resource, improve service efficiency.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

Claims (11)

1. a kind of sharing method in the distributed storage space between multi-user, which is characterized in that the described method includes:
The terminal attribute for the network storage terminal for being provided with memory space to be shared is calculated;The terminal attribute include with It is lower any one or more: internet network speed, the memory capacity of the memory space to be shared, the memory space to be shared The equipment performance of stability and the network storage terminal;
By network storage terminal where jth part of i-th of user arbitrary in calculated internet memory space Uij to be shared Terminal attribute and the demand of arbitrary first user with storage demand match, and will be described to altogether in successful match The right to use for enjoying memory space Uij hands to first user;Wherein, i, j are positive integer.
2. the sharing method in the distributed storage space between multi-user according to claim 1, which is characterized in that when described When terminal parameter is the internet network speed, the terminal parameter of the described pair of network storage terminal for being provided with memory space to be shared Calculate and includes:
Where jth part memory space Uij to be shared in i-th of user in network storage terminal, using time t1 as interval, N network speed value is acquired in one preset duration T1, wherein n is positive integer, n=| T1/t1 |;
N network speed value is sorted from small to large, obtains the | n*p% | a network speed value as i-th of user jth part to altogether The calculated result of the internet network speed Vij of network storage terminal where enjoying memory space Uij;P is the integer between 1~100, | | It indicates to be rounded.
3. the sharing method in the distributed storage space between multi-user according to claim 1, which is characterized in that when described When terminal parameter is the stability of the memory space Uij to be shared, the described pair of network for being provided with memory space to be shared is deposited The terminal parameter of storage terminal calculate
The duration t2 that the memory space Uij to be shared is capable of normal table reading in the second preset duration T2 is counted, then will The stability Psij of the memory space Uij to be shared is denoted as Psij=t2/T2.
4. the sharing method in the distributed storage space between multi-user according to claim 1, which is characterized in that when described When terminal parameter is the equipment performance of the network storage terminal, the described pair of network storage for being provided with memory space to be shared is whole The terminal parameter at end calculate
The evaluation integral of network storage terminal where calculating each of i-th of user memory space to be shared, and according to described every The evaluation integral of i-th of user of evaluation integral calculation of network storage terminal where a memory space to be shared;
Wherein, the evaluation integral of network storage terminal where memory space to be shared is in a preset duration, to place net The evaluation that network stores the matching degree of terminal capabilities and estimated performance integrates;The evaluation integral of i-th of user is to i-th of user Whole memory space to be shared where network storage terminal overall merit integral.
5. the sharing method in the distributed storage space between multi-user according to claim 4, which is characterized in that the meter The evaluation of network storage terminal, which integrates, where calculating each of i-th of user memory space to be shared includes:
Before network storage terminal where jth part memory space Uij to be shared in i-th of user comes into operation every time, in third It tests and assesses, and counts to the stability of the internet network speed and each memory space to be shared in preset duration T3 The internet network speed is greater than or equal to preset network speed threshold value and the stability is greater than or equal to preset stability threshold The holding duration t3 of value, the then evaluation of network storage terminal where jth part of i-th of user memory space Uij to be shared Integrate CDij=t3/T3;
The commenting according to i-th of user of evaluation integral calculation of network storage terminal where each memory space to be shared Valence integral includes: network storage terminal where calculating each of i-th of user memory space to be shared according to following relational expressions Evaluation integral the sum of:
The whole that wherein CDi is i-th of user to be shared is deposited The evaluation integral of network storage terminal where storing up space, m is the sum of memory space to be shared, and m is positive integer;P and q is weight Value.
6. the sharing method in the distributed storage space between multi-user according to claim 1, which is characterized in that described to incite somebody to action The terminal of network storage terminal where jth part of arbitrary i-th of user memory space Uij to be shared in calculated internet It includes: that solution is preset about the terminal attribute that the demand of attribute and arbitrary first user with storage demand, which match, Inequation group, and successful match is determined when the inequation group has solution, in the inequation group without solution When determine it fails to match.
7. the sharing method in the distributed storage space between multi-user according to claim 6, which is characterized in that it is described not Equation equation group includes:
Dc*α≤Ucij;
Dv≤Vij;
Dps≤1-∏i(1-Psij);
Dcdi≤CDi;
Dcdij≤CDij;
Wherein, Dc is demand capacity, and α is data capacity ratio shared after data encryption, and Dv is the internet network speed of demand, Dps For the stability of the memory space to be shared of demand, Dcdi is the equipment performance of the network storage terminal of demand, and Dcdij is demand Network storage terminal user's evaluation integral, Ucij be i-th of user jth part memory space Uij to be shared capacity.
8. the sharing method in the distributed storage space between multi-user according to claim 1, which is characterized in that the side Method further include: after arbitrary user Ui shares memory space, calculate user's evaluation and integrate CU;It is to carry out that user's evaluation, which integrates CU, The function of memory space shared user Ui and user Ui shared memory space Uci under one's name;And
Increase with the number x of user sharing memory space and user's evaluation integral CU is accumulated, obtains user and accumulate product Divide C;And acquired user is commented using the number y increase of the shared memory space of the other users in addition to itself with user Valence integral CU is consumed.
9. the sharing method in the distributed storage space between multi-user according to claim 1, which is characterized in that the side Method further include: within the same period, the right to use of the memory space Uij to be shared is only handed into first user one People, and/or, before the right to use of the memory space Uij to be shared is not delivered, by the memory space Uij's to be shared Access right transfers multiple users.
10. a kind of shared system in the distributed storage space between multi-user, which is characterized in that the system is for realizing such as power Benefit requires the sharing method in the distributed storage space between multi-user described in 1-9 any one.
11. a kind of sharing means in the distributed storage space between multi-user, comprising: control module, memory module, network module And input and output I/O interface module, the network module is for the distributed storage between multi-user described in any one of claim 10 Terminal where the shared system in space is connected to the network, and with log in the shared of distributed storage space between the multi-user Multiple hardware devices that the User ID of system is registered are connected to the network;The I/O interface module is for external expansion storage dress It sets;The memory space expanded storage device and be used to expand the memory module;Instruction is stored in the memory module, when When described instruction is executed by the control module, the distribution between multi-user as described in any one of claims 1-9 is realized The sharing method of memory space.
CN201910770686.5A 2019-08-20 2019-08-20 Method, system and device for sharing distributed storage space among multiple users Active CN110471893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910770686.5A CN110471893B (en) 2019-08-20 2019-08-20 Method, system and device for sharing distributed storage space among multiple users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910770686.5A CN110471893B (en) 2019-08-20 2019-08-20 Method, system and device for sharing distributed storage space among multiple users

Publications (2)

Publication Number Publication Date
CN110471893A true CN110471893A (en) 2019-11-19
CN110471893B CN110471893B (en) 2022-06-03

Family

ID=68512980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910770686.5A Active CN110471893B (en) 2019-08-20 2019-08-20 Method, system and device for sharing distributed storage space among multiple users

Country Status (1)

Country Link
CN (1) CN110471893B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1149736A (en) * 1995-06-05 1997-05-14 北京航空航天大学 Distributing storage sharing management method
CN1859596A (en) * 2005-09-30 2006-11-08 华为技术有限公司 System and its method for mutual access shared storage space between mobile terminals
CN102281314A (en) * 2011-01-30 2011-12-14 程旭 Realization method and apparatus for high-efficient and safe data cloud storage system
CN102480508A (en) * 2010-11-26 2012-05-30 财团法人资讯工业策进会 Multi-user shared network storage service system and method thereof
CN103701916A (en) * 2013-12-31 2014-04-02 赛凡信息科技(厦门)有限公司 Dynamic load balancing method of distributed storage system
CN105320622A (en) * 2014-07-01 2016-02-10 三星电子株式会社 Internal storage, external storage, and data processing system
CN105379204A (en) * 2014-01-14 2016-03-02 华为技术有限公司 Methods and systems for selecting resources for data routing
CN106445410A (en) * 2016-09-13 2017-02-22 郑州云海信息技术有限公司 Storage device sharing method, storage device sharing system, and intelligent gateway with storage device sharing system
CN107171904A (en) * 2017-05-03 2017-09-15 易展成 A kind of cloud service provides method and device
CN107241782A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for network access, mobile terminal and computer-readable recording medium
CN107241771A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
US20180041943A1 (en) * 2013-03-26 2018-02-08 Bandwidthx Inc. Systems and methods for establishing wireless connections based on access conditions
US20190007947A1 (en) * 2015-11-10 2019-01-03 Netgear, Inc. Roaming in a wireless mesh network
CN109274717A (en) * 2018-08-22 2019-01-25 泰康保险集团股份有限公司 Shared storage method, device, medium and electronic equipment based on block chain
CN109523243A (en) * 2018-11-19 2019-03-26 济南浪潮高新科技投资发展有限公司 A kind of mist calculates the date storage method based on block chain under environment
CN109711193A (en) * 2018-12-24 2019-05-03 杭州达现科技有限公司 A kind of sharing method and device of memory space
CN109783237A (en) * 2019-01-16 2019-05-21 腾讯科技(深圳)有限公司 A kind of resource allocation method and device

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1149736A (en) * 1995-06-05 1997-05-14 北京航空航天大学 Distributing storage sharing management method
CN1859596A (en) * 2005-09-30 2006-11-08 华为技术有限公司 System and its method for mutual access shared storage space between mobile terminals
CN102480508A (en) * 2010-11-26 2012-05-30 财团法人资讯工业策进会 Multi-user shared network storage service system and method thereof
CN102281314A (en) * 2011-01-30 2011-12-14 程旭 Realization method and apparatus for high-efficient and safe data cloud storage system
US20180041943A1 (en) * 2013-03-26 2018-02-08 Bandwidthx Inc. Systems and methods for establishing wireless connections based on access conditions
CN103701916A (en) * 2013-12-31 2014-04-02 赛凡信息科技(厦门)有限公司 Dynamic load balancing method of distributed storage system
CN105379204A (en) * 2014-01-14 2016-03-02 华为技术有限公司 Methods and systems for selecting resources for data routing
CN105320622A (en) * 2014-07-01 2016-02-10 三星电子株式会社 Internal storage, external storage, and data processing system
US20190007947A1 (en) * 2015-11-10 2019-01-03 Netgear, Inc. Roaming in a wireless mesh network
CN106445410A (en) * 2016-09-13 2017-02-22 郑州云海信息技术有限公司 Storage device sharing method, storage device sharing system, and intelligent gateway with storage device sharing system
CN107171904A (en) * 2017-05-03 2017-09-15 易展成 A kind of cloud service provides method and device
CN107241782A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for network access, mobile terminal and computer-readable recording medium
CN107241771A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN109274717A (en) * 2018-08-22 2019-01-25 泰康保险集团股份有限公司 Shared storage method, device, medium and electronic equipment based on block chain
CN109523243A (en) * 2018-11-19 2019-03-26 济南浪潮高新科技投资发展有限公司 A kind of mist calculates the date storage method based on block chain under environment
CN109711193A (en) * 2018-12-24 2019-05-03 杭州达现科技有限公司 A kind of sharing method and device of memory space
CN109783237A (en) * 2019-01-16 2019-05-21 腾讯科技(深圳)有限公司 A kind of resource allocation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
游静 等: ""云模式下计算系统的性能监控与评价方法"", 《系统仿真学报》 *
游静 等: ""云模式下计算系统的性能监控与评价方法"", 《系统仿真学报》, vol. 25, no. 12, 8 December 2013 (2013-12-08), pages 2845 - 2850 *

Also Published As

Publication number Publication date
CN110471893B (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN109981753B (en) Software-defined edge computing system and resource allocation method for Internet of things
CN105242983B (en) A kind of date storage method and a kind of data storage management service device
CN103516625B (en) bandwidth virtualization
CN111666159B (en) Load balancing control method and device, storage medium and electronic equipment
CN110380891A (en) Edge computing service resource allocation method and device and electronic equipment
WO2021051625A1 (en) Data table construction method, apparatus and device, and storage medium
CN103037008A (en) Authority management method and system of synchronous network disk
CN104717239A (en) Method of cooperatively editing shared file, server and user side
CN108924203B (en) Data copy self-adaptive distribution method, distributed computing system and related equipment
CN103744618A (en) Method and system for achieving team shared storage
JP2013003763A (en) Information recommendation device, information recommendation method and information recommendation program
CN110727738A (en) Global routing system based on data fragmentation, electronic equipment and storage medium
EP1030494A1 (en) Communication unit and communication method with profile management
CN104205730B (en) Network element data access method, Virtual NE, network management server and NMS
CN103607731A (en) Method and device for processing measurement reports
CN110471893A (en) Sharing method, system and the device in the distributed storage space between a kind of multi-user
CN106487894A (en) A kind of data sharing platform
CN103152382B (en) Towards the multifile concurrent transmission control method of multi-host network
CN101594686A (en) User Priority is determined method, Apparatus and system in the wireless communication system
US10970250B2 (en) System, data management method, and file server
CN103188327A (en) Method and system of file transfer
CN108112031A (en) Network type determines method and device
CN106933882B (en) Big data increment calculation method and device
CN112911708A (en) Resource allocation method, server and storage medium
CN110190988A (en) A kind of service deployment method and device

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
GR01 Patent grant
GR01 Patent grant