CN106649174A - USB equipment and USB communication method - Google Patents
USB equipment and USB communication method Download PDFInfo
- Publication number
- CN106649174A CN106649174A CN201610887958.6A CN201610887958A CN106649174A CN 106649174 A CN106649174 A CN 106649174A CN 201610887958 A CN201610887958 A CN 201610887958A CN 106649174 A CN106649174 A CN 106649174A
- Authority
- CN
- China
- Prior art keywords
- usb
- terminal
- usb device
- data
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Abstract
The invention discloses USB equipment. The USB equipment comprises an interactive input module, a controller and a USB output interface; the controller comprises a signal transmission port; the controller is used for receiving control information and monitoring a control instruction sent by a computer terminal through the signal transmission port; the working state of the USB equipment is configured according to the control information or the control instruction; the controller is also used for creating an equipment state instruction in a USB data format according to the working state of the USB equipment and sending the equipment state instruction to the computer terminal through the signal transmission port so that the computer terminal can synchronously record the working state of the USB equipment. The invention furthermore discloses a USB communication method. Through the USB equipment and the USB communication method, a user can operate on the USB equipment and control the working state of the USB equipment on the computer terminal, and operation trouble is avoided.
Description
Technical field
The present invention relates to USB field, in particular it relates to a kind of USB peripheral device.
Background technology
USB (Universal Serial Bus, USB) is to connect computer system with the one of external equipment
Kind of serial bus standard, is also a kind of technical specification of input/output interface, USB technologies application generally existing at present, especially
The higher message transmission rate of USB3.0 and above standard implementation, for example, can transmit regarding for higher resolution and higher frame per second
Frequency evidence.
Have benefited from the fast development of USB technologies, some need to transmit image, the periphery for possessing USB transmission ability of video
The function of equipment is also increasingly perfect, such as video presenter, high photographing instrument etc..But in prior art, video presenter, high photographing instrument etc. can not
The expanded function data such as human-machine interaction data are directly transmitted, so if operation is controlled to these peripheral units, such as
Teacher will zoom in or out operation when experimentation is shown to the video for projecting, can only be by operating video exhibition
The main frame such as the upstream equipment that platform is connected --- flat board or computer is realized, and directly can not be operated on video presenter, so meeting
Cause operational trouble;Additionally, the working condition of USB device can not be controlled on computer terminals, such as beat and open or close
Close light compensating lamp, adjustment projection angle etc..
The content of the invention
It is an object of the invention to provide a kind of USB device and usb communication method, realize USB device and terminal
Between the communication of expanded function data double-way, user operate on USB device again can on computer terminals control USB
The working condition of equipment, it is to avoid operational trouble.
To achieve these goals, one aspect of the present invention provides a kind of USB device, including interactively entering module, controller
With USB output interfaces;The controller includes signal transmission port;
The USB output interfaces are used to connect terminal to realize that this USB device is logical with the terminal
Letter connection;
It is described interactively enter module for receive the control information that caused by the operation of user, and by the control information
It is sent to the controller;
The controller is used to receive the control information and monitors the computer end by the signal transmission port
The control instruction that end sends;According to the control information or the control instruction, the working condition of this USB device is configured;
The controller is additionally operable to the working condition according to this USB device, and the equipment state for creating usb data form refers to
Order, sends the equipment state instruction, so that the computer end by the signal transmission port to the terminal
Hold the working condition of this USB device of synchronous recording.
Implement the present invention, have the advantages that:
The USB device that the present invention is provided, by controller the instruction of usb data form is created, and enables instruction to pass through USB defeated
Outgoing interface is sent to terminal, and the instruction sent according to terminal or user operate on this USB device and cause
Control information configuration work state, and return to terminal and make terminal this USB device of synchronous recording all the time
Working condition, you can make user to operate on USB device and can on computer terminals control the work shape of USB device
State, overcoming some functions needs to arrange on computer terminals, and some functions need the technology limit arranged on USB device again
System, it is to avoid trouble in operation.
Further, this USB device also includes USB downstream modules and USB control chips;
The USB downstream modules include data-out port;The USB downstream modules are used to generate video data and pass through
The data-out port sends the video data;
The USB control chips include the first downstream port, the second downstream port and the first upstream port;The USB controls
Coremaking piece is used for from first downstream port and the second downstream port receiving data or instruction, and by first upstream end
Mouth sends the data or instruction;
The data-out port of the USB downstream modules includes USB2.0 output ports;The USB of this USB device is defeated
Outgoing interface includes USB2.0 data upstream output interfaces;
The signal transmission port of the controller connects first downstream port of the USB control chips;Institute
The USB2.0 output ports for stating USB downstream modules connect second downstream port;On the first of the USB control chips
Trip port connects the USB2.0 data upstreams output interface.
In further scheme, by the signal transmission port of USB control chip access controllers and USB output interfaces it
Between, because USB control chips have the function of extension switching, make the video counts of the instruction that controller sends and USB downstream modules
According to upstream equipment can be transferred to, it is ensured that the transmission of video function of original USB device is unaffected.
Preferably, the data-out port of the USB downstream modules also includes SSTX output ports and SSRX output ports;
The USB output interfaces of this USB device also include that SSTX data upstreams output interface and SSRX data upstreams are defeated
Outgoing interface;
The SSTX output ports connect the SSTX data upstreams output port, and the SSRX output ports connection is described
SSRX data upstream output ports.
Preferably, the USB control chips are USB2.0 control chips.
In preferred version, USB2.0 control chips are only used, just can simultaneously meet function and the instruction of USB3.0 Transmission systems
Transmission.The instruction of controller is connected to USB2.0 control chips and is transferred by signal output port, USB3.0 downstream molds
The SSTX output ports and SSRX output ports of block is directly connected to USB3.0 output interfaces.Because terminal and USB set
The transmission highest of the communication instruction between standby only need to can reality under the full speed of the D+/D- data transfers of USB2.0 or fast state
It is existing, to the less demanding of transfer rate, therefore signal transmission port output USB2.0 data, using the control of switching USB2.0 data
Coremaking piece, and the video that USB downstream modules are exported from SSTX output ports and SSRX output ports is due to need not be with other moulds
Block shares output interface, therefore can be directly connected to USB output interfaces.Therefore using USB2.0 control chips cost performance very
It is high.Compare and be directly connected between USB3.0 downstream modules and USB3.0 output interfaces using USB3.0 control chips, this programme
The utilization to greatest extent of USB resources can be realized, cost is reduced.
Preferably, this USB device is video presenter.
Preferably, this USB device is high photographing instrument.
Another aspect of the present invention provides a kind of usb communication method, including:
Set up the communication connection of this USB device and terminal;
The control information that reception is caused by the operation of user;
Monitor the control instruction that the terminal sends;
According to the control information or the control instruction, the working condition of this USB device is configured;
According to the working condition of this USB device, the equipment state instruction of usb data form is created, to the computer end
End sends equipment state instruction, so that the working condition of the terminal synchronous recording this USB device;
Wherein, this USB device is above-mentioned USB device.
The usb communication method that the present invention is provided, user can be made to operate on USB device again can be on computer terminals
The working condition of control USB device, overcoming some functions needs to arrange on computer terminals, and some functions need again
The technology restriction arranged on USB device, it is to avoid trouble in operation.
Further, the communication connection for setting up this USB device and terminal, specifically includes:
Enabling signal is sent to the terminal, to trigger the terminal connection request instruction is created;
When the connection request instruction that the terminal sends is received, start to continue to be sent out to the terminal
The first heartbeat signal is sent, while detecting whether to receive the second heartbeat signal from the terminal;
If receiving second heartbeat signal, confirm to keep lasting communication connection with the terminal.
Further in scheme, detect that heartbeat signal guarantees effectively connection by both sides.
Further, it is described to send enabling signal to terminal, please to trigger the terminal establishment connection
Instruction is asked, is specifically included:
Enabling signal is packaged into the enabled instruction of usb data form, the startup is sent to the terminal and is referred to
Order;Wherein, the enabled instruction is used for the mark reading instruction of requesting computer terminal returning equipment;
When the device identification reading instruction that the terminal sends is received, send to the terminal and mark
The device identification data of this USB device identity is known, so that the terminal judges whether itself connects with the USB device for authorizing
Connect, when it is determined that itself is connected with the USB device for authorizing, create connection request instruction.
Further in scheme, terminal is read by device identification, effectively screens corollary equipment, it is ensured that USB device
Effective interactive controlling and safe transmission between terminal.
Description of the drawings
Fig. 1 is the structural representation of the first embodiment of the USB device that the present invention is provided;
Fig. 2 is the structural representation of the second embodiment of the USB device that the present invention is provided;
Fig. 3 is the structural representation of the 3rd embodiment of the USB device that the present invention is provided;
Fig. 4 is the flow chart of the usb communication method that the present invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
It is the structural representation of the first embodiment of the USB device that the present invention is provided referring to Fig. 1;
The USB device of first embodiment includes:Interactively enter module 10, controller 20 and USB output interfaces 40;The control
Device processed 20 includes signal transmission port;
USB output interfaces 40 are used to connect terminal to realize the communication of this USB device and the terminal
Connection;
Interactively enter module 10 for receive the control information that caused by the operation of user, and by control information transmission
To the controller;
Controller 20 is used to receive the control information and monitors the terminal by the signal transmission port
The control instruction of transmission;According to the control information or the control instruction, the working condition of this USB device is configured;
Controller 20 is additionally operable to the working condition according to this USB device, creates the equipment state instruction of usb data form,
The equipment state instruction is sent to the terminal by the signal transmission port, so that the terminal is same
The working condition of step minute book USB device.
The USB device that first embodiment of the invention is provided, by controller the instruction of usb data form is created, and makes instruction
Terminal can be sent to by USB output interfaces, the instruction sent according to terminal or user are in this USB device
It is upper to operate the control information configuration work state that causes, and return to terminal and make terminal synchronous recording sheet all the time
The working condition of USB device, you can make user to operate on USB device and can on computer terminals control USB device
Working condition, overcoming some functions needs to arrange on computer terminals, some functions need again on USB device arrange
Technology restriction, it is to avoid trouble in operation.
In order to maintain original USB video data transmissions unaffected, this USB device also includes the He of USB downstream modules 50
USB control chips;In first embodiment, USB control chips are USB2.0 control chips 30;
USB downstream modules 50 include data-out port;USB downstream modules 50 are used to generate video data and by data
Output port sends video data;
USB2.0 control chips 30 include the first downstream port, the second downstream port and the first upstream port;USB2.0 is controlled
Coremaking piece 30 is used for from the first downstream port and the second downstream port receiving data or instruction, and is sent by the first upstream port
Data or instruction;
The data-out port of USB downstream modules 50 includes USB2.0 output ports;The USB output interfaces of this USB device
Including USB2.0 data upstream output interfaces;
Controller signal transmission port connection USB control chips the first downstream port (as the controller 20 in Fig. 1 with
D+/D- passages between USB2.0 control chips 30);The USB2.0 output ports of USB downstream modules connect the second downstream port
(such as the D+/D- passages between the USB downstream modules 50 and USB2.0 control chips 30 in Fig. 1);On the first of USB control chips
Trip port connection USB2.0 data upstream output interfaces.
Because USB control chips have the function of extension switching, the instruction of controller transmission and regarding for USB downstream modules are made
Frequency evidence can be transferred to upstream equipment, it is ensured that the transmission of video function of original USB device is unaffected.USB controls core
Piece is additionally operable to receive the control instruction that terminal sends via USB output interfaces from first upstream port, and passes through
First downstream port is sent to the signal transmission port.
It is the structural representation of the second embodiment of the USB device that the present invention is provided referring to Fig. 2;
The USB device of second embodiment includes:Interactively enter module 10, controller 20, USB output interfaces 40, USB downstreams
Module 50 and USB control chips;The controller 20 includes signal transmission port;
USB output interfaces 40 are used to connect terminal to realize the communication of this USB device and the terminal
Connection;
Interactively enter module 10 for receive the control information that caused by the operation of user, and by control information transmission
To the controller;
Controller 20 is used to receive the control information and monitors the terminal by the signal transmission port
The control instruction of transmission;According to the control information or the control instruction, the working condition of this USB device is configured;
Controller 20 is additionally operable to the working condition according to this USB device, creates the equipment state instruction of usb data form,
The equipment state instruction is sent to the terminal by the signal transmission port, so that the terminal is same
The working condition of step minute book USB device.
Second embodiment adopts USB3.0 standard transmission datas, realizes bigger message transmission rate.USB control chips are
USB3.0 control chips 31;
USB downstream modules 50 include data-out port;USB downstream modules 50 are used to generate video data and by data
Output port sends video data;
USB3.0 control chips 31 include the first downstream port, the second downstream port, SSTX downstream ports, SSRX downstreams
Mouth and the first upstream port, SSTX upstream ports, SSRX upstream ports;USB3.0 control chips 31 are used to from downstream port receive
Data or instruction, by upstream port data or instruction are sent;
The data-out port of USB downstream modules 50 includes USB2.0 output ports, SSTX output ports and SSRX output
Port;The USB output interfaces of this USB device include USB2.0 data upstream output interfaces, SSTX data upstreams output interface and
SSRX data upstream output interfaces;
The signal transmission port of controller connects the first downstream port of USB control chips;The USB2.0 of USB downstream modules
Output port connects the second downstream port (such as the D+/D- between the USB downstream modules 50 and USB3.0 control chips 31 in Fig. 2
Passage);SSTX output ports and SSRX output ports connect respectively SSTX downstream ports and SSRX downstream ports (in Fig. 2
SSTX passages and SSRX passages between USB downstream modules 50 and USB3.0 control chips 31);USB3.0 control chips 31
SSTX upstream ports and SSRX upstream ports connect respectively the SSTX data upstreams output interface and SSRX data of USB output interfaces
Upstream output interface.
It should be noted that the signal transmission port of the controller in second embodiment may include USB2.0 ports (D+/D-
Port), SSTX ports and SSRX ports, the first downstream port of USB3.0 control chips accordingly includes D+/D- ports, SSTX ends
Mouth and SSRX ports, three generic ports correspondence connects;Signal transmission port and the first downstream port also can only by D+/D- port sets
Into.If signal transmission port and the first downstream port include three generic ports, USB3.0 control chips 31 are by all SSTX ports
All SSRX port datas are transferred to SSRX upstream ports by data switch to SSTX upstream ports, by all D+/D- port numbers
According to being transferred to the first upstream port.
Second embodiment increased two groups of differential datas of SSTX and SSRX, it is possible to achieve bigger message transmission rate.When
USB downstream modules 50 transmit data to the terminal with USB3.0 upstream transmission abilities by USB3.0 output interfaces
When, message transmission rate can be reached only with more than 10 times of the speed of USB2.0 data transfers.According to the principle of the present invention, can
So that using USB3.0 control chips 31, USB3.0 control chips 31 have multiple USB3.0 downstream ports, if signal transmission port
Comprising SSTX ports and SSRX ports, then can be with the signal of the output of controller 20 with USB3.0 standard transmissions to upstream equipment, effect
Rate is very high.USB3.0 control chips 31 are connected between USB downstream modules 50 and USB3.0 output interfaces 40 simultaneously, are made
The data of USB3.0 equipment output also can be with USB3.0 standard transmissions to upstream equipment.
It is the structural representation of the 3rd embodiment of the USB device that the present invention is provided referring to Fig. 3;
The USB device of 3rd embodiment includes:Interactively enter module 10, controller 20, USB output interfaces 40, USB downstreams
Module 50 and USB control chips;The controller 20 includes signal transmission port;
USB output interfaces 40 are used to connect terminal to realize the communication of this USB device and the terminal
Connection;
Interactively enter module 10 for receive the control information that caused by the operation of user, and by control information transmission
To the controller;
Controller 20 is used to receive the control information and monitors the terminal by the signal transmission port
The control instruction of transmission;According to the control information or the control instruction, the working condition of this USB device is configured;
Controller 20 is additionally operable to the working condition according to this USB device, creates the equipment state instruction of usb data form,
The equipment state instruction is sent to the terminal by the signal transmission port, so that the terminal is same
The working condition of step minute book USB device.
USB device USB control chips are USB2.0 control chips 30 in 3rd embodiment;
USB downstream modules 50 include data-out port;USB downstream modules 50 are used to generate video data and by described
Data-out port sends the video data;
USB2.0 control chips 30 include the first downstream port, the second downstream port and the first upstream port;USB2.0 is controlled
Coremaking piece 30 is used for from first downstream port and the second downstream port receiving data or instruction, and by first upstream
Port sends the data or instruction;
The data-out port of USB downstream modules 50 includes USB2.0 output ports, SSTX output ports and SSRX output
Port;The USB output interfaces of this USB device include that USB2.0 data upstream output interfaces, the output of SSTX data upstreams connect
Mouth and SSRX data upstream output interfaces;
The signal transmission port of controller 20 connects first downstream port of the USB control chips (such as Fig. 3
In controller 20 and USB2.0 control chips 30 between D+/D- passages);The USB2.0 of the USB downstream modules 50
Output port connects second downstream port (such as the D between the USB downstream modules 50 and USB2.0 control chips 30 in Fig. 3
+/D- passages);First upstream port of USB2.0 control chips 30 connects the USB2.0 data upstreams output interface;It is described
SSTX output ports connect the SSTX data upstreams output port, and the SSRX output ports connect the SSRX data upstreams
Output port.
Present embodiments provide one kind and only use USB2.0 control chips, just can simultaneously meet the function of USB3.0 Transmission systems
And the transmission of instruction.The instruction of controller is connected to USB2.0 control chips and is transferred by signal output port, USB3.0
The SSTX output ports and SSRX output ports of downstream module is directly connected to USB3.0 output interfaces.Due to terminal and
The transmission highest of the communication instruction of USB device only need to be under the full speed of the D+/D- data transfers of USB2.0 or fast state
Realize, to the less demanding of transfer rate, therefore signal transmission port output USB2.0 data, using switching USB2.0 data
Control chip, and the video that USB downstream modules are exported from SSTX output ports and SSRX output ports due to need not and other
Module shares output interface, therefore can be directly connected to USB output interfaces.Therefore using USB2.0 control chips cost performance very
It is high.Compare and be directly connected between USB3.0 downstream modules and USB3.0 output interfaces using USB3.0 control chips, this programme
The utilization to greatest extent of USB resources can be realized, cost is reduced..Compare directly using USB3.0 data cube computations under USB3.0
Between trip equipment and USB3.0 output interfaces, this programme can realize the utilization to greatest extent of USB resources, reduce cost.
In the embodiment of above-mentioned USB device, USB device refers to the computer peripheral with USB transmission ability.It is excellent
Selection of land, is video presenter or high photographing instrument.Terminal can be the terminals such as panel computer, mobile phone, computer.
It is the flow chart of the usb communication method that the present invention is provided referring to Fig. 4.The usb communication method that the present invention is provided, bag
Include:
S41, the communication connection for setting up this USB device and terminal;
The control information that S42, reception are caused by the operation of user;
S43, the control instruction for monitoring the terminal transmission;
S44, according to the control information or the control instruction, configure the working condition of this USB device;
S45, according to the working condition of this USB device, the equipment state instruction of usb data form is created, to the calculating
Machine terminal sends equipment state instruction, so that the working condition of the terminal synchronous recording this USB device;
Wherein, the USB device that this USB device is provided for above-described embodiment.
The usb communication method that the present invention is provided, user can be made to operate on USB device again can be on computer terminals
The working condition of control USB device, overcoming some functions needs to arrange on computer terminals, and some functions need again
The technology restriction arranged on USB device, it is to avoid trouble in operation.
Further, step S41 " setting up the communication connection of this USB device and terminal ", specifically includes:
Enabling signal is sent to the terminal, to trigger the terminal connection request instruction is created;
When the connection request instruction that the terminal sends is received, start to continue to be sent out to the terminal
The first heartbeat signal is sent, while detecting whether to receive the second heartbeat signal from the terminal;
If receiving second heartbeat signal, confirm to keep lasting communication connection with the terminal.
Further in scheme, detect that heartbeat signal guarantees effectively connection by both sides.
Further, " enabling signal is sent to terminal, to trigger the terminal wound in step S41
Build connection request instruction ", specifically include:
Enabling signal is packaged into the enabled instruction of usb data form, the startup is sent to the terminal and is referred to
Order;Wherein, the enabled instruction is used for the mark reading instruction of requesting computer terminal returning equipment;
When the device identification reading instruction that the terminal sends is received, send to the terminal and mark
The device identification data of this USB device identity is known, so that the terminal judges whether itself connects with the USB device for authorizing
Connect, when it is determined that itself is connected with the USB device for authorizing, create connection request instruction.
Further in scheme, terminal is read by device identification, effectively screens corollary equipment, it is ensured that USB device
Effective interactive controlling and safe transmission between terminal.
USB device and usb communication method that the present invention is provided, by controller the instruction of usb data form is created, and makes finger
Order can be sent to terminal by USB output interfaces, and the instruction or user sent according to terminal sets in this USB
It is standby it is upper operate the control information configuration work state for causing, and return to terminal and make terminal synchronous recording all the time
The working condition of this USB device, you can make user to operate on USB device and can on computer terminals control USB and set
Standby working condition, overcoming some functions needs to arrange on computer terminals, and some functions need to be set on USB device again
The technology restriction put, it is to avoid trouble in operation.
It is more than the preferred embodiment of the present invention, it is noted that for those skilled in the art,
Under the premise without departing from the principles of the invention, some improvement and deformation can also be made, these are improved and deformation is also considered as this
Bright protection domain.
Claims (9)
1. a kind of USB device, it is characterised in that including interactively entering module, controller and USB output interfaces;The controller
Including signal transmission port;
The USB output interfaces are used to connect terminal to realize the communication link of this USB device and the terminal
Connect;
It is described interactively enter module for receive the control information that caused by the operation of user, and the control information is sent to
The controller;
The controller is used to receive the control information and monitor the terminal by the signal transmission port to send out
The control instruction sent;According to the control information or the control instruction, the working condition of this USB device is configured;
The controller is additionally operable to the working condition according to this USB device, creates the equipment state instruction of usb data form, leads to
Cross the signal transmission port and send the equipment state instruction to the terminal, so that the terminal synchronization
The working condition of minute book USB device.
2. USB device as claimed in claim 1, it is characterised in that this USB device also includes that USB downstream modules and USB are controlled
Chip;
The USB downstream modules include data-out port;The USB downstream modules are used to generate video data and by described
Data-out port sends the video data;
The USB control chips include the first downstream port, the second downstream port and the first upstream port;The USB controls core
Piece is used for from first downstream port and the second downstream port receiving data or instruction, and is sent out by first upstream port
Send the data or instruction;
The data-out port of the USB downstream modules includes USB2.0 output ports;The USB outputs of this USB device connect
Mouth includes USB2.0 data upstream output interfaces;
The signal transmission port of the controller connects first downstream port of the USB control chips;The USB
The USB2.0 output ports of downstream module connect second downstream port;First upstream end of the USB control chips
The mouth connection USB2.0 data upstreams output interface.
3. USB device as claimed in claim 2, it is characterised in that the data-out port of the USB downstream modules also includes
SSTX output ports and SSRX output ports;
The USB output interfaces of this USB device also include that SSTX data upstreams output interface and the output of SSRX data upstreams connect
Mouthful;
The SSTX output ports connect the SSTX data upstreams output port, and the SSRX output ports connect the SSRX
Data upstream output port.
4. USB device as claimed in claim 2 or claim 3, it is characterised in that the USB control chips are USB2.0 control chips.
5. the USB device as described in any one of Claims 1-4, it is characterised in that this USB device is video presenter.
6. the USB device as described in any one of Claims 1-4, it is characterised in that this USB device is high photographing instrument.
7. a kind of usb communication method, it is characterised in that include:
Set up the communication connection of this USB device and terminal;
The control information that reception is caused by the operation of user;
Monitor the control instruction that the terminal sends;
According to the control information or the control instruction, the working condition of this USB device is configured;
According to the working condition of this USB device, the equipment state instruction of usb data form is created, sent out to the terminal
The equipment state is sent to instruct, so that the working condition of the terminal synchronous recording this USB device;
Wherein, this USB device is the USB device as described in any one of claim 1 to 6.
8. usb communication method as claimed in claim 7, it is characterised in that described this USB device of setting up is with terminal
Communication connection, specifically includes:
Enabling signal is sent to the terminal, to trigger the terminal connection request instruction is created;
When receiving the connection request that the terminal sends and instructing, start to continue to send the to the terminal
Heart beat signal, while detecting whether to receive the second heartbeat signal from the terminal;
If receiving second heartbeat signal, confirm to keep lasting communication connection with the terminal.
9. usb communication method as claimed in claim 8, it is characterised in that described to send enabling signal to terminal, with
Trigger the terminal and create connection request instruction, specifically include:
Enabling signal is packaged into the enabled instruction of usb data form, to the terminal enabled instruction is sent;Its
In, the enabled instruction is used for requesting computer terminal returning equipment mark and reads instruction;
When the device identification reading instruction that the terminal sends is received, mark is sent originally to the terminal
The device identification data of USB device identity, so that the terminal judges whether itself is connected with the USB device for authorizing,
When it is determined that itself is connected with the USB device for authorizing, connection request instruction is created.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887958.6A CN106649174B (en) | 2016-10-11 | 2016-10-11 | USB device and USB communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887958.6A CN106649174B (en) | 2016-10-11 | 2016-10-11 | USB device and USB communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106649174A true CN106649174A (en) | 2017-05-10 |
CN106649174B CN106649174B (en) | 2020-07-03 |
Family
ID=58855158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610887958.6A Active CN106649174B (en) | 2016-10-11 | 2016-10-11 | USB device and USB communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649174B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111877184A (en) * | 2020-08-05 | 2020-11-03 | 中铁二十二局集团有限公司 | Railway continuous beam swivel construction method based on BIM |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2819301Y (en) * | 2005-09-13 | 2006-09-20 | 重庆邮电学院 | USB multifunctional mouse |
CN102253904A (en) * | 2011-06-08 | 2011-11-23 | 广州视睿电子科技有限公司 | Method and device for identifying computer operating system by utilizing USB equipment |
US20130293666A1 (en) * | 2012-05-04 | 2013-11-07 | Hong Jiang | Instant communications system having established communication channels between communication devices |
CN103399251A (en) * | 2013-07-30 | 2013-11-20 | 广州视睿电子科技有限公司 | USB (Universal Serial Bus) communication line detection device |
CN103488603A (en) * | 2013-09-24 | 2014-01-01 | 天津三星电子有限公司 | Data interactive transmission method and system and display |
CN104123258A (en) * | 2014-07-23 | 2014-10-29 | 龙迅半导体科技(合肥)有限公司 | USB data transmission interface and system |
-
2016
- 2016-10-11 CN CN201610887958.6A patent/CN106649174B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2819301Y (en) * | 2005-09-13 | 2006-09-20 | 重庆邮电学院 | USB multifunctional mouse |
CN102253904A (en) * | 2011-06-08 | 2011-11-23 | 广州视睿电子科技有限公司 | Method and device for identifying computer operating system by utilizing USB equipment |
US20130293666A1 (en) * | 2012-05-04 | 2013-11-07 | Hong Jiang | Instant communications system having established communication channels between communication devices |
CN103399251A (en) * | 2013-07-30 | 2013-11-20 | 广州视睿电子科技有限公司 | USB (Universal Serial Bus) communication line detection device |
CN103488603A (en) * | 2013-09-24 | 2014-01-01 | 天津三星电子有限公司 | Data interactive transmission method and system and display |
CN104123258A (en) * | 2014-07-23 | 2014-10-29 | 龙迅半导体科技(合肥)有限公司 | USB data transmission interface and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111877184A (en) * | 2020-08-05 | 2020-11-03 | 中铁二十二局集团有限公司 | Railway continuous beam swivel construction method based on BIM |
Also Published As
Publication number | Publication date |
---|---|
CN106649174B (en) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7904620B2 (en) | Data transmission system with protocol conversion | |
WO2013085213A1 (en) | Dummy touch screen system for linking multiple portable terminals | |
CN107301148B (en) | USB Type-C interface conversion module, system and connection method | |
CN103995567B (en) | A kind of dual system intelligent interaction all-in-one and its dual system switching method | |
CN105955690B (en) | A kind of computer multi-screen switching device and method | |
EP3780534B1 (en) | Intelligent interactive all-in-one machine and corresponding method | |
CN208754414U (en) | A kind of novel matrix equipment for realizing video-splicing and cutting | |
JPH0695989A (en) | Optical fiber image data distribution system | |
CN210129132U (en) | Interactive intelligent tablet | |
CN105630718A (en) | Electronic device for providing instant switching and sharing of universal serial bus electronic equipment by host | |
CN106649174A (en) | USB equipment and USB communication method | |
CN210324188U (en) | Integrated circuit bus IIC master-slave competition automatic switching equipment and system thereof | |
CN218037985U (en) | Four-way VGA and USB signal switching circuit | |
CN108959153B (en) | All-in-one machine, data continuous transmission method, device, equipment and storage medium | |
CN207503207U (en) | For the integrated test system of multiplex roles | |
CN111970448B (en) | Optical anti-shake drive circuit, drive system, control method of drive system, and electronic device | |
CN212624021U (en) | Switching system for multi-host multi-network shared display | |
CN210577891U (en) | Power supply terminal and wearable system | |
CN110854948B (en) | Power supply terminal and wearable system | |
CN103677712B (en) | Touch all-in-one machine | |
US11809365B2 (en) | Data transmission method | |
CN105898989A (en) | Function expanding PCB device, module board and method | |
CN110096180A (en) | The double Androids of touch one-piece machine touch | |
CN110008167A (en) | A kind of method of adjust automatically serial ports output mode | |
CN108132900A (en) | Interconnecting device, telecommunication system and data transmission method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |