Method for achieving USB efficient transmission customized instruction communication

A command and customization technology, applied in the direction of image communication, color TV parts, TV system parts, etc., can solve the problems that the commands cannot be realized, the control command is short, and it is difficult to expand the functional interface, etc., to achieve customization The effect of simplifying instructions is convenient and efficient, increasing the length of instructions, and increasing communication efficiency

Inactive Publication Date: 2021-02-23
上海臻面智能信息科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The current UVC protocol of the USB interface is a common USB camera standard protocol, such as the acquisition and setting of some resolutions, white balance and other camera effect parameters. It is difficult to expand some functional interfaces other than those for some large data packets. instructions cannot be implemented and have a shorter length limit for control instructions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for achieving USB efficient transmission customized instruction communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] refer to figure 1 , the present invention a kind of method that realizes USB high-efficiency transmission custom instruction communication, comprises the following steps:

[0030] Step S1: The USB master device searches for a specific USB slave device.

[0031] Step S2: Run the USB slave device.

[0032] Step S3: The USB master device obtains and saves the information of the USB slave device. Record USB slave device information for easy traceability.

[0033] Step S4: The USB master device controls the camera of the USB slave device to work, and at the same time, the USB master device opens a preview data channel to transmit the preview data of the USB slave device camera.

[0034] Step S5: The USB host device sends a custom command to the USB slave device, and reads data in response to the command from the USB slave device. Corresponding data is transmitted through customized instructions, and customized related instruction sets can be used for communication and ca...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for achieving USB efficient transmission customized instruction communication. The method comprises the steps that S1, a USB master device searches for a specific USBslave device; S2, the USB slave device is operated; S3, the USB master device acquires the USB slave device information and stores the USB slave device information; S4, the USB master device controlsa USB slave device camera to work, and meanwhile, the USB master device opens a preview data channel to transmit preview data of the USB slave device camera; and S5, the USB master device sends a customization instruction to the USB slave device, and reads data responded by the USB slave device for the instruction. According to the invention, customized instruction communication between the masterUSB device and the slave USB device is realized; the problem of instruction communication length of master and slave USB devices is solved, instruction customization is achieved, the instruction length is increased, the main control end receives communication of a single packet of 1K bytes, and instruction customization is convenient and efficient; and the instruction sent by the main control endcan be longer than 64 bytes, and the data received by the main control end at a time can be 1K, so that the communication efficiency is greatly improved, and the communication duration is saved.

Description

【Technical field】 [0001] The invention relates to the technical field of USB transmission, in particular to the technical field of high-efficiency USB transmission of custom instruction communication. 【Background technique】 [0002] The current UVC protocol of the USB interface is a common USB camera standard protocol, such as the acquisition and setting of some resolutions, white balance and other camera effect parameters. It is difficult to expand some functional interfaces other than those for some large data packets. instructions cannot be implemented and have a shorter length limit for control instructions. 【Content of invention】 [0003] The purpose of the present invention is to solve the problems in the prior art, and propose a method for implementing USB efficient transmission of custom command communication, which can realize command customization and increase the command length, and solve the problem of the command communication length of the master-slave USB de...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N5/232H04N5/765G06F13/40
CPCH04N5/765G06F13/4068H04N23/662H04N23/632
Inventor 田鑫吴峰吴奎王石平
Owner 上海臻面智能信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products