CN103475547A - Message transmission method and equipment for GJB5186 test - Google Patents
Message transmission method and equipment for GJB5186 test Download PDFInfo
- Publication number
- CN103475547A CN103475547A CN2013104474036A CN201310447403A CN103475547A CN 103475547 A CN103475547 A CN 103475547A CN 2013104474036 A CN2013104474036 A CN 2013104474036A CN 201310447403 A CN201310447403 A CN 201310447403A CN 103475547 A CN103475547 A CN 103475547A
- Authority
- CN
- China
- Prior art keywords
- message
- information
- configuration
- word
- configuration information
- 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
Images
Abstract
The invention discloses a message transmission method and equipment for a GJB5186 test, and relates to the field of GJB5186.1-2003 standards. The method includes the steps that when test equipment receives a starting sending instruction, stored message configuration information is sequentially read; a bus message frame format to be sent is formed according to the read message configuration information and output to a bus; the message configuration information is composed of a plurality of pieces of message word configuration information. The invention further discloses the message transmission equipment for the GJB5186 test. According to the technical scheme, message signals of all types requested by a 5.2 protocol test with the GJB5186.1-2003 standard are generated and sent, a plurality of errors of the same type or different types can be also achieved in one message through software configuration, error messages are flexibly configured, the real-time performance is good, repeated implementation can be achieved, and quantized operation can be conducted.
Description
Technical field
The present invention relates to digital time-devision system instruction/response type Multiplex Data Bus Interface, GJB5186.1-2003 standard, data communication and fpga logic field operation, be configured and start by software program, by fpga logic program control external circuit, realize the transmission to the message signale of 1553B bus system.
Background technology
GJB5185.1-2003 agreement full name is " digital time-devision system instruction/response type multiplex data bus method of testing part 1 remote terminal validity test method ".This standard code the validity test requirement of digital time-devision system instruction/response type multiplex data bus RTU (remote terminal unit).
Usually the implementation method of GJB5186.1-2003 standard is carried out according to the standard-required subitem.As the mode that sends data by the simulation card manual configuration for disable instruction test employing is tested.Generation and transmission for illegal command and false command, some boards with GJB5186.1-2003 function adopt the mode of fixed configurations to realize, generally can only realize the partial test function, the implementation procedure more complicated, for the some of complex test process, need the user to participate in, one by one test and record.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method for message transmission and equipment for GJB5186 test, can realize generation and the transmission of the message signale that " 5.2 protocol test " of GJB5186.1-2003 standard requires.
In order to address the above problem, the invention discloses a kind of method for message transmission for the GJB5186 test, the method comprises:
Testing equipment receives and starts while sending instruction, and order reads the message arrangement information of having stored;
Form bus message frame format to be sent according to read message arrangement information, output on bus;
Wherein, described message arrangement information is comprised of the configuration information of a plurality of message words.
Alternatively, in above-mentioned transmission method, the configuration information of each message word at least comprises a kind of or multiple combination arbitrarily in following information:
The transmission that whether sends this message word for configuration allows information;
Send to the transmission bus selection information of any bar of two remaining data/address buss for configuring this message word;
The synchronous head coded message of encoding for the synchronous head that configures this message word;
Effective information section content;
The word length configuration;
Time of delay configuration information;
Alternating binary coding error configurations information.
Alternatively, in above-mentioned transmission method, if the configuration information of message word comprises, state to some extent configuration information time of delay, described time of delay, configuration information at least comprised time of delay and time of delay unit.
Alternatively, in above-mentioned transmission method, described time of delay, value was configured to 0~1023.
Alternatively, described time of delay unit is configured to 1ns, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
Alternatively, in above-mentioned transmission method, if comprising, the configuration information of message word states to some extent alternating binary coding error configurations information, described alternating binary coding error configurations information at least comprises the indication information of alternating binary coding type of error, whether produce the alternating binary coding position indication information of alternating binary coding mistake for each bits that configures corresponding effective information section content, and the indication information that whether produces the alternating binary coding mistake for configuring check digit.
Alternatively, in above-mentioned transmission method, described message arrangement information comprises the configuration information of the configuration operation generation that the user carries out message content, and the configuration information that configuration operation generates comprises the content of type of message, data word number, each data word.
The invention also discloses a kind of transmission of messages equipment for the GJB5186 test, this equipment comprises:
Memory cell, storage is for the message arrangement information of GJB5186 test, and wherein, described message arrangement information is comprised of the configuration information of a plurality of message words;
Transmitting element, when receiving startup transmission instruction, order reads the message arrangement information in described memory cell, according to read message arrangement information, forms bus message frame format to be sent, outputs on bus.
The present techniques scheme is generation and the transmission to the message of " 5.2 protocol test " requirement of GJB5186.1-2003 standard for realization.Not only can realize generation and the transmission of all types of message signales of GJB5186.1-2003 standard-required, and configure and can also realize multiple identical/dissimilar mistake in 1 message by software, the error message flexible configuration, real-time is good, can repeat to realize, but quantization operation.
The accompanying drawing explanation
Fig. 1 is for the transfer process figure of the message signale of GJB5186 test in the present embodiment;
Fig. 2 is to the transmission flow figure of message sequence in the present embodiment;
Fig. 3 is the device structure schematic diagram of testing for GJB5186 in the present embodiment.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that do not conflict, the embodiment in the application and the feature in embodiment be combination in any mutually.
Embodiment 1
The present embodiment, provide a kind of transmission method of the message signale for GJB5186 test, and as shown in Figure 1, the method comprises the steps 100 to 500 operation:
Step 100, the user is configured the message that will transmit;
In this step, the message that the user can manual configuration will be transmitted on operation interface.Layoutprocedure is as follows particularly:
At first carry out the configuration operation of message content, the configuration information that this configuration operation generates comprises the content of type of message, data word number, each data word.It should be noted that, the user can determine and produce normal instruction, disable instruction and illegal command by this configuration information.
Message integral body is configured, the configuration information that this configuration operation generates comprises message-length mistake, the discontinuous mistake of data etc. again;
Finally every to each word in message carries out the parameter configuration operation, and the configuration information that this configuration operation generates comprises word length mistake, alternating binary coding mistake, synchronous head code error etc.
Step 200, be transferred to testing equipment by above-mentioned configuration information by communication interface.
Step 300, testing equipment receives and stores the configuration information that the user issues.
Step 400, the user issues to start to test lead equipment and sends instruction.
In this step, the user can start and send instruction by operation interface.
Step 500, testing equipment sequentially reads stored configuration information, according to read configuration information, forms bus message frame format to be sent, then this bus message frame format is converted to voltage signal, after drive amplification, outputs on bus.In above-mentioned flow process, when testing equipment is stored configuration information, can be stored in memory, concrete type of memory is restriction not, only requires that can catch up with to the access of memory the speed that message sends gets final product.
And the configuration information of each message word at least comprises following information:
The transmission that whether sends this message word for configuration allows information;
Send to the transmission bus selection information of any bar of two remaining data/address buss for configuring this message word;
The synchronous head coded message of encoding for the synchronous head that configures this message word;
Effective information section content;
The word length configuration;
Time of delay configuration information;
Alternating binary coding error configurations information.
When above-mentioned time of delay configuration information at least comprise time of delay and time of delay unit.Wherein, time of delay, value was configured to 0~1023.The preferred disposition 1ns of time of delay unit, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
Alternating binary coding error configurations information at least comprises the indication information of alternating binary coding type of error, whether produce the alternating binary coding position indication information of alternating binary coding mistake for each bits that configures corresponding effective information section content, and the indication information that whether produces the alternating binary coding mistake for configuring check digit.
Message arrangement information comprises the configuration information of the configuration operation generation that the user carries out message content, and the configuration information that configuration operation generates comprises the content of type of message, data word number, each data word.
Description based on above-mentioned configuration information, the present embodiment is in concrete application, and the configuration information that proposes each message word can comprise following 64bits.
The transmission of 1bits allows position, for configuration, whether sends this word;
The transmission bus selection position of 1bits, send to which bar of two remaining data/address buss for configuring this word;
The synchronous head coding of 6bits, for configuring the synchronous head coding of this word;
The effective information section content of 16bits;
The message segment content of the increase of 4bits;
The word length configuration of 3bits, configurable transmission word length is 17~24bits (normal word length is 20bits);
The check digit configuration of 1bits, adopt odd or even parity check for configuring this word;
Configuration time of delay of 10bits, time of delay, numerical value can be configured to 0~1023;
Time of delay unit's configuration of 4bits, time of delay unit can configure 1ns, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms, 1s etc.;
Each message word configures corresponding a kind of fixing time of delay, and when certain message word is allowed to, this word need to postpone to send after the corresponding time;
The alternating binary coding type of error configuration of 1bits, select to adopt normal 0 wrong or normal 1 mistake;
Whether the alternating binary coding position indication configuration of 16bits, produce the alternating binary coding mistake for each bits that configures corresponding effective information section content;
Whether the check digit alternating binary coding error configurations of 1bits, produce the alternating binary coding mistake for configuring check digit.
Testing equipment, according to the pre-quantity that sends the message word, can configure 2 and send message sequence, can comprise 0~1023 message word in each message sequence.
After the configuration information of message has issued, the user issues to start to testing equipment and sends instruction.
Testing equipment starts the transmit operation of message signale after receiving and starting the transmission instruction.
Testing equipment can be processed 2 simultaneously and send message sequence, identical to 2 processing modes that send message sequence, adopt 2 transmission message sequences is the functions that sent on main bus and remaining bus for realizing simultaneously, do not sent on main bus and remaining bus at the same time if do not need, adopt 1 message sequence to get final product.
Below with the processing to 1 message sequence, the implementation procedure that the message of testing equipment sends is described, this process as shown in Figure 2, comprises the operation of following S1 to S7.
S1: testing equipment receives the startup transmission instruction that the user issues, and starts to carry out the message transmission.
Testing equipment reads the configuration information of first message word in sequence from memory, if this word is configured to allow to send, carries out the S2 operation, otherwise stop message, sends.
S2: postpone operation.
According to " configuration time of delay " and " configuration of time of delay unit ", postpone operation, if " configuration time of delay " value is 0, do not postpone operation.After postponing to have operated, enter S3.
S3: the bus of selecting the message word to send.
According to the configuration of " sending the bus selection position ", determine the bus that this word should send to.
S4: the synchronous head that sends the message word.
According to the configuration of " synchronous head coding ", the synchronous head coding is sent on bus.After being sent completely, enter S5.
S5: the message segment that sends the message word.
Carry out the transmission of " message segment content " according to the parameter of " effective information section content ", " the message segment content of increase ", " word length configuration ", " configuration of alternating binary coding type of error ", " the indication configuration of alternating binary coding position ", the content of message segment is 13~21bits, and " effective information section content " wherein carried out " alternating binary coding mistake " operation when being sent.
S rapid 6: the check digit that sends the message word.
Carry out the transmit operation of check digit according to the parameter of " check digit configuration ", " configuration of alternating binary coding type of error ", " check digit alternating binary coding error configurations ".
S7: the configuration information of next message word in read memory, and judge whether this message word needs to send (this word is configured to allow to send, and does not still allow to send), if need, send, enter S2, if do not need to send, stop message and send.
Embodiment 2
The present embodiment provides a kind of equipment for the GJB5186 test, can realize the scheme of above-described embodiment 1, and this equipment as shown in Figure 3, at least comprises memory cell and transmitting element.
Memory cell, storage is for the message arrangement information of GJB5186 test, and wherein, described message arrangement information is comprised of the configuration information of a plurality of message words;
Particularly, the configuration information of each message word at least comprises information:
The transmission that whether sends this message word for configuration allows information;
Send to the transmission bus selection information of any bar of two remaining data/address buss for configuring this message word;
The synchronous head coded message of encoding for the synchronous head that configures this message word;
Effective information section content;
The word length configuration;
Time of delay configuration information;
Alternating binary coding error configurations information.
In the present embodiment, time of delay, configuration information at least comprised time of delay and time of delay unit.Time of delay, value was configured to 0~1023.The preferred disposition 1ns of time of delay unit, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
Alternating binary coding error configurations information at least comprises the indication information of alternating binary coding type of error, whether produce the alternating binary coding position indication information of alternating binary coding mistake for each bits that configures corresponding effective information section content, and the indication information that whether produces the alternating binary coding mistake for configuring check digit.
Message arrangement information comprises the configuration information of the configuration operation generation that the user carries out message content, and the configuration information that configuration operation generates comprises the content of type of message, data word number, each data word.
Transmitting element, when receiving startup transmission instruction, order reads the message arrangement information in described memory cell, according to read message arrangement information, forms bus message frame format to be sent, outputs on bus.
From above-described embodiment, can find out, the present techniques scheme can send effective valid instruction of protocol requirement, also can send the instruction that comprises various failure messages of protocol requirement.The present techniques scheme is supported multiple false command type, as: disable instruction, illegal command, odd false command, word length false command, alternating binary coding false command, synchronous head code error instruction, message-length false command, the discontinuous false command of data etc.In addition, the message signale that the present techniques scheme produces, can be sent on main bus and remaining bus independent/while, the message of the transmission on main bus and remaining bus can configure respectively, can each word in message be configured separately, each word that can 1 message of arbitrary disposition is to send at main bus or on the remaining bus.
One of ordinary skill in the art will appreciate that all or part of step in said method can come the instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (8)
1. the method for message transmission for the GJB5186 test, is characterized in that, the method comprises: testing equipment receives and starts while sending instruction, and order reads the message arrangement information of having stored;
Form bus message frame format to be sent according to read message arrangement information, output on bus;
Wherein, described message arrangement information is comprised of the configuration information of a plurality of message words.
2. transmission method as claimed in claim 1, is characterized in that, the configuration information of each message word at least comprises a kind of or multiple combination arbitrarily in following information:
The transmission that whether sends this message word for configuration allows information;
Send to the transmission bus selection information of any bar of two remaining data/address buss for configuring this message word;
The synchronous head coded message of encoding for the synchronous head that configures this message word;
Effective information section content;
The word length configuration;
Time of delay configuration information;
Alternating binary coding error configurations information.
3. transmission method as claimed in claim 2, is characterized in that, when the configuration information of described message word comprises, states to some extent time of delay during configuration information, and described time of delay, configuration information at least comprised time of delay and time of delay unit.
4. transmission method as claimed in claim 3, is characterized in that, described time of delay, value was configured to 0~1023.
5. transmission method as claimed in claim 3, is characterized in that, described time of delay unit is configured to 1ns, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
6. transmission method as claimed in claim 2, it is characterized in that, when the configuration information of described message word comprises while stating to some extent alternating binary coding error configurations information, described alternating binary coding error configurations information at least comprises the indication information of alternating binary coding type of error, whether produce the alternating binary coding position indication information of alternating binary coding mistake for each bits that configures corresponding effective information section content, and the indication information that whether produces the alternating binary coding mistake for configuring check digit.
7. method as described as claim 1 to 6 any one, it is characterized in that, described message arrangement information comprises the configuration information of the configuration operation generation that the user carries out message content, and the configuration information that configuration operation generates comprises the content of type of message, data word number and each data word.
8. the transmission of messages equipment for the GJB5186 test, is characterized in that, this equipment comprises:
Memory cell, storage is for the message arrangement information of GJB5186 test, and wherein, described message arrangement information is comprised of the configuration information of a plurality of message words;
Transmitting element, when receiving startup transmission instruction, order reads the message arrangement information in described memory cell, according to read message arrangement information, forms bus message frame format to be sent, outputs on bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310447403.6A CN103475547B (en) | 2013-09-27 | 2013-09-27 | A kind of method for message transmission for GJB5186 test and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310447403.6A CN103475547B (en) | 2013-09-27 | 2013-09-27 | A kind of method for message transmission for GJB5186 test and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103475547A true CN103475547A (en) | 2013-12-25 |
CN103475547B CN103475547B (en) | 2016-10-26 |
Family
ID=49800257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310447403.6A Active CN103475547B (en) | 2013-09-27 | 2013-09-27 | A kind of method for message transmission for GJB5186 test and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103475547B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050278437A1 (en) * | 2004-05-25 | 2005-12-15 | Jianhua Xie | Network analysis software real-time |
CN101839969A (en) * | 2009-03-20 | 2010-09-22 | 中国科学院空间科学与应用研究中心 | Satellite communication 1553B ground detection system and detection method thereof |
CN101937232A (en) * | 2010-09-07 | 2011-01-05 | 北京航空航天大学 | Embedded real-time emulation and fault simulation system based on multiple data buses |
CN102176699A (en) * | 2011-01-27 | 2011-09-07 | 深圳市国微电子股份有限公司 | Testing platform based on time-division command/response type multiplex bus |
CN202110438U (en) * | 2011-03-04 | 2012-01-11 | 珠海矽微电子科技有限公司 | Integrated multifunctional 1553B bus analyzer |
-
2013
- 2013-09-27 CN CN201310447403.6A patent/CN103475547B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050278437A1 (en) * | 2004-05-25 | 2005-12-15 | Jianhua Xie | Network analysis software real-time |
CN101839969A (en) * | 2009-03-20 | 2010-09-22 | 中国科学院空间科学与应用研究中心 | Satellite communication 1553B ground detection system and detection method thereof |
CN101937232A (en) * | 2010-09-07 | 2011-01-05 | 北京航空航天大学 | Embedded real-time emulation and fault simulation system based on multiple data buses |
CN102176699A (en) * | 2011-01-27 | 2011-09-07 | 深圳市国微电子股份有限公司 | Testing platform based on time-division command/response type multiplex bus |
CN202110438U (en) * | 2011-03-04 | 2012-01-11 | 珠海矽微电子科技有限公司 | Integrated multifunctional 1553B bus analyzer |
Non-Patent Citations (1)
Title |
---|
董文岳 等: "1553B电缆网络测试方法研究", 《电子产品世界》 * |
Also Published As
Publication number | Publication date |
---|---|
CN103475547B (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9059724B2 (en) | Differential decoder | |
CN108965484B (en) | Internet of things data transmission method, system and terminal | |
EP3079287B1 (en) | Polar code processing method and system | |
CN101895549B (en) | Conversion gateway and conversion method of vehicle communication network data | |
JP3939327B2 (en) | Data transmission and reception method, data transmission and reception device | |
CN108737021B (en) | Polar code transmission method and device | |
US11546088B2 (en) | Check code processing method, electronic device and storage medium | |
CN201717878U (en) | Vehicle communication network data conversion gateway | |
US11609872B2 (en) | Integrated circuit having lanes interchangeable between clock and data lanes in clock forward interface receiver | |
CN104468042A (en) | Data transmission method and system | |
US20230224057A1 (en) | Communication Link Initiation Method and Apparatus | |
CN103475547A (en) | Message transmission method and equipment for GJB5186 test | |
US10523235B2 (en) | Transmission checking method, node, system and computer storage medium | |
US20230246730A1 (en) | Data transmission method and apparatus, circuit board, storage medium and electronic apparatus | |
CN105718401B (en) | The multiplexing method and system of a kind of multichannel SMII signals to MII signals all the way | |
CN116414752A (en) | Data transmission method, device, equipment and medium | |
CN112036196A (en) | Encoding module suitable for ISO14443 protocol reader | |
CN112834964B (en) | Detection method, device and equipment for wiring line sequence of self-adaptive combiner | |
CN113839735B (en) | OAM message transmission method and device, related equipment and storage medium | |
CN110401490B (en) | Level conversion circuit supporting MDIO communication, level conversion method and PAM optical module | |
JP2017130757A (en) | Communication device | |
CN115061968A (en) | Interface processor and interface processing system | |
US9647691B2 (en) | Apparatus and method for processing trace data streams | |
CN114221666A (en) | Multi-mode time sequence control and intermediate frequency modulation signal generating device | |
CN114978463A (en) | Decoding method, system, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |