[go: up one dir, main page]

CN108769245A - A kind of ISCSI server performance monitors method and system - Google Patents

A kind of ISCSI server performance monitors method and system Download PDF

Info

Publication number
CN108769245A
CN108769245A CN201810614039.0A CN201810614039A CN108769245A CN 108769245 A CN108769245 A CN 108769245A CN 201810614039 A CN201810614039 A CN 201810614039A CN 108769245 A CN108769245 A CN 108769245A
Authority
CN
China
Prior art keywords
data file
control module
main control
time point
iscsi
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
Application number
CN201810614039.0A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810614039.0A priority Critical patent/CN108769245A/en
Publication of CN108769245A publication Critical patent/CN108769245A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of ISCSI server performance monitors method and system, and main control module persistently receives the data file of third-party application client transmission, and records each receiving time point for receiving data file;When main control module is when the difference at the data file time point of rear reception and the data file time point formerly received is less than preset duration, main control module sends first data file to ISCSI servers and reads instruction;ISCSI servers read the first data file of main control module and execute.The data file that main control module first sends third-party application client in this way judges, just execution is read by ISCSI servers after meeting condition.But also the monitoring based on data stream transmitting may be implemented, ensure that ISCSI servers read the fluency executed.

Description

一种ISCSI服务器性能监控方法及系统A method and system for monitoring performance of an iSCSI server

技术领域technical field

本发明涉及服务器监控领域,尤其涉及一种ISCSI服务器性能监控方法及系统。The invention relates to the field of server monitoring, in particular to an ISCSI server performance monitoring method and system.

背景技术Background technique

随着目前移动通信技术的不断发展,移动终端或监控终端已经成为人们日常生活和工作中不可缺少的一部分,并且随着目前移动终端或监控终端日益普及,人们对于移动终端或监控终端的功能要求也越来越繁多。例如,为了适应人们的需求,快手、火山、抖音等短视频社交应用开始流行,还可以基于产品制作过程的监控,工艺过程的监控等等。这些应用,这一方面丰富了手机的功能业务,但是另一方面由于这些应用携带了大量图片、音频、视频等媒体文件,因此其对于网络系统的处理能力也提出了很高的要求。With the continuous development of mobile communication technology, mobile terminals or monitoring terminals have become an indispensable part of people's daily life and work, and with the increasing popularity of mobile terminals or monitoring terminals, people's functional requirements for mobile terminals or monitoring terminals Also more and more numerous. For example, in order to meet people's needs, short video social applications such as Kuaishou, Huoshan, and Douyin have become popular, and they can also be based on the monitoring of product production processes, process monitoring, and so on. These applications, on the one hand, enrich the functional services of mobile phones, but on the other hand, because these applications carry a large number of media files such as pictures, audio, and video, they also put forward high requirements for the processing capabilities of the network system.

目前的网络环境下,为处理此类应用,设备提供商一般会在ISCSI服务器提供磁盘阵列以海量存储这些应用所携带的媒体文件。并且为了提高处理效率,通常会配置管理节点,管理节点主要用来解析应用所提交的码流并且提取出数据文件,供ISCSI服务器使用,而后移动终端或监控终端基于ISCSI服务器的数据进行执行操作。然而,在实际应用过程中,数据不稳定,或者出现数据延时,将影响ISCSI服务器使用,导致基于数据监控,或数据文件的使用无法正常进行。In the current network environment, in order to process such applications, equipment providers generally provide disk arrays on the ISCSI server to mass store the media files carried by these applications. And in order to improve processing efficiency, a management node is usually configured. The management node is mainly used to analyze the code stream submitted by the application and extract the data file for use by the ISCSI server, and then the mobile terminal or monitoring terminal performs operations based on the data of the ISCSI server. However, in the actual application process, data instability or data delay will affect the use of ISCSI server, resulting in data-based monitoring or the use of data files cannot be performed normally.

发明内容Contents of the invention

为了克服上述现有技术中的不足,本发明提供一种ISCSI服务器性能监控方法,方法包括:In order to overcome above-mentioned deficiencies in the prior art, the present invention provides a kind of ISCSI server performance monitoring method, method comprises:

主控模块持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点;The main control module continuously receives the data files sent by the third-party application client, and records the receiving time point of each received data file;

当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差小于预设时长时,主控模块向ISCSI服务器发送在先数据文件读取指令;When the difference between the time point of the data file received by the main control module and the time point of the data file received earlier is less than the preset duration, the main control module sends the previous data file reading instruction to the ISCSI server;

ISCSI服务器读取主控模块的在先数据文件并执行。The ISCSI server reads and executes the previous data file of the main control module.

优选地,当主控模块在后接收的数据文件时间点均与在先接收的数据文件时间点之差小于预设时长时,主控模块持续向ISCSI服务器发送在先数据文件读取指令;Preferably, when the difference between the time point of the data file received by the main control module and the time point of the data file received earlier is less than the preset duration, the main control module continues to send the previous data file reading instruction to the ISCSI server;

ISCSI服务器持续读取主控模块的在先数据文件并执行,直至读取所有数据文件。The ISCSI server continues to read and execute the previous data files of the main control module until all data files are read.

优选地,当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差大于预设时长时,主控模块将接收的在先数据文件储存至缓存模块;Preferably, when the difference between the time point of the data file received by the main control module and the time point of the data file received earlier is greater than the preset duration, the main control module stores the received previous data file to the cache module;

主控模块再接收在先数据文件的在后数据文件储存至缓存模块;The main control module then receives the subsequent data files of the previous data files and stores them in the cache module;

主控模块判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;The main control module judges whether the difference between the time point of the data file received later and the time point of the data file received later is greater than the preset duration;

如小于预设时长,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;If it is less than the preset duration, the main control module sends the cache module data file reading instruction to the ISCSI server;

ISCSI服务器读取缓存模块内数据文件,之后再从主控模块读取在后接收的数据文件以及在后接收数据文件的后续文件。The ISCSI server reads the data file in the cache module, and then reads the subsequent received data file and subsequent files of the subsequently received data file from the main control module.

优选地,主控模块判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;Preferably, the main control module judges whether the difference between the time point of the data file received later and the time point of the data file received later is greater than the preset duration;

如大于预设时长,主控模块将在后接收的数据文件的其后面接收的数据文件储存至缓存模块,且按照存入缓存模块的时间先后次序排列数据文件;If it is greater than the preset duration, the main control module stores the data files received later than the data files received later in the cache module, and arranges the data files according to the time sequence stored in the cache module;

主控模块再判断持续接收的数据文件,并记录每个接收数据文件的接收时间点;判断两个相邻接收的数据文件时间点之差是否大于预设时长;The main control module then judges the data files received continuously, and records the receiving time point of each received data file; judges whether the difference between the time points of two adjacent received data files is greater than the preset duration;

如还大于预设时长,主控模块将数据文件储存至缓存模块;If it is still longer than the preset duration, the main control module stores the data file in the cache module;

当缓存模块内缓存至预设数量的数据文件时,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;When a preset number of data files are cached in the cache module, the main control module sends a cache module data file read instruction to the ISCSI server;

ISCSI服务器按照存储至缓存模块的时间次序读取缓存模块内数据文件;The ISCSI server reads the data files in the cache module according to the time sequence stored in the cache module;

ISCSI服务器读取完缓存模块内部的数据文件之后,再从主控模块读取接收的数据文件。After the ISCSI server reads the data files inside the cache module, it reads the received data files from the main control module.

优选地,主控模块持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点,当接收到预设数量的数据文件后,主控模块向ISCSI服务器发送在先数据文件读取指令;Preferably, the main control module continues to receive the data files sent by the third-party application client, and records the receiving time point of each received data file. After receiving the preset number of data files, the main control module sends the prior Data file read command;

ISCSI服务器读取主控模块的在先数据文件并执行。The ISCSI server reads and executes the previous data file of the main control module.

优选地,步骤主控模块持续接收第三方应用客户端发送的数据文件之前,还包括:Preferably, before the step main control module continues to receive the data file sent by the third-party application client, it also includes:

主控模块获取预设的过滤关键词;The main control module acquires preset filtering keywords;

主控模块持续接收第三方应用客户端发送的数据文件,并调取数据文件中的信息,判断是否存在预设的过滤关键词;The main control module continues to receive the data files sent by the third-party application client, and retrieves the information in the data files to determine whether there are preset filtering keywords;

当接收第三方应用客户端发送的数据文件存在预设的过滤关键词时,过滤掉所述数据文件,并向第三方应用客户端过滤信息。When receiving a data file sent by a third-party application client and having a preset filtering keyword, the data file is filtered out, and the information is filtered to the third-party application client.

一种ISCSI服务器性能监控系统,包括:主控模块和ISCSI服务器;A performance monitoring system for an iSCSI server, comprising: a main control module and an iSCSI server;

主控模块用于持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点;The main control module is used to continuously receive the data files sent by the third-party application client, and record the receiving time point of each received data file;

当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差小于预设时长时,主控模块向ISCSI服务器发送在先数据文件读取指令;When the difference between the time point of the data file received by the main control module and the time point of the data file received earlier is less than the preset duration, the main control module sends the previous data file reading instruction to the ISCSI server;

ISCSI服务器用于读取主控模块的在先数据文件并执行。The ISCSI server is used to read and execute the previous data files of the main control module.

优选地,当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差大于预设时长时,主控模块将接收的在先数据文件储存至缓存模块;Preferably, when the difference between the time point of the data file received by the main control module and the time point of the data file received earlier is greater than the preset duration, the main control module stores the received previous data file to the cache module;

主控模块还用于再接收在先数据文件的在后数据文件储存至缓存模块;The main control module is also used to receive the subsequent data files of the previous data files and store them in the cache module;

主控模块判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;The main control module judges whether the difference between the time point of the data file received later and the time point of the data file received later is greater than the preset duration;

如小于预设时长,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;If it is less than the preset duration, the main control module sends the cache module data file reading instruction to the ISCSI server;

ISCSI服务器还用于读取缓存模块内数据文件,之后再从主控模块读取在后接收的数据文件以及在后接收数据文件的后续文件;The ISCSI server is also used to read the data files in the cache module, and then read the data files received later and the follow-up files of the data files received later from the main control module;

主控模块还用于判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;The main control module is also used to determine whether the difference between the time point of the data file received later and the time point of the data file received later is greater than the preset duration;

如大于预设时长,主控模块将在后接收的数据文件的其后面接收的数据文件储存至缓存模块,且按照存入缓存模块的时间先后次序排列数据文件;If it is greater than the preset duration, the main control module stores the data files received later than the data files received later in the cache module, and arranges the data files according to the time sequence stored in the cache module;

主控模块再判断持续接收的数据文件,并记录每个接收数据文件的接收时间点;判断两个相邻接收的数据文件时间点之差是否大于预设时长;The main control module then judges the data files received continuously, and records the receiving time point of each received data file; judges whether the difference between the time points of two adjacent received data files is greater than the preset duration;

如还大于预设时长,主控模块将数据文件储存至缓存模块;If it is still longer than the preset duration, the main control module stores the data file in the cache module;

当缓存模块内缓存至预设数量的数据文件时,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;When a preset number of data files are cached in the cache module, the main control module sends a cache module data file read instruction to the ISCSI server;

ISCSI服务器还用于按照存储至缓存模块的时间次序读取缓存模块内数据文件;The ISCSI server is also used to read the data files in the cache module according to the time sequence stored in the cache module;

ISCSI服务器读取完缓存模块内部的数据文件之后,再从主控模块读取接收的数据文件。After the ISCSI server reads the data files inside the cache module, it reads the received data files from the main control module.

优选地,主控模块还用于持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点,当接收到预设数量的数据文件后,控模块向ISCSI服务器发送在先数据文件读取指令;Preferably, the main control module is also used to continuously receive the data files sent by the third-party application client, and record the receiving time point of each received data file. After receiving the preset number of data files, the control module sends the data file to the ISCSI server A previous data file read command;

ISCSI服务器还用于读取主控模块的在先数据文件并执行。The ISCSI server is also used to read and execute previous data files of the main control module.

优选地,主控模块还用于获取预设的过滤关键词;持续接收第三方应用客户端发送的数据文件之前,主控模块调取数据文件中的信息,判断是否存在预设的过滤关键词;Preferably, the main control module is also used to obtain preset filtering keywords; before continuing to receive the data files sent by the third-party application client, the main control module calls the information in the data files to determine whether there are preset filtering keywords ;

当接收第三方应用客户端发送的数据文件存在预设的过滤关键词时,过滤掉所述数据文件,并向第三方应用客户端过滤信息。When receiving a data file sent by a third-party application client and having a preset filtering keyword, the data file is filtered out, and the information is filtered to the third-party application client.

从以上技术方案可以看出,本发明具有以下优点:As can be seen from the above technical solutions, the present invention has the following advantages:

主控模块持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点;当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差小于预设时长时,主控模块向ISCSI服务器发送在先数据文件读取指令;ISCSI服务器读取主控模块的在先数据文件并执行。这样主控模块先对第三方应用客户端发送的数据文件进行判断,满足条件后才由ISCSI服务器读取执行。而且还可以实现基于数据流传输的监控,保证ISCSI服务器读取执行的流畅性。The main control module continues to receive the data files sent by the third-party application client, and records the receiving time point of each received data file; when the time point of the data file received later by the main control module When the duration is less than the preset time, the main control module sends an instruction to read the previous data file to the ISCSI server; the ISCSI server reads and executes the previous data file of the main control module. In this way, the main control module first judges the data file sent by the third-party application client, and the ISCSI server reads and executes it after the condition is satisfied. Moreover, monitoring based on data stream transmission can also be realized to ensure the smoothness of reading and execution of the ISCSI server.

数据文件时间点之差大于预设时长时,主控模块将接收的在先数据文件储存至缓存模块;达到缓存量保证ISCSI服务器读取执行时,再由ISCSI服务器读取执行,并且将数据文件的处理,设置一定的提前量保证ISCSI服务器读取执行的流畅性。When the time point difference of the data file is greater than the preset duration, the main control module stores the previously received data file to the cache module; when the cache volume is reached to ensure that the ISCSI server reads and executes it, the ISCSI server reads and executes it again, and saves the data file For processing, set a certain amount in advance to ensure the smoothness of reading and execution of the iSCSI server.

附图说明Description of drawings

为了更清楚地说明本发明的技术方案,下面将对描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solution of the present invention more clearly, the accompanying drawings that need to be used in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. As far as people are concerned, other drawings can also be obtained based on these drawings on the premise of not paying creative work.

图1为ISCSI服务器性能监控方法流程图;Fig. 1 is the flow chart of ISCSI server performance monitoring method;

图2为ISCSI服务器性能监控方法实施例流程图;Fig. 2 is the embodiment flow chart of ISCSI server performance monitoring method;

图3为ISCSI服务器性能监控系统示意图。FIG. 3 is a schematic diagram of an ISCSI server performance monitoring system.

具体实施方式Detailed ways

本发明提供一种ISCSI服务器性能监控方法,如图1所示,方法包括:The present invention provides a kind of ISCSI server performance monitoring method, as shown in Figure 1, method comprises:

S1,主控模块持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点;S1, the main control module continuously receives the data files sent by the third-party application client, and records the receiving time point of each received data file;

S2,当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差小于预设时长时,主控模块向ISCSI服务器发送在先数据文件读取指令;S2, when the difference between the time point of the data file received later by the main control module and the time point of the data file received earlier is less than the preset duration, the main control module sends the previous data file reading instruction to the ISCSI server;

S3,ISCSI服务器读取主控模块的在先数据文件并执行。S3, the ISCSI server reads and executes the previous data file of the main control module.

主控模块持续接收第三方应用客户端发送的数据文件可以包括:视频文件,音频文件,TXT文件,软件安装包文件以及待执行文件等等。The main control module continuously receives the data files sent by the third-party application client, which may include: video files, audio files, TXT files, software installation package files, files to be executed, and so on.

还可以包括基于工厂中一些监控的参数数据文件,产品制作过程的参数数据文件等等。It can also include parameter data files based on some monitoring in the factory, parameter data files of the product manufacturing process, and the like.

如果是一次性发送的数据文件,则做一次判断即完成数据文件的处理过程。如果需要多个数据文件的处理过程则当主控模块在后接收的数据文件时间点均与在先接收的数据文件时间点之差小于预设时长时,主控模块持续向ISCSI服务器发送在先数据文件读取指令;If it is a data file sent at one time, a judgment is made to complete the processing of the data file. If the processing process of multiple data files is required, when the difference between the time points of the data files received by the main control module and the time points of the data files received earlier is less than the preset duration, the main control module will continue to send the previous data files to the ISCSI server. Data file read command;

ISCSI服务器持续读取主控模块的在先数据文件并执行,直至读取所有数据文件。The ISCSI server continues to read and execute the previous data files of the main control module until all data files are read.

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将运用具体的实施例及附图,对本发明保护的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本专利中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本专利保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions protected by the present invention will be clearly and completely described below using specific embodiments and accompanying drawings. Obviously, the implementation described below Examples are only some embodiments of the present invention, but not all embodiments. Based on the embodiments in this patent, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this patent.

本实施例中,如图2所示,第三方应用客户端持续向主控模块发送数据文件时,In this embodiment, as shown in Figure 2, when the third-party application client continues to send data files to the main control module,

S11,主控模块持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点;S11, the main control module continuously receives the data files sent by the third-party application client, and records the receiving time point of each received data file;

S12,当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差小于预设时长时,主控模块向ISCSI服务器发送在先数据文件读取指令;S12, when the difference between the time point of the data file received later by the main control module and the time point of the data file received earlier is less than the preset duration, the main control module sends the previous data file reading instruction to the ISCSI server;

预设时长可以根据接收数据文件的使用情况来定。比如是视频数据,为了使ISCSI服务器能够流畅的执行,这里可以设置一定的预设时长,保证ISCSI服务器播放的视频正常,不出现卡顿。同样作为工艺过程参数监控,设备运行参数监控也同样道理。保证数据的连续性。The preset duration can be determined according to the usage of the received data file. For example, for video data, in order to make the iSCSI server run smoothly, a certain preset duration can be set here to ensure that the video played by the iSCSI server is normal and does not freeze. The same is true for the monitoring of process parameters and the monitoring of equipment operating parameters. Ensure data continuity.

S14,ISCSI服务器读取主控模块的在先数据文件并执行。S14, the iSCSI server reads and executes the previous data file of the main control module.

S13,当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差大于预设时长时,主控模块将接收的在先数据文件储存至缓存模块;为了保证ISCSI服务器执行数据文件的连续性。S13, when the difference between the time point of the data file received by the main control module and the time point of the data file received earlier is greater than the preset duration, the main control module stores the received data file in the cache module; in order to ensure that the ISCSI server Continuity of data files is enforced.

S15,主控模块再接收在先数据文件的在后数据文件储存至缓存模块;S15, the main control module receives the subsequent data files of the previous data files and stores them in the cache module;

S16,主控模块判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;S16, the main control module judges whether the difference between the time point of the data file received later and the time point of the data file received later is greater than the preset duration;

S17,如小于预设时长,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;S17, if it is less than the preset time length, the main control module sends the cache module data file reading instruction to the ISCSI server;

S19,ISCSI服务器读取缓存模块内数据文件,之后再从主控模块读取在后接收的数据文件以及在后接收数据文件的后续文件。S19. The ISCSI server reads the data file in the cache module, and then reads the subsequent received data file and subsequent files of the subsequently received data file from the main control module.

这样,ISCSI服务器读取缓存模块内数据文件之后,再从主控模块读取,保证了数据文件的接续。In this way, after the ISCSI server reads the data file in the cache module, it reads it from the main control module, which ensures the continuity of the data file.

本实施例中,S16,主控模块判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;In this embodiment, S16, the main control module determines whether the difference between the time point of the data file received later and the time point of the data file received later is greater than the preset duration;

S18,如大于预设时长,主控模块将在后接收的数据文件的其后面接收的数据文件储存至缓存模块,且按照存入缓存模块的时间先后次序排列数据文件;S18, if it is greater than the preset time length, the main control module stores the data files received later than the data files received later in the cache module, and arranges the data files according to the time sequence stored in the cache module;

如果ISCSI服务器读取缓存模块内数据文件之后,主控模块接收的两个相邻接收的数据文件时间点还大于预设时长,那样还会导致ISCSI服务器无法实现对数据文件处理的流畅性。If after the ISCSI server reads the data files in the cache module, the time point of two adjacent received data files received by the main control module is still longer than the preset duration, which will also cause the ISCSI server to fail to achieve smooth processing of the data files.

S20,主控模块再判断持续接收的数据文件,并记录每个接收数据文件的接收时间点;判断两个相邻接收的数据文件时间点之差是否大于预设时长;S20, the main control module judges the data files received continuously, and records the receiving time point of each received data file; judges whether the difference between the time points of two adjacent received data files is greater than the preset duration;

S21,如还大于预设时长,主控模块将数据文件储存至缓存模块;S21, if it is still greater than the preset duration, the main control module stores the data file in the cache module;

S22,当缓存模块内缓存至预设数量的数据文件时,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;S22. When a preset number of data files are cached in the cache module, the main control module sends a cache module data file reading instruction to the ISCSI server;

S23,ISCSI服务器按照存储至缓存模块的时间次序读取缓存模块内数据文件;S23, the ISCSI server reads the data files in the cache module according to the time sequence stored in the cache module;

S24,ISCSI服务器读取完缓存模块内部的数据文件之后,再从主控模块读取接收的数据文件。S24. After the ISCSI server reads the data file inside the cache module, it reads the received data file from the main control module.

缓存模块内缓存数据文件的数量可以根据ISCSI服务器的处理量,以及当前的数据文件来设置,这里不做限定。这样,ISCSI服务器按照存储至缓存模块的时间次序读取缓存模块内数据文件,保证了ISCSI服务器基于数据文件运行的流畅性,之后如果主控模块正常接收数据文件,则ISCSI服务器可以直接从主控模块读取数据文件,这样保证了流畅性,而且未影响用户的体验,也未影响数据处理过程。The number of cached data files in the cache module can be set according to the processing capacity of the ISCSI server and the current data files, which is not limited here. In this way, the ISCSI server reads the data files in the cache module according to the time sequence stored in the cache module, which ensures the smooth operation of the ISCSI server based on the data files. The module reads data files, which ensures fluency without affecting user experience or data processing.

本实施例中,主控模块持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点,当接收到预设数量的数据文件后,主控模块向ISCSI服务器发送在先数据文件读取指令;ISCSI服务器读取主控模块的在先数据文件并执行。In this embodiment, the main control module continues to receive the data files sent by the third-party application client, and records the receiving time point of each received data file. After receiving a preset number of data files, the main control module sends The previous data file reading instruction; the ISCSI server reads and executes the previous data file of the main control module.

为了进一步保证流畅性,主控模块持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点,当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差小于预设时长时,将数据文件暂存,在陆续接收第三方应用客户端发送的数据文件并进行判断,判断过程后进行暂存,当接收到预设数量的数据文件后,主控模块向ISCSI服务器发送在先数据文件读取指令;ISCSI服务器读取主控模块的在先数据文件并执行。In order to further ensure fluency, the main control module continues to receive the data files sent by the third-party application client, and records the receiving time point of each received data file. When the difference between the time points of the data files is less than the preset duration, the data files are temporarily stored, and the data files sent by the third-party application client are successively received and judged. After the judgment process, the temporary storage is performed. When the preset number of data files are received Afterwards, the main control module sends the previous data file reading instruction to the ISCSI server; the ISCSI server reads the previous data file of the main control module and executes it.

这样是一批一批的由ISCSI服务器读取数据文件,相当于提前预存一批数据文件,如果出现时间点之差大于预设时长时,这时ISCSI服务器还在读取之前暂存的数据文件,未对ISCSI服务器的数据处理造成影响。实现了提高数据处理的流畅性。This is a batch of data files read by the ISCSI server, which is equivalent to pre-storing a batch of data files in advance. If the time difference is greater than the preset time, the ISCSI server is still reading the previously temporarily stored data files. , without affecting the data processing of the iSCSI server. The fluency of data processing has been improved.

本实施例中,步骤主控模块持续接收第三方应用客户端发送的数据文件之前,还包括:主控模块获取预设的过滤关键词;主控模块持续接收第三方应用客户端发送的数据文件,并调取数据文件中的信息,判断是否存在预设的过滤关键词;当接收第三方应用客户端发送的数据文件存在预设的过滤关键词时,过滤掉所述数据文件,并向第三方应用客户端过滤信息。In this embodiment, before the step main control module continues to receive the data file sent by the third-party application client, it also includes: the main control module obtains the preset filtering keywords; the main control module continues to receive the data file sent by the third-party application client , and retrieve the information in the data file to determine whether there is a preset filtering keyword; when receiving a data file sent by a third-party application client with a preset filtering keyword, the data file is filtered out and sent to the second The third-party application client filters information.

系统可以根据用户需要设置过滤关键词,过滤掉用户预设的数据文件。比如可以过滤掉广告,有风险的病毒文件,有木马程序的文件等等,或者基于当次监控不相干的文件等等,减少系统的数据处理量。The system can set filter keywords according to user needs to filter out user-preset data files. For example, it can filter out advertisements, risky virus files, files with Trojan horse programs, etc., or irrelevant files based on current monitoring, etc., to reduce the data processing capacity of the system.

本发明还提供一种ISCSI服务器性能监控系统,如图3所示,包括:主控模块和ISCSI服务器;The present invention also provides an ISCSI server performance monitoring system, as shown in Figure 3, comprising: a main control module and an ISCSI server;

主控模块用于持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点;The main control module is used to continuously receive the data files sent by the third-party application client, and record the receiving time point of each received data file;

当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差小于预设时长时,主控模块向ISCSI服务器发送在先数据文件读取指令;When the difference between the time point of the data file received by the main control module and the time point of the data file received earlier is less than the preset duration, the main control module sends the previous data file reading instruction to the ISCSI server;

ISCSI服务器用于读取主控模块的在先数据文件并执行。The ISCSI server is used to read and execute the previous data file of the main control module.

ISCSI服务器可以将读取的数据文件进行储存,比如储存至磁盘序列中。The ISCSI server can store the read data files, such as storing them in a disk sequence.

本发明的系统中,当主控模块在后接收的数据文件时间点与在先接收的数据文件时间点之差大于预设时长时,主控模块将接收的在先数据文件储存至缓存模块;In the system of the present invention, when the difference between the time point of the data file received later by the main control module and the time point of the data file received earlier is greater than the preset duration, the main control module stores the previously received data file in the cache module;

主控模块还用于再接收在先数据文件的在后数据文件储存至缓存模块;The main control module is also used to receive the subsequent data files of the previous data files and store them in the cache module;

主控模块判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;The main control module judges whether the difference between the time point of the data file received later and the time point of the data file received later is greater than the preset duration;

如小于预设时长,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;If it is less than the preset duration, the main control module sends the cache module data file reading instruction to the ISCSI server;

ISCSI服务器还用于读取缓存模块内数据文件,之后再从主控模块读取在后接收的数据文件以及在后接收数据文件的后续文件;主控模块还用于判断在后接收的数据文件时间点与其后面接收的数据文件时间点之差是否大于预设时长;如大于预设时长,主控模块将在后接收的数据文件的其后面接收的数据文件储存至缓存模块,且按照存入缓存模块的时间先后次序排列数据文件;The ISCSI server is also used to read the data files in the cache module, and then read the data files received later and the follow-up files of the data files received later from the master control module; the master control module is also used to judge the data files received later Whether the difference between the time point and the time point of the data file received later is greater than the preset duration; if greater than the preset duration, the main control module stores the data file received behind the data file received later to the cache module, and according to the stored The time sequence of the cache module arranges the data files;

主控模块再判断持续接收的数据文件,并记录每个接收数据文件的接收时间点;判断两个相邻接收的数据文件时间点之差是否大于预设时长;如还大于预设时长,主控模块将数据文件储存至缓存模块;当缓存模块内缓存至预设数量的数据文件时,主控模块向ISCSI服务器发送缓存模块数据文件读取指令;ISCSI服务器还用于按照存储至缓存模块的时间次序读取缓存模块内数据文件;ISCSI服务器读取完缓存模块内部的数据文件之后,再从主控模块读取接收的数据文件。The main control module judges the data files received continuously again, and records the receiving time point of each received data file; judges whether the difference between the time points of two adjacent received data files is greater than the preset duration; if it is still greater than the preset duration, the main control module The control module stores the data files to the cache module; when the cache module caches a preset number of data files, the main control module sends the cache module data file reading instruction to the ISCSI server; The time sequence reads the data files in the cache module; after the ISCSI server reads the data files inside the cache module, it reads the received data files from the main control module.

本发明的系统中,主控模块还用于持续接收第三方应用客户端发送的数据文件,并记录每个接收数据文件的接收时间点,当接收到预设数量的数据文件后,控模块向ISCSI服务器发送在先数据文件读取指令;In the system of the present invention, the main control module is also used to continuously receive the data files sent by the third-party application client, and record the receiving time point of each received data file. After receiving the preset number of data files, the control module sends The ISCSI server sends the previous data file reading instruction;

ISCSI服务器还用于读取主控模块的在先数据文件并执行。The ISCSI server is also used to read and execute previous data files of the main control module.

本发明的系统中,主控模块还用于获取预设的过滤关键词;持续接收第三方应用客户端发送的数据文件之前,主控模块调取数据文件中的信息,判断是否存在预设的过滤关键词;当接收第三方应用客户端发送的数据文件存在预设的过滤关键词时,过滤掉所述数据文件,并向第三方应用客户端过滤信息。In the system of the present invention, the main control module is also used to obtain preset filtering keywords; before continuously receiving the data files sent by the third-party application client, the main control module calls the information in the data files to determine whether there are preset filtering keywords. Filter keywords; when receiving a preset filter keyword in a data file sent by a third-party application client, filter out the data file, and filter information to the third-party application client.

系统可以根据用户需要设置过滤关键词,过滤掉用户预设的数据文件。比如可以过滤掉广告,有风险的病毒文件,有木马程序的文件等等,或者基于当次监控不相干的文件等等,减少系统的数据处理量。The system can set filter keywords according to user needs to filter out user-preset data files. For example, it can filter out advertisements, risky virus files, files with Trojan horse programs, etc., or irrelevant files based on current monitoring, etc., to reduce the data processing capacity of the system.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. a kind of ISCSI server performance monitors method, which is characterized in that method includes:
Main control module persistently receives the data file of third-party application client transmission, and records connecing for each reception data file Receive time point;
When main control module after reception data file time point and the data file time point formerly received difference be less than it is default When duration, main control module sends first data file to ISCSI servers and reads instruction;
ISCSI servers read the first data file of main control module and execute.
2. ISCSI server performance monitors system according to claim 1, which is characterized in that
When main control module after reception the difference at data file time point that and formerly receives of data file time point be less than it is pre- If when duration, main control module continues to send first data file reading instruction to ISCSI servers;
ISCSI servers persistently read the first data file of main control module and execute, until reading all data files.
3. ISCSI server performance monitors system according to claim 1, which is characterized in that
When main control module after reception data file time point and the data file time point formerly received difference be more than it is default When duration, main control module stores the first data file of reception to cache module;
Main control module receives being stored to cache module in rear data file for first data file again;
Master control module judges rear reception data file time point and the data file time point received behind difference whether More than preset duration;
Such as less than preset duration, main control module send cache module data file to ISCSI servers and read instruction;
ISCSI servers read data file in cache module, read the data file in rear reception from main control module again later And in the rear subsequent file for receiving data file.
4. ISCSI server performance monitors system according to claim 3, which is characterized in that
Master control module judges rear reception data file time point and the data file time point received behind difference whether More than preset duration;
Such as larger than preset duration, main control module will be stored in the data file of the data file of rear reception received behind to slow Storing module, and arrange data file according to the time-series of deposit cache module;
Main control module judges to continue the data file of reception again, and records each receiving time point for receiving data file;Judge Whether the difference at the data file time point of two adjacent receptions is more than preset duration;
It is such as also greater than preset duration, main control module stores data file to cache module;
When being cached in cache module to the data file of preset quantity, main control module sends cache module to ISCSI servers Data file reads instruction;
ISCSI servers read data file in cache module according to the chronological order stored to cache module;
ISCSI servers have read the data file inside cache module and then have read the data text received from main control module Part.
5. ISCSI server performance monitors system according to claim 1, which is characterized in that
Main control module persistently receives the data file of third-party application client transmission, and records connecing for each reception data file Time point is received, after receiving the data file of preset quantity, main control module sends first data file to ISCSI servers and reads Instruction fetch;
ISCSI servers read the first data file of main control module and execute.
6. ISCSI server performance monitors system according to claim 1 or 2, which is characterized in that
Before step main control module persistently receives the data file of third-party application client transmission, further include:
Main control module obtains preset filtering keys word;
Main control module persistently receives the data file of third-party application client transmission, and the information in called data file, sentences It is disconnected to whether there is preset filtering keys word;
When receive third-party application client send data file there are when preset filtering keys word, filter out the data File, and to third-party application Filter of client information.
7. a kind of ISCSI server performance monitors system, which is characterized in that including:Main control module and ISCSI servers;
The data file that main control module is sent for persistently receiving third-party application client, and record and each receive data file Receiving time point;
When main control module after reception data file time point and the data file time point formerly received difference be less than it is default When duration, main control module sends first data file to ISCSI servers and reads instruction;
ISCSI servers are used to read the first data file of main control module and execute.
8. ISCSI server performance monitors system according to claim 7, which is characterized in that
When main control module after reception data file time point and the data file time point formerly received difference be more than it is default When duration, main control module stores the first data file of reception to cache module;
Main control module is additionally operable to receive storing to cache module in rear data file for first data file again;
Master control module judges rear reception data file time point and the data file time point received behind difference whether More than preset duration;
Such as less than preset duration, main control module send cache module data file to ISCSI servers and read instruction;
ISCSI servers are additionally operable to read data file in cache module, read the number in rear reception from main control module again later According to file and in the rear subsequent file for receiving data file;
Main control module be additionally operable to judge data file time point in rear reception and data file time point for receiving behind it Whether difference is more than preset duration;
Such as larger than preset duration, main control module will be stored in the data file of the data file of rear reception received behind to slow Storing module, and arrange data file according to the time-series of deposit cache module;
Main control module judges to continue the data file of reception again, and records each receiving time point for receiving data file;Judge Whether the difference at the data file time point of two adjacent receptions is more than preset duration;
It is such as also greater than preset duration, main control module stores data file to cache module;
When being cached in cache module to the data file of preset quantity, main control module sends cache module to ISCSI servers Data file reads instruction;
ISCSI servers are additionally operable to read data file in cache module according to the chronological order stored to cache module;
ISCSI servers have read the data file inside cache module and then have read the data text received from main control module Part.
9. ISCSI server performance monitors system according to claim 7, which is characterized in that
Main control module is additionally operable to continue to receive the data file that third-party application client is sent, and records and each receive data text The receiving time point of part, after receiving the data file of preset quantity, control module sends first data text to ISCSI servers Part reads instruction;
ISCSI servers are additionally operable to read the first data file of main control module and execute.
10. ISCSI server performance monitors system according to claim 7, which is characterized in that
Main control module is additionally operable to obtain preset filtering keys word;Persistently receive the data file that third-party application client is sent Before, the information in main control module called data file judges whether preset filtering keys word;
When receive third-party application client send data file there are when preset filtering keys word, filter out the data File, and to third-party application Filter of client information.
CN201810614039.0A 2018-06-14 2018-06-14 A kind of ISCSI server performance monitors method and system Pending CN108769245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810614039.0A CN108769245A (en) 2018-06-14 2018-06-14 A kind of ISCSI server performance monitors method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810614039.0A CN108769245A (en) 2018-06-14 2018-06-14 A kind of ISCSI server performance monitors method and system

Publications (1)

Publication Number Publication Date
CN108769245A true CN108769245A (en) 2018-11-06

Family

ID=64021681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810614039.0A Pending CN108769245A (en) 2018-06-14 2018-06-14 A kind of ISCSI server performance monitors method and system

Country Status (1)

Country Link
CN (1) CN108769245A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0789471A2 (en) * 1996-02-06 1997-08-13 Nippon Telegraph And Telephone Corporation Network data distribution system
CN106407307A (en) * 2016-08-31 2017-02-15 天津南大通用数据技术股份有限公司 Interaction method and interaction device for node data of distributed database
CN107342916A (en) * 2017-06-28 2017-11-10 广州信维电子科技股份有限公司 Monitoring method, device and the server of server info
CN108011845A (en) * 2016-10-28 2018-05-08 深圳市中兴微电子技术有限公司 A kind of method and apparatus for reducing time delay

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0789471A2 (en) * 1996-02-06 1997-08-13 Nippon Telegraph And Telephone Corporation Network data distribution system
CN106407307A (en) * 2016-08-31 2017-02-15 天津南大通用数据技术股份有限公司 Interaction method and interaction device for node data of distributed database
CN108011845A (en) * 2016-10-28 2018-05-08 深圳市中兴微电子技术有限公司 A kind of method and apparatus for reducing time delay
CN107342916A (en) * 2017-06-28 2017-11-10 广州信维电子科技股份有限公司 Monitoring method, device and the server of server info

Similar Documents

Publication Publication Date Title
US11245758B2 (en) System and method for automatic cloud-based full-data restore to mobile devices
CN110069714B (en) Video recommendation system
US7024491B1 (en) Remotely synchronizing a mobile terminal by adapting ordering and filtering synchronization rules based on a user's operation of the mobile terminal
CN102006368B (en) Streaming media audio file play method based on mobile terminal memory card cache technology
CN104679851B (en) Data deleting method and terminal
Peek et al. EnsemBlue: Integrating distributed storage and consumer electronics
CN104866366A (en) Application clearing method and application clearing device
CN110650164B (en) File uploading method and device, terminal and computer storage medium
WO2013097379A1 (en) Data backup method and device
TW201520896A (en) A method for operating a program and a device thereof
CN106569917B (en) Data backup method and mobile terminal
CN104853081A (en) Breakpoint filming method, device and mobile terminal
US20090327295A1 (en) Maintenance of exo-file system metadata on removable storage device
CN107801095A (en) A kind of video/audio decoding method and terminal device
CN108597546A (en) Method for determining background music of memory video and related equipment
CN109587232A (en) Document breakpoint transmission method based on iOS network
CN109766282B (en) Stuck detection method, stuck detection device and terminal equipment
CN115023699A (en) Malicious process detection method and device, electronic device and storage medium
CN102799609A (en) Data acquisition method based on data monitoring
CN110532294A (en) Ticket merging method, device, equipment and computer readable storage medium
EP3506599B1 (en) Method for synchronizing contact information, apparatus and medium
CN110798222B (en) Data compression method and device
CN112650755A (en) Data storage method, method for querying data, database and readable medium
CN115955332A (en) Abnormal traffic filtering method and device for authentication system and electronic equipment
CN114449052A (en) Data compression method and device, electronic equipment and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication