CN108768786A - A kind of device detection system, method, terminal and storage medium - Google Patents

A kind of device detection system, method, terminal and storage medium Download PDF

Info

Publication number
CN108768786A
CN108768786A CN201810614866.XA CN201810614866A CN108768786A CN 108768786 A CN108768786 A CN 108768786A CN 201810614866 A CN201810614866 A CN 201810614866A CN 108768786 A CN108768786 A CN 108768786A
Authority
CN
China
Prior art keywords
message
array
detection
tactful
module
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
CN201810614866.XA
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.)
Xiamen University of Technology
Original Assignee
Xiamen University of Technology
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 Xiamen University of Technology filed Critical Xiamen University of Technology
Priority to CN201810614866.XA priority Critical patent/CN108768786A/en
Publication of CN108768786A publication Critical patent/CN108768786A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The present invention discloses a kind of device detection system, method, terminal and storage medium, system:Message conversion module, for being registered to tested measurement equipment;Interface manager module is divided into parameter setting array, product ID array and tactful array for receiving detection instruction, and by detection instruction;Policy control library module for receiving tactful array to obtain control message, and is assembled into tactful message array and is sent to strategic control module;Strategic control module, for tactful message array and product ID array to be sent to tactful sending module;Tactful sending module is sent to message conversion module for carrying out message assembling;Message conversion module is sent to link block for message to be converted into binary system message;Link block receives the detection messages of return to be shown for binary system message to be sent to tested measurement equipment.The present invention can meet the testing requirements of batch, intelligence, quick visualization.

Description

A kind of device detection system, method, terminal and storage medium
Technical field
The present invention relates to intelligent measurement fields more particularly to a kind of device detection system, method, terminal and storage to be situated between Matter.
Background technology
With the continuous development of Internet of Things cause, embedded device is more and more applied in Internet of Things, in order to allow The problem of related embedded device can be quickly detected product in process of production improves the efficiency that producing line is examined, at present Have been developed for some relevant Product Measurement Softwares.
But present producing line inspection software, there are single detection product quantity is few, detection project is limited, and detection delay is tight Weight, cumbersome problem not easy to operate cannot meet batch, intelligence, visual testing requirements.
Invention content
In view of the above-mentioned problems, the purpose of the present invention is to provide a kind of device detection system, method, terminal and storages to be situated between Matter can reach batch, intelligence, visualization, quick no-delay testing requirements.
An embodiment of the present invention provides a kind of device detection systems, including:
Message conversion module, for being registered at least one tested measurement equipment being currently accessed, with each institute of determination State the channel of tested measurement equipment;
Interface manager module examines at least one tested measurement equipment based on what operation interface issued for receiving user The detection of survey instructs, and detection instruction is divided into parameter setting array, product ID array and tactful array;Wherein, The parameter setting array is sent to data judgment module, and the product ID array is sent to strategic control module, The strategy array is sent to policy control library module;
The policy control library module obtains and the plan for receiving the tactful array according to the tactful array The corresponding at least one control message of strategy slightly in array, and at least one control message is assembled into tactful message number Strategic control module is sent to after group;
The strategic control module, for the tactful message array to be sent to strategy with the product ID array Sending module;
The strategy sending module, for being carried out with the product ID array data according to the tactful message array Assembling, and assembled message is sent to message conversion module;
The message conversion module, is additionally operable to assembled message being converted into corresponding binary system message to be sent to connection Module;
The link block is detected for binary system message to be sent to tested measurement equipment accordingly, and receives phase The detection messages that the tested measurement equipment answered is returned according to the binary system message, and the detection messages are passed through into message modulus of conversion Block is sent to data judgment module;Wherein, the detection messages include that the tested measurement equipment is given birth to according to the binary system message At detection parameters;
The data judgment module, for being treated in the detection messages that detection device returns according to the parameter setting array The detection parameters detection parameters that are judged, and will determine that be sent to interface manager module and shown.
Preferably, the link block is based on TCP with the tested measurement equipment or udp protocol is attached.
Preferably, the policy control library module specifically includes:
Message search unit, for extract in the tactful array received each of include strategy detection function title, and It is scanned in policy control document, to obtain the control report of JSON formats corresponding with each detection function title of strategy Text;Wherein, the policy control document is used to store the control message of at least one JSON format, each control message includes compiling Collect the detection function title in heading;
Module units, the control message at least one JSON formats to acquisition assemble, generation strategy message Array is simultaneously sent to strategic control module.
Preferably, the policy control library module further includes:
Tactful writing unit, control message for receiving JSON formats input by user and with the JSON formats The corresponding detection function title of message is controlled, and the detection function title editor is write before the control heading of JSON formats Enter the policy control document.
The embodiment of the present invention additionally provides a kind of equipment detection method, including:
At least one tested measurement equipment being currently accessed is registered, to determine the letter of each tested measurement equipment Road;
The detection instruction being detected at least one tested measurement equipment that user is issued based on operation interface is received, and will The detection instruction is divided into parameter setting array, product ID array and tactful array;
At least one control message corresponding with the strategy in the tactful array is obtained according to the tactful array, and will At least one control message is assembled into tactful message array;
It is assembled with the product ID array data according to the tactful message array;
It assembled message is converted into corresponding binary system message is sent to tested measurement equipment accordingly being detected;
Receive the detection messages that corresponding tested measurement equipment returns;Wherein, the detection messages include that described be detected sets The standby detection parameters generated according to the binary system message;
The detection parameters treated according to the parameter setting array in the detection messages of detection device return are judged, are incited somebody to action The detection parameters judged are shown.
Preferably, it is based on TCP with the tested measurement equipment or udp protocol is attached.
Preferably, described that control message is obtained according to the detection array, and the control message is assembled into tactful report Literary array specifically includes:
Extract in the tactful array received each of include strategy detection function title, and in policy control document into Row search, to obtain the control message of JSON formats corresponding with each detection function title of strategy;Wherein, the strategy control Document processed is used to store the control message of at least one JSON format, each control message includes the detection work(edited in heading It can title;
The control message of at least one JSON formats of acquisition is assembled, generation strategy message array.
Preferably, further include:
Receive the control message of JSON formats input by user and inspection corresponding with the control message of JSON formats Brake title, and the detection function title editor is written to the policy control text before the control heading of JSON formats Shelves.
The embodiment of the present invention additionally provides a kind of equipment detection terminal, including processor, memory and is stored in described In memory and it is configured as the computer program executed by the processor, when the processor executes the computer program Realize such as above-mentioned equipment detection method.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, and the computer readable storage medium includes The computer program of storage, wherein control when the computer program is run and set where the computer readable storage medium It is standby to execute such as above-mentioned equipment detection method.
In said one embodiment, the relevant information for being detected measurement equipment is obtained by built-in message conversion module, is passed through The parameter setting array of setting compares the detection parameters of return automatically, realizes product automatic detection function, solves existing The a series of problems occurred during product testing.In addition, the present embodiment issuing and to embedded device due to detection instruction Acquisition of information realized based on message conversion module, therefore solve that single test product quantity is few, test equipment category is few asks Topic.Simultaneously because this system includes message conversion module, the relevant operation of host computer will be omitted, thus the present embodiment there is no Since the message congested problem for the generation that sends instructions under host computer, and then reduce the latency issue that detection multiple devices generate.
Description of the drawings
In order to illustrate more clearly of technical scheme of the present invention, attached drawing needed in embodiment will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is the structural schematic diagram for the device detection system that first embodiment of the invention provides.
Fig. 2 is a kind of operation interface schematic diagram that first embodiment of the invention provides.
Fig. 3 is another operation interface schematic diagram that first embodiment of the invention provides.
Fig. 4 is the flow diagram for the equipment detection method that second embodiment of the invention provides.
Specific implementation mode
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 describes, 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.
Referring to Fig. 1, first embodiment of the invention provides a kind of device detection system 100, including:
Message conversion module 10, it is each to obtain for being registered at least one tested measurement equipment being currently accessed The channel of the tested measurement equipment;
In the present embodiment, when be devices under be linked into message conversion module 10 after, the message conversion module 10 is right The tested measurement equipment being currently accessed is registered, wherein the message conversion module 10 obtains each tested measurement equipment Product ID and channel for each tested measurement equipment distribution, and by the product ID and corresponding channel into Row binding, to realize the registration for being detected measurement equipment.
It should be noted that in this embodiment, multiple measurement equipments to be checked can be accessed simultaneously.
It should be noted that in this embodiment, the tested measurement equipment can be linked into message by TCP or udp protocol and be turned Block 10 is changed the mold, it is, of course, also possible to be based on other communication protocols, the present invention is not specifically limited.
It should be noted that in the present embodiment, the tested measurement equipment may be, for example, embedded device, such as wisdom road Lamp control system terminal and concentrator, certainly or other embedded devices etc., these schemes are in the protection model of the present invention Within enclosing.
Interface manager module 20 carries out at least one tested measurement equipment based on what operation interface issued for receiving user The detection of detection instructs, and detection instruction is divided into parameter setting array, product ID array and tactful array;Its In, the parameter setting data is sent to data judgment module 50, and the product ID array is sent to policy control Module 40, the strategy array are sent to policy control library module 30.
In the present embodiment, the interface manager module 20 provides visual operation interface, wherein as shown in Fig. 2, behaviour May include the device id (corresponding product sequence number array) of the tested measurement equipment currently connected, alternative plan as interface Slightly, parameter setting window (current standard value, standard voltage value, standard temperature and corresponding float value above such as Fig. 2).Its In, the strategy may include assigned switch, the sensor of opening tested measurement equipment, and the time for being detected measurement equipment is arranged, and inquire quilt The version number etc. of detection device, the present invention is not specifically limited.
In the present embodiment, operating personnel can issue detection instruction based on the operation interface, for example, operating personnel can It selects to be detected measurement equipment, arrange parameter and the corresponding strategy of selection based on the operation interface.After operating personnel choose, Coherent detection instruction can be issued.The detection issued instruction can be divided into parameter setting array (packet by the interface manager module 20 Include all parameters of setting), product ID array (including the product ID of selected all tested measurement equipments) and Tactful three arrays of array (all policies for including selection), and established at interface according to product ID array and tactful array Test table as shown in Figure 3.
In the present embodiment, the parameter setting array is sent to data judgment module 50, the product serial number Group is sent to strategic control module 40, and the strategy array is sent to policy control library module 30.
The policy control library module 30, for receiving the tactful array, according to the tactful array obtain with it is described The corresponding at least one control message of strategy in tactful array, and at least one control message is assembled into tactful message Strategic control module 40 is sent to after array.
Specifically, the policy control library module 30 includes:
Message search unit, for extract in the tactful array received each of include strategy detection function title, and It is scanned in policy control document, to obtain the control report of JSON formats corresponding with each detection function title of strategy Text;Wherein, the policy control document is used to store the control message of at least one JSON format, each control message includes compiling Collect the detection function title in heading;
Module units, the control message at least one JSON formats to acquisition assemble, generation strategy message Array is simultaneously sent to strategic control module.
The strategic control module 40, for sending the tactful message array together with the product ID array To tactful sending module 60.
The strategy sending module 60, for according to the tactful message array and the product ID array data into Row message assembles, and assembled message is sent to message conversion module 10.
Specifically, the product ID in product ID array can be respectively written into plan by the tactful sending module 60 Slightly to carry out message assembling in message array, and assembled message is sent to message conversion module 10.
The message conversion module 10, is additionally operable to assembled message being converted into corresponding binary system message to be sent to company Connection module 70.
The link block 70 is detected for binary system message to be sent to tested measurement equipment accordingly, and receives The detection messages that corresponding tested measurement equipment is returned according to the binary system message, and the detection messages are converted by message Module is sent to data judgment module 50;Wherein, the detection messages include the tested measurement equipment according to the binary system report The detection parameters that text generates.
In the present embodiment, since the message conversion module 10 in advance registers the tested measurement equipment of connection, Therefore it can determine the channel of these messages by reading the product ID in assembled message, to pass through connection Binary system message is sent to tested measurement equipment accordingly and is detected by module 70.
The data judgment module 50, the detection messages for treating detection device return according to the parameter setting array In detection parameters judged that the detection parameters that will determine that are sent to interface manager module 20 and are shown.
In the present embodiment, it after tested measurement equipment receives binary system message, can be run according to binary system message Or self-test, and the detection messages for including detection parameters accordingly are generated after end of run, the detection messages are via institute State link block 70, the message conversion module 10 is sent to data judgment module 50.
Wherein, detection parameters for example including electric current, voltage, temperature, current time, current version number, open by assigned switch Off status etc., binary system message described in concrete foundation generate.
The data judgment module 50, the detection messages for treating detection device return according to the parameter setting array In detection parameters judged that the detection parameters that will determine that are sent to interface manager module 20 and are shown.
In the present embodiment, the data judgment module 50 is with the parameter format pair that is arranged according to the parameter setting array The detection parameters are judged, such as judge whether the data format of the detection parameters is correct, the number of the detection parameters Whether group range is reasonable etc., if correct judgment, the detection parameters that will determine that are sent to interface manager module 20 and are shown Show and (be such as shown in the test table of Fig. 3), for operating personnel make a decision and preservation processing.
In conclusion the device detection system 100 of the present embodiment, is obtained by built-in message conversion module 10 and is detected The relevant information of equipment compares the detection parameters of return by the parameter setting array of setting automatically, realizes product certainly Dynamic detection function, solves a series of problems occurred in existing product detection process.In addition, under this system is instructed due to detection It sends out and the acquisition of embedded device is realized based on message conversion module 10, therefore solution single test product quantity is few, test The few problem of equipment category.Simultaneously because this system includes message conversion module 10, the relevant operation of host computer will be omitted, therefore There is no the message congested problems because of the generation that sends instructions under host computer for this system, and then reduce what detection multiple devices generated Latency issue.
Preferably, the policy control library module 30 further includes:
Tactful writing unit, control message for receiving JSON formats input by user and with the JSON formats The corresponding detection function title of message is controlled, and the detection function title editor is write before the control heading of JSON formats Enter the policy control document.
With the increase of new function, the new function of detection can also increase, and original testing mechanism is directly written in code , therefore unsuitable operating personnel's follow-up maintenance.
For this purpose, the control message of JSON formats corresponding with each strategy is directly stored in policy control document by this system It is interior.When being issued to policy control library for tactful group, policy control library module 30 can be by corresponding policing feature inside tactful array Title is scanned in policy control document, and the control message of corresponding JSON formats is formed tactful message array, is sent To strategic control module 40.
When needing to increase new strategy, it is only necessary to increase control corresponding with new strategy in policy control document and report Text and policing feature title, considerably increase follow-up maintenance and the convenience of Function Extension.
Referring to Fig. 4, second embodiment of the invention additionally provides a kind of equipment detection method, including:
S101 registers at least one tested measurement equipment being currently accessed, to determine each tested measurement equipment Channel;
S102 is received user and is referred to based on the detection being detected at least one tested measurement equipment that operation interface issues It enables, and detection instruction is divided into parameter setting array, product ID array and tactful array;
S103 obtains at least one control corresponding with the strategy in the tactful array according to the detection array and reports Text, and at least one control message is assembled into tactful message array;
S104 carries out message assembling according to the tactful message array with the product ID array data;
S105, is converted into corresponding binary system message by assembled message and is sent to tested measurement equipment accordingly examining It surveys;
S106 receives the detection messages that corresponding tested measurement equipment returns;Wherein, the detection messages include described tested The detection parameters that measurement equipment is generated according to the binary system message;
S107, the detection parameters treated according to the parameter setting array in the detection messages of detection device return are sentenced It is disconnected, it will determine that situation is shown.
Preferably, it is based on TCP with the tested measurement equipment or udp protocol is attached.
Preferably,
It is described that at least one control message corresponding with the strategy in the tactful array is obtained according to the tactful array, And at least one control message is assembled into tactful message array and is specifically included:
Extract in the tactful array received each of include strategy detection function title, and in policy control document into Row search, to obtain the control message of JSON formats corresponding with each detection function title of strategy;Wherein, the strategy control Document processed is used to store the control message of at least one JSON format, each control message includes the detection work(edited in heading It can title;
The control message of at least one JSON formats of acquisition is assembled, generation strategy message array
Preferably, further include:
Receive the control message of JSON formats input by user and inspection corresponding with the control message of JSON formats Brake title, and the detection function title editor is written to the policy control text before the control heading of JSON formats Shelves.
Third embodiment of the invention additionally provides a kind of equipment detection terminal, including processor, memory and is stored in In the memory and the computer program that can run on the processor.When the processor executes the computer program Realize above-mentioned each step.
Illustratively, the computer program can be divided into one or more units, one or more of lists Member is stored in the memory, and is executed by the processor, to complete the present invention.One or more of units can be with It is the series of computation machine program instruction section that can complete specific function, which is setting for describing the computer program Implementation procedure in standby detection terminal.
The equipment detection terminal can be the calculating such as desktop PC, notebook, palm PC and cloud server Equipment.The equipment detection terminal may include but be not limited only to processor, memory.It will be understood by those skilled in the art that institute The example that schematic diagram is only equipment detection terminal is stated, the restriction to equipment detection terminal is not constituted, may include than diagram More or fewer components either combine certain components or different components, such as the equipment detection terminal can also wrap Include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng, the processor is the control centre of the equipment detection terminal, utilize various interfaces and connection whole equipment detection The various pieces of terminal.
The memory can be used for storing the computer program and/or module, and the processor is by running or executing Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of equipment detection terminal.The memory can include mainly storing program area and storage data field, wherein storage journey It sequence area can storage program area, application program (such as sound-playing function, image player function needed at least one function Deng) etc.;Storage data field can be stored uses created data (such as audio data, phone directory etc.) etc. according to mobile phone.This Outside, memory may include high-speed random access memory, can also include nonvolatile memory, such as hard disk, memory, insert Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Wherein, if the unit that the equipment detection terminal integrates is realized in the form of SFU software functional unit and as independence Product sale or in use, can be stored in a computer read/write memory medium.Based on this understanding, of the invention It realizes all or part of flow in above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter Calculation machine readable medium may include:Can carry the computer program code any entity or device, recording medium, USB flash disk, Mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include that electric carrier wave is believed Number and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separating component The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention In embodiment attached drawing, the connection relation between module indicates there is communication connection between them, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand And implement.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (10)

1. a kind of device detection system, which is characterized in that including:
Message conversion module, for being registered at least one tested measurement equipment being currently accessed, to obtain each quilt The channel of detection device;
Interface manager module, for receiving user based on being detected at least one tested measurement equipment of issuing of operation interface Detection instruction, and detection instruction is divided into parameter setting array, product ID array and tactful array;Wherein, described Parameter setting array is sent to data judgment module, and the product ID array is sent to strategic control module, described Tactful array is sent to policy control library module;
The policy control library module obtains and the strategy number for receiving the tactful array according to the tactful array The corresponding at least one control message of strategy in group, and after at least one control message is assembled into tactful message array It is sent to strategic control module;
The strategic control module, for the tactful message array to be sent to tactful transmission with the product ID array Module;
The strategy sending module, for carrying out group with the product ID array data according to the tactful message array Dress, and assembled message is sent to message conversion module;
The message conversion module, is additionally operable to assembled message being converted into corresponding binary system message to be sent to connection mould Block;
The link block is detected for binary system message to be sent to tested measurement equipment accordingly, and receives corresponding The detection messages that tested measurement equipment is returned according to the binary system message, and the detection messages are sent out by message conversion module It is sent to data judgment module;Wherein, the detection messages include that the tested measurement equipment is generated according to the binary system message Detection parameters;
The data judgment module, the inspection in detection messages for treating detection device return according to the parameter setting array The detection parameters that survey parameter is judged, and will determine that are sent to interface manager module and are shown.
2. device detection system according to claim 1, which is characterized in that the link block and the tested measurement equipment It is attached based on TCP or udp protocol.
3. device detection system according to claim 1, which is characterized in that the policy control library module specifically includes:
Message search unit, for extract in the tactful array received each of include strategy detection function title, and in plan It slightly controls and is scanned in document, to obtain the control message of JSON formats corresponding with each detection function title of strategy; Wherein, the policy control document is used to store the control message of at least one JSON format, each control message includes editor In the detection function title of heading;
Module units, the control message at least one JSON formats to acquisition assemble, generation strategy message array And it is sent to strategic control module.
4. device detection system according to claim 3, which is characterized in that the policy control library module further includes:
Tactful writing unit, the control message for receiving JSON formats input by user and the control with the JSON formats The corresponding detection function title of message, and institute is written into before the control heading of JSON formats in the detection function title editor State policy control document.
5. a kind of equipment detection method, which is characterized in that including:
At least one tested measurement equipment being currently accessed is registered, to determine the channel of each tested measurement equipment;
The detection instruction being detected at least one tested measurement equipment that user is issued based on operation interface is received, and will be described Detection instruction is divided into parameter setting array, product ID array and tactful array;
At least one control message corresponding with the strategy in the tactful array is obtained according to the tactful array, and will be described At least one control message is assembled into tactful message array;
It is assembled with the product ID array data according to the tactful message array;
It assembled message is converted into corresponding binary system message is sent to tested measurement equipment accordingly being detected;
Receive the detection messages that corresponding tested measurement equipment returns;Wherein, the detection messages include the tested measurement equipment root The detection parameters generated according to the binary system message;
The detection parameters treated according to the parameter setting array in the detection messages of detection device return are judged, will determine that Good detection parameters are shown.
6. equipment detection method according to claim 5, which is characterized in that be based on TCP or UDP with the tested measurement equipment Agreement is attached.
7. equipment detection method according to claim 1, which is characterized in that described according to the tactful array acquisition and institute The corresponding at least one control message of strategy in tactful array is stated, and at least one control message is assembled into tactful report Literary array specifically includes:
Extract in the tactful array received each of include strategy detection function title, and searched in policy control document Rope, to obtain the control message of JSON formats corresponding with each detection function title of strategy;Wherein, the policy control text Control message of the shelves for storing at least one JSON format, each control message includes the detection function name edited in heading Claim;
The control message of at least one JSON formats of acquisition is assembled, generation strategy message array.
8. equipment detection method according to claim 7, which is characterized in that further include:
Receive the control message of JSON formats input by user and detection work(corresponding with the control message of JSON formats Energy title, and the policy control document is written into the detection function title editor before the control heading of JSON formats.
9. a kind of equipment detection terminal, which is characterized in that including processor, memory and be stored in the memory and by It is configured to the computer program executed by the processor, is realized when the processor executes the computer program as right is wanted Seek the equipment detection method described in any one of 1 to 4.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program, wherein equipment where controlling the computer readable storage medium when the computer program is run is executed as weighed Profit requires the equipment detection method described in any one of 1 to 4.
CN201810614866.XA 2018-06-14 2018-06-14 A kind of device detection system, method, terminal and storage medium Pending CN108768786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810614866.XA CN108768786A (en) 2018-06-14 2018-06-14 A kind of device detection system, method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810614866.XA CN108768786A (en) 2018-06-14 2018-06-14 A kind of device detection system, method, terminal and storage medium

Publications (1)

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

Family

ID=64021590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810614866.XA Pending CN108768786A (en) 2018-06-14 2018-06-14 A kind of device detection system, method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108768786A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464322A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Communication method, device, equipment and storage medium of Internet of things platform and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100275139A1 (en) * 2009-04-27 2010-10-28 Fisher-Rosemount Systems, Inc. Configuring Animations and Events for Operator Interface Displays in a Process Control System
CN102076143A (en) * 2010-10-29 2011-05-25 山东泰华电讯有限责任公司 Environment-protective illumination intelligent management system
CN102109838A (en) * 2009-12-28 2011-06-29 北京时代凌宇科技有限公司 Industrial monitoring system and method
CN104052631A (en) * 2014-05-22 2014-09-17 中兴通讯股份有限公司 Equipment information collecting method, device and system
CN105467846A (en) * 2015-11-10 2016-04-06 广东安居宝数码科技股份有限公司 Intelligent household appliance control method and system
CN107172051A (en) * 2017-05-23 2017-09-15 南京邮电大学 A kind of method that internet of things equipment finds and managed

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100275139A1 (en) * 2009-04-27 2010-10-28 Fisher-Rosemount Systems, Inc. Configuring Animations and Events for Operator Interface Displays in a Process Control System
CN102109838A (en) * 2009-12-28 2011-06-29 北京时代凌宇科技有限公司 Industrial monitoring system and method
CN102076143A (en) * 2010-10-29 2011-05-25 山东泰华电讯有限责任公司 Environment-protective illumination intelligent management system
CN104052631A (en) * 2014-05-22 2014-09-17 中兴通讯股份有限公司 Equipment information collecting method, device and system
CN105467846A (en) * 2015-11-10 2016-04-06 广东安居宝数码科技股份有限公司 Intelligent household appliance control method and system
CN107172051A (en) * 2017-05-23 2017-09-15 南京邮电大学 A kind of method that internet of things equipment finds and managed

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464322A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Communication method, device, equipment and storage medium of Internet of things platform and equipment

Similar Documents

Publication Publication Date Title
CN111371638B (en) Intelligent equipment testing method and device, server and storage medium
CN110554958B (en) Graph database testing method, system, device and storage medium
CN110247811A (en) A kind of alarm method and relevant apparatus of internet of things equipment
CN109636309A (en) Task processing method and device, electronic equipment and storage medium
CN108809694A (en) Arranging service method, system, device and computer readable storage medium
CN103152229A (en) Dynamic configuration method for monitoring index item
CN114286358A (en) Method, device and system for processing test data and readable storage medium
CN110365536A (en) A kind of the fault cues method and relevant apparatus of internet of things equipment
CN108268383A (en) Automatic addressing and data distributing method, device, main control device, from control equipment and computer readable storage medium
CN110463138B (en) Network structure information generation method
CN110489324A (en) Method, apparatus that test page jumps, storage medium, electronic device
CN109981322A (en) The method and apparatus of cloud resource management based on label
CN106403188A (en) Air conditioner maintenance method and maintenance device thereof
CN107911251A (en) A kind of method for configuring network equipment, device and medium
CN109743349A (en) File management method, system and its equipment based on rail traffic
CN110472298B (en) Method, device, equipment and storage medium for constructing electric power market model
CN108897695A (en) A kind of the interconnection test method and system of demand side apparatus
CN108768786A (en) A kind of device detection system, method, terminal and storage medium
CN112788576B (en) Equipment offline processing method and system, storage medium and electronic device
CN108107791A (en) Wind power plant control device, method and system
CN112735406A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN108006925A (en) Air-conditioning stress test method, computer installation, computer-readable recording medium
CN108038127A (en) A kind of method, apparatus, terminal device and the storage medium of data synchronization
CN114564856B (en) Data sharing method based on FMEA and electronic equipment
CN102811151B (en) System and method for recognizing foundation fieldbus linked set

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: 20181106