CN106452669A - Sensor terminal function detection method and device - Google Patents
Sensor terminal function detection method and device Download PDFInfo
- Publication number
- CN106452669A CN106452669A CN201610805146.2A CN201610805146A CN106452669A CN 106452669 A CN106452669 A CN 106452669A CN 201610805146 A CN201610805146 A CN 201610805146A CN 106452669 A CN106452669 A CN 106452669A
- Authority
- CN
- China
- Prior art keywords
- sensor terminal
- detection
- response frame
- sensor
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting with frames or packets; Protocol or part of protocol for error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/1607—Details of the supervisory signal
- H04L1/1657—Implicit acknowledgement of correct or incorrect reception, e.g. with a moving window
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a sensor terminal function detection method and device. The method comprises the following steps of: sending a preset detection instruction to a plurality of sensor terminals through ports, respectively connected with the plurality of sensor terminals, on a multi-serial port detection device; receiving a plurality of response frames, aiming at the detection instruction, returned by the a plurality of sensor terminals, wherein each sensor terminal returns one of the response frames; and carrying out function detection on the plurality of sensor terminals according to the plurality of response frames and the detection instruction. The device is used for executing above method. According to the sensor terminal function detection method and device provided by the invention, the detection instruction is sent to the plurality of sensor terminals at a time and the corresponding response frames are received, so that the function detection of the plurality of sensor terminals is realized and the sensor terminal function detection efficiency is improved.
Description
Technical field
The present invention relates to areas of information technology are and in particular to a kind of sensor terminal function detecting method and device.
Background technology
With the development of modern agriculture, application in agricultural for the sensor terminal is more and more extensive, and sensor terminal is permissible
For environmental datas such as collecting temperature, humidity, illuminance, gas concentration lwevels.
In order to ensure the job stability of sensor terminal, it is necessary to sensor terminal in the production of sensor terminal
Carry out Function detection.In the prior art, a station once can only carry out Function detection to a sensor terminal, in function
Personnel are needed to participate in detection process, for the sensor terminal manufacturer of scale, existing sensor terminal work(
Can detection technique impact production efficiency.
Therefore, how to improve sensor terminal Function detection efficiency, reducing cost of labor becomes industry weight urgently to be resolved hurrily
Want problem.
Content of the invention
For defect of the prior art, the present invention provides a kind of sensor terminal function detecting method and device.
On the one hand, the present invention proposes a kind of sensor terminal function detecting method, including:
The detection being pre-set by the port transmission being connected with multiple sensor terminals respectively in Multi-serial port detection means
Instruct the plurality of sensor terminal;
Receive the plurality of sensor terminal and be directed to multiple response frames that described detection instruction returns, wherein, each sensing
Device terminal returns a described response frame;
According to the plurality of response frame and described detection instruction, Function detection is carried out to the plurality of sensor terminal.
On the other hand, the present invention provides a kind of sensor terminal function detection device, including:
Transmitting element, sends pre- for the port by being connected with multiple sensor terminals respectively in Multi-serial port detection means
The detection first arranging instructs the plurality of sensor terminal;
Receiving unit, is directed to, for receiving the plurality of sensor terminal, multiple response frames that described detection instruction returns,
Wherein, each sensor terminal returns a described response frame;
Detector unit, for according to the plurality of response frame and described detection instruction, to the plurality of sensor terminal
Carry out Function detection.
Sensor terminal function detecting method and device that the present invention provides, by once sending to multiple sensor terminals
Detection instructs and receives corresponding response frame it is achieved that Function detection to multiple sensor terminals, improves sensor terminal
Function detection efficiency.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also root
Obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of embodiment of the present invention sensor terminal function detecting method;
Fig. 2 is the structural representation of one embodiment of the invention sensor terminal function detection device;
Fig. 3 is the structural representation of another embodiment of the present invention sensor terminal function detection device;
Fig. 4 is the entity structure schematic diagram of embodiment of the present invention sensor terminal function detection device.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, is explicitly described to the technical scheme in the embodiment of the present invention it is clear that described embodiment is a present invention part
Embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment being obtained under the premise of the property made work, broadly falls into the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of embodiment of the present invention sensor terminal function detecting method, as shown in figure 1, the present invention
The sensor terminal function detecting method providing, including:
S101, the port transmission passing through to be connected with multiple sensor terminals respectively in Multi-serial port detection means are pre-set
The plurality of sensor terminal is arrived in detection instruction;
Specifically, Multi-serial port detection means is set up respectively by port with multiple sensor terminals and is connected, sensor terminal
Function detection device is connected with Multi-serial port detection means, when sensor terminal function detection device is to the plurality of sensor terminal
When sending detection instruction, the plurality of sensor terminal receives described inspection respectively by the port being connected with Multi-serial port detection means
Survey instruction.Wherein, described detection instruction pre-sets.
S102, the plurality of sensor terminal of reception are directed to multiple response frames that described detection instruction returns, wherein, each
Sensor terminal returns a described response frame;
Specifically, the plurality of sensor terminal, after being respectively received described detection instruction, instructs to described detection
Parsed and be directed to described detection instruction and produced response frame, then sent to described sensor terminal function detection device described
Response frame, wherein each sensor terminal send a described response frame.Sensor terminal function detection device can receive described
Response frame.
S103, according to the plurality of response frame and described detection instruction, function is carried out to the plurality of sensor terminal
Detection.
Described sensor terminal function detection device instructs according to the plurality of response frame receiving and described detection,
Function detection is carried out to the plurality of sensor terminal.Specifically, described detection instruction pre-sets, described sound accordingly
Frame is answered to be also to pre-estimate, described sensor terminal function detection device can contrast described response frame and described detection
Instruction, completes the Function detection to described sensor terminal.For example, if comparing result shows that described response frame is referred to described detection
Order coupling is it can be determined that the corresponding described sensor terminal of described response frame is qualified;Otherwise, the corresponding described biography of described response frame
Sensor terminal is unqualified.
The sensor terminal function detecting method that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.
On the basis of a upper embodiment, further, the plurality of sensor terminal of described reception is directed to described detection
Multiple response frames that instruction returns include:
While receiving the plurality of response frame, sub-frame processing is carried out to the plurality of response frame, wherein, described framing
Process and include:Obtain the plurality of sensor terminal successively and be directed to the plurality of response frame that described detection instruction returns, to institute
State response frame to be marked and be stored in default buffer area.
Specifically, described sensor terminal function detection device receive from sensor terminal return response frame when, meeting
The described response frame receiving is stored in the caching of receiving port, if directly to the caching being stored in above-mentioned receiving port
In described response frame processed, receiving port can be taken, the reception to subsequently described response frame for the impact.In order to improve to sound
Answer the treatment effeciency of frame, pre-set a buffer area for storing the plurality of response frame receiving, described when receiving
During response frame, obtain described response frame successively from above-mentioned buffer to ports and described response frame is stored into default buffer area
In, described response frame can be marked when described response frame is stored into default buffer area, such as in described response frame
In increase described response frame corresponding sensor terminal mark.Described sensor terminal function detection device is to described response frame
Described response frame can be obtained from default buffer area when being processed, not interfere with described sensor termination function detection means
Continue to described response frame.
The sensor terminal function detecting method that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And sensor terminal Function detection efficiency is further increased by sub-frame processing.
On the basis of the various embodiments described above, further, described referred to according to the plurality of response frame and described detection
Order, carries out Function detection to the plurality of sensor terminal and includes:
If judge to know the detection of continuous preset times returns to described sensor terminal described response frame all with described inspection
Survey instruction to mismatch, then export the unqualified result of described sensor terminal.
Specifically, sensor terminal function detection device has carried out continuous preset times detection to described sensor terminal,
If contrasting described response frame and described detection instruction every time, described response frame is all mismatched with described detection instruction, then exports
The unqualified result of described sensor terminal.Coupling refers to that described response frame instructs corresponding, for example described detection with described detection
Instruct as 11111111, corresponding described response frame is 10101010.For the unqualified of sensor terminal as a result, it is possible to export
Reported to the police to indicator lamp and pointed out it is also possible to export inspection software interface, database can also be exported and store
Inquire about and analysis in order to later.Preset times can be configured according to actual conditions, and the present embodiment is not construed as limiting.
The sensor terminal function detecting method that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And provide the Rule of judgment to unqualified testing result, contribute to completing the Function detection to sensor terminal.
On the basis of the various embodiments described above, further, described referred to according to the plurality of response frame and described detection
Order, carries out Function detection to the plurality of sensor terminal and includes:
If judging to know the described response frame of described sensor terminal n-th detection return and described detection instruction phase
Join, then export described sensor terminal pass result, wherein, N is less than or equal to described preset times.
Specifically, described sensor terminal function detection device n-th sends described detection to described sensor terminal and refers to
Order, and receive the described response frame that described sensor terminal returns.Described sensor terminal function detection device contrast receives
The described response frame that the n-th arriving returns and described detection instruction, if described response frame is matched with described detection instruction, defeated
Go out described sensor terminal pass result.The way of output of the pass result of described sensor terminal and the output of unqualified result
Mode is similar to, and here is omitted.Preset times can be configured according to actual conditions, and the present embodiment is not construed as limiting.
For example, in factory's actual production, preset times can be set as 3 times, most for described sensor terminal
Carry out 3 detections it may determine that whether it is qualified.Described sensor terminal function detection device first time is to described sensor
Terminal sends described detection instruction, contrasts described sensor terminal and returns described response frame and described inspection for described detection instruction
Survey instruction, if described response frame is matched with described detection instruction, described sensor terminal detection is qualified, otherwise again to institute
State sensor terminal and send described detection instruction;Contrast described sensor terminal and again return to described sound for described detection instruction
Answer frame and described detection instruction, if described response frame is matched with described detection instruction, described sensor terminal detection is qualified,
Otherwise third time sends described detection instruction to described sensor terminal;Contrast described sensor terminal third time and be directed to described inspection
Survey the response frame that instruction returns, if described response frame is matched with described detection instruction, described sensor terminal detection is qualified.
The sensor terminal function detecting method that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And provide the Rule of judgment to qualified testing result, contribute to completing the Function detection to sensor terminal.
On the basis of the various embodiments described above, further, the sensor terminal function detecting method that the present invention provides is also
Including:
Before transmission described detection instruction is to the plurality of sensor terminal, receive to the plurality of sensor terminal
Barcode scanning information, wherein, described barcode scanning information and described sensor terminal and described sensor terminal is carried out after Function detection
Result correspond, in order to inquire about to described sensor terminal Function detection result.
Specifically, send described detection instruction to the plurality of sensor eventually in described sensor terminal function detection device
Before end, the plurality of sensor terminal, for example can be by the detected the plurality of sensor of scanner scanning by barcode scanning
The bar code of terminal;Described sensor terminal function detection device receives the barcode scanning information to the plurality of sensor terminal, institute
State barcode scanning information to correspond with the plurality of sensor terminal, for example, described barcode scanning information can include described sensor eventually
Unique detection number at end;After the completion of described sensor terminal function detection device detects to described sensor terminal, can be by
The testing result of described sensor terminal is corresponding with barcode scanning information and is stored in database, in order to described sensor terminal
Function detection result is inquired about.
The sensor terminal function detecting method that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And sensor terminal is carried out with barcode scanning, and corresponding with described sensor terminal and testing result for barcode scanning information storage
Deposit, contribute to testing result is reviewed.
Fig. 2 is the structural representation of one embodiment of the invention sensor terminal function detection device, as shown in Fig. 2 this
The sensor terminal function detection device of bright offer includes transmitting element 201, receiving unit 202 and detector unit 203, wherein:
Transmitting element 201 is used for pre-setting by the port transmission being connected with multiple sensor terminals respectively in Multi-serial port detection means
Detection instruct the plurality of sensor terminal;Receiving unit 202 is used for receiving the plurality of sensor terminal for described
Multiple response frames that detection instruction returns, wherein, each sensor terminal returns a described response frame;Detector unit 203 is used
According to the plurality of response frame and described detection instruction, Function detection is carried out to the plurality of sensor terminal.
Specifically, Multi-serial port detection means is set up respectively by port with multiple sensor terminals and is connected, sensor terminal
Function detection device is connected with Multi-serial port detection means, refers to when transmitting element 201 sends detection to the plurality of sensor terminal
When making, the plurality of sensor terminal receives described detection instruction respectively by the port being connected with Multi-serial port detection means.Its
In, described detection instruction pre-sets.
The plurality of sensor terminal, after being respectively received described detection instruction, parses to described detection instruction
And produce response frame for described detection instruction, then send described response frame to described sensor terminal function detection device,
Wherein each sensor terminal sends a described response frame.Receiving unit 202 can receive described response frame.
Detector unit 203 instructs according to the plurality of response frame receiving and described detection, to the plurality of sensing
Device terminal carries out Function detection.Specifically, described detection instruction pre-sets, and described response frame is also can be pre- accordingly
First estimate, detector unit 203 can contrast described response frame and described detection instruction, completes the work(to described sensor terminal
Can detection.For example, if comparing result shows that described response frame detects instructions match it can be determined that described response frame is corresponding with described
Described sensor terminal qualified;Otherwise, the corresponding described sensor terminal of described response frame is unqualified.
The sensor terminal function detection device that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.
On the basis of a upper embodiment, further, described receiving unit 202 specifically for:The plurality of receiving
While response frame, sub-frame processing is carried out to the plurality of response frame, wherein, described sub-frame processing includes:Obtain described successively
Multiple sensor terminals are directed to the plurality of response frame that described detection instruction returns, and described response frame is marked and stores
In default buffer area.
Specifically, described receiving unit 202, can be by the institute receiving when receiving from the response frame that sensor terminal returns
State response frame to be stored in the caching of receiving port, if directly to the described response in the caching being stored in above-mentioned receiving port
Frame is processed, and can take receiving port, the reception to subsequently described response frame for the impact.In order to improve the process effect to response frame
Rate, pre-sets a buffer area for storing the plurality of response frame receiving, when receiving described response frame, successively
Obtain described response frame and described response frame is stored in default buffer area from above-mentioned buffer to ports, by described response
Frame is stored into and described response frame can be marked during default buffer area, for example, increase described response frame in described response frame
Corresponding sensor terminal mark.Detector unit 203 can be from default buffer area when processing to described response frame
Obtain described response frame, do not interfere with receiving unit 202 and continue to described response frame.
The sensor terminal function detection device that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And sensor terminal Function detection efficiency is further increased by sub-frame processing.
On the basis of the various embodiments described above, further, described detector unit 203 specifically for:If it is right that judgement is known
The described response frame that the continuous preset times detection of described sensor terminal returns all is mismatched with described detection instruction, then export institute
State the unqualified result of sensor terminal.
Specifically, sensor terminal function detection device has carried out continuous preset times detection to described sensor terminal,
If the described response frame of contrast and the described detection instruction every time of described detector unit 203, described response frame is all instructed with described detection
All mismatch, then export the unqualified result of described sensor terminal.Coupling refers to that described response frame is relative with described detection instruction
Should, for example described detection instruction is 11111111, and corresponding described response frame is 10101010.Sensor terminal is not conformed to
Lattice are pointed out as a result, it is possible to exporting indicator lamp and being reported to the police it is also possible to be exported inspection software interface, can also export
Database stores to be inquired about and analysis in order to later.Preset times can be configured according to actual conditions, the present embodiment
It is not construed as limiting.
The sensor terminal function detection device that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And provide the Rule of judgment to unqualified testing result, contribute to completing the Function detection to sensor terminal.
On the basis of the various embodiments described above, further, described detector unit 203 specifically for:If judging to know institute
State the described response frame of sensor terminal n-th detection return and described detection instruction matches, then export described sensor eventually
End pass result, wherein, N is less than or equal to described preset times.
Specifically, described transmitting element 201 n-th sends described detection instruction eventually to described sensor, and described reception is single
Unit 202 receives the described response frame that described sensor terminal returns.The n-th that detector unit 203 contrast receives returns
Described response frame and described detection instruction, if described response frame is matched with described detection instruction, export described sensor eventually
End pass result.The way of output of the pass result of sensor terminal is similar with the way of output of unqualified result, herein no longer
Repeat.Preset times can be configured according to actual conditions, and the present embodiment is not construed as limiting.
The sensor terminal function detecting method that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And provide the Rule of judgment to qualified testing result, contribute to completing the Function detection to sensor terminal.
On the basis of the various embodiments described above, further, the sensor terminal function detection device that the present invention provides is also
Including scanning element 204, described scanning element 204 be used for send described detection instruction to the plurality of sensor terminal it
Before, receive barcode scanning information to the plurality of sensor terminal, wherein, described barcode scanning information and described sensor terminal and right
Result after described sensor terminal carries out Function detection corresponds, in order to described sensor terminal Function detection result
Inquired about.
Specifically, send described detection instruction to the plurality of sensor eventually in described sensor terminal function detection device
Before end, the plurality of sensor terminal, for example can be by the detected the plurality of sensor of scanner scanning by barcode scanning
The bar code of terminal;Described sensor terminal function detection device receives the barcode scanning information to the plurality of sensor terminal, institute
State barcode scanning information to correspond with the plurality of sensor terminal, for example, described barcode scanning information can include described sensor eventually
Unique detection number at end;After the completion of described sensor terminal function detection device detects to described sensor terminal, can be by
The testing result of described sensor terminal is corresponding with barcode scanning information and is stored in database, in order to described sensor terminal
Function detection result is inquired about.
The sensor terminal function detection device that the present invention provides, is referred to by once sending detection to multiple sensor terminals
Make and receive corresponding response frame it is achieved that Function detection to multiple sensor terminals, improve the inspection of sensor terminal function
Survey efficiency.And sensor terminal is carried out with barcode scanning, and corresponding with described sensor terminal and testing result for barcode scanning information storage
Deposit, contribute to testing result is reviewed.
The embodiment of the sensor terminal function detection device that the present invention provides specifically can be used for executing above-mentioned each method
The handling process of embodiment, its function will not be described here, and is referred to the detailed description of said method embodiment.
Fig. 4 is the entity structure schematic diagram of embodiment of the present invention sensor terminal function detection device, as shown in figure 4, should
Device can include:Processor (processor) 410, communication interface (Communications Interface) 420, storage
Device (memory) 430 and communication bus 440, wherein, processor 410, communication interface 420, memory 430 passes through communication bus
440 complete mutual communication.Communication interface 420 can be used for the information transfer between device and sensor terminal.Processor
410 can call the logical order in memory 430, to execute following method:By in Multi-serial port detection means respectively with many
The port that individual sensor terminal connects sends the detection pre-setting and instructs the plurality of sensor terminal;Receive the plurality of
Sensor terminal is directed to multiple response frames that described detection instruction returns, and wherein, each sensor terminal returns a described sound
Answer frame;According to the plurality of response frame and described detection instruction, Function detection is carried out to the plurality of sensor terminal.
Additionally, the logical order in above-mentioned memory 430 can be realized by the form of SFU software functional unit and be used as
When independent production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that substantially in other words prior art contributed of technical scheme of invention or this technical scheme partly can be with
The form of software product embodies, and this computer software product is stored in a storage medium, including some instructions in order to
Make a computer equipment (can be personal computer, device, or network equipment etc.) execution each embodiment of the present invention
The all or part of step of methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various
Can be with the medium of store program codes.
Device embodiment described above is only that schematically the wherein said unit illustrating as separating component can
To be or to may not be physically separate, as the part that unit shows can be or may not be physics list
Unit, you can with positioned at a place, or can also be distributed on multiple NEs.Can be selected it according to the actual needs
In the purpose to realize this embodiment scheme for some or all of module.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Mode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, on
That states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Order is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcement
Example or some partly described methods of embodiment.
Finally it should be noted that:Above example only in order to technical scheme to be described, is not intended to limit;Although
With reference to the foregoing embodiments the present invention is described in detail, it will be understood by those within the art that:It still may be used
To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to wherein some technical characteristics;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a kind of sensor terminal function detecting method is it is characterised in that include:
The detection instruction pre-setting is sent by the port being connected with multiple sensor terminals respectively on Multi-serial port detection means
To the plurality of sensor terminal;
Receive the plurality of sensor terminal and be directed to multiple response frames that described detection instruction returns, wherein, each sensor is eventually
End returns a described response frame;
According to the plurality of response frame and described detection instruction, Function detection is carried out to the plurality of sensor terminal.
2. method according to claim 1 is it is characterised in that the plurality of sensor terminal of described reception is directed to described inspection
The multiple response frames surveying instruction return include:
While receiving the plurality of response frame, sub-frame processing is carried out to the plurality of response frame, wherein, described sub-frame processing
Including:
Obtain the plurality of sensor terminal successively and be directed to the plurality of response frame that described detection instruction returns, to described response
Frame is marked and is stored in default buffer area.
3. method according to claim 1 and 2 it is characterised in that described according to the plurality of response frame and described inspection
Survey instruction, Function detection is carried out to the plurality of sensor terminal and includes:
If judging to know that the described response frame that continuous preset times detection returns to described sensor terminal is all referred to described detection
Order mismatches, then export the unqualified result of described sensor terminal.
4. method according to claim 1 and 2 it is characterised in that described according to the plurality of response frame and described inspection
Survey instruction, Function detection is carried out to the plurality of sensor terminal and includes:
If judging to know that the described response frame that described sensor terminal n-th detection returns is matched with described detection instruction,
Export described sensor terminal pass result, wherein, N is less than or equal to described preset times.
5. method according to claim 1 and 2 is it is characterised in that also include:
Before transmission described detection instruction is to the plurality of sensor terminal, receive the barcode scanning to the plurality of sensor terminal
Information, wherein, described barcode scanning information and described sensor terminal and the knot after Function detection is carried out to described sensor terminal
Fruit corresponds, in order to inquire about to described sensor terminal Function detection result.
6. a kind of sensor terminal function detection device is it is characterised in that include:
Transmitting element, is sent for the port by being connected with multiple sensor terminals respectively in Multi-serial port detection means and sets in advance
The detection put instructs the plurality of sensor terminal;
Receiving unit, is directed to, for receiving the plurality of sensor terminal, multiple response frames that described detection instruction returns, wherein,
Each sensor terminal returns a described response frame;
Detector unit, for according to the plurality of response frame and described detection instruction, carrying out to the plurality of sensor terminal
Function detection.
7. device according to claim 6 it is characterised in that described receiving unit specifically for:The plurality of receiving
While response frame, sub-frame processing is carried out to the plurality of response frame, wherein, described sub-frame processing includes:
Obtain the plurality of sensor terminal successively and be directed to the plurality of response frame that described detection instruction returns, to described response
Frame is marked and is stored in default buffer area.
8. the device according to claim 6 or 7 it is characterised in that described detector unit specifically for:
If judging to know that the described response frame that continuous preset times detection returns to described sensor terminal is all referred to described detection
Order mismatches, then export the unqualified result of described sensor terminal.
9. the device according to claim 6 or 7 it is characterised in that described detector unit specifically for:
If judging to know that the described response frame that described sensor terminal n-th detection returns is matched with described detection instruction,
Export described sensor terminal pass result, wherein, N is less than or equal to described preset times.
10. the device according to claim 6 or 7 is it is characterised in that also include:
Scanning element, before in transmission described detection instruction to the plurality of sensor terminal, receives to the plurality of biography
The barcode scanning information of sensor terminal, wherein, described barcode scanning information is carried out with described sensor terminal and to described sensor terminal
Result after Function detection corresponds, in order to inquire about to described sensor terminal Function detection result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610805146.2A CN106452669A (en) | 2016-09-06 | 2016-09-06 | Sensor terminal function detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610805146.2A CN106452669A (en) | 2016-09-06 | 2016-09-06 | Sensor terminal function detection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106452669A true CN106452669A (en) | 2017-02-22 |
Family
ID=58164770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610805146.2A Pending CN106452669A (en) | 2016-09-06 | 2016-09-06 | Sensor terminal function detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452669A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110865152A (en) * | 2019-11-28 | 2020-03-06 | 天地(常州)自动化股份有限公司 | Gas sensor aging device for coal mine and detection method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1987369A (en) * | 2006-09-30 | 2007-06-27 | 南京钢铁股份有限公司 | Multifunction sensor detector |
CN102439881A (en) * | 2011-09-09 | 2012-05-02 | 华为技术有限公司 | Method and device for detecting conflict |
CN102566517A (en) * | 2010-12-15 | 2012-07-11 | 上海电科电器科技有限公司 | Detection method capable of automatically identifying state of controlled equipment through photovoltaic data collector |
CN103049994A (en) * | 2012-12-28 | 2013-04-17 | 北京煜邦电力技术有限公司 | Production quality detection system of acquisition unit |
CN104132685A (en) * | 2014-07-25 | 2014-11-05 | 北京航天长征飞行器研究所 | Sensor test system and method |
-
2016
- 2016-09-06 CN CN201610805146.2A patent/CN106452669A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1987369A (en) * | 2006-09-30 | 2007-06-27 | 南京钢铁股份有限公司 | Multifunction sensor detector |
CN102566517A (en) * | 2010-12-15 | 2012-07-11 | 上海电科电器科技有限公司 | Detection method capable of automatically identifying state of controlled equipment through photovoltaic data collector |
CN102439881A (en) * | 2011-09-09 | 2012-05-02 | 华为技术有限公司 | Method and device for detecting conflict |
CN103049994A (en) * | 2012-12-28 | 2013-04-17 | 北京煜邦电力技术有限公司 | Production quality detection system of acquisition unit |
CN104132685A (en) * | 2014-07-25 | 2014-11-05 | 北京航天长征飞行器研究所 | Sensor test system and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110865152A (en) * | 2019-11-28 | 2020-03-06 | 天地(常州)自动化股份有限公司 | Gas sensor aging device for coal mine and detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102970104B (en) | A kind of method and server obtaining data | |
CN109635564A (en) | A kind of method, apparatus, medium and equipment detecting Brute Force behavior | |
CN110691009B (en) | Network equipment inspection method and device | |
CN110247934A (en) | The method and system of internet-of-things terminal abnormality detection and response | |
CN104574048B (en) | Resource transfers method and device | |
CN107481436A (en) | Data transmission method and equipment | |
CN106991095B (en) | Machine exception handling method, learning rate adjusting method and device | |
CN107204898A (en) | Production test method, system and the storage device of intelligent appliance, mobile terminal | |
CN107704331A (en) | Electrical equipment fault analyzes and processes householder method and device | |
CN112364054A (en) | Wind control decision method, device, electronic device and storage medium | |
CN103646081B (en) | Method and device for logging in web page | |
CN110380925A (en) | A kind of network equipment detection middle port selection method and system | |
CN110033016A (en) | Training method, numeric keypad recognition methods and the system of numeric keypad identification model | |
CN109165156A (en) | A kind of bar code test method, device and terminal device | |
CN109102245A (en) | A kind of processing method of approval process, system and device | |
CN110446222A (en) | Method, apparatus, computer equipment and the readable storage medium storing program for executing of data processing | |
CN107891446A (en) | service robot fault self-diagnosis system and method | |
CN106452669A (en) | Sensor terminal function detection method and device | |
CN113518019A (en) | System identification method based on survival port | |
CN104869576B (en) | A kind of hotspot recognition methods and device | |
CN108334914A (en) | Elevator maintenance management method, device, smart machine and storage medium | |
CN104123469B (en) | Detection scheduling system and method for context consistency in pervasive computing environment | |
CN106503548B (en) | Leak detection method, apparatus and system | |
CN107800710A (en) | A kind of intelligent appliance and platform connection methods, system and Internet of Things module | |
CN107360079A (en) | User management method and equipment based on Internet of Things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20170222 |