CN109743347A - A kind of reader automated testing method and system - Google Patents
A kind of reader automated testing method and system Download PDFInfo
- Publication number
- CN109743347A CN109743347A CN201811409868.1A CN201811409868A CN109743347A CN 109743347 A CN109743347 A CN 109743347A CN 201811409868 A CN201811409868 A CN 201811409868A CN 109743347 A CN109743347 A CN 109743347A
- Authority
- CN
- China
- Prior art keywords
- reader
- controlling terminal
- network configuration
- configuration message
- tcp connection
- 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.)
- Granted
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses a kind of reader automated testing method and systems, are related to reader technical field.The described method includes: reader obtains and itself matched network configuration message in the network configuration message that controlling terminal is broadcasted, wherein reader is connected with controlling terminal by intermediate equipment;Reader configures the network parameter of itself according to the network configuration message of acquisition, and sends TCP connection and request to controlling terminal;Reader receives the test packet that controlling terminal is sent by TCP connection, executes corresponding operating according to test packet and obtains test result, sends test result to controlling terminal.In the application, the batch-automated test of reader is realized, testing efficiency is greatly improved, reduces the consumption of human resources.
Description
Technical field
This application involves reader technical field more particularly to a kind of reader automated testing method and systems.
Background technique
In recent years, with the fast development of technology of Internet of things, RFID (Radio Frequency Identification,
Radio frequency identification) technology application it is also more and more extensive, how rapidly and efficiently demand of the market to RFID reader also increases therewith,
To carry out automated production to RFID reader be major issue that each producer faces.Traditional RFID reader production process
In, usually after the completion of reader hardware composing, need producing line worker is one-to-one to be written and read device function, performance test, most
Different version and setting default configuration etc. are also downloaded according to customer demand afterwards, the entire process tested and be arranged extremely consumes
When, and human resources consumption is huge.
Summary of the invention
To solve the deficiencies in the prior art, the application proposes a kind of reader automated testing method and system.
In a first aspect, the application proposes a kind of reader automated testing method, it is applied to reader, comprising:
It is obtained in the network configuration message of controlling terminal broadcast and itself matched network configuration message, the reader
It is connected with the controlling terminal by intermediate equipment;
The network parameter of itself is configured according to the network configuration message of acquisition, and is sent TCP connection and requested to the control
Terminal;
The test packet that the controlling terminal is sent by TCP connection is received, corresponding behaviour is executed according to the test packet
Test result is obtained, sends the test result to the controlling terminal.
Optionally, described to be obtained and itself matched network configuration message in the network configuration message of controlling terminal broadcast
Before, further includes:
The discovery message of controlling terminal broadcast is obtained, the discovery message is parsed and obtains the network ginseng of the controlling terminal
Number;
Corresponding, the transmission TCP connection is requested to the controlling terminal, specifically: according to the net of the controlling terminal
Network parameter, Xiang Suoshu controlling terminal send TCP connection request.
Optionally, after the parsing discovery message obtains the network parameter of the controlling terminal, further includes: transmission
The unique identification of itself gives the controlling terminal;
It is corresponding, it is described to be obtained and itself matched network configuration report in the network configuration message of controlling terminal broadcast
Text, comprising: successively parse controlling terminal broadcast network configuration message obtain unique identification, the unique identification judged with from
Whether the unique identification of body is consistent, is, determining corresponding network configuration message is and itself matched network configuration message.
Optionally, method further include: receive the factory configuration message that the controlling terminal is sent, carry out corresponding configuration simultaneously
Configuration result is returned to the controlling terminal.
Second aspect, the application propose a kind of reader automated testing method, are applied to controlling terminal, comprising:
To connected reader broadcasting network configuration message, the controlling terminal passes through intermediate equipment and at least one read-write
Device is connected;
The TCP connection request that reader is sent is received, and establishes TCP connection with the reader;
Test packet is sent to corresponding reader by the TCP connection, and receives the test that the reader returns
As a result.
Optionally, described to before connected reader broadcasting network configuration message, further includes: the reader of Xiang Xianglian is wide
Existing message is broadcast, and receives the unique identification of reader return;
It is corresponding, it is described to connected reader broadcasting network configuration message, comprising: to be the corresponding reading of the unique identification
Device distributed network parameters are write, network configuration message is generated according to the unique identification and the network parameter, broadcasts the network
Configuration message.
Optionally, method further include: factory configuration message is sent to corresponding reader by the TCP connection, and is connect
Receive the configuration result that the reader returns.
The third aspect, the application propose a kind of reader of automatic test, comprising:
First obtains module, matches for obtaining in the configuration parameter message that controlling terminal is broadcasted with itself matched network
Set message;
Configuration module, the network that the network configuration message for being obtained according to the first acquisition module configures itself are joined
Number;
Sending module is requested for sending TCP connection to the controlling terminal;
Receiving module, the test packet sent for receiving the controlling terminal by TCP connection;
Execution module obtains test result for executing corresponding operating according to the test packet;
The sending module is also used to send the test result to the controlling terminal.
Fourth aspect, the application propose a kind of controlling terminal for reader automatic test, comprising:
Broadcast module, for connected reader broadcasting network configuration message, the controlling terminal to pass through intermediate equipment
It is connected at least one reader;
Receiving module for receiving the TCP connection request of reader transmission, and establishes TCP connection with the reader;
Sending module, for sending test packet to corresponding reader by the TCP connection;
The receiving module is also used to receive the test result that the reader returns.
5th aspect, the application propose a kind of reader automatization test system, comprising: at least one reader, control
Terminal and intermediate equipment, the controlling terminal are connected by the intermediate equipment at least one described reader;
Wherein, the reader is reader described in preceding claims 8, and the controlling terminal is preceding claims
Controlling terminal described in 9.
The advantages of the application, is:
Method in the application is applicable to any kind of reader, by building between each reader and controlling terminal
Vertical TCP connection, so that controlling terminal sends test packet by TCP connection and version updating message, configuration update message etc. and go out
Message is arranged to corresponding reader in factory, and be tested for the property and dispatch from the factory configuration, realizes the automatic test of batch reader
With configuration, it is greatly improved the test and allocative efficiency of reader, reduces the consumption of human resources.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Attached drawing 1 is a kind of reader automated testing method stream applied to reader end according to the application embodiment
Cheng Tu;
Attached drawing 2 is a kind of reader automatization test system frame diagram according to the application embodiment;
Attached drawing 3 is a kind of reader automated testing method stream applied to controlling terminal according to the application embodiment
Cheng Tu;
Attached drawing 4 is a kind of reader automated testing method flow chart according to the application embodiment;
Attached drawing 5 is the composition block diagram according to a kind of automatic test reader of the application embodiment;
Attached drawing 6 is the composition frame according to a kind of controlling terminal for reader automatic test of the application embodiment
Figure.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in attached drawing
The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here
The mode of applying is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can be by this public affairs
The range opened is fully disclosed to those skilled in the art.
Embodiment one
According to presently filed embodiment, a kind of reader automated testing method is proposed, be applied to reader, such as Fig. 1
It is shown, comprising:
Step 101: reader obtains and itself matched network configuration in the network configuration message that controlling terminal is broadcasted
Message;
Specifically, as shown in Fig. 2, at least one reader is connected by intermediate equipment with controlling terminal, reader is powered on
Afterwards, the data of controlling terminal broadcast are obtained;Wherein, reader is any type of reader, and is not limited to RFID reader, in
Between equipment be specially interchanger, HUB etc..
According to presently filed embodiment, before step 101, further includes: each reader obtains the hair of controlling terminal broadcast
Existing message, the discovery message for parsing acquisition obtain the network parameter of controlling terminal;
Wherein, the network parameter of controlling terminal includes IP address and mac address information of controlling terminal etc..
Further, the discovery message that each reader parsing obtains obtains after the network parameter of controlling terminal, further includes:
The unique identification of itself is sent to controlling terminal;
Specifically, after the discovery message that each reader parsing obtains obtains the network parameter of controlling terminal, according to default
Algorithm generates the GUID of itself, and is sent to controlling terminal as unique identification, so that controlling terminal is known according to the unique identification
Not corresponding reader.
Further, when controlling terminal receives the unique identification of reader transmission, for the corresponding reading of the unique identification
Device distributed network parameters are write, network configuration message is generated according to the unique identification and the network parameter of distribution and are broadcasted.
Corresponding, reader obtains and itself matched network configuration report in the network configuration message that controlling terminal is broadcasted
Text, comprising: successively parse controlling terminal broadcast network configuration message obtain unique identification, the unique identification judged with from
Whether the unique identification of body is consistent, is, determining corresponding network configuration message is and itself matched network configuration message.
Step 102: reader configures the network parameter of itself according to the network configuration message of acquisition, and sends TCP connection
It requests to controlling terminal;
Specifically, reader configures the IP address of itself, subnet mask etc. according to the network configuration message of acquisition;And matching
After the completion of setting, the network parameter of the controlling terminal obtained according to parsing sends TCP connection request to controlling terminal.
Step 103: reader receives the test packet that controlling terminal is sent by TCP connection, according to the test received
Message executes corresponding operating and obtains test result, and sends test result to controlling terminal.
For example, reader according to the test packet received, executes read-write operation, to communication port, antenna, baud rate,
The test items such as signal processing circuit unit carry out function and performance test.
Further, when test result is that test passes through, reader return is successfully tested result to controlling terminal, for
Controlling terminal shows that this is successfully tested result;When test result is that test does not pass through, reader returns to test crash result and gives
Controlling terminal, so that controlling terminal shows the test crash result.
It further, can also be by manual operation, by the test crash when test result is that test does not pass through
Reader re-powers, and executes above-mentioned automated testing method again.
It is noted that reader can repeatedly receive the test packet of controlling terminal transmission, respectively according to test packet
Test item is tested;The test packet packet that controlling terminal transmission can also be received, according to the test packet packet to multiple surveys
Examination item is tested.
So far, reader is by establishing TCP connection with controlling terminal, and receives what controlling terminal was sent based on TCP connection
Test packet, the batch testing automated improve testing efficiency, reduce compared to existing manual testing's mode
The consumption of human resources.
According to presently filed embodiment, method further include: reader receives the factory configuration message that controlling terminal is sent,
It is configured accordingly and returns to configuration result to controlling terminal;
Specifically, reader receives the version updating message that controlling terminal is sent, edition upgrading operation is executed, and return to liter
Grade result is to controlling terminal;And/or reader receives the configuration that controlling terminal is sent and updates message, updates and matches confidence accordingly
It ceases and returns and update result to controlling terminal.
For example, reader, which receives the configuration that controlling terminal is sent, updates message, itself sequence number, IP address, hair are updated
Radio frequency rate etc..
Further, the configuration that reader receives that controlling terminal is sent updates before message, further includes: reader receives control
The reset message that terminal processed is sent executes and resets operation, and establishes TCP connection with controlling terminal again.
Common, since different user has different demands, version, configuration information of reader etc. are different, this Shen
Please in, when the function of being automated to reader and performance test are completed, automatic configuration directly is carried out to each reader,
The disposable test for completing automation and factory configuration operation, greatly reduce the consumption of time cost and human resources.
Embodiment two
According to presently filed embodiment, it is also proposed that a kind of reader automated testing method is applied to controlling terminal, such as
Shown in Fig. 3, comprising:
Step 201: controlling terminal is to connected reader broadcasting network configuration message;
Specifically, as shown in Fig. 2, controlling terminal is connected by intermediate equipment at least one reader, when on reader
After electricity, controlling terminal is to connected reader broadcast data;
According to presently filed embodiment, before step 201 further include: controlling terminal broadcasts discovery to connected reader
Message, and receive the unique identification of reader return;
Wherein, discovery message includes the network parameter of controlling terminal itself, such as IP address, MAC Address.It is corresponding, when
When reader gets the discovery message of controlling terminal broadcast, the discovery message for parsing acquisition obtains the network ginseng of controlling terminal
Number, and itself unique identification is sent to controlling terminal, the unique identification is preferably GUID.
Further, it is the corresponding reader distribution network ginseng of unique identification received that step 201, which includes: controlling terminal,
Number generates network configuration message according to the network parameter of the unique identification and distribution received, broadcasts the network configuration message.
It is corresponding, each reader obtained in the network configuration message that controlling terminal is broadcasted according to the unique identification of itself with
Itself matched network configuration message configures the network parameter of itself and sends TCP connection request to controlling terminal.
Step 202: controlling terminal receives the TCP connection request that reader is sent, and establishes TCP with corresponding reader and connect
It connects;
Step 203: controlling terminal sends test packet to corresponding reader by TCP connection, and receives reader and return
The test result returned.
Wherein, test packet includes but is not limited to the test packet being written and read, to communication port, antenna, baud
The message that rate, signal processing circuit unit etc. are tested;It is corresponding, when reader receives the test report of controlling terminal transmission
Wen Shi executes corresponding test operation and obtains test result, and test result is returned to controlling terminal.
It is noted that controlling terminal can send test packet to reader respectively, respectively according to the quantity of test item
It is tested;Test packet packet can also be generated according to test item content, send test packet packet to reader, to realize one
Secondary data communication carries out multinomial test.
It further, further include showing the test result when controlling terminal receives the test result of reader return.
According to presently filed embodiment, method further include: controlling terminal by TCP connection send factory configuration message to
Corresponding reader, and receive the configuration result of reader return.
Specifically, controlling terminal sends version updating message to corresponding reader by TCP connection, and receive reader
The updating result of return;And/or controlling terminal sends configuration by TCP connection and updates message to corresponding reader, and receives
The configuration result that reader returns.
It is corresponding, when reader receives version updating message, edition upgrading operation is executed, and updating result is returned
To controlling terminal;When reader, which receives configuration, updates message, updates corresponding configuration information and return to update result to control
Terminal processed;Wherein, it includes sequence number to be updated, IP address, tranmitting frequency etc. in message that configuration, which updates,.
Further, it before controlling terminal sends configuration update message to corresponding reader by TCP connection, also wraps
Include: controlling terminal is sent by TCP connection resets message to corresponding reader, and in the TCP for receiving reader transmission
When connection request, TCP connection is established with the reader.
Controlling terminal is by establishing TCP to connected each reader broadcasting network configuration message, and with each reader as a result,
Connection sends test packet and the relevant message of default setting to each reader based on the TCP connection, to realize read-write
The batch testing of device automation and configuration, compared to existing manual testing and configuration method, be greatly improved testing efficiency,
Allocative efficiency reduces the consumption of human resources.
Embodiment three
According to presently filed embodiment, it is also proposed that a kind of reader automated testing method, wherein at least one read-write
Device is connected by intermediate equipment with controlling terminal, (intermediate equipment is not shown) as shown in Figure 4, comprising:
Step 301: reader powers on;
Step 302: controlling terminal finds message to connected reader broadcast;
Wherein, network parameter containing controlling terminal, such as IP address, MAC Address etc. in message are found.
Step 303: reader obtains the discovery message of controlling terminal broadcast, and parsing discovery message obtains the net of controlling terminal
Network parameter, and the unique identification of itself is sent to controlling terminal;
Wherein, sending itself unique identification to controlling terminal includes: that the unique identification of itself is generated according to preset algorithm,
And unique identification is sent to controlling terminal, the unique identification is preferably GUID.
Step 304: controlling terminal receives the unique identification that reader is sent, for the corresponding reader distribution of the unique identification
Network parameter generates network configuration message according to the unique identification and the network parameter of distribution, and broadcasts to connected reader
Network configuration message;
Step 305: reader obtains and itself matched network configuration in the network configuration message that controlling terminal is broadcasted
Message;
Specifically, the network configuration message of reader parsing controlling terminal broadcast obtains unique identification, judge only
Whether one mark is consistent with the unique identification of itself, is that determining corresponding network configuration message is matched with itself matched network
Set message.
Step 306: reader configures the network parameter of itself according to the network configuration message of acquisition, and sends TCP connection
It requests to controlling terminal;
Wherein, reader configures the network parameter of itself according to the network configuration message of acquisition, including configuring itself IP
Address, subnet mask etc..
Step 307: controlling terminal receives TCP connection request, and establishes TCP connection with corresponding reader;
Step 308: controlling terminal sends test packet to corresponding reader by TCP connection;
Step 309: reader executes corresponding operating according to the test packet received and obtains test result, sends test knot
Fruit is to controlling terminal;
For example, reader according to the test packet received, executes read-write operation, to communication port, antenna, baud rate,
The test items such as signal processing circuit unit carry out function and performance test etc..
Step 310: controlling terminal receives test result, sends version updating message to corresponding read-write by TCP connection
Device;
Specifically, sending version more when the test result for each test item that controlling terminal receives is to be successfully tested
New message is to reader.
Step 311: reader receives the version updating message of controlling terminal transmission, executes upgraded version operation, concurrently
Send updating result to controlling terminal;
Step 312: controlling terminal receives updating result, is sent by TCP connection and resets message to corresponding reader;
Specifically, sending when updating result is to upgrade successfully and resetting message to reader.
Step 313: reader resets, and retransmits TCP connection and request to controlling terminal;
Step 314: controlling terminal receives the TCP connection that reader is sent and requests and establish TCP connection, passes through TCP connection
It sends configuration and updates message to reader;
Step 315: reader updates message according to the configuration received, updates corresponding configuration information, and send update
As a result controlling terminal is given;
For example, reader updates message according to the configuration received, itself sequence number, IP address, tranmitting frequency are updated
Deng.
Step 316: controlling terminal receives the update result that reader is sent.
It should be noted that the operation of version updating and configuration update is carried out in above-mentioned steps 310-315, it can be according to demand
Whether sets itself executes.
TCP connection is established by each reader and controlling terminal as a result, controlling terminal sends test report by TCP connection
Text and version updating message, configuration update the default settings messages such as message to corresponding reader, realize batch reader
Automatic test and configuration, are greatly improved the test and allocative efficiency of reader, reduce the consumption of human resources;It needs
It points out, the above method can be applied to any kind of reader, and be not limited to RFID reader.
Example IV
According to presently filed embodiment, it is also proposed that a kind of reader, as shown in Figure 5, comprising:
First obtains module 401, matched with reader for obtaining in the configuration parameter message that controlling terminal is broadcasted
Network configuration message;
Configuration module 402, the network that the network configuration message for being obtained according to the first acquisition module 401 configures itself are joined
Number;
Sending module 403 is requested for sending TCP connection to controlling terminal;
Receiving module 404, the test packet sent for receiving controlling terminal by TCP connection;
Execution module 405, the test packet for being received according to receiving module 404 execute corresponding operating and obtain test knot
Fruit;
Sending module 403 is also used to send test result to controlling terminal.
According to presently filed embodiment, reader further include: second obtains module;
Second obtains module, obtains for obtaining module 401 first with before itself matched network configuration message, obtains
The discovery message for taking controlling terminal to broadcast, parses the discovery message and obtains the network parameter of controlling terminal;
It is corresponding, sending module 403, specifically for obtaining the network parameter for the controlling terminal that module obtains according to second,
TCP connection request is sent to controlling terminal.
According to presently filed embodiment, sending module 403 is also used to the second acquisition module parsing discovery message and is controlled
After the network parameter of terminal processed, unique identification is sent to controlling terminal;
Corresponding, first obtains module 401, and the network configuration message specifically for successively parsing controlling terminal broadcast obtains
Whether the unique identification of unique identification, the unique identification and reader that judge is consistent, is then determining corresponding network configuration
Message is and the matched network configuration message of reader
According to presently filed embodiment, receiving module 403 is also used to receive the version updating that the controlling terminal is sent
Message and/or configuration update message;
Execution module 404, the version updating message for being also used to be received according to receiving module 403 and/or configuration update report
Text executes corresponding more new version operation and/or updates configuration operation;
Sending module 405 is also used to the operating result of execution module 404 returning to controlling terminal.
Embodiment five
According to presently filed embodiment, it is also proposed that a kind of controlling terminal for reader automatic test, such as Fig. 6 institute
Show, comprising:
First broadcast module 501, for connected reader broadcasting network configuration message, controlling terminal to be set by centre
It is standby to be connected at least one reader;
Receiving module 502 for receiving the TCP connection request of reader transmission, and establishes TCP connection with reader;
Sending module 503, for sending test packet to corresponding reader by TCP connection;
Receiving module 502 is also used to receive the test result of reader return.
According to presently filed embodiment, the controlling terminal further include: the second broadcast module;
Second broadcast module, in the first broadcast module 501 to before connected reader broadcasting network configuration message,
To connected reader broadcast discovery message;
Corresponding, receiving module 502 is also used to receive the unique identification of reader return;
Further, the first broadcast module 501, it is corresponding specifically for the unique identification that is received for receiving module 502
Reader distributed network parameters generate network configuration message according to the unique identification and the network parameter of distribution, broadcast generation
Network configuration message;
According to presently filed embodiment, sending module 503 is also used to send version updating report by the TCP connection
Text and/or configuration update message to corresponding reader;
Corresponding, receiving module 502 is also used to receive the update operating result that the reader returns.
Embodiment six
According to presently filed embodiment, it is also proposed that a kind of reader automatization test system, comprising: at least one read-write
Device, controlling terminal and intermediate equipment, wherein controlling terminal is connected by intermediate equipment at least one described reader;
Further, reader is specially reader described in example IV, and controlling terminal is specially described in embodiment five
Controlling terminal, intermediate equipment is, for example, interchanger, HUB etc..
It should be noted that each embodiment in this specification is described using relevant mode, identical phase between each embodiment
As part mutually reference, each embodiment focuses on the differences from other embodiments.Particularly with
For Installation practice, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method
The part of embodiment illustrates.
The preferable specific embodiment of the above, only the application, but the protection scope of the application is not limited thereto,
Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art,
Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims
It is quasi-.
Claims (10)
1. a kind of reader automated testing method is applied to reader characterized by comprising
It is obtained and itself matched network configuration message, the reader and institute in the network configuration message of controlling terminal broadcast
Controlling terminal is stated to be connected by intermediate equipment;
The network parameter of itself is configured according to the network configuration message of acquisition, and is sent TCP connection and requested to the controlling terminal;
The test packet that the controlling terminal is sent by TCP connection is received, corresponding operating is executed according to the test packet and is obtained
To test result, the test result is sent to the controlling terminal.
2. the method according to claim 1, wherein described obtain in the network configuration message of controlling terminal broadcast
Take with before itself matched network configuration message, further includes:
The discovery message of controlling terminal broadcast is obtained, the discovery message is parsed and obtains the network parameter of the controlling terminal;
The transmission TCP connection is requested to the controlling terminal, specifically: according to the network parameter of the controlling terminal, to institute
It states controlling terminal and sends TCP connection request.
3. according to the method described in claim 2, it is characterized in that, the parsing discovery message obtains the controlling terminal
Network parameter after, further includes: send the unique identification of itself to the controlling terminal;
It is described to be obtained and itself matched network configuration message in the network configuration message of controlling terminal broadcast, comprising: successively
The network configuration message of parsing controlling terminal broadcast obtains unique identification, the unique identification of the unique identification judged and itself
It is whether consistent, it is that determining corresponding network configuration message is and itself matched network configuration message.
4. the method according to claim 1, wherein method further include:
The factory configuration message that the controlling terminal is sent is received, configured accordingly and returns to configuration result to the control
Terminal.
5. a kind of reader automated testing method is applied to controlling terminal characterized by comprising
To connected reader broadcasting network configuration message, the controlling terminal passes through intermediate equipment and at least one reader phase
Even;
The TCP connection request that reader is sent is received, and establishes TCP connection with the reader;
Test packet is sent to corresponding reader by the TCP connection, and receives the test result that the reader returns.
6. according to the method described in claim 5, it is characterized in that, it is described to connected reader broadcasting network configuration message it
Before, further includes: the reader broadcast discovery message of Xiang Xianglian, and receive the unique identification of reader return;
It is described to connected reader broadcasting network configuration message, comprising: distribute net for the corresponding reader of the unique identification
Network parameter generates network configuration message according to the unique identification and the network parameter, broadcasts the network configuration message.
7. according to the method described in claim 5, it is characterized in that, method further include:
Factory configuration message is sent to corresponding reader by the TCP connection, and receives the configuration that the reader returns
As a result.
8. a kind of reader of automatic test characterized by comprising
First obtains module, for obtaining and itself matched network configuration report in the configuration parameter message that controlling terminal is broadcasted
Text;
Configuration module, the network configuration message for being obtained according to the first acquisition module configure the network parameter of itself;
Sending module is requested for sending TCP connection to the controlling terminal;
Receiving module, the test packet sent for receiving the controlling terminal by TCP connection;
Execution module obtains test result for executing corresponding operating according to the test packet;
The sending module is also used to send the test result to the controlling terminal.
9. a kind of controlling terminal for reader automatic test characterized by comprising
Broadcast module, for connected reader broadcasting network configuration message, the controlling terminal to be by intermediate equipment and extremely
A few reader is connected;
Receiving module for receiving the TCP connection request of reader transmission, and establishes TCP connection with the reader;
Sending module, for sending test packet to corresponding reader by the TCP connection;
The receiving module is also used to receive the test result that the reader returns.
10. a kind of reader automatization test system characterized by comprising at least one reader, controlling terminal and centre
Equipment, the controlling terminal are connected by the intermediate equipment at least one described reader;
Wherein, the reader is reader described in preceding claims 8, and the controlling terminal is 9 institute of preceding claims
The controlling terminal stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811409868.1A CN109743347B (en) | 2018-11-23 | 2018-11-23 | Automatic test method and system for reader-writer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811409868.1A CN109743347B (en) | 2018-11-23 | 2018-11-23 | Automatic test method and system for reader-writer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109743347A true CN109743347A (en) | 2019-05-10 |
CN109743347B CN109743347B (en) | 2022-02-18 |
Family
ID=66358149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811409868.1A Active CN109743347B (en) | 2018-11-23 | 2018-11-23 | Automatic test method and system for reader-writer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109743347B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111212387A (en) * | 2020-03-16 | 2020-05-29 | 纳瓦电子(上海)有限公司 | Test method and system for wireless equipment, electronic equipment and test device |
CN111245894A (en) * | 2019-12-29 | 2020-06-05 | 航天信息股份有限公司 | Batch configuration method and system for electronic identification reader-writer equipment of motor vehicle |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082685A (en) * | 2009-11-30 | 2011-06-01 | 三星电子(中国)研发中心 | Network configured method and system of embedded device |
CN102098534A (en) * | 2010-12-22 | 2011-06-15 | 中兴通讯股份有限公司 | Method and system for detecting network television set top box |
CN102185734A (en) * | 2011-04-18 | 2011-09-14 | 华为软件技术有限公司 | Automatic interface testing method and server |
CN102255676A (en) * | 2010-05-19 | 2011-11-23 | 广东新支点技术服务有限公司 | Automatic end-user oriented testing method for mobile phone |
CN102752135A (en) * | 2012-06-27 | 2012-10-24 | 福建星网视易信息系统有限公司 | Method for realizing configuration of network devices |
CN104320307A (en) * | 2014-11-07 | 2015-01-28 | 网神信息技术(北京)股份有限公司 | Multicast communication test method, device and system |
CN205139953U (en) * | 2015-11-13 | 2016-04-06 | 航天信息股份有限公司 | Read write line testing arrangement |
CN105490875A (en) * | 2015-11-25 | 2016-04-13 | 广州视源电子科技股份有限公司 | Automatic testing method, device and system and product to be tested |
CN105680960A (en) * | 2015-12-29 | 2016-06-15 | 深圳市金溢科技股份有限公司 | Automatic test method for Bluetooth card reader, test upper computer and test system |
CN106330581A (en) * | 2015-06-17 | 2017-01-11 | 小米科技有限责任公司 | Communication interface testing method and device |
CN106453678A (en) * | 2016-09-29 | 2017-02-22 | 北京东土科技股份有限公司 | IP address allocation method and system |
-
2018
- 2018-11-23 CN CN201811409868.1A patent/CN109743347B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082685A (en) * | 2009-11-30 | 2011-06-01 | 三星电子(中国)研发中心 | Network configured method and system of embedded device |
CN102255676A (en) * | 2010-05-19 | 2011-11-23 | 广东新支点技术服务有限公司 | Automatic end-user oriented testing method for mobile phone |
CN102098534A (en) * | 2010-12-22 | 2011-06-15 | 中兴通讯股份有限公司 | Method and system for detecting network television set top box |
CN102185734A (en) * | 2011-04-18 | 2011-09-14 | 华为软件技术有限公司 | Automatic interface testing method and server |
CN102752135A (en) * | 2012-06-27 | 2012-10-24 | 福建星网视易信息系统有限公司 | Method for realizing configuration of network devices |
CN104320307A (en) * | 2014-11-07 | 2015-01-28 | 网神信息技术(北京)股份有限公司 | Multicast communication test method, device and system |
CN106330581A (en) * | 2015-06-17 | 2017-01-11 | 小米科技有限责任公司 | Communication interface testing method and device |
CN205139953U (en) * | 2015-11-13 | 2016-04-06 | 航天信息股份有限公司 | Read write line testing arrangement |
CN105490875A (en) * | 2015-11-25 | 2016-04-13 | 广州视源电子科技股份有限公司 | Automatic testing method, device and system and product to be tested |
CN105680960A (en) * | 2015-12-29 | 2016-06-15 | 深圳市金溢科技股份有限公司 | Automatic test method for Bluetooth card reader, test upper computer and test system |
CN106453678A (en) * | 2016-09-29 | 2017-02-22 | 北京东土科技股份有限公司 | IP address allocation method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111245894A (en) * | 2019-12-29 | 2020-06-05 | 航天信息股份有限公司 | Batch configuration method and system for electronic identification reader-writer equipment of motor vehicle |
CN111212387A (en) * | 2020-03-16 | 2020-05-29 | 纳瓦电子(上海)有限公司 | Test method and system for wireless equipment, electronic equipment and test device |
Also Published As
Publication number | Publication date |
---|---|
CN109743347B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113133086B (en) | Intelligent device network distribution method and device, electronic device and storage medium | |
CN107231606A (en) | WiFi method of network entry, intelligent hardware devices and electric terminal | |
CN110061871B (en) | Base station opening method and device, computer storage medium and equipment | |
CN102957551B (en) | A kind of method and system of bulk management equipment | |
CN111885144B (en) | Equipment binding method and device | |
CN103532733B (en) | Wireless communication system and information providing method | |
CN111865736B (en) | Equipment control method and device | |
CN103618670A (en) | Intelligent gateway and intelligent home system | |
CN104714817A (en) | Method, system and control terminal for upgrading household appliance software through infrared signal | |
CN110049125A (en) | The multiple terminals audio of intelligent sound box is shared and Multi-screen interaction system and implementation method | |
CN109743347A (en) | A kind of reader automated testing method and system | |
CN103580942A (en) | Simulation serial port testing method and device | |
CN103685530A (en) | Automatic upgrade control method and system for WLAN current network APs | |
CN105490885A (en) | Method and device of environment monitoring | |
CN113985743A (en) | Equipment control method, device and system, storage medium and electronic device | |
CN112637221A (en) | Equipment control method and device | |
CN108134711A (en) | Method, analogue simulation appliance system and the storage medium tested terminal APP | |
CN111147614A (en) | Full-automatic mine network management method and system, intermediate equipment and server thereof | |
CN113518022A (en) | Method for connection configuration of user equipment and household equipment | |
EP3570495A1 (en) | Device management method and related device | |
CN110362331A (en) | Smart machine carries out the method for automatically updating firmware under factory mode | |
CN111245660A (en) | Network-based equipment upgrading self-adaptive transmission method | |
CN107807619A (en) | Intelligent home control system and its method of work based on virtual server module | |
CN115483985A (en) | System and method for simulating and realizing wireless communication link between two-stage finger control systems | |
CN114125052A (en) | Target operation execution method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |