CN103778023B - Communication means and access device between access device and control device - Google Patents
Communication means and access device between access device and control device Download PDFInfo
- Publication number
- CN103778023B CN103778023B CN201210400959.5A CN201210400959A CN103778023B CN 103778023 B CN103778023 B CN 103778023B CN 201210400959 A CN201210400959 A CN 201210400959A CN 103778023 B CN103778023 B CN 103778023B
- Authority
- CN
- China
- Prior art keywords
- data
- order
- access
- access device
- particular command
- 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
Links
Landscapes
- Communication Control (AREA)
Abstract
The invention discloses a kind of access device and using the communication means of the transmission port between access device and control device, the communication means includes:Particular command is encoded, mode data is produced;Output data is produced according to the order data content corresponding to the content and particular command of mode data;And by transmission port, from a wherein side for access device and control device, transmission outputs data to the opposing party;The opposing party of access device and control device receives output data, and decodes the mode data of output data, produces decoding result, and according to decoding result, particular command is selected from many different operating orders, to run the communication function corresponding to particular command.Therefore, present invention can be implemented in a variety of operation command functions are realized in a transmission port.
Description
Technical field
The present invention is the signal transfer mechanisms on communication interface, one between espespecially a kind of access device and control device
The communication means of a variety of operation command functions and the access device of correlation are realized in transmission port.
Background technology
Traditionally, the communication interface between a controller and an access Zhuan Zhi ﹙ I/O device ﹚ generally has multiple transmission
Port, the signal of each transmission port represents different operational orders respectively, for example, existing communication interface is counted in transmission one
In implementation reached by two different transmission ports during according to writing commands and a data read command to the access device,
Therefore, when the operational order species run between controller and access device the more when, the communication interface should have more
Transmission port is to be separately operable different operational orders, and more transmission port also represents the pin of the access device on the implementation
Number will be the more.More transmission port or more is needed to use for the IC chip of prior art, when realizing
The cost that pin number represents its implementation is of a relatively high, therefore, and the communication interface of prior art does not simultaneously meet integrated electricity now
The economic benefit of road chip implementation.
The content of the invention
Therefore, the transmission port it is an object of the invention to provide a kind of use between access device and control device
Communication means and the access device, the communication means can run multiple different operational orders in the transmission port, therefore, can
Transmission port number needed for reducing, or even single transmission port can be used only in implementation to realize a variety of different operating orders of operation
Function, it is possible to effectively solve the problem of prior art is met with.
According to embodiments of the invention, an a kind of transmission of use between an access device and a control device is disclosed
The communication means of port.The communication means is included:A particular command is encoded, to produce a mode data;According to the mode data
Content and the particular command corresponding to an order data content produce an output data;And by the transmission port,
From a wherein side of the access device and the control device, transmit this and output data to a opposing party;Wherein access device is with being somebody's turn to do
The opposing party of control device is to receive the output data, and decodes the mode data of the output data, produces one and translates
Code result, and according to the Xie Code results, the particular command is selected from many different operating orders, to run the particular command
A corresponding communication function.
According to embodiments of the invention, an a kind of transmission of use between an access device and a control device is disclosed
The communication means of port.The communication means is included:By the transmission port, by the access device and wherein the one of the control device
Side, receives the output data that the opposing party is transmitted;The output data is decoded, one is produced and decodes result;And according to the Xie Code
As a result, a particular command is selected from many different operating orders, and runs the communication function corresponding to the particular command;Its
In the output data generation be an order data content and a mode data according to corresponding to the particular command produced by,
And the mode data is produced by by encoding the particular command.
According to embodiments of the invention, a kind of access device that a control device is coupled to via a transmission port is disclosed.
Access device includes a process circuit and a telecommunication circuit, and process circuit is to encode a particular command to produce a pattern count
According to and according to the mode data content and the particular command corresponding to an order data content produce an output data, lead to
Letter circuit is coupled to process circuit and outputs data to the control to transmit this from the access device by the transmission port
Device.The mode data of the output data is received and decoded by the control device, to produce a decoding result, and should
Control device is, according to the decoding result, the particular command to be selected from many different operating orders, to run the particular command
A corresponding communication function.
According to embodiments of the invention, a kind of access device that a control device is coupled to via a transmission port is disclosed.
Access device includes a process circuit and a telecommunication circuit, and process circuit is to control the telecommunication circuit, and telecommunication circuit
Process circuit and the output data to be sent to access device by the transmission port receiving control device are coupled to,
The generation of output data is that an order data content and a mode data of the control device according to corresponding to a particular command are produced
It is raw, and the mode data is produced by by encoding the particular command;In addition, process circuit is to decode the output data
Result is decoded to produce one, and according to the Xie Code results, the particular command is selected from many different operating orders, and operation should
A communication function corresponding to particular command.
Brief description of the drawings
Wherein, description of reference numerals is as follows:
Fig. 1 is the implementation of communication means of the use of one embodiment of the invention between an access device and a control device
Illustrate and be intended to.
Fig. 2A is that pattern pair required during mode data is produced by encoder/decoder operation in the preferred embodiments of the present invention
According to the example schematic of table.
Fig. 2 B are the signal sequence example signals of the communication interface between the access device shown in Fig. 1 and control device
Figure.
Fig. 3 is the letter of the transmission port of communication interface when running a state reporting order in the preferred embodiments of the present invention
Number waveform diagram.
Fig. 4 is the letter that the transmission port of a communication interface when state resets order is run in the preferred embodiments of the present invention
Number waveform diagram.
【Main element symbol description】
100 communication systems
105 access devices
110 control devices
1051 process circuits
1052 telecommunication circuits
Embodiment
Fig. 1 is refer to, Fig. 1 is the use of one embodiment of the invention in an access Zhuan Zhi ﹙ i/o device ﹚ 105 and a control
The embodiment schematic diagram of communication means between device 110 processed.As shown in figure 1, signal communications system 100 includes access device
105th, control device 110, wherein access device 105 include a process circuit 1051 and a telecommunication circuit 1052, access device 105
It is that control device 110 is electrically coupled to by single transmission port, telecommunication circuit 1052 is to by the single transmission port
To be communicated with control device 110, and process circuit 1051 is then coupled to telecommunication circuit 1052 to control telecommunication circuit 1052
And the generation data relevant with the progress communication of control device 110 or signal.In the present embodiment, access device 105 is for a light
The indicator device of sensing is learned, an e.g. optical mouse, therefore, access device 105 produce the sensing number relevant with optical sensing
According to or produce displacement data, and the inside of access device 105 in itself also can in have and one or more slow deposit device ﹙ and be not shown in
The Zhong ﹚ of figure 1 are simultaneously used for the data of temporary read-write, therefore, and the ﹙ of control device 110 is, for example, a micro-control unit, but Bu Xian Ding ﹚ will
Communicated with access device 105, to obtain the read-write data that displacement data or accessed cache device are kept in, in other words, control
Device 110 processed can send the Ming corresponding to different operating order and make Shuo Ju ﹙ such as addresses or other according to different operational orders
Shuo Ju ﹚ are to access device 105, to carry out the acquirement of displacement data or image sensing data, the reading for the data that buffer is kept in
Go out or the function such as write.In addition, can also be run different from Shuo according to Cun Qu ﹙ or data between access device 105 and control device 110
Other communication control functions of reading/Xie Ru ﹚ functions, for example, access device 105 can send progress to the active of control device 110
State Hui Baos ﹙ status report ﹚ operation, and access device 105 can send the state reporting according to a state reporting order
The corresponding order data of order or signal to control device 110, with inform control device 110 whether the mesh of access device 105
Preceding state has change.Come in addition, being different from Shuo to operation according to Cun Qu ﹙ or other communication control functions of data read-out/Xie Ru ﹚ functions
Say, control device 110 also can actively carry out state Chong Zhi ﹙ status reset ﹚ operation to access device 105, according to a shape
State resets order, sends the state and resets order data/signal corresponding to ordering to access device 105, to reset access dress
Put 105 current state.
Due to the control in the function of a variety of different operating orders, the present embodiment can be run in order to be realized in single transmission port
Communication between device 110 and access device processed is the operation for using the mode of encoder/decoder to be run at present to link up each other
Why is order, and a wherein side for wherein control device 110 and access device is encoded and produced according to the operational order to be run
A raw mode data, the mode data can represent a corresponding communication function pattern of operational order, and the mode data with
The relevant command information content of the operational order is together to be transferred into the opposing party of control device 110 and access device, by another
Why one side decodes the operational order to be run to learn of the mode data, and according to decoding result and the behaviour received
Make the relevant command information content ordered to run the operational order.Therefore, it can reach and realize that operation is more in single transmission port
Effect of operational order is planted, while reducing pin count purpose purpose.
Above-mentioned different operational orders or function are to correspond respectively to the related different communication function mould of encoder/decoder running
Formula, in a preferred embodiment of the invention, the communication interface between access device 105 and control device 110 can run it is a variety of not
With operational order, that is to say, that a variety of different communication function patterns can be achieved, such as corresponding to eight kinds different operating orders
Communication function pattern, those operational orders can be divided into data access Ming and Ling ﹙ data access command ﹚ and non-
The Cao of data access, which makees Ming, Lings ﹙ non-data access command ﹚, and in other words, those communication function patterns are accordingly
The pattern accessed comprising data access pattern and non-data.Data access order includes single data read command, single number
Read according to writing commands, many pen data reading orders, many pen data writing commands, displacement data reading order and view data
Order, the control command of non-data access includes state reporting order and state resets order, and in the same manner, data access mould
Formula and the control model of non-data access also include corresponding a variety of communication function patterns respectively, do not repeat separately herein.
In addition, single data read command, single data writing commands, many pen data reading orders and many pen data writing commands are point
An other buffer in access device 105 or multiple buffers carry out data access, thus those operational orders also can by regarding
For buffer data access command.
When operation single data read command, single data writing commands, many pen data reading orders and many pen datas are write
When entering order, control device 110 is another to send in addition to coding is produced and transmits corresponding mode data to access device 105
Related order data to access device 105, taken with Cun Qu ﹙ Du or Xie Ru ﹚ access devices 105 buffer data segments,
In addition, when running displacement data read command or view data reading order, control device 110 is except coding is produced and is transmitted
Outside corresponding mode data to access device 105, different displacement command data and image command data are also sent respectively extremely
Access device 105, to read out the view data obtained by displacement data or sensing in access device 105.And when operation shape
During state return order, access device 105 is in addition to coding is produced and transmits corresponding mode data to control device 110, separately
The status data corresponding to a state reporting order is sent to control device 110, is had with the state for notifying control device 110 current
Become.And when running status resets and ordered, control device 110 is except coding is produced and transmits corresponding mode data to access
Outside device 105, the another state that sends resets the status data corresponding to ordering to access device 105, to reset access device 105
State.
Therefore, the communication interface of the single transmission port of embodiments of the invention has two-way communications, to control
Device 110 processed is actively initiated for the operational order of operation, and control device 110 is that first the particular command is encoded, implementation
On, it is to be stored according to a table of comparisons ﹙ in control device 110, the table of comparisons is stored with pair of multioperation order and mode data
According to Guan Xi ﹚, encode the particular command to produce a mode data, the mode data can indicate that the corresponding particular command
Lei Xing ﹚, produce an output number according to the content of the coded data with the content of the related command data of the particular command afterwards
According to, and by the transmission port, the output data is sent to the access device 105 of the other end from control device 110, citing comes
Say, the particular command is foregoing many pen data writing commands, 110 pairs of control device many pen data writing commands are encoded
It is, for example, afterwards to write by the mode data and the order data Nei Rong ﹙ of many pen data writing commands to produce the mode data
Enter address and constitute the output data according to Nei Rong ﹚ with write-in Shuo, the output data is sent to by access device by the transmission port
105;Therefore, the telecommunication circuit 1052 in access device 105 is to receive the output number sent by the transmission port
Ju ﹙ include the mode data and the order data Nei Rong ﹚ of many pen data writing commands, and are receiving the mode data, writing
Enter address with after write-in data content, the decodable code of process circuit 1051 mode data in access device 105 and obtain one and translate
Code result, can now learn the order to be run of control device 110 be which kind of command type, the foundation of post processing circuitry 1051
The decoding result, determines/selects a particular command from how different orders, to run corresponding arithmetic operation.
Then it is that access device 105 is first right in addition, actively initiating access device 105 to the communication of control device 110
The particular command to be run is encoded, in implementation, and process circuit 1051 is to be stored in access device according to a table of comparisons ﹙
In 105, what the table of comparisons was stored with multioperation order and mode data compares Guan Xi ﹚, and the particular command is encoded into a pattern
Data, the content of the mode data is that have man-to-man contrast relationship with the particular command, and according in the mode data
Hold the related data content with the particular command to produce in an output data, implementation, the output data is to include the pattern count
According to the related data with the particular command, then telecommunication circuit 1052 is transmitted by the single transmission port from access device 105
This outputs data to control device 110, for example, the particular command is a state reporting order of access device 105, is used to
Return current access device 105 to be switched by a sleep state or changed to a normal operating state, process circuit 1051 is according to spy
Fixed order produces the coded data, and the content by the coded data produces with the data content of the state reporting order
The output data, then telecommunication circuit 1052 output data is sent to by control device 110 by the transmission port.Receiving
To after the output data, control device 110 can obtain the data content of the mode data and the state reporting order, but not obtain
Know that access device 105 run is state reporting order, and this timed unit 110 can be decoded by the corresponding table of comparisons
Mode data in the output data is to produce a decoding result, afterwards according to the operation order indicated in solution Code results, fortune
The corresponding operational order of row, for example, and when producing decoding result, control device 110 can learn run life
Order is state reporting order.
It is noted that in the preferred embodiments of the present invention, the communication between access device 105 and control device 110 connects
Mouth can run eight kinds of different operational orders, therefore, and the mode data produced by man-to-man encoder/decoder operation is with 3 numbers
Realize, so say according to position, this is only in the one of which example with the present invention, implementation, to realize the digit of the mode data
And operational order species is not the limitation of the present invention.The reference picture that please arrange in pairs or groups 2A and the preferred reality that Fig. 2 B, Fig. 2A are the present invention
The example schematic for producing pattern collation table required during mode data in example by encoder/decoder operation is applied, Fig. 2 B are Fig. 1 institutes
One signal sequence example schematic of the communication interface between the access device 105 and control device 110 that show.As shown in Figure 2 A,
There is man-to-man contrast relationship between mode data and the order of operation, and the mode data is realized with 3 data bit,
Therefore, specific action command coding can be produced one mode data by being performed the encoding operation according to the table of comparisons shown in Fig. 2A, and
Decoded operation then accordingly enter row decoding according to the table of comparisons with restore the particular command be multiple operational orders which
One operational order.
As shown in Figure 2 B, it is the signal example schematic for above-mentioned communication interface, in the present embodiment, the communication interface
Signal show access device 105 after power-up, control device 110 first to access device 105 carry out data access, it
Access device 105 reruns the operation of state reporting afterwards, however, this is only can be in list to the operation of convenient explanation the present embodiment
Two-way communications are realized in one transmission port, and are not the limitation of the present invention.As illustrated in fig. 2b, SWTL is to represent the list
Signal example of one transmission port in different time points, and IF_State is represented between access device 105 and control device 110
The interval contents of program of different time, because the operation with access device 105 or control device 110 is related, so, also it can be considered
It is the mode of operation of of access device 105 itself.First, in time interval T0, the starting up of access device 105 is carried out simultaneously
State is reset, and now detects access device 105 and exists, so, any operation life can be then run to access device 105
Order.In time interval T1, access device 105 enters the Cheng Xu ﹙ stand-by ﹚ that await orders, now the telecommunication circuit of access device 105
1052 be to receive a preposition Shuo Ju ﹙ preamble ﹚ and the mode data that control device 110 is sent, as it was previously stated,
The mode data is produced by control device 110 is coded, and the process circuit 1051 of access device 105 is decoding the pattern count
It can learn represented by the mode data be which kind of operational order run after, in addition, advance data now is also by controlling
Produced by device 110, the advance data is to carry out frequency restoration, access device 105 is obtained more accurate frequency.And
After the advance data and the mode data has been transmitted, the communication interface between control device 110 and access device 105 is entered
One life makes Cheng Xu ﹙ time interval T2 ﹚, now, and control device 110 sends the correlation of the operational order corresponding to the mode data
Command information makes the process circuit 1051 of access device 105 after the operational order that should be run is learnt to access device 105,
This operational order can be run according to related command information content.For example, if control device 110 is operation single
Data writing commands, the content of its coded mode data produced is for position ' 000 ', therefore, according to the pattern shown in Fig. 2A
The table of comparisons, the access device 105 at decoding end can learn to be currently the order for running the write-in of single data, and in above-mentioned order journey
In sequence, the related command information be, for example, single data writing commands Xie enter Di Zhi ﹙ for example write to which Huan Cun Qi ﹚ with
And the data content write, therefore, when the process circuit 1051 of access device 105 receive ' 000 ' mode data and on
The command information stated, access device 105 can correctly run the current control device 110 single data to be carried out write-in life
Order.In addition, when communication interface enters the command program, in the present embodiment, control device 110 it is another the relevant command information it
After send error checking code to access device 105, error checking code can make access device 105 detect the process of data transfer
Whether malfunction, in implementation, the present embodiment is with CRC Ma ﹙ CycleRedundancy Check code, CRC
Code ﹚ realize the function of error checking code, but this is only the preferred embodiment of the present invention, be not the limitation of the present invention.
In addition, in addition to running above-mentioned data access order, also a shape can be sent by access device 105 in the transmission port
Control device 110 is given in state return order.For example, as shown in Figure 2 B, the single data writing commands have been run in control device 110
Afterwards, in the present embodiment, assume that through after a period of time, simultaneously off-duty is ordered between control device 110 and access device 105
Order, now, access device 105 is to enter to a sleep state by normal operating state to save the electricity Li ﹙ access devices of itself
105 be portable apparatus, but Bu Xian Ding ﹚, and control device 110 also can switch to sleep state to save electric power, access afterwards
Device 105, which is set at periodically waking up, to be checked whether to need to switch to normal operating state from sleep state, if access dress
Put 105 decisions and switch to normal operating state, then will then inform control device 110, control device 110 is also switched to normally
Mode of operation, to carry out communication between the two.In implementation, the mode data produced by process circuit 1051 is for ' 101 ', to change
Sentence talk about, communication interface it is another await orders Cheng Xu ﹙ time interval T3 ﹚ when, telecommunication circuit 1052 be transmission it is above-mentioned to carry out
The advance data and mode data ' 101 ' of frequency restoration are to control device 110, therefore, after decoding mode data ' 101 ',
What current access device 105 knowable to control device 110 was just being run is state reporting order, and communication interface therebetween is entered
When entering the life and making Cheng Xu ﹙ time interval T4 ﹚, process circuit 1051 is control telecommunication circuit 1052, by the letter in the transmission port
Number waveform La Di ﹙ signal waveforms when access device 105 is in sleep state are to be driven high ﹚, control device 110 is learnt shape
The time point of state switching.Fig. 3 is refer to, Fig. 3 is the operation one state reporting life of access device 105 in the preferred embodiments of the present invention
The signal waveform schematic diagram of the transmission port of communication interface when making.As shown in figure 3, now the communication interface is in command program
Time interval T4 ﹚s of the Zhong ﹙ for example shown in Fig. 2 B, wherein what label S1 was represented is the state of access device 105, and label S2 is represented
Be control device 110 state, what label SWTL was represented is the signal waveform in the transmission port of communication interface, as figure institute
Show, before time point t0, access device 105 and control device 110 are equal positions in sleep state, and now signal waveform SWTL is
High levle influences the transmission of signal to prevent noise jamming;When in command program Shi ﹙ time interval T4 ﹚, access device 105 exists
Time point t0 drags down signal waveform SWTL, now, control device 110 perceive signal waveform SWTL be converted to by high levle it is low
Level, thus learn that access device 105 has returned current state and switched to normal operating by sleep state, therefore, control
Device 110 also switches to normal operating by sleep state, and in time point t1, control device 110 draws high signal waveform SWTL
To high levle, to illustrate the information that known access device 105 is returned.It is noted that being returned at present by access device 105
State to control device 110 to promote the state of control device to change, be the program or work(for belonging to a kind of software interrupt
Can, it is therefore intended that wake control device 110.
In addition, when the running status of control device 110 reset order when, its first encode produce ' 111 ' mode data, and
Above-mentioned advance data and the mode data ' 111 ' are sent to access device 105 during program of awaiting orders, by the institute of telecommunication circuit 1052
Receive, therefore, the state that current control device 110 is run can be learnt when process circuit 1051 decodes the mode data ' 111 '
Order is reset, in the command program of the communication interface, control device 110 can drag down the signal of the transmission port of the communication interface
Level makes the signal level maintain low level TBD ﹙ such as 4 Shi ﹚ of figure for a period of time to low level, to inform access device
105 appropriate state reset time points, therefore, when the process circuit 1051 of access device 105 finds the signal of the transmission port
Level maintain low level for a period of time TBD when, access device 105 be running status reset, as shown in figure 4, control device 110
The signal SWTL waveform of transmission port is dragged down during from time point t2 to time point t3 to low level, what label S3 was represented be when
Between after point t3, access device 105 is by original normal operating state, and the state that brings into operation is reset.
Furthermore, as it was previously stated, embodiments of the present invention are that a variety of different operating lives of operation are realized in single transmission port
The function of order, and it should be noted that those operational orders are not limited to operational order as shown in Figure 2 A, in one embodiment,
Communication interface between access device 105 and control device 110 also may be set to run two kinds of different operational orders, both
One of different operating order is, for example, that data access Ming Lings the writing commands of ﹙ such as data or the Du of data takes Ming to Ling ﹚,
And it is another, it is that the control life of non-data access makes ﹙ such as state reporting orders or state replacement life make ﹚, in addition, implementing one
In example, one of two kinds of different operating orders can also be data writing commands, and it is another be then data reading order.
In addition, the how different operational order can also include one first data access order and one different from the first data access order
Second data access order, first, second data access order is buffer data access command, displacement data reading life respectively
Order and the wherein wantonly two data access order of view data reading order.This all a variety of possible design variant meet this hair
Bright spirit, belongs to scope of the invention.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (27)
1. the communication means between a kind of access device and control device, it is characterised in that include:
Particular command is encoded, to produce mode data, the mode data is used for the type for indicating the corresponding particular command;
According to the content of the mode data output data is produced with the order data content corresponding to the particular command;And
By a single transmission port, from a wherein side of the access device and the control device, transmit this and output data to
The opposing party;
The opposing party of wherein access device and the control device is to receive the output data, and decodes the output data
The mode data, produces decoding result, and according to the decoding result, the spy is selected from how different types of operational order
Fixed order, and the specific life is run according to the order data content corresponding to the decoding result and the particular command received
Order, to run the communication function corresponding to the particular command.
2. communication means as claimed in claim 1, it is characterised in that the step of producing the mode data includes:
The many orders stored according to the table of comparisons and the contrast relationship of mode data, encode the particular command and produce the pattern count
According to;And
The step of producing the output data includes:
Produce advance data;And
According to the order data content corresponding to the advance data, the content of the mode data and the particular command, produce
The output data.
3. communication means as claimed in claim 2, it is characterised in that the advance data is used as frequency restoration.
4. communication means as claimed in claim 1, it is characterised in that many different operating orders are to correspond respectively to difference more
Mode data, and the operational order that those operational orders are accessed comprising data access order with non-data.
5. communication means as claimed in claim 4, it is characterised in that the operational order of non-data access is the state reporting
Order;And, the step of transmitting the output data includes:
By the transmission port, transmit this from the access device and output data to the control device, return the mesh of the access device
Preceding state, so that the control device decides whether to carry out the switching of oneself state.
6. communication means as claimed in claim 4, it is characterised in that the operational order of non-data access is that the state is reset
Order;And, the step of transmitting the output data includes:
By the transmission port, transmit this from the control device and output data to the access device, to reset the access device
State.
7. communication means as claimed in claim 4, it is characterised in that the data access order accesses life comprising buffer data
Make, displacement data reading order and view data reading order at least one.
8. communication means as claimed in claim 1, it is characterised in that the how different operational order includes the first data access
Order and the second data access order different from the first data access order, the first, second data access order is slow
The wherein wantonly two data access order of latch data access command, displacement data reading order and view data reading order.
9. the communication means between a kind of access device and control device, it is characterised in that include:
By a single transmission port, by a wherein side of the access device and the control device, receive the opposing party and transmitted
Output data;
The output data is decoded, decoding result is produced;And
According to the decoding result, select particular command from how different types of operational order, and according to the decoding result with
The order data content corresponding to the particular command that is received runs the particular command, to run corresponding to the particular command
Communication function;
The generation of the wherein output data is that order data content and mode data according to corresponding to the particular command are produced
It is raw, and the mode data is the type for indicating the corresponding particular command produced by by encoding the particular command.
10. communication means as claimed in claim 9, it is characterised in that the step of receiving the output data includes:
Receive in the order data corresponding to advance data, the mode data and particular command in the output data
Hold;And
The step of producing the decoding result includes:
The many orders stored according to the table of comparisons and the contrast relationship of mode data, decode the pattern count in the output data
According to produce the decoding result;
Wherein the preposition data is used as frequency restoration.
11. communication means as claimed in claim 9, it is characterised in that many different operating orders are to correspond respectively to more not
Same mode data, and the operational order that those operational orders are accessed comprising data access order with non-data.
12. communication means as claimed in claim 11, it is characterised in that the operational order of non-data access is that the state is returned
Report on one's mission order;And, the step of receiving the output data includes:
By the transmission port, the output data that the control device is sent to from the access device is received, to learn the access
The current state of device;
Wherein the output data is another to referenced by the control device, to decide whether that the state for carrying out the control device is cut
Change.
13. communication means as claimed in claim 11, it is characterised in that the operational order of non-data access isShouldState weight
Put order;And, the step of receiving the output data includes:
By the transmission port, the output data that the access device is sent to from the control device is received;
Wherein the access device is reset according to the output data.
14. communication means as claimed in claim 11, it is characterised in that the data access order is accessed comprising buffer data
At least one of order, displacement data reading order and view data reading order.
15. communication means as claimed in claim 9, it is characterised in that the how different operational order is deposited comprising the first data
Order and the second data access order different from the first data access order are taken, the first, second data access order is
The wherein wantonly two data accesses life of buffer data access command, displacement data reading order and view data reading order
Order.
16. a kind of access device, control device is coupled to via transmission port, it is characterised in that the transmission port is one single
One transmission port;The access device is included:
One process circuit, encodes particular command, to produce the mode data for the type for being used to indicate the particular command, and foundation
The content of the mode data produces output data with the order data content corresponding to the particular command;And
One telecommunication circuit, is coupled to the process circuit, by the transmission port, transmits this from the access device and outputs data to this
Control device;
The mode data of the wherein output data is received and decoded by the control device, to produce decoding result, and
The control device is, according to the decoding result, the particular command to be selected from how different types of operational order, and according to this
Decoding result runs the particular command with the order data content corresponding to the particular command received, specific to run this
The corresponding communication function of order.
17. access device as claimed in claim 16, it is characterised in that the process circuit be according to the table of comparisons stored it is many
Order and the contrast relationship of mode data, encode the particular command and produce the mode data, and, produce advance data and foundation
The order data content corresponding to the advance data, the content of the mode data and the particular command, produces the output data.
18. access device as claimed in claim 17, it is characterised in that the advance data is used as the control device
Frequency restoration.
19. access device as claimed in claim 16, it is characterised in that many different operating orders are to correspond respectively to more not
Same mode data, and the operational order that those operational orders are accessed comprising data access order with non-data.
20. access device as claimed in claim 19, it is characterised in that the operational order of non-data access is that the state is returned
Report on one's mission order;And, the telecommunication circuit is, by the transmission port, to transmit this from the access device and output data to control dress
Put, return the current state of the access device, make control device operation corresponding to the particular command data of the access device
The operation, decide whether carry out state switching.
21. access device as claimed in claim 19, it is characterised in that the data access order is accessed comprising buffer data
At least one of order, displacement data reading order and view data reading order.
22. a kind of access device, control device is coupled to via transmission port, it is characterised in that the transmission port is one single
One transmission port;The access device is included:
One process circuit, to control telecommunication circuit;And
The telecommunication circuit, is coupled to the process circuit, and being sent to this by the transmission port, receiving the control device deposits
The output data of device is taken, the generation of the output data is order data content of the control device according to corresponding to particular command
And produced by mode data, and the mode data is produced by by encoding the particular command, corresponding for indicating
The type of the particular command;
Wherein, the process circuit is to decode the output data to produce decoding result, and according to the decoding result, from more not
The particular command is selected in the operational order of same type, and according to corresponding to the decoding result and the particular command received
Order data content run the particular command, to run the communication function corresponding to the particular command.
23. access device as claimed in claim 22, it is characterised in that the telecommunication circuit is received in the output data
Advance data, the mode data and the particular command corresponding to the order data content, and the process circuit be according to
The many orders stored according to the table of comparisons and the contrast relationship of mode data, decode the output data and produce the decoding result, its
In the advance data be used as frequency restoration.
24. access device as claimed in claim 22, it is characterised in that many different operating orders are to correspond respectively to more not
Same mode data, and the operational order that those operational orders are accessed comprising data access order with non-data.
25. access device as claimed in claim 24, it is characterised in that the operational order of non-data access is the state weight
Put order;And, the telecommunication circuit be by the transmission port, receive from the control device be sent to the access device this is defeated
Go out data, and the process circuit is reset according to the output data.
26. access device as claimed in claim 22, it is characterised in that the data access order is accessed comprising buffer data
At least one of order, displacement data reading order and view data reading order.
27. access device as claimed in claim 22, it is characterised in that the how different operational order is deposited comprising the first data
Order and the second data access order different from the first data access order are taken, the first, second data access order is
The wherein wantonly two data accesses life of buffer data access command, displacement data reading order and view data reading order
Order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210400959.5A CN103778023B (en) | 2012-10-19 | 2012-10-19 | Communication means and access device between access device and control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210400959.5A CN103778023B (en) | 2012-10-19 | 2012-10-19 | Communication means and access device between access device and control device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103778023A CN103778023A (en) | 2014-05-07 |
CN103778023B true CN103778023B (en) | 2017-09-15 |
Family
ID=50570294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210400959.5A Active CN103778023B (en) | 2012-10-19 | 2012-10-19 | Communication means and access device between access device and control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103778023B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109152133B (en) * | 2018-08-16 | 2020-04-14 | 江门市蓬江区天利新科技有限公司 | Post-coding method based on power supply line transmission control signal and address signal and LED module |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984406A (en) * | 2006-05-31 | 2007-06-20 | 华为技术有限公司 | Linear-controlled system, linear controller and controlling method |
CN101136064A (en) * | 2006-08-31 | 2008-03-05 | 瑞昱半导体股份有限公司 | Control device providing setting signal using pull-up circuit and method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010025655A1 (en) * | 2008-09-02 | 2010-03-11 | 华为终端有限公司 | 3d video communicating means, transmitting apparatus, system and image reconstructing means, system |
CN101369001A (en) * | 2008-10-17 | 2009-02-18 | 北京星网锐捷网络技术有限公司 | Apparatus used for debugging programmable chip and field programmable gate array chip |
-
2012
- 2012-10-19 CN CN201210400959.5A patent/CN103778023B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984406A (en) * | 2006-05-31 | 2007-06-20 | 华为技术有限公司 | Linear-controlled system, linear controller and controlling method |
CN101136064A (en) * | 2006-08-31 | 2008-03-05 | 瑞昱半导体股份有限公司 | Control device providing setting signal using pull-up circuit and method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103778023A (en) | 2014-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101799795B (en) | 1553B bus monitor and bus system with same | |
CN101175077B (en) | Intellectual property nucleus of optical fiber channel | |
CN107145430A (en) | A kind of method for realizing NVMe SSD lightings by CPLD based on I2C interfaces | |
CN101399654A (en) | Serial communication method and apparatus | |
CN111104272B (en) | CAN bus controller testing method based on RX and TX | |
CN101140543B (en) | Data interchange device and method for supporting flash page operations and pipelined error-correcting code | |
CN104008082A (en) | Converter of 1553B bus remote terminal (RT) node and controller area network (CAN) bus | |
CN115065575B (en) | Data transmission system based on CAN bus controller and electronic equipment | |
CN110941218A (en) | CAN bus controller test method | |
CN108199941A (en) | A kind of CAN bus communication means based on CAN2.0B | |
CN105068955A (en) | Local bus structure and data interaction method | |
CN102053712A (en) | Multi-keyboard input system, input equipment, switching device and control method | |
CN101221550A (en) | Method and chip for serial communication | |
CN100508604C (en) | Arithmetic coding circuit and arithmetic coding control method | |
CN106776104A (en) | A kind of method of Nand Flash controllers and terminal and control Nand Flash | |
CN103778023B (en) | Communication means and access device between access device and control device | |
CN108389600A (en) | Data storage device and parameter rewriting method | |
CN112327600B (en) | Data synchronization method of redundant controller, redundant controller and instrument control system | |
CN106874228A (en) | Based on I2Communication means between the controller and communication means, multi-controller of C buses | |
CN100533424C (en) | Single line transmission interface and single byte operational keyboard display module | |
CN100449498C (en) | Data storage device | |
CN101848062A (en) | Analogue quantity output module based on MVB (Multifunction Vehicle Bus) interface and MVB device | |
CN102023957B (en) | Method for stimulating multiple serial ports by a USB interface for transmitting data and USB compound device | |
CN101290602A (en) | Memory management method and system | |
CN204406439U (en) | A kind of bar-code decoder with PS2 bus interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |