CN110196842A - File memory method, management method, device, server and storage medium - Google Patents
File memory method, management method, device, server and storage medium Download PDFInfo
- Publication number
- CN110196842A CN110196842A CN201910346016.0A CN201910346016A CN110196842A CN 110196842 A CN110196842 A CN 110196842A CN 201910346016 A CN201910346016 A CN 201910346016A CN 110196842 A CN110196842 A CN 110196842A
- Authority
- CN
- China
- Prior art keywords
- file
- storage service
- address
- view networking
- port numbers
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/113—Details of archiving
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed 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)
Abstract
The embodiment of the invention provides a kind of file memory method, management method, device, server and storage medium, the method is applied in view networking, and the file memory method includes: the file storage request for receiving terminal and sending;It is stored and is requested according to the file, the IP address and port numbers of an idle view networking storage service node are obtained from view networking storage service cluster information table;The IP address and port numbers are sent to the terminal, in order to which the terminal stores the file onto the view networking storage service node of free time corresponding with the IP address and port numbers.In the embodiment of the present invention, after the IP address and port numbers that terminal gets view networking storage service node, directly file can be stored onto view corresponding with the IP address and port numbers networking storage service node, not only increase the efficiency of file storage, it is ensured that the safety of file transmission.
Description
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of file memory method, file management method, dress
It sets, server and storage medium.
Background technique
With the rapid development of view networking, it is the important milestone of current network Development depending on networking, is the higher of internet
Grade form.That is, being a real-time network depending on networking, the whole network HD video that current internet cannot achieve can be realized
Real-time Transmission pushes numerous Internet applications to HD video, and high definition is face-to-face.It will finally realize that the world without distance, realizes
The distance of person to person is the distance of a screen in global range.
Existing file management is all based under internet environment, and efficiency of transmission is unstable, also dangerous, and is stored
Ability is limited.And regard the whole network transmission speed networked faster than internet, and can guarantee the safety of data transmission, therefore, such as
What carries out the storage and management of safety based on view networking to file, is to have technical problem to be solved at present.
Summary of the invention
The embodiment of the present invention is the technical problem to be solved is that a kind of file memory method, management method is provided, to solve
In the prior art by internet storage file, cause transmission speed slow, and unsafe technical problem.
Correspondingly, the embodiment of the invention also provides a kind of file storage device, document management apparatus, server and storages
Medium, to guarantee the implementation and application of the above method.
To solve the above-mentioned problems, the present invention is achieved through the following technical solutions:
First aspect provides a kind of file memory method, and the method is applied in view networking, comprising:
It receives the file that terminal is sent and stores request;
It is stored and is requested according to the file, an idle view networking is obtained from view networking storage service cluster information table
The IP address and port numbers of storage service node;
The IP address and port numbers are sent to the terminal, in order to which the terminal arrives file storage and institute
It states in IP address and the view of port numbers corresponding free time networking storage service node.
Optionally, described stored according to the file is requested, and obtains one from view networking storage service cluster information table
The IP address and port numbers of idle view networking storage service node, comprising:
It is stored and is requested according to the file, judge whether available free view is networked in view networking storage service cluster information table
Storage service node;
If so, then obtaining the IP address and port numbers of an idle view networking storage service node;
If it is not, then sending the prompt information of memory space inadequate.
Optionally, the method also includes:
Administrative operator is received periodically to input or when administrative operator receives the prompt information of memory space inadequate
The IP address and port numbers of the new view the Internet services node of input;
The IP address of the new view the Internet services node and port numbers are stored to the view the Internet services cluster information
In table.
Optionally, the method also includes:
Periodically or whether real-time query is sent out depending on each memory space depending on the Internet services node in networking storage service cluster
Changing;
If memory space changes, changed view in view networking storage service cluster information table is joined
The memory space of net service node carries out corresponding update.
Second aspect provides a kind of file memory method, and the method is applied in view networking, comprising:
Terminal obtains the IP address of the idle view networking storage service node of file to be stored by management and running server
And port numbers;
The terminal sends view corresponding with the IP address and port numbers for the file to be stored by view networking
It networks on storage service node, in order to which view networking storage service node stores the file.
The third aspect provides a kind of file management method, and the method is applied in view networking, comprising:
Receive the file that terminal is sent by IP address and port numbers, wherein the IP address and port numbers are the end
End first passes through management and running server in advance and obtain one idle deposits depending on networking from view networking storage service cluster information table
Store up the IP address and port numbers of service node;
Store the file.
Optionally, the method also includes:
Receive the file operation requests that terminal is sent by view networking, wherein the file operation requests include: that file is looked into
Ask request, previewing file request or file deletion requests;
According to the file operation requests, corresponding operation processing is carried out to the file, obtains corresponding operation processing
As a result, the operation processing result includes: to inquire file described in the file, preview or deleted the file;
The operation processing result is sent to the terminal.
Fourth aspect provides a kind of file storage device, and described device is applied in view networking, comprising:
First receiving module, for receiving the file storage request of terminal transmission;
Module is obtained, is requested for being stored according to the file, obtains one from depending on networking storage service cluster information table
The IP address and port numbers of a idle view networking storage service node;
Sending module, for the IP address and port numbers to be sent to the terminal, in order to which the terminal passes through institute
Stating IP address and port numbers will be on the view networking storage service node of file storage to the free time.
Optionally, the acquisition module includes:
Judgment module, for according to the file store request, judge view networking storage service cluster information table in whether
Available free view networking storage service node;
Acquisition submodule, for obtaining one when the judgment module determines available free view networking storage service node
The IP address and port numbers of a idle view networking storage service node;
Cue module, for when the judgment module determines not idle view networking storage service node, transmission to be deposited
Store up the prompt information of insufficient space.
Optionally, further includes:
Second receiving module periodically inputs for receiving administrative operator or receives memory space in administrative operator
The IP address and port numbers of the new view the Internet services node inputted when insufficient prompt information;
Memory module, for storing the IP address of new view the Internet services node and port numbers to the view the Internet services
In cluster information table.
Optionally, further includes:
Enquiry module, for regular or real-time query depending on each depositing depending on the Internet services node in networking storage service cluster
Whether storage space changes;
Update module is deposited to described depending on networking for inquiring changed memory space according to the enquiry module
The changed memory space depending on the Internet services node is updated in storage service cluster information table.
5th aspect provides a kind of file storage device, and described device is applied in view networking, comprising:
Module is obtained, for obtaining the idle view networking storage service node of file to be stored by management and running server
IP address and port numbers;
Sending module, for sending the file to be stored to and the IP address and port numbers pair by view networking
On the view networking storage service node answered, in order to which view networking storage service node stores the file.
6th aspect provides a kind of document management apparatus, and described device is applied in view networking, comprising:
First receiving module, the file sent for receiving terminal by IP address and port numbers, wherein the IP address
With port numbers be the terminal first pass through in advance management and running server from view network storage service cluster information table in obtain one
The IP address and port numbers of a idle view networking storage service node;
Memory module, for storing the file.
Optionally, described device further include:
Second receiving module, the file operation requests sent for receiving terminal by view networking, wherein the file behaviour
Making request includes: file query requests, previewing file request or file deletion requests;
Processing module obtains pair for carrying out corresponding operation processing to the file according to the file operation requests
The operation processing answered is as a result, the operation processing result includes: to inquire file described in the file, preview or deleted described
File;
Sending module, for the operation processing result to be sent to the terminal.
7th aspect provides a kind of file management system, and the system is applied in view networking, the system comprises: scheduling
Management server, and the view networking storage service cluster for passing through view networking connection, wherein described to include depending on the Internet services cluster
Multiple views networking storage service nodes;Wherein,
Management and running server, the file storage for receiving terminal transmission request, are stored and requested according to the file, from
IP address and port numbers depending on obtaining an idle view networking storage service node in networking storage service cluster information table, with
And the IP address and port numbers are sent to the terminal;
Depending on storage service node of networking, for receiving the terminal and being sent by IP address and port numbers by view networking
File, and store the file.
Eighth aspect provides a kind of server, comprising: memory, processor and is stored on the memory and can be in institute
The computer program run on processor is stated, the computer program realizes that file as described above is deposited when being executed by the processor
The step of the step of method for storing or file management method as described above.
9th aspect provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium
The step of machine program, the computer program realizes file memory method as described above when being executed by processor, is as described above
The step of file memory method or as described in claim 6 or 7 the step of file management method.
Compared with prior art, the embodiment of the present invention includes following advantages:
In the embodiment of the present invention, in the file storage request for receiving terminal transmission, first passes through view networking and network from view
The IP address and port numbers that an idle view networking storage service node is obtained in storage service cluster information table later will
The IP address and port numbers are sent to the terminal, in order to which the file by being directly stored in by the terminal depending on networking
On the view networking storage service node of free time corresponding with the IP address and port numbers.That is, in the embodiment of the present invention,
After the IP address and port numbers that terminal gets view networking storage service node, directly file storage can be arrived and the IP
On address and port numbers corresponding view networking storage service node, not only increase the efficiency of file storage, it is ensured that file
The safety of transmission.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
Fig. 1 is that the embodiment of the present invention provides a kind of flow chart of file memory method;
Fig. 2 is a kind of another flow chart of file memory method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of file management method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of application example provided in an embodiment of the present invention;
Fig. 5 is that the embodiment of the present invention provides a kind of structural schematic diagram of file storage device;
Fig. 6 is that the embodiment of the present invention provides a kind of structural schematic diagram for obtaining module;
Fig. 7 is a kind of another structural schematic diagram of file storage device provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of document management apparatus provided in an embodiment of the present invention;
Fig. 9 is a kind of another structural schematic diagram of document management apparatus provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of file management system provided in an embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention please refers to following embodiments.
Referring to Fig. 1, being a kind of flow chart of file memory method provided in an embodiment of the present invention, the method is applied to
In networking, the method may include:
Step 101: receiving the file that terminal is sent and store request;
In the step, if user thinks storage (or upload) file, user can be by the browser in terminal to scheduling
Management server send file storage request, i.e., user by the front-end operations page of browser access scheduling management server come
Initiate file storage request.Wherein, it may include filename in this document storage request, can also include file to be stored
The information such as size, i.e. management and running server receive the file storage request that user is sent by browser.
Step 102: being stored and requested according to the file, obtain a free time from view networking storage service cluster information table
View networking storage service node IP address and port numbers;
In the step, management and running server leads to after receiving the file storage request that user is sent by browser
Cross view networking (or based on view networking protocol), obtained from view networking storage service cluster information table for the terminal one it is idle
The IP address and port numbers of video network storage service node, in order to which the user is by view networking, directly arriving file storage should
On idle video network storage service node.
Wherein, the management and running server in the present embodiment, it can be understood as the manager of view networking storage service cluster,
If user wants to service using storage file by terminal, need to first pass through the view networking safeguarded in the management and running server
The IP address and port numbers that an idle view networking storage service node is obtained in storage service cluster information table later should
User can carry out file transmission (ratio between view networking storage service node corresponding with the IP address and port numbers by terminal
Such as storage file, the operation of downloading file).
It is requested that is, management and running server is stored according to the file, judges view networking storage service cluster letter
Cease in table whether available free view is networked storage service node, networks storage service section if so, then obtaining an idle view
The IP address and port numbers of point;If it is not, the prompt information of memory space inadequate is sent, to prompt administrative operator, depending on
There is no idle view networking storage service node in networking storage service cluster, needs to increase new idle view networking storage service
Node.In the embodiment, the memory space of each view networking storage service node is less than or equal to predetermined threshold (such as 5G, 10G
Deng can also predetermined threshold be set according to actual needs) when, then it is assumed that the view network storage service node memory space
It is full.
Wherein, depending on storage service cluster of networking, including multiple views networking storage service node, each view networking storage service
Node can be formed by one depending on networking storage gateway server, and a view of more view networking storage gateway server compositions
Networking storage service cluster, the cluster can support the functions such as storage (or upload), lookup, preview and the deletion of file.
Step 103: the IP address and port numbers being sent to the terminal, in order to which the terminal deposits the file
It stores up on the view networking storage service node of free time corresponding with the IP address and port numbers.
In the step, management and running server by internet by the IP address of idle view networking storage service node and
Port numbers are sent to the terminal, in order to which the user passes through terminal after receiving the IP address and port numbers, utilize view
Networking, directly by the view networking storage service node of file storage to free time corresponding with the IP address and port numbers
On.
In the embodiment of the present invention, in the file storage request for receiving terminal transmission, first passes through view networking and network from view
The IP address and port numbers that an idle view networking storage service node is obtained in storage service cluster information table later will
The IP address and port numbers are sent to the terminal, in order to which the file by being directly stored in by the terminal depending on networking
On the view networking storage service node of free time corresponding with the IP address and port numbers.That is, in the embodiment of the present invention,
After the IP address and port numbers that terminal gets view networking storage service node, directly file storage can be arrived and the IP
On address and port numbers corresponding view networking storage service node, not only increase the efficiency of file storage, it is ensured that file
The safety of transmission.
Optionally, in another embodiment, on the basis of the above embodiments, the method can also wrap the embodiment
It includes: receiving administrative operator and periodically input or inputted when administrative operator receives the prompt information of memory space inadequate new
View the Internet services node IP address and port numbers;By the IP address of the new view the Internet services node and port numbers storage
Into the view the Internet services cluster information table.
That is, administrative operator can be periodically empty to the storage in view networking storage service cluster in the embodiment
Between carry out dilatation, alternatively, carry out dilatation in the prompt information for receiving memory space inadequate, that is, increase one or more free time
View network storage service node, for example, administrative operator writes the front end page of management and running server by program code,
By front end page, increased one or more idle corresponding IP address and port numbers depending on networking storage service node are deposited
It stores up on management and running server, in order to which management and running server is stored and managed to newly-increased IP address and port numbers
Reason.
Therefore, in the embodiment of the present invention, do not influencing have each view networking storage clothes in view networking storage service cluster
In the case where node storing data of being engaged in, dilatation can be carried out by way of the newly-increased storage service node depending on networking, improve view
The ability of networking storage service cluster-based storage file solves existing file platform dilatation inconvenience, the skill of limited storage space
Art problem.That is, the embodiment of the present invention can dynamically add view networking storage service node, the business of user is supported to expand
, improve file storage capabilities.
Optionally, in another embodiment, in the embodiment above-described embodiment, the method can also include: periodically or
Whether real-time query changes depending on each memory space depending on the Internet services node in networking storage service cluster;If storage
Space changes, then to the storage of changed view the Internet services node in the view networking storage service cluster information table
Space carries out corresponding update.
That is, management and running server can in real time or periodically inquire view networking storage service cluster in the embodiment
In each memory space depending on the Internet services node whether change, with guarantee storage view network storage service cluster information
Each memory space for regarding the Internet services node is last state in table.
Also referring to Fig. 2, being a kind of another flow chart of file memory method provided in an embodiment of the present invention, the method
Include:
Step 201: terminal obtains the idle view networking storage service node of file to be stored by management and running server
IP address and port numbers;
In the step, user can send file storage request to management and running server by the browser in terminal,
Management and running server according to receive the file storage request, judge view networking storage service cluster information table in whether
Available free view networking storage service node;If so, then obtaining the IP address of an idle view networking storage service node
And port numbers;And terminal being sent to depending on the IP address for storage service node of networking and port numbers, i.e. terminal passes through management and running
Server gets the IP address and port numbers of the idle view networking storage service node of file to be stored;If it is not, hair
The prompt information of memory space inadequate is sent, to prompt administrative operator, needs to increase new idle view networking storage service node,
Its concrete implementation process, is detailed in above-mentioned, and details are not described herein.
Step 202: the terminal is sent the file to be stored to and the IP address and port numbers by view networking
On corresponding view networking storage service node, in order to which view networking storage service node stores the file.
In the step, user is getting an idle view from depending on networking storage service cluster information table by terminal
It networks after the IP address and port numbers of storage service node, can directly send the file to and the IP address and port numbers pair
The view networking storage service node answered stores the file by view networking storage service node.
It in the embodiment of the present invention, is networked by view, this document directly can be uploaded to view networking storage service section by terminal
It is stored on point, not only increases efficiency of transmission, it is ensured that the safety of file transmission.
Also referring to Fig. 3, being a kind of flow chart of file management method provided in an embodiment of the present invention, the method application
In view networking, the method may include:
Step 301: receiving the file that terminal is sent by IP address and port numbers, wherein the IP address and port numbers
For the terminal first pass through in advance management and running server from depending on networking storage service cluster information table obtain one it is idle
Depending on the IP address and port numbers of storage service node of networking;
In the step, terminal is networked by view to view corresponding with the IP address and port numbers networking storage service node
File is sent, this document is file to be stored, i.e., passes through depending on networking storage service node and receive this document depending on networking.
Step 302: storing the file.
In the step, depending on networking storage service node after by receiving this document depending on networking, this document is stored.
In the embodiment of the present invention, the terminal is being received by regarding the file networked and sent depending on networking storage service node
Afterwards, store this document, in order to subsequent user can by the terminal to view network storage service node be inquired, preview or
Person is to delete this document.Certainly, other users can also inquire this document by the terminal, the behaviour such as preview or deletion
Make.If other terminals can also pass through the IP address and port after the IP address and port numbers for getting storage this document
Number inquiry, preview or delete this document.
In the embodiment of the present invention, depending on networking storage service node by view networking, the file that terminal directly uploads is received, and
This document is stored, the efficiency of file transmission is not only increased, it is ensured that the safety of file transmission.
Optionally, in another embodiment, on the basis of the above embodiments, the method can also wrap the embodiment
It includes: receiving the file operation requests that terminal is sent by view networking, wherein the file operation requests include: that file polling is asked
It asks, previewing file is requested or file deletion requests;According to the file operation requests, the file is carried out at corresponding operation
Reason, the operation processing include: that file polling, previewing file or file are deleted, and obtain corresponding operation processing result, wherein
The operation processing result may include: inquiry or preview to corresponding file or deleted document etc.;And by the operation
Processing result is sent to the terminal.
That is, in the embodiment, after terminal stores file onto view networking storage service node, Ke Yitong
It crosses to regard to network and be networked by view to view networking storage service node initiation inquiry file request (or preview file request etc.);
And view networking storage service node returns to corresponding the file information (i.e. inquiry or the file of preview etc.).
Certainly, terminal passes through can send the request for deleting this document depending on networking to view networking storage service node, depending on connection
After net storage service node receives the deletion file request, directly deletion this document, and the response hair that this document will have been deleted
Give the terminal.
In the embodiment of the present invention, file is stored to after view networking storage service node in terminal, view can be passed through and networked
This document is inquired, the operation such as preview and deletion, can support user's upload, preview, downloading, delete various files moneys
Source, improves the speed of file transmission, and ensure that the safety of file, improves storage capacity.
In order to make it easy to understand, being a kind of process of application example provided in an embodiment of the present invention also referring to Figure 4 together
Figure, wherein the equipment being related in the application example include: terminal (such as desktop computer or laptop or it is mobile eventually
End etc.), management and running server, depending on storage service cluster of networking, wherein include that multiple views join in view networking storage service cluster
Net storage service node has included for a view networking storage service node in the embodiment, and concrete implementation process is such as
Shown in figure, specifically include:
Step 400: management and running server is periodically or the view in real-time query view networking storage service cluster is networked and stored
Whether the memory space of service node changes;
Step 401: if memory space changes, to storage depending on occurring in networking storage service cluster information table
The memory space depending on the Internet services node of variation carries out corresponding update;
It should be noted that step 400 and step 401, in specific implementation without successive between following either steps
Sequentially, it also may be performed simultaneously, the embodiment is with no restrictions.
Step 402: user sends file storage request to management and running server by the browser in terminal;
In the step, user sends file storage request to management and running server by the browser in terminal.
Step 403: management and running server is according to the file storage request received, from the view of storage networking storage service
The IP address and port numbers of an idle view networking storage service node are obtained in cluster information table;
Step 404: management and running server is by the IP address and port numbers of the idle view networking storage service node
It is sent to the terminal;
Step 405: terminal after receiving the IP address and port numbers, by view networking directly to IP address and end
Slogan is corresponding to send file (file i.e. to be stored) depending on networking storage service node;
Step 406: the file received depending on networking storage service node storage;
Step 407: view networking storage service node sends file storage to terminal and completes information;
Further, on the basis of the above embodiments, terminal, can also be directly to view networking storage service by view networking
Node sends inquiry, preview or the request for deleting this document, and receives the inquiry, preview depending on networking storage service node or delete
After the request of this document, carry out search or preview this document or delete this document, and will find or the file of preview hair
It gives terminal or the deleted information of this document issues terminal.
Further, on the basis of the above embodiments, it is periodically defeated can also to receive administrative operator for management and running server
Enter or input when administrative operator receives the prompt information of memory space inadequate the IP of new view the Internet services node
Location and port numbers;And the IP address and port numbers of the storage new view the Internet services node.I.e. dynamic increases view networking clothes
The memory space of business device cluster.
It is different from the storage and management of respective file in internet to the storage and management of file in the embodiment of the present invention,
Storage and management is carried out to file in the case where regarding networked environment, not only increases file transfer speed and efficiency, it is ensured that file
The safety of transmission;Further, can also be in such a way that server cluster be disposed, dynamic addition view networking storage service section
Point supports the business expansion of user, improves file storage capabilities.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 5, a kind of structural schematic diagram of file storage device is provided for the embodiment of the present invention, which can apply
In view networking, can specifically include: the first receiving module 501 obtains module 502 and sending module 503, wherein
First receiving module 501, for receiving the file storage request of terminal transmission;
Module 502 is obtained, is requested for being stored according to the file, is obtained from depending on networking storage service cluster information table
The IP address and port numbers of one idle view networking storage service node;
Sending module 503, for the IP address and port numbers to be sent to the terminal, in order to which the terminal is by institute
It states in file storage to the view networking storage service node of free time corresponding with the IP address and port numbers.
Optionally, in another embodiment, the embodiment on the basis of the above embodiments, wrap by the acquisition module 502
Include: judgment module 601, acquisition submodule 602 and cue module 603, structural schematic diagram is as shown in Figure 6, wherein
Judgment module 601 is requested for being stored according to the file, is judged depending on being in networking storage service cluster information table
No available free view networking storage service node;
Acquisition submodule 602, for obtaining when the judgment module determines available free view networking storage service node
The IP address and port numbers of one idle view networking storage service node;
Cue module 603, for sending when the judgment module determines not idle view networking storage service node
The prompt information of memory space inadequate.
Optionally, in another embodiment, the embodiment on the basis of the above embodiments, described device further include:
Two receiving modules and memory module (not shown), wherein
Second receiving module periodically inputs for receiving administrative operator or receives memory space in administrative operator
The IP address and port numbers of the new view the Internet services node inputted when insufficient prompt information;
Memory module, for the IP address of the new view the Internet services node and port numbers storage to be networked to the view
In service cluster information table.
Optionally, in another embodiment, the embodiment on the basis of the above embodiments, described device further include: look into
Ask module and update module (not shown), wherein
Enquiry module, for regular or real-time query depending on each depositing depending on the Internet services node in networking storage service cluster
Whether storage space changes;
Update module is deposited to described depending on networking for inquiring changed memory space according to the enquiry module
The changed memory space depending on the Internet services node is updated in storage service cluster information table.
It is described also referring to Fig. 7, being a kind of another structural schematic diagram of file storage device provided in an embodiment of the present invention
Device is applied in view networking, and described device includes: to obtain module 701 and sending module 702, wherein
Module 701 is obtained, for obtaining the idle view networking storage service of file to be stored by management and running server
The IP address and port numbers of node;
Sending module 702, for sending the file to be stored to and the IP address and port numbers by view networking
On corresponding view networking storage service node, in order to which view networking storage service node stores the file.
Also referring to Fig. 8, being a kind of structural schematic diagram of document management apparatus provided in an embodiment of the present invention, described device
Applied in view networking, described device includes: the first receiving module 801 and memory module 802, wherein
First receiving module 801, the file sent for receiving terminal by IP address and port numbers, wherein the IP
Address and port numbers first pass through management and running server for the terminal in advance and obtain from depending on networking storage service cluster information table
An idle view networking storage service node IP address and port numbers;
Memory module 802, for storing the file.
Optionally, in another embodiment, on the basis of the above embodiments, described device can also wrap the embodiment
Include: the second receiving module 901, processing module 902 and sending module 903, structural representation is as shown in Figure 9, wherein
Second receiving module 901, the file operation requests sent for receiving terminal by view networking, wherein the text
Part operation requests include: file query requests, previewing file request or file deletion requests;
Processing module 902, for being carried out to the file of memory module storage according to the file operation requests
Corresponding operation processing, the operation processing include: that file polling, previewing file or file are deleted, and are obtained at corresponding operation
Reason is as a result, the operation processing result includes: to inquire file described in the file, preview or deleted the file;
Sending module 903, for the operation processing result to be sent to the terminal.
Also referring to Fig. 10, being a kind of structural schematic diagram of file management system provided in an embodiment of the present invention, the system
System is applied in view networking, the system comprises: management and running server 1001, and pass through depositing depending on networking depending on networking connection
Store up service cluster 1002, wherein the view the Internet services cluster includes that multiple views network that (the present embodiment is with one for storage service nodes
It for a view networking storage service node 10021, is not limited to this in practical applications);Wherein,
Management and running server 1001 is asked for receiving the file storage request of terminal transmission according to the file storage
It asks, is networked by view, an idle view networking storage service node is obtained from view networking storage service cluster information table
IP address and port numbers, and the IP address and port numbers are sent to the terminal;
Depending on storage service node 10021 of networking, for receiving the terminal and passing through IP address and port numbers by view networking
The file of transmission, and store the file.
Optionally, the management and running server can be integrated with depending on the Internet services cluster, can also be with independent part
Administration, the present embodiment are made with no restrictions.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
Preferably, the embodiment of the present invention also provides a kind of server, including processor, and memory, storage is on a memory
And the computer program that can be run on the processor, the computer program realize above-mentioned file storage when being executed by processor
Each process of method or file management method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer
It repeats.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor, and memory stores on a memory simultaneously
The computer program that can be run on the processor, the computer program realize above-mentioned file storage side when being executed by processor
Each process of method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize above-mentioned file memory method, file management method embodiment when being executed by processor
Each process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, described computer-readable
Storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
It is situated between above to a kind of file memory method provided by the present invention, file management method, device, server and storage
Matter is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, above
The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general skill of this field
Art personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this
Description should not be construed as limiting the invention.
Claims (17)
1. a kind of file memory method, which is characterized in that the method is applied in view networking, comprising:
It receives the file that terminal is sent and stores request;
Request is stored according to the file, the idle view of acquisition one, which is networked, from view networking storage service cluster information table stores
The IP address and port numbers of service node;
The IP address and port numbers are sent to the terminal, in order to which the terminal arrives file storage and the IP
The view of address and port numbers corresponding free time are networked on storage service node.
2. being deposited the method according to claim 1, wherein described stored according to the file is requested from depending on networking
Store up the IP address and port numbers that an idle view networking storage service node is obtained in service cluster information table, comprising:
It is requested according to file storage, judges whether available free view networking stores in view networking storage service cluster information table
Service node;
If so, then obtaining the IP address and port numbers of an idle view networking storage service node;
If it is not, then sending the prompt information of memory space inadequate.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Reception administrative operator periodically inputs or the input when administrative operator receives the prompt information of memory space inadequate
The IP address and port numbers of new view the Internet services node;
The IP address of the new view the Internet services node and port numbers are stored into the view the Internet services cluster information table.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Periodically or whether real-time query becomes depending on each memory space depending on the Internet services node in networking storage service cluster
Change;
If memory space changes, to changed view networking clothes in view networking storage service cluster information table
The memory space of business node carries out corresponding update.
5. a kind of file memory method, which is characterized in that the method is applied in view networking, comprising:
Terminal obtains the idle IP address for regarding networking storage service node and the end of file to be stored by management and running server
Slogan;
The terminal is sent view corresponding with the IP address and port numbers for the file to be stored and is networked by view networking
On storage service node, in order to which view networking storage service node stores the file.
6. a kind of file management method, which is characterized in that the method is applied in view networking, comprising:
Receive the file that terminal is sent by IP address and port numbers, wherein the IP address and port numbers are pre- for the terminal
First pass through one that management and running server is obtained from depending on networking storage service cluster information table idle view networking storage clothes
The IP address and port numbers of business node;
Store the file.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
Receive the file operation requests that terminal is sent by view networking, wherein the file operation requests include: that file polling is asked
It asks, previewing file is requested or file deletion requests;
According to the file operation requests, corresponding operation processing is carried out to the file, obtain corresponding operation processing as a result,
The operation processing result includes: to inquire file described in the file, preview or deleted the file;
The operation processing result is sent to the terminal.
8. a kind of file storage device, which is characterized in that described device is applied in view networking, comprising:
First receiving module, for receiving the file storage request of terminal transmission;
Module is obtained, is requested for being stored according to the file, obtains a sky from view networking storage service cluster information table
The IP address and port numbers of not busy view networking storage service node;
Sending module, for the IP address and port numbers to be sent to the terminal, in order to which the terminal passes through the IP
Address and port numbers store the file onto the view networking storage service node of the free time.
9. device according to claim 8, which is characterized in that the acquisition module includes:
Whether judgment module is requested for being stored according to the file, judge depending on having time in networking storage service cluster information table
Not busy view networking storage service node;
Acquisition submodule, for obtaining a sky when the judgment module determines available free view networking storage service node
The IP address and port numbers of not busy view networking storage service node;
Cue module, for it is empty to send storage when the judgment module determines not idle view networking storage service node
Between insufficient prompt information.
10. device according to claim 9, which is characterized in that described device further include:
Second receiving module periodically inputs for receiving administrative operator or receives memory space inadequate in administrative operator
Prompt information when the IP address and port numbers of the new view the Internet services node that input;
Memory module, for storing the IP address of new view the Internet services node and port numbers to the view the Internet services cluster
In information table.
11. according to the described in any item devices of claim 8 to 10, which is characterized in that described device further include:
Enquiry module, the storage for each view the Internet services node in regular or real-time query view networking storage service cluster are empty
Between whether change;
Update module networks to the view and stores clothes for inquiring changed memory space according to the enquiry module
The changed memory space depending on the Internet services node is updated in business cluster information table.
12. a kind of file storage device, which is characterized in that described device is applied in view networking, comprising:
Module is obtained, the IP of the idle view networking storage service node for obtaining file to be stored by management and running server
Address and port numbers;
Sending module, for sending the file to be stored to corresponding with the IP address and port numbers by view networking
Depending on networking on storage service node, in order to which view networking storage service node stores the file.
13. a kind of document management apparatus, which is characterized in that described device is applied in view networking, comprising:
First receiving module, the file sent for receiving terminal by IP address and port numbers, wherein the IP address and end
Slogan is the sky that the terminal first passes through that management and running server is obtained from depending on networking storage service cluster information table in advance
The IP address and port numbers of not busy view networking storage service node;
Memory module, for storing the file.
14. device according to claim 13, which is characterized in that further include:
Second receiving module, the file operation requests sent for receiving terminal by view networking, wherein the file operation is asked
Ask includes: file query requests, previewing file request or file deletion requests;
Processing module, for carrying out corresponding operation processing to the file, obtaining corresponding according to the file operation requests
Operation processing is as a result, the operation processing result includes: to inquire file described in the file, preview or deleted the text
Part;
Sending module, for the operation processing result to be sent to the terminal.
15. a kind of file management system, which is characterized in that the system is applied in view networking, the system comprises: scheduling pipe
Manage server, and the view networking storage service cluster for passing through view networking connection, wherein the view the Internet services cluster includes more
A view networking storage service node;Wherein,
Management and running server is stored according to the file and is requested, join from view for receiving the file storage request of terminal transmission
The IP address and port numbers of an idle view networking storage service node are obtained in net storage service cluster information table, and will
The IP address and port numbers are sent to the terminal;
Depending on storage service node of networking, for receiving the text that the terminal is sent by IP address and port numbers by view networking
Part, and store the file.
16. a kind of server characterized by comprising memory, processor and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in Claims 1-4
The step of any one file memory method or as described in claim 6 or 7 the step of file management method.
17. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program is realized when the computer program is executed by processor such as any one of described in any item of the claim 1 to 81 to 4 institute
The step of the step of stating file memory method or as claimed in claim 5 file memory method or such as claim 6 or 7
Described in file management method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910346016.0A CN110196842A (en) | 2019-04-26 | 2019-04-26 | File memory method, management method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910346016.0A CN110196842A (en) | 2019-04-26 | 2019-04-26 | File memory method, management method, device, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110196842A true CN110196842A (en) | 2019-09-03 |
Family
ID=67752262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910346016.0A Pending CN110196842A (en) | 2019-04-26 | 2019-04-26 | File memory method, management method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110196842A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781132A (en) * | 2019-10-24 | 2020-02-11 | 深圳前海环融联易信息科技服务有限公司 | Method and device for realizing file storage and computer equipment |
CN113791733A (en) * | 2021-09-06 | 2021-12-14 | 青岛中科曙光科技服务有限公司 | Information storage method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103997540A (en) * | 2014-06-10 | 2014-08-20 | 深圳市友华通信技术有限公司 | Method for achieving distributed storage of network, storage system and customer premise equipment |
CN105208078A (en) * | 2015-08-13 | 2015-12-30 | 飞狐信息技术(天津)有限公司 | File storage system and method |
US20180121459A1 (en) * | 2016-01-04 | 2018-05-03 | Acronis International Gmbh | System and method of using data blocks to optimize file storage |
CN108206926A (en) * | 2016-12-20 | 2018-06-26 | 北京视联动力国际信息技术有限公司 | A kind of method and device of conference management client and exterior terminal state synchronized |
WO2018157836A1 (en) * | 2017-03-02 | 2018-09-07 | 腾讯科技(深圳)有限公司 | Resource management method for programmable hardware, programmable hardware device, and storage medium |
CN108616549A (en) * | 2016-12-12 | 2018-10-02 | 北京视联动力国际信息技术有限公司 | A kind of file uploading method and file server |
CN108965372A (en) * | 2017-12-20 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of service scheduling method and device |
-
2019
- 2019-04-26 CN CN201910346016.0A patent/CN110196842A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103997540A (en) * | 2014-06-10 | 2014-08-20 | 深圳市友华通信技术有限公司 | Method for achieving distributed storage of network, storage system and customer premise equipment |
CN105208078A (en) * | 2015-08-13 | 2015-12-30 | 飞狐信息技术(天津)有限公司 | File storage system and method |
US20180121459A1 (en) * | 2016-01-04 | 2018-05-03 | Acronis International Gmbh | System and method of using data blocks to optimize file storage |
CN108616549A (en) * | 2016-12-12 | 2018-10-02 | 北京视联动力国际信息技术有限公司 | A kind of file uploading method and file server |
CN108206926A (en) * | 2016-12-20 | 2018-06-26 | 北京视联动力国际信息技术有限公司 | A kind of method and device of conference management client and exterior terminal state synchronized |
WO2018157836A1 (en) * | 2017-03-02 | 2018-09-07 | 腾讯科技(深圳)有限公司 | Resource management method for programmable hardware, programmable hardware device, and storage medium |
CN108965372A (en) * | 2017-12-20 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of service scheduling method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781132A (en) * | 2019-10-24 | 2020-02-11 | 深圳前海环融联易信息科技服务有限公司 | Method and device for realizing file storage and computer equipment |
CN113791733A (en) * | 2021-09-06 | 2021-12-14 | 青岛中科曙光科技服务有限公司 | Information storage method, device, equipment and storage medium |
CN113791733B (en) * | 2021-09-06 | 2024-07-19 | 青岛中科曙光科技服务有限公司 | Information storage method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234816B (en) | The method and device of resource information real-time synchronization is monitored between a kind of monitoring device | |
Al Ridhawi et al. | A collaborative mobile edge computing and user solution for service composition in 5G systems | |
EP1474751B1 (en) | Managed object replication and delivery | |
CN104301741B (en) | A kind of data broadcast system and method | |
KR101215993B1 (en) | P2P Content Distribution Network for Peer-to-Peer Live Streaming | |
CN108965780A (en) | A kind of display methods and system of monitored picture | |
CN108965369A (en) | A kind of method for pushing and system of server state | |
US20120239727A1 (en) | Multimedia service network and method for providing the same | |
CN109286826A (en) | Information display method and device | |
CN110196842A (en) | File memory method, management method, device, server and storage medium | |
WO2022188596A1 (en) | Access control method and apparatus, data forwarding method and apparatus, and electronic device and storage medium | |
CN108628915A (en) | A kind of record queries method and device | |
CN110502548A (en) | A kind of search result recommended method, device and computer readable storage medium | |
CN107959704A (en) | A kind of data processing method and home gateway | |
CN109151061A (en) | A kind of date storage method and device | |
CN111737029A (en) | Server, data pushing method and data pushing system | |
CN101741877A (en) | Method, system and equipment for operating media resource | |
Forestiero et al. | Distributed algorithm for big data analytics in healthcare | |
WO2011116060A1 (en) | Multimedia service network and method for providing the same | |
CN110187903A (en) | A kind of upgrade method and device | |
CN110753071B (en) | Information acquisition method and device | |
CN109743585A (en) | A kind of method and apparatus of monitor video collection and collection clone | |
WO2014117508A1 (en) | Content delivery network and content management method in content delivery network | |
CN110011891A (en) | A kind of method for processing business and system of across a network | |
CN110198326A (en) | A kind of view networking conference reservation information push method, apparatus and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190903 |
|
RJ01 | Rejection of invention patent application after publication |