CN103475547B - A kind of method for message transmission for GJB5186 test and equipment - Google Patents

A kind of method for message transmission for GJB5186 test and equipment Download PDF

Info

Publication number
CN103475547B
CN103475547B CN201310447403.6A CN201310447403A CN103475547B CN 103475547 B CN103475547 B CN 103475547B CN 201310447403 A CN201310447403 A CN 201310447403A CN 103475547 B CN103475547 B CN 103475547B
Authority
CN
China
Prior art keywords
message
configuration information
word
information
configuration
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.)
Active
Application number
CN201310447403.6A
Other languages
Chinese (zh)
Other versions
CN103475547A (en
Inventor
付景志
彭时涛
宋钱骞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Watertek Information Technology Co Ltd
Original Assignee
Beijing Watertek Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Watertek Information Technology Co Ltd filed Critical Beijing Watertek Information Technology Co Ltd
Priority to CN201310447403.6A priority Critical patent/CN103475547B/en
Publication of CN103475547A publication Critical patent/CN103475547A/en
Application granted granted Critical
Publication of CN103475547B publication Critical patent/CN103475547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a kind of method for message transmission for GJB5186 test and equipment, relate to GJB5186.1 2003 standardization areas.The method include the steps that when test equipment receives startup transmission instruction, sequentially read the message configuration information stored;According to the bus message frame format that the message configuration information composition read is to be sent, export in bus;Wherein, described message configuration information is made up of the configuration information of multiple message words.The invention also discloses a kind of message transmission equipment for GJB5186 test.Technical scheme achieves generation and the transmission of all types of message signales that " 5.2 protocol test " to GJB5186.1 2003 standard requires, and multiple identical/different types of mistake can also be realized in 1 message by software arrangements, error message flexible configuration, real-time is good, repeatable realization, can quantization operation.

Description

A kind of method for message transmission for GJB5186 test and equipment
Technical field
The present invention relates to digital time-devision system instruction/response type Multiplex Data Bus Interface, GJB 5186.1-2003 standard, data communication and fpga logic field operation, by software program carry out configuration and Start, by fpga logic programme-control external circuit, it is achieved the message signale to 1553B bus system Transmission.
Background technology
GJB5185.1-2003 agreement full name is " digital time-devision system instruction/response type multi-path transmission data Bus test method part 1 remote terminal validity test method ".The standard specifies digital The validity test requirement of time-devision system instruction/response type multiplex data bus RTU.
Generally the implementation method of GJB5186.1-2003 standard is carried out according to standard-required subitem. Test by the way of simulation card manual configuration sends data as used for illegal instruction testing. For illegal command and the generation of false command and transmission, some have GJB5186.1-2003 function Board uses the mode of fixed configurations to realize, and typically can only realize part test function, it is achieved process compares Complexity, for some of complex test process, needs 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 message transmission side for GJB5186 test Method and equipment, can realize the message signale that " 5.2 protocol test " of GJB5186.1-2003 standard requires Generation and transmission.
In order to solve the problems referred to above, the invention discloses a kind of message transmission side for GJB5186 test Method, the method includes:
When test equipment receives startup transmission instruction, sequentially read the message configuration information stored;
According to the bus message frame format that the message configuration information composition read is to be sent, output to bus On;
Wherein, described message configuration information is made up of the configuration information of multiple message words.
Alternatively, in above-mentioned transmission method, the configuration information of each message word at least includes in following information A kind of or the most multiple combination:
The transmission whether sending this message word for configuration allows information;
For configuring the transmission bus selection letter of any bar that this message word is sent in double remaining data/address bus Breath;
For configuring the synchronous head coding information that the synchronous head of this message word encodes;
Effective information section content;
Word length configures;
Time delay configuration information;
Alternating binary coding error configurations information.
Alternatively, in above-mentioned transmission method, if the configuration information of message word includes described time delay Configuration information, described time delay, configuration information at least included time delay and unit time delay.
Alternatively, in above-mentioned transmission method, described delay time value is configured to 0~1023.
Alternatively, unit described time delay be configured to 1ns, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
Alternatively, in above-mentioned transmission method, if the configuration information of message word includes described alternating binary coding Error configurations information, described alternating binary coding error configurations information at least includes the finger of alternating binary coding type of error Show information, for configuring whether each bits of the effective information section content of correspondence produces alternating binary coding mistake Alternating binary coding position indication information, and for configuring whether check bit produces the finger of alternating binary coding mistake Show information.
Alternatively, in above-mentioned transmission method, described message configuration information includes that message content is entered by user The configuration information that the configuration operation of row generates, the configuration information that configuration operation generates includes type of message, number According to word number, the content of each data word.
The invention also discloses a kind of message transmission equipment for GJB5186 test, this equipment includes:
Memory element, storage is for the message configuration information of GJB5186 test, and wherein, described message is joined Confidence breath is made up of the configuration information of multiple message words;
Transmitting element, when receiving startup and sending instruction, order reads the message in described memory element Configuration information, according to the bus message frame format that the message configuration information composition read is to be sent, output In bus.
Technical scheme is wanted for realizing " 5.2 protocol test " to GJB5186.1-2003 standard The generation of the message asked and transmission.All classes of GJB5186.1-2003 standard-required can not only be realized The generation of the message signale of type and transmission, and can also realize many in 1 message by software arrangements Planting identical/different types of mistake, error message flexible configuration, real-time is good, and repeatable realization can be measured Change operation.
Accompanying drawing explanation
Fig. 1 is the transfer process figure of the message signale tested for GJB5186 in the present embodiment;
Fig. 2 is the transmission flow figure in the present embodiment to message sequence;
Fig. 3 is the device structure schematic diagram in the present embodiment for GJB5186 test.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing Embodiments of the invention are described in detail.It should be noted that in the case of not conflicting, this Shen Embodiment in please and the feature in embodiment can mutual combination in any.
Embodiment 1
The present embodiment, it is provided that the transmission method of a kind of message signale for GJB5186 test, such as Fig. 1 Shown in, the method comprises the steps the operation of 100 to 500:
Step 100, message to be transmitted is configured by user;
In this step, user can operate the message that on interface, manual configuration is to be transmitted.Specifically join Put process as follows:
First carrying out the configuration operation of message content, the configuration information that this configuration operation generates includes message class Type, data word number, the content of each data word.It should be noted that user is by this configuration information May determine that generation normal instructions, illegal instruction and illegal command.
Again message entirety is configured, this configuration operation generate configuration information include message-length mistake, Data discontinuously mistake etc.;
Finally every of each word in message being carried out parameter configuration operation, what this configuration operation generated joins Confidence breath includes word length mistake, alternating binary coding mistake, synchronous head code error etc..
Step 200, is transferred to test equipment by above-mentioned configuration information by communication interface.
Step 300, test equipment receives and stores the configuration information that user issues.
Step 400, user issues startup to test lead equipment and sends instruction.
In this step, user can start transmission instruction by operation interface.
Step 500, test equipment sequentially reads the configuration information stored, according to the configuration letter read The bus message frame format that breath composition is to be sent, then this bus message frame format is converted to voltage signal, Export in bus after drive amplification.In above-mentioned flow process, configuration information is stored by test equipment Time, can store in memory, concrete type of memory does not limit, and only requires memorizer Access can catch up with the speed that message sends.
And the configuration information of each message word at least includes following information:
The transmission whether sending this message word for configuration allows information;
For configuring the transmission bus selection letter of any bar that this message word is sent in double remaining data/address bus Breath;
For configuring the synchronous head coding information that the synchronous head of this message word encodes;
Effective information section content;
Word length configures;
Time delay configuration information;
Alternating binary coding error configurations information.
When above-mentioned time delay configuration information at least include time delay and unit time delay.Wherein, Delay time value is configured to 0~1023.Time delay unit preferred disposition 1ns, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
Alternating binary coding error configurations information at least includes the instruction information of alternating binary coding type of error, is used for joining Whether each bits of the effective information section content putting correspondence produces the alternating binary coding position of alternating binary coding mistake Instruction information, and for configuring whether check bit produces the instruction information of alternating binary coding mistake.
Message configuration information includes the configuration information that the configuration operation that message content is carried out by user generates, The configuration information that configuration operation generates includes type of message, data word number, the content of each data word.
Description based on above-mentioned configuration information, the present embodiment in a particular application, proposes each message word Configuration information can include following 64bits.
The transmission of 1bits allows position, whether sends this word for configuration;
The transmission bus selection position of 1bits, for configure that this word is sent in double remaining data/address bus which Bar;
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 (a length of 20bits of good word);
The check bit configuration of 1bits, is used for configuring this word and uses odd or even parity check;
Configuration time delay of 10bits, time delay, numerical value was configurable to 0~1023;
4bits time delay unit configuration, time 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 delay, when certain message word is allowed to, and should Word sends after needing to postpone the corresponding time;
The alternating binary coding type of error configuration of 1bits, selects to use normal 0 wrong or normal 1 mistake;
The alternating binary coding position instruction configuration of 16bits, for configuring each of the effective information section content of correspondence Whether individual bits produces alternating binary coding mistake;
The check bit alternating binary coding error configurations of 1bits, is used for configuring whether check bit produces alternating binary coding mistake By mistake.
Test equipment, according to the pre-quantity sending message word, can configure 2 and send message sequence, each Message sequence can comprise 0~1023 message word.
After the configuration information of message has issued, user issues startup to test equipment and sends instruction.
After test equipment receives startup transmission instruction, start the transmission operation of message signale.
Test equipment can process 2 simultaneously and send message sequence, to 2 process sending message sequence Mode is identical, and using 2 to send message sequence is for realizing simultaneously in main bus and remaining bus On the function that is transmitted, if need not be transmitted on main bus and remaining bus at the same time, then adopt With 1 message sequence.
Below with the process to 1 message sequence illustrate test equipment message send realize process, This process is as in figure 2 it is shown, include the operation of following S1 to S7.
S1: test equipment receives the startup transmission instruction that user issues, and proceeds by message and sends.
Test equipment reads the configuration information of first message word in sequence from memorizer, if the configuration of this word For allowing to send, then carry out S2 operation, otherwise stop message and send.
S2: carry out postponing operation.
According to " configuration time delay " and " unit configuration time delay ", carry out postponing operation, if " prolonging Late time configuration " value is 0, the most do not carries out postponing operation.After delay operation completes, enter S3.
S3: select the bus that message word is to be sent.
According to the configuration of " sending bus selection position ", determine the bus that this word should be sent to.
S4: send the synchronous head of message word.
According to the configuration of " synchronous head coding ", synchronous head coding is sent in bus.After being sent completely, Enter S5.
S5: send the message segment of message word.
According to " effective information section content ", " the message segment content of increase ", " word length configuration ", " double To code error type configuration ", the parameter of " alternating binary coding position instruction configuration " carries out " in message segment Hold " transmission, the content of message segment is 13~21bits, and " effective information section content " therein is being carried out " alternating binary coding mistake " operation is carried out while transmission.
S rapid 6: send the check bit of message word.
According to " check bit configuration ", " configuration of alternating binary coding type of error ", " check bit alternating binary coding Error configurations " parameter carry out check bit transmission operation.
S7: read the configuration information of next message word in memorizer, and judge that this message word is whether to need Sending (i.e. this word is configured to allow to send, and does not the most allow to send), if needing to send, then entering Enter S2, if need not send, then stop message and send.
Embodiment 2
The present embodiment provides a kind of equipment for GJB5186 test, can realize the side of above-described embodiment 1 Case, this equipment is as it is shown on figure 3, at least include memory element and transmitting element.
Memory element, storage is for the message configuration information of GJB5186 test, and wherein, described message is joined Confidence breath is made up of the configuration information of multiple message words;
Specifically, the configuration information of each message word at least includes information:
The transmission whether sending this message word for configuration allows information;
For configuring the transmission bus selection letter of any bar that this message word is sent in double remaining data/address bus Breath;
For configuring the synchronous head coding information that the synchronous head of this message word encodes;
Effective information section content;
Word length configures;
Time delay configuration information;
Alternating binary coding error configurations information.
In the present embodiment, time delay, configuration information at least included time delay and unit time delay. Delay time value is configured to 0~1023.Time delay unit preferred disposition 1ns, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
Alternating binary coding error configurations information at least includes the instruction information of alternating binary coding type of error, is used for joining Whether each bits of the effective information section content putting correspondence produces the alternating binary coding position of alternating binary coding mistake Instruction information, and for configuring whether check bit produces the instruction information of alternating binary coding mistake.
Message configuration information includes the configuration information that the configuration operation that message content is carried out by user generates, The configuration information that configuration operation generates includes type of message, data word number, the content of each data word.
Transmitting element, when receiving startup and sending instruction, order reads the message in described memory element Configuration information, according to the bus message frame format that the message configuration information composition read is to be sent, output In bus.
From above-described embodiment it can be seen that technical scheme can send the most legal of protocol requirement Instruction, it is also possible to send the instruction comprising various failure message of protocol requirement.Technical scheme is propped up Hold multiple false command type, such as: illegal instruction, illegal command, odd false command, word length mistake Instruction, alternating binary coding false command, synchronous head code error instruction, message-length false command, number by mistake According to discontinuous false command etc..It addition, technical scheme produce message signale, can independent/ Being transmitted on main bus and remaining bus, the message of the transmission on main bus and remaining bus can simultaneously To be respectively configured, each word in message can be separately configured, can each with 1 message of arbitrary disposition Individual word is to send at main bus or in remaining bus.
One of ordinary skill in the art will appreciate that all or part of step in said method can pass through program Instructing related hardware to complete, described program can be stored in computer-readable recording medium, as read-only Memorizer, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use One or more integrated circuits realize.Correspondingly, each module/unit in above-described embodiment can use The form of hardware realizes, it would however also be possible to employ the form of software function module realizes.The present invention is not restricted to appoint The combination of the hardware and software of what particular form.
Certainly, the present invention also can have other various embodiments, spiritual and essence without departing substantially from the present invention In the case of, those of ordinary skill in the art can make various corresponding change and deformation according to the present invention, But these change accordingly and deform the protection domain that all should belong to appended claims of the invention.

Claims (7)

1. the method for message transmission for GJB5186 test, it is characterised in that the method includes:
Message to be transmitted is configured, specifically includes:
Configuring message content, the configuration information of generation includes following one or more combination in any: Type of message, data word number, the content of each data word;
Configuring message entirety, the configuration information of generation includes that message-length mistake, data are discontinuous Mistake;
Every of each word in message is carried out parameter configuration, and the configuration information of generation includes with the next item down Or multinomial combination in any:
Word length mistake, alternating binary coding mistake, synchronous head code error;
When test equipment receives startup transmission instruction, sequentially read the message configuration information stored;
According to the bus message frame format that the message configuration information composition read is to be sent, output to bus On;
Wherein, described message configuration information is made up of the configuration information of multiple message words.
2. transmission method as claimed in claim 1, it is characterised in that the configuration information of each message word At least include a kind of or the most multiple combination in following information:
The transmission whether sending this message word for configuration allows information;
For configuring the transmission bus selection letter of any bar that this message word is sent in double remaining data/address bus Breath;
For configuring the synchronous head coding information that the synchronous head of this message word encodes;
Effective information section content;
Word length configures;
Time delay configuration information;
Alternating binary coding error configurations information.
3. transmission method as claimed in claim 2, it is characterised in that when the configuration of described message word is believed When breath includes described configuration information time delay, when described time delay, configuration information at least included postponing Between and unit time delay.
4. transmission method as claimed in claim 3, it is characterised in that described time delay is configured to 0~1023.
5. transmission method as claimed in claim 3, it is characterised in that described unit configuration time delay For 1ns, 10ns, 100ns, 1us, 10us, 100us, 1ms, 10ms, 100ms or 1s.
6. transmission method as claimed in claim 2, it is characterised in that when the configuration of described message word is believed When breath includes described alternating binary coding error configurations information, described alternating binary coding error configurations information is at least wrapped Include the instruction information of alternating binary coding type of error, for configuring each of effective information section content of correspondence Whether bits produces the alternating binary coding position indication information of alternating binary coding mistake, and is used for configuring check bit Whether produce the instruction information of alternating binary coding mistake.
7. the message transmission equipment for GJB5186 test, it is characterised in that this equipment includes:
Dispensing unit, for configuring message to be transmitted, generates message configuration information, specifically Including:
Configuring message content, the message configuration information of generation includes following one or more any Combination: type of message, data word number, the content of each data word;
Configuring message entirety, the message configuration information of generation includes message-length mistake, data not Mistake continuously;
Every of each word in message is carried out parameter configuration, and the message configuration information of generation includes following One or more combination in any: word length mistake, alternating binary coding mistake, synchronous head code error;
Memory element, storage is for the message configuration information of GJB5186 test, and wherein, described message is joined Confidence breath is made up of the configuration information of multiple message words;
Transmitting element, when receiving startup and sending instruction, order reads the message in described memory element Configuration information, according to the bus message frame format that the message configuration information composition read is to be sent, output In bus.
CN201310447403.6A 2013-09-27 2013-09-27 A kind of method for message transmission for GJB5186 test and equipment Active CN103475547B (en)

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 CN103475547A (en) 2013-12-25
CN103475547B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278437A1 (en) * 2004-05-25 2005-12-15 Jianhua Xie Network analysis software real-time
CN101839969B (en) * 2009-03-20 2012-08-15 中国科学院空间科学与应用研究中心 Satellite communication 1553B ground detection system and detection method thereof
CN101937232B (en) * 2010-09-07 2012-05-23 北京航空航天大学 Embedded real-time emulation and fault simulation system based on multiple data buses

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103475547A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN109347648A (en) OAM message transmission method, transmission device and storage medium
KR102091302B1 (en) Timestamp correction in a multi-lane communication link with skew
US20220182330A1 (en) Method for determining sending period in deterministic network and apparatus
CN106027510B (en) The dynamic reconfiguration method and system of the communication network of Industrial Ethernet
CN112653600A (en) Network card performance testing method and device based on USB network card and electronic equipment
CN109656767A (en) A kind of acquisition methods, system and the associated component of CPLD status information
US9331927B2 (en) Communication system, communication device, and communication method
CN109981382A (en) A kind of method and device detecting error code
CN104809250A (en) Loose type data consistency checking method
CN110868458B (en) Communication method and device for stable control system
US20130336129A1 (en) Multipurpose Use of Delay Measurement Message Buffer for Software Processing of Delay Measurement Response
CN107294814A (en) The method of testing and device of a kind of network-on-chip
CN102404152B (en) Method and equipment for identifying response messages
JP7146824B2 (en) A graphical user interface tool for configuring a system to detect vehicle intrusions
CN103475547B (en) A kind of method for message transmission for GJB5186 test and equipment
US8612663B1 (en) Integrated circuit devices, systems and methods having automatic configurable mapping of input and/or output data connections
US10523235B2 (en) Transmission checking method, node, system and computer storage medium
CN109257185A (en) A kind of network equipment, service card, logic device and notification information transmission method
CN109283853A (en) A kind of space loading remote-control data Transmission system and method
CN114301991B (en) Communication method, device, system and computer readable storage medium
TWI599255B (en) Pilot configuration method and device
CN105718401B (en) The multiplexing method and system of a kind of multichannel SMII signals to MII signals all the way
KR101656416B1 (en) Apparatus and method of generating message automatically in real-time data transmission processing system
CN113259198A (en) Method for monitoring network, forwarding plane device, storage medium and system
CN106875978B (en) Data processing method and device

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