CN114531402B - Method and system for storing standard network file - Google Patents

Method and system for storing standard network file Download PDF

Info

Publication number
CN114531402B
CN114531402B CN202111633848.4A CN202111633848A CN114531402B CN 114531402 B CN114531402 B CN 114531402B CN 202111633848 A CN202111633848 A CN 202111633848A CN 114531402 B CN114531402 B CN 114531402B
Authority
CN
China
Prior art keywords
client
clients
bandwidth
server
priority
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.)
Active
Application number
CN202111633848.4A
Other languages
Chinese (zh)
Other versions
CN114531402A (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.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN202111633848.4A priority Critical patent/CN114531402B/en
Publication of CN114531402A publication Critical patent/CN114531402A/en
Application granted granted Critical
Publication of CN114531402B publication Critical patent/CN114531402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2458Modification of priorities while in transit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Abstract

The invention relates to a method for storing standard network files, which belongs to the technical field of computer system software profession. The file server supporting storage consists of a priority receiving module, a priority request queue, a monitor, a request processor, a local file system and a strategy file. The server monitors the processing conditions, generates priority and bandwidth strategies for the new requests in real time, and ensures the timely processing and bandwidth guarantee of the high-priority requests. The method aims at solving the problem of certainty of shared access of the airborne network files in a hard real-time, soft real-time and non-real-time mixed service environment. The certainty of remotely sharing and accessing the file server by multiple clients is realized by adding a lightweight mechanism, namely adding priority to requests sent by different clients and queuing the priority to the requests and controlling the bandwidth of the clients.

Description

Method and system for storing standard network file
Technical Field
The invention belongs to the technical field of computer system software, and particularly relates to a method and a system for storing standard network files.
Background
In the Ethernet conforming to the IEEE802.3 standard, network equipment uses an event trigger transmission principle, any network equipment can access the network at any time point, and data transmission is performed by adopting a first-arrival first-service principle. Communication between network devices over a shared medium necessarily results in some messages causing uncertain collisions, jitter and accumulated delays in transmission.
The TTE network conforming to AS6802 standard is compatible with the advantages of Ethernet and AFDX network, uses the network synchronization time commonly maintained by all node devices in the network, supports TT message of time trigger mechanism, RC message (namely AFDX message) and BE message (Ethernet message) of event trigger mechanism, and can effectively reduce transmission delay and jitter, thereby meeting the application requirements of different real-time and security levels.
The AS6802 standard supports transmission of three service messages such AS TT, RC, BE and the like at the network layer, but does not integrate the three types of messages into one node device, and does not propose a transmission scheduling mechanism of the three types of messages.
In view of this, the present invention has been made.
Disclosure of Invention
The invention aims to provide a method for storing standard network files, which solves the technical problem that the existing method cannot ensure the certainty when a file server is used by sharing access of multiple clients. The technical scheme of the scheme has a plurality of technical advantages, and the following description is provided:
there is provided a method of storing a standard network file, suitable for data interaction between a server and a plurality of clients, the storage nodes of the plurality of clients being shared to obtain node IDs of all the clients, the method comprising:
presetting a priority parameter, and sequencing all client nodes according to the priority parameter;
when the server acquires the standard network file, the working state of the server is acquired in real time, and is judged,
and if the current low-priority client interacts with the server data, if so, not interrupting until the data interaction is completed, and if not, sequencing the priorities of all the client nodes, and performing the data interaction with the corresponding client by the server according to the priority sequence.
Compared with the prior art, the technical scheme provided by the invention has the following beneficial effects:
the method provided by the scheme increases the priority of the requests sent by different clients, queues the priority of the requests, and controls the bandwidth of the clients, thereby realizing the certainty of remotely sharing and accessing the file server by multiple clients.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method for storing the standard network file is suitable for data interaction between a server and a plurality of clients, and the storage nodes of the clients are shared to acquire the node ID numbers of all the clients, and the method comprises the following steps:
presetting a priority parameter, and sequencing all client nodes according to the priority parameter;
when the server acquires the standard network file, the working state of the server is acquired in real time, and is judged,
and if the current low-priority client interacts with the server data, if so, not interrupting until the data interaction is completed, and if not, sequencing the priorities of all the client nodes, and performing the data interaction with the corresponding client by the server according to the priority sequence.
And receiving file access request messages sent by different clients from the communication channel list according to a high-to-low priority receiving rule by a priority receiving module, adding priority to the request messages, and placing the request messages into a priority queue. And the request processor takes out the file access request with the highest priority from the queue according to the high-to-low priority processing principle, and applies a processing strategy to the server. The requests are added with priority, the requests are queued with priority, and the bandwidth control is performed on the clients, so that the certainty of remotely sharing and accessing the file server by multiple clients is realized.
Specific:
and carrying out a first sorting table on the priorities of the nodes of all the clients, obtaining the node of the current newly added request client, judging whether the server carries out data interaction with other clients or not, if so, not interrupting until the data interaction is completed, and carrying out priority sorting on the first sorting table and the node of the client obtaining the latest request to generate a second sorting table, if not, determining whether to carry out data interaction with the server according to the priorities of the nodes of the current newly added request client.
As a specific embodiment provided by the scheme, the bandwidth is reasonably allocated, for example, the bandwidth of each client is obtained, the total bandwidth of the server is obtained, the bandwidth ratio of each client is determined, whether the sum of the bandwidths of all the clients with the highest priority is larger than the total bandwidth is judged, if so, the bandwidth is allocated according to a first preset bandwidth, the first preset bandwidth is the total bandwidth/the number of all the clients with the highest priority, if not, the bandwidths of the clients with the low priority are evenly allocated according to the residual bandwidth, and the residual bandwidth is the difference value between the total bandwidth and the bandwidth of the client with the highest priority.
Reference examples
A distributed integrated modular avionics platform comprising: the method comprises the steps of N1, N2 and N3, wherein the bottom layer uses FC network communication, the local file system uses FAT32, and the interface of the local file system uses POSIX interface.
(2) Configuration data design generation and deployment
The following policy information is configured in the file nfs.dat:
a. the system comprises 5 logic nodes: c1 (client), C2 (client), C3 (client), C4 (client), S (server).
b. The priority ranking, for example, the interconnection relationship among 5 logic nodes is: C1-S (channel type: emergency), C2-S (channel type: emergency), C3-S (channel type: best effort)), C4-S (channel type: best effort), prioritize emergency handling, post-handle best effort.
c. The policies of the server for processing C1, C2, C3 and C4 are as follows:
c1 (higher priority, bandwidth ratio 0.4,);
c2 (higher priority, bandwidth ratio 0.3,);
c3 (priority low, bandwidth ratio 0.5,);
c4 (priority low, bandwidth ratio 0.5).
Allocation of bandwidth
1) C1 and C2 are allocated for the first time, C1 occupies 0.4 of the total bandwidth, C2 occupies 0.3 of the total bandwidth, idle 1-0.4-0.3=0.3 is allocated for the second time by C3 and C4, and each occupies 0.3×0.5=0.15 of the total bandwidth;
2) QoS bandwidth processing policies for C1, C2, C3, and C4 are 8:6:3:3.
deployment of configuration files: by developing an environment resource viewing tool, nfs.dat is loaded to 3 physical nodes under A: \.
(3) Application effects
a. After the integrated modularized avionics platform is started, a network file system in 5 nodes reads the current node ID, analyzes a configuration file with the path of A\dfs.dat, establishes network topology among 5 nodes, completes initialization, and opens a server monitoring printing module.
C1, C2, C3 and C4, without intermittent access to the server S, the server monitors the printing modules according to C1, C2, C1, C3, C4, C3, C1, C2, C1, C4, C3, C4, i.e. C1, C2, C3 and C4 according to 8:6:3:3 is processing the request.
By the allocation of the priority and the allocation of the bandwidth thereof, the certainty of sharing access of multiple clients when using the file server is ensured.
Secondly, a system for storing standard network files is provided, which is suitable for data interaction between a server and a plurality of clients, and storage nodes of the clients are shared to obtain node IDs of all the clients, and the system comprises:
the distribution module is used for sequencing all the client nodes according to preset priority parameters;
and the calculation module is used for acquiring the working state of the server in real time when the server acquires the standard network file, judging whether the current low-priority client interacts with the server data or not, if so, not interrupting until the data interaction is completed, and if not, sequencing the priorities of all the client nodes, and carrying out data interaction with the corresponding client by the server according to the priority order.
The computing module is further configured to perform a first ranking table on priorities of nodes of all clients to obtain a node of a current newly added request client, determine whether the server performs data interaction with other clients, if yes, do not perform interruption until the data interaction is completed, and perform priority ranking on the first ranking table and the node of the client that obtains the latest request to generate a second ranking table, if no, determine whether to perform data interaction with the server according to the priorities of the node of the current newly added request client.
As a specific implementation manner provided in the present application, the allocation module is further configured to obtain a bandwidth of each client and a total bandwidth of the server;
the calculation module is further configured to determine a bandwidth ratio of each client, determine whether a sum of bandwidths of all clients with highest priority is greater than a total bandwidth, if so, allocate the total bandwidth according to a first preset bandwidth, where the first preset bandwidth is a total bandwidth/a number of all clients with highest priority, if not, allocate the bandwidths of the clients with low priority evenly according to a residual bandwidth, where the residual bandwidth is a difference between the total bandwidth and the bandwidth of the client with highest priority.
The product provided by the invention is described in detail above. The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the core concepts of the invention. It should be noted that it will be apparent to those skilled in the art that several improvements and modifications can be made to the invention without departing from the inventive concept, and these improvements and modifications fall within the scope of the appended claims.

Claims (2)

1. A method of storing standard network files, suitable for data interaction between a server and a plurality of clients, wherein storage nodes of the plurality of clients are shared to obtain node IDs of all clients, the method comprising:
presetting a priority parameter, and sequencing all client nodes according to the priority parameter;
when the server acquires the standard network file, the working state of the server is acquired in real time, and is judged,
whether the current low-priority client interacts with the server data or not, if so, the data interaction is not interrupted until the data interaction is completed, if not, the priorities of all the client nodes are ordered, and the server interacts with the corresponding client according to the priority order;
the method comprises the steps that a first ordering table is conducted on the priorities of nodes of all clients, the node of a current newly added request client is obtained, whether a server performs data interaction with other clients or not is judged, if yes, interruption is not conducted until the data interaction is completed, the first ordering table and the node of the client obtaining the latest request are conducted on the priorities, a second ordering table is generated, and if no, whether the server performs data interaction with the server is determined according to the priorities of the nodes of the current newly added request client;
obtaining the bandwidth of each client, obtaining the total bandwidth of the server, determining the bandwidth ratio of each client, judging whether the sum of the bandwidths of all the clients with the highest priority is larger than the total bandwidth, if so, distributing according to a first preset bandwidth, wherein the first preset bandwidth is the total bandwidth/the number of all the clients with the highest priority, if not, distributing the bandwidths of the clients with low priority evenly according to the residual bandwidth, and the residual bandwidth is the difference value between the total bandwidth and the client with the highest priority.
2. A system for storing standard network files adapted for data interaction between a server and a plurality of clients, wherein storage nodes of the plurality of clients are shared to obtain node IDs of all clients, the system comprising:
the distribution module is used for sequencing all the client nodes according to preset priority parameters and acquiring the bandwidth of each client and the total bandwidth of the server;
the computing module is used for acquiring the working state of the server in real time when the server acquires the standard network file, judging whether the current low-priority client interacts with the server data or not, if so, not interrupting until the data interaction is completed, if not, sequencing the priorities of all the client nodes, and carrying out data interaction with the corresponding client according to the priority sequence by the server;
the method comprises the steps that a first ordering table is conducted on the priorities of nodes of all clients, the node of a current newly added request client is obtained, whether a server performs data interaction with other clients or not is judged, if yes, interruption is not conducted until the data interaction is completed, the first ordering table and the node of the client obtaining the latest request are conducted on the priorities, a second ordering table is generated, and if no, whether the server performs data interaction with the server is determined according to the priorities of the nodes of the current newly added request client;
and determining the bandwidth ratio of each client, judging whether the sum of the bandwidths of all the clients with the highest priority is larger than the total bandwidth, if so, distributing according to a first preset bandwidth, wherein the first preset bandwidth is the total bandwidth/the number of all the clients with the highest priority, if not, the bandwidths of the clients with low priority are distributed evenly according to the residual bandwidth, and the residual bandwidth is the difference value between the total bandwidth and the bandwidth of the client with the highest priority.
CN202111633848.4A 2021-12-29 2021-12-29 Method and system for storing standard network file Active CN114531402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111633848.4A CN114531402B (en) 2021-12-29 2021-12-29 Method and system for storing standard network file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111633848.4A CN114531402B (en) 2021-12-29 2021-12-29 Method and system for storing standard network file

Publications (2)

Publication Number Publication Date
CN114531402A CN114531402A (en) 2022-05-24
CN114531402B true CN114531402B (en) 2024-01-23

Family

ID=81620317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111633848.4A Active CN114531402B (en) 2021-12-29 2021-12-29 Method and system for storing standard network file

Country Status (1)

Country Link
CN (1) CN114531402B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532873A (en) * 2013-11-08 2014-01-22 北京邮电大学 Flow control policy applied to distributed file system
CN108234542A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of airborne file network implementation method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532873A (en) * 2013-11-08 2014-01-22 北京邮电大学 Flow control policy applied to distributed file system
CN108234542A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of airborne file network implementation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于ARINC653标准的网络文件系统设计;王宁等;信息通信(第5期);第125-126页 *

Also Published As

Publication number Publication date
CN114531402A (en) 2022-05-24

Similar Documents

Publication Publication Date Title
JP7060724B2 (en) Task scheduling methods, resource sharing usage, schedulers, computer-readable storage media and equipment
US6067557A (en) Method and system for allocating CPU bandwidth by prioritizing competing processes
US8149846B2 (en) Data processing system and method
US7627618B2 (en) System for managing data collection processes
US6647419B1 (en) System and method for allocating server output bandwidth
US20230142539A1 (en) Methods and apparatus to schedule service requests in a network computing system using hardware queue managers
EP2702730B1 (en) Effective circuits in packet-switched networks
US9270527B2 (en) Methods, systems, and computer readable media for enabling real-time guarantees in publish-subscribe middleware using dynamically reconfigurable networks
WO2011144093A2 (en) Method and device for scheduling queue
CN113938435B (en) Data transmission method, device, electronic equipment, storage medium and program product
US10075391B2 (en) Flexible deterministic binary scheduler
US9363199B1 (en) Bandwidth management for data services operating on a local network
WO2019029704A1 (en) Network object management method and apparatus therefor
CN113364888B (en) Service scheduling method, system, electronic device and computer readable storage medium
WO2022027331A1 (en) Bandwidth management method and apparatus, computer storage medium, and chip
CN114531402B (en) Method and system for storing standard network file
CN113726690A (en) Method and system for uploading protocol message, electronic equipment and storage medium
US7086059B2 (en) Throttling queue
CN114902777A (en) Scheduling in cloud radio access networks
CN113760549B (en) Pod deployment method and device
US20230412522A1 (en) Control apparatus, resource allocation method and program
CN117056064A (en) Resource allocation method, device, server, storage medium and program product
Sha et al. Analysis of dual-link networks for real-time applications
CN117520252B (en) Communication control method, system-level chip, electronic equipment and storage medium
CN115242727B (en) User request processing method, device, equipment and medium

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