CN109600442A - A kind of acquisition methods of test result, device, medium and equipment - Google Patents

A kind of acquisition methods of test result, device, medium and equipment Download PDF

Info

Publication number
CN109600442A
CN109600442A CN201811534340.7A CN201811534340A CN109600442A CN 109600442 A CN109600442 A CN 109600442A CN 201811534340 A CN201811534340 A CN 201811534340A CN 109600442 A CN109600442 A CN 109600442A
Authority
CN
China
Prior art keywords
nas
test result
test equipment
target
equipment
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
CN201811534340.7A
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 CN201811534340.7A priority Critical patent/CN109600442A/en
Publication of CN109600442A publication Critical patent/CN109600442A/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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

This application discloses a kind of acquisition methods of test result, comprising: stores the test result of target test equipment to NAS;Test result is obtained by NAS.As it can be seen that being to store the test result of target test equipment to NAS first in this application, then, staff can get the test result of target test equipment by NAS.In compared to the prior art, staff is needed to be gone for the test result in copy targeting test equipment manually, the test result in target test equipment is obtained by NAS, the tedious steps of the test result in copy targeting test equipment can be removed manually to avoid staff, consumption of the staff on time and energy is thereby reduced, to improve the acquisition efficiency of test result.Correspondingly, acquisition device, medium and the equipment of a kind of test result disclosed in the present application, equally have above-mentioned beneficial effect.

Description

A kind of acquisition methods of test result, device, medium and equipment
Technical field
The present invention relates to data test technical field, in particular to a kind of acquisition methods of test result, device, medium and Equipment.
Background technique
With the continuous development of science and technology, test equipment using more and more extensive.In using to test equipment Cheng Zhong, there is security risk in test equipment in order to prevent, is generally not allowed external storage medium directly in test equipment Test data is copied.
It is that staff goes scene copy test equipment manually in the prior art to solve this technical problem In test result, still, such method consumes staff's a large amount of time and energy, has seriously affected test result Obtain efficiency.It can be seen that how to provide a kind of acquisition methods of better test result, come reduce time of staff with Energy consumption, is those skilled in the art's urgent problem to be solved to improve the acquisition efficiency of test result.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of acquisition methods of test result, device, medium and equipment, To improve the acquisition efficiency of test result.Its concrete scheme is as follows:
A kind of acquisition methods of test result, comprising:
The test result of target test equipment is stored to NAS;
The test result is obtained by the NAS.
Preferably, external memory is connected on the NAS.
It is preferably, described to store the test result of target test equipment to the process of NAS, comprising:
Judge whether the IP address of the target test equipment can be by the identification of the first controller of the NAS;
If so, storing the test result to the NAS.
Preferably, the process that the test result is obtained by the NAS, comprising:
The test result is obtained by the second controller of the NAS.
Preferably, the process that the test result is obtained by the NAS, comprising:
The NAS is accessed using the third party device with networking function, and obtains the test result from the NAS.
It is preferably, described to store the test result of target test equipment to the process of NAS, further includes:
The running log of the target test equipment is obtained by the NAS, and by described in running log judgement Whether target test equipment breaks down.
Preferably, the process for judging whether the target test equipment breaks down by the running log, packet It includes:
Judge with the presence or absence of preset keyword in the running log, to judge whether the target test equipment event occurs Barrier.
Correspondingly, the invention also discloses a kind of acquisition device of test result, comprising:
As a result memory module, for storing the test result of target test equipment to NAS;
As a result module is obtained, for obtaining the test result by the NAS.
Correspondingly, the invention also discloses a kind of computer readable storage medium, on the computer readable storage medium It is stored with computer program, the computer program realizes the acquisition side of test result as previously disclosed when being executed by processor The step of method.
Correspondingly, the invention also discloses a kind of acquisition equipment of test result, comprising:
Memory, for storing computer program;
Processor realizes the step of the acquisition methods of test result as previously disclosed when for executing the computer program Suddenly.
As it can be seen that be to store the test result of target test equipment to NAS first in the present invention, then, work Personnel can get the test result of target test equipment by NAS.In compared to the prior art, staff is needed It goes for the test result in live copy targeting test equipment, in the present invention, is set by NAS to obtain target detection manually Test result in standby, can go manually the cumbersome step of the test result in live copy targeting test equipment to avoid staff Suddenly, consumption of the staff on time and energy is thereby reduced, to improve the acquisition efficiency of test result.Accordingly , a kind of acquisition device of test result, medium and equipment disclosed by the invention equally have above-mentioned beneficial effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the acquisition methods of test result provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the acquisition methods of another test result provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of the acquisition device of test result provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of the acquisition equipment of test result provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of acquisition methods of test result, as shown in Figure 1, this method comprises:
Step S11: the test result of target test equipment is stored to NAS;
Step S12: test result is obtained by NAS.
It should be noted that NAS (Network Attached Storage, network attached storage) is that one kind is specifically used to The storage server of storing data is provided with memory device and embedded systems software in NAS, using NAS can provide across The sharing functionality of platform file.
In order to avoid staff needs the tedious steps of the test result in manual copy target test equipment, in this reality It applies in example, is to store the test result of target test equipment to NAS first, then, target detection is obtained by NAS and is set Standby test result.It in other words, in the present embodiment, is after target test equipment test, by target test equipment Test result upload storage into NAS, so, be equivalent to be by the data stored in target test equipment duplication copy In shellfish to NAS, and NAS be it is a kind of cross-platform can provide the storage server of sharing functionality, so, staff can To get the test result in target test equipment by NAS.
It should be noted that in the present embodiment, the experiment test that target test equipment can be Scientific Research Activities unit is set Test equipment that is standby, being also possible in enterprise is not especially limited herein.
As it can be seen that being to store the test result of target test equipment to NAS first in the present embodiment, then, lead to NAS is crossed to obtain test result.In compared to the prior art, staff is needed to be gone in live copy targeting test equipment manually Test result for, in the present embodiment, the test result in target test equipment is obtained by NAS, can be to avoid work The tedious steps for making the test result that personnel are gone manually in copy targeting test equipment, thereby reduce staff the time with Consumption on energy, and then improve the acquisition efficiency of test result.
Based on the above embodiment, the present embodiment is further described and optimizes to technical solution, specifically, connecting on NAS It is connected to external memory.
It is understood that in certain practical application scenes, if the test result quantity of target test equipment is huge Greatly, great storage burden thus can be brought to NAS, it, in the present embodiment, can also be in order to increase the memory space of NAS External memory is connected on NAS, thus increases the memory space of NAS, so that NAS can store more target test equipments Test result.
In the present embodiment, external memory can be hard disk, be also possible to Dropbox, can also be USB flash disk or CD, this Place, is not construed as limiting the concrete type of external memory, as long as can reach practical application purpose.
Based on the above embodiment, the present embodiment is further described and optimizes to technical solution, specifically, above-mentioned steps S11: the test result of target test equipment is stored to the process of NAS, comprising:
Judge whether the IP address of target test equipment can be by the identification of the first controller of NAS;
If so, storing test result to NAS.
It should be noted that in practical applications, in order to guarantee the safety and reliability of NAS storage test result, leading to Can often be arranged in NAS the test result for being used to identify in extraneous target test equipment whether can upload in NAS the One controller.In other words, the first controller in NAS can judge mesh by identifying the IP address of each target test equipment Mark whether test equipment is legal test equipment.
Specifically, if the IP address of target test equipment can illustrate target by the identification of the first controller of NAS Test equipment is legal test equipment, at this point, can store the test result of target test equipment to NAS;Such as The IP address of fruit target test equipment can not illustrate that target test equipment is illegal by the identification of the first controller of NAS Test equipment, at this time in order to guarantee the safeties of data in NAS, NAS can refuse to store the test of target test equipment As a result.
As it can be seen that NAS identifies the IP address of target test equipment, and decided whether to according to the result of identification by In the test result storage to NAS of target test equipment, it may further ensure that by this method and store test result in NAS Safety.
Based on the above embodiment, the present embodiment is further described and optimizes to technical solution, specifically, above-mentioned steps S12: the process of test result is obtained by NAS, comprising:
Test result is obtained by the second controller of NAS.
In practical application, in addition to that setting can be used to identify whether extraneous file destination can upload in NAS Except the first controller into NAS, the second controller that test result can be obtained from NAS can be also set in NAS, That is, can only obtain target by the second controller of NAS if staff wants to obtain the test result in NAS The test result of test equipment, and the test result of target test equipment cannot be obtained from NAS other positions.
Obviously, the first controller and second controller of different function logic are executed by being arranged in NAS, so that The module that NAS executes Different Logic function is mutually indepedent, so, can not only guarantee test result in transmission process Whole efficiency, furthermore, it is also possible to guarantee that staff obtains the reliability of test result.Further, it is also possible to according to the actual situation Needs, expansion increase is carried out to the quantity of controller in NAS, the overall performance of system is further increased with this.
Based on the above embodiment, the present embodiment is further described and optimizes to technical solution, specifically, above-mentioned steps S12: the process of test result is obtained by NAS, comprising:
NAS is accessed using the third party device with network savvy, and obtains test result from NAS.
In practical application scene, staff can also be obtained by the third party device with network savvy The test result of target test equipment in NAS, that is, logging in NAS by the third party device with network savvy first, so Afterwards, the test result of target test equipment is obtained by NAS.In the present embodiment, with the third party device of network savvy It can be mobile phone, be also possible to plate, can also be other background servers with network savvy, do not limit specifically herein It is fixed.
As it can be seen that accessing NAS by the third party device with network savvy, and test result is obtained from NAS, not only The means for obtaining test result can be made more flexible, various, moreover, also having adapted to the demand of complex application context.
Based on the above embodiment, the present embodiment is further described and optimizes to technical solution, as shown in Fig. 2, specifically , above-mentioned steps S12: the test result of target test equipment is stored to the process of NAS, further includes:
Step S13: the running log of target test equipment is obtained by NAS, and target detection is judged by running log Whether equipment breaks down.
It is understood that the particularity of the working environment due to target test equipment, will not usually be arranged test private network Target test equipment is managed concentratedly, if target test equipment breaks down, staff can not be at the first time Know the operation result of target test equipment in time, also, can not also reach the infield of target test equipment in time to mesh Mark test equipment repairs, at this point, will affect the normal use of target test equipment in the follow-up process.
In the present embodiment, in order to avoid the generation of this case, be the test result of target test equipment is stored to After in NAS, pass through the running log that NAS obtains target test equipment, alternatively it is conceivable to, when having got target detection After the running log of equipment, it is equivalent to get design parameter of the target test equipment in actual moving process, that , according to the design parameter of target test equipment in the process of running it may determine that whether target test equipment event occurs out Barrier.
Obviously, through this embodiment in method, staff can be made to know whether target test equipment is sent out in time Raw failure, if target test equipment breaks down, staff can be in the peace of first time arrival target test equipment Dress place repairs target test equipment, thereby ensures that target test equipment safety in the process of running and reliable Property.
Specifically, above-mentioned steps: judging the process whether target test equipment breaks down by running log, comprising:
Judge with the presence or absence of preset keyword in running log, to judge whether target test equipment breaks down.
It is understood that not only resulting in the voltage value of target test equipment if target test equipment breaks down It can be abnormal with current value, exception occurs in the temperature for also resulting in target test equipment, or other exception informations occurs. So in the present embodiment, in order to improve the speed for judging whether target test equipment breaks down, can also be transported by judgement Whether preset keyword is occurred in row log to judge whether target test equipment breaks down.Herein, preset keyword can be with Be: the keywords such as abnormal, excessively high, too low, failure, the present embodiment are not especially limited the form of expression of preset keyword, only If can achieve the purpose that determine whether target test equipment breaks down.
Obviously, by judging to judge whether target test equipment event occurs with the presence or absence of preset keyword in running log Barrier, not only can be improved the speed for judging whether target test equipment breaks down, furthermore, it is also possible to improve the work of staff Make efficiency.
Disclosure of that based on the above embodiment is carried out specifically by a practical application scene embodiment herein It is bright.
In school either R&D institution, the online booking function of experiment test equipment has been substantially carried out, in order to Experiment test equipment is prevented by the infringement of extraneous storage medium, student is not allowed to copy the test result for testing test equipment In the USB flash disk carried to student oneself or other storage equipment, at this time, it may be necessary to which staff goes copy experiment test equipment manually In test result, still, this wastes staff's a large amount of time and energy.It, can using the method disclosed in the present application Storing the test result tested in test equipment into NAS, so, student has the of network savvy by calling Three method, apparatus can get the test result of experiment test equipment from NAS.
Moreover, staff can also by NAS real time inspection to experiment test equipment running log, meanwhile, according to Running log determines the person liable that experiment test equipment breaks down.In addition, may be used also in school either R&D institution With by the data results long-term preservation such as paper of student in NAS, so that school and R&D institution can be to the papers of student Duplicate checking, verification are carried out, to provide theory support for delivering for student research program paper.It can be seen that institute through the foregoing embodiment Disclosed method can not only reduce consumption of the staff on time and energy, furthermore, it is also possible to guarantee test result Obtain efficiency.
Correspondingly, the embodiment of the invention also discloses a kind of acquisition device of test result, as shown in figure 3, the device packet It includes:
As a result memory module 21, for storing the test result of target test equipment to NAS;
As a result module 22 is obtained, for obtaining test result by NAS.
Correspondingly, the embodiment of the invention also discloses a kind of computer readable storage medium, computer readable storage medium On be stored with computer program, the acquisition methods of test result as previously disclosed are realized when computer program is executed by processor The step of.
Correspondingly, the embodiment of the invention also discloses a kind of acquisition equipment of test result, as shown in Figure 4, comprising:
Memory 31, for storing computer program;
Processor 32 realizes the acquisition methods of test result as previously disclosed when for executing the computer program Step.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part Explanation.
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 the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of acquisition methods of test result provided by the present invention, device, medium and equipment have been carried out in detail above It introduces, used herein a specific example illustrates the principle and implementation of the invention, the explanation of above embodiments It is merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of acquisition methods of test result characterized by comprising
The test result of target test equipment is stored to NAS;
The test result is obtained by the NAS.
2. acquisition methods according to claim 1, which is characterized in that be connected with external memory on the NAS.
3. acquisition methods according to claim 1, which is characterized in that the test result by target test equipment stores To the process of NAS, comprising:
Judge whether the IP address of the target test equipment can be by the identification of the first controller of the NAS;
If so, storing the test result to the NAS.
4. acquisition methods according to claim 1, which is characterized in that described to obtain the test result by the NAS Process, comprising:
The test result is obtained by the second controller of the NAS.
5. acquisition methods according to claim 1, which is characterized in that described to obtain the test result by the NAS Process, comprising:
The NAS is accessed using the third party device with networking function, and obtains the test result from the NAS.
6. acquisition methods according to any one of claims 1 to 5, which is characterized in that the survey by target test equipment Test result is stored to the process of NAS, further includes:
The running log of the target test equipment is obtained by the NAS, and the target is judged by the running log Whether test equipment breaks down.
7. acquisition methods according to claim 6, which is characterized in that described to judge the target by the running log The process whether test equipment breaks down, comprising:
Judge with the presence or absence of preset keyword in the running log, to judge whether the target test equipment breaks down.
8. a kind of acquisition device of test result characterized by comprising
As a result memory module, for storing the test result of target test equipment to NAS;
As a result module is obtained, for obtaining the test result by the NAS.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program realize the acquisition of test result as described in any one of claim 1 to 7 when being executed by processor The step of method.
10. a kind of acquisition equipment of test result characterized by comprising
Memory, for storing computer program;
Processor realizes obtaining for test result as described in any one of claim 1 to 7 when for executing the computer program The step of taking method.
CN201811534340.7A 2018-12-14 2018-12-14 A kind of acquisition methods of test result, device, medium and equipment Pending CN109600442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811534340.7A CN109600442A (en) 2018-12-14 2018-12-14 A kind of acquisition methods of test result, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811534340.7A CN109600442A (en) 2018-12-14 2018-12-14 A kind of acquisition methods of test result, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN109600442A true CN109600442A (en) 2019-04-09

Family

ID=65961913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811534340.7A Pending CN109600442A (en) 2018-12-14 2018-12-14 A kind of acquisition methods of test result, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN109600442A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102269800A (en) * 2010-05-07 2011-12-07 Pct国际股份有限公司 Battery testing method
CN103731462A (en) * 2012-10-16 2014-04-16 中兴通讯股份有限公司 Remote storage system and method of network attached storage (NAS) device
CN105738720A (en) * 2014-12-12 2016-07-06 大陆泰密克汽车***(上海)有限公司 Electronic product test method, device and system
US20160205008A1 (en) * 2015-01-10 2016-07-14 Cisco Technology, Inc. Diagnosis and throughput measurement of fibre channel ports in a storage area network environment
CN106161132A (en) * 2015-04-17 2016-11-23 伊姆西公司 For the apparatus and method that storage network is tested

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102269800A (en) * 2010-05-07 2011-12-07 Pct国际股份有限公司 Battery testing method
CN103731462A (en) * 2012-10-16 2014-04-16 中兴通讯股份有限公司 Remote storage system and method of network attached storage (NAS) device
CN105738720A (en) * 2014-12-12 2016-07-06 大陆泰密克汽车***(上海)有限公司 Electronic product test method, device and system
US20160205008A1 (en) * 2015-01-10 2016-07-14 Cisco Technology, Inc. Diagnosis and throughput measurement of fibre channel ports in a storage area network environment
CN106161132A (en) * 2015-04-17 2016-11-23 伊姆西公司 For the apparatus and method that storage network is tested

Similar Documents

Publication Publication Date Title
US10073652B2 (en) Performance optimized storage vaults in a dispersed storage network
US10491621B2 (en) Website security tracking across a network
CN108989355B (en) Vulnerability detection method and device
CN103001946B (en) Website security detection method and equipment
CN102970282B (en) website security detection system
CN107315668A (en) Distributed memory system data consistency automates quick determination method and device
CN104766011A (en) Sandbox detection alarming method and system based on main engine characteristic
US10579797B2 (en) Program integrity monitoring and contingency management system and method
CN101848092A (en) Malicious code detection method and device
CN103218276A (en) Method and system for multi-node incremental backup
CN110049028A (en) Monitor method, apparatus, computer equipment and the storage medium of domain control administrator
CN110427757A (en) A kind of Android leak detection method, system and relevant apparatus
US8762662B1 (en) Method and apparatus for application migration validation
CN105843916A (en) Sensitive data detection method and equipment based on file merging
CN104573486B (en) leak detection method and device
CN108696519B (en) Webpage tamper-proofing system and method based on shared storage
US10264011B2 (en) Persistent cross-site scripting vulnerability detection
Bristow et al. Simulation to aid disaster planning and mitigation: Tools and techniques for water distribution managers and emergency planners
CN109145536A (en) A kind of webpage integrity assurance and device
CN108933812A (en) Network storage server, cloud server and the method for providing service to user
CN109600442A (en) A kind of acquisition methods of test result, device, medium and equipment
KR101345867B1 (en) Malignant file detecting system and the method for cloud storage
CN103023651B (en) Be used for the method and apparatus of the access of monitoring movable equipment
CN105978908A (en) Non-real-time information website security protection method and apparatus
KR101279792B1 (en) System and method for detecting falsification of files

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409