CN109101454A - A kind of communication means, system and the electronic equipment of customized usbcam debugging interface - Google Patents
A kind of communication means, system and the electronic equipment of customized usbcam debugging interface Download PDFInfo
- Publication number
- CN109101454A CN109101454A CN201810720184.7A CN201810720184A CN109101454A CN 109101454 A CN109101454 A CN 109101454A CN 201810720184 A CN201810720184 A CN 201810720184A CN 109101454 A CN109101454 A CN 109101454A
- Authority
- CN
- China
- Prior art keywords
- slave
- host
- data
- data length
- address
- 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/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Information Transfer Systems (AREA)
Abstract
The present invention is suitable for the communications field, provides communication means, system and the electronic equipment of a kind of customized usbcam debugging interface, and the method includes hosts to inquire that the first data length of slave, the slave reply the first data length described in the host;The host sends address to the slave, and the slave receives the address;The host inquires that second data length of slave, the slave reply the second data length described in the host;The host sends data to the slave, and the slave receives the data.The system comprises include the first data length interactive module, address interactive module, the second data length interactive module and data interaction module.The equipment includes memory, processor and is stored in the computer program run on the memory and on the processor.The present invention improves the flexibility ratio that user uses by increasing adjustable range.
Description
Technical field
The invention belongs to the communications field more particularly to a kind of communication means of customized usbcam debugging interface, system
And electronic equipment.
Background technique
UVC, i.e. USB Video Class are exclusively for the interaction protocol for using the video equipment of usb interface to formulate, mesh
Before be one of USB org standard.The agreement is widely used in video equipment, including webcams, DV, analogy
Image converter, the equipment such as television rod, IP Camera are first and support UVC and be also the most UVC equipment of quantity.
UVC agreement provides the control interface of camera, and user can be by the interface to the exposure mode of camera, zoom mode,
Zoom mode is controlled, also adjustable picture quality, analogy brightness, coloration, saturation degree, acutance etc., but can
In the range of the parameter of adjusting only limits offer in the protocol, if the use that do not support in agreement or user is not achieved is wanted
It asks, which is then cancelled.
Summary of the invention
A kind of communication means for being designed to provide customized usbcam debugging interface of the embodiment of the present invention, system and
Electronic equipment, it is intended to solve the problems, such as that current UVC agreement adjustable range limitation improves user by increasing adjustable range
The flexibility ratio used.
The embodiments of the present invention are implemented as follows, a kind of communication means for the usbcam debugging interface made by oneself, comprising:
Host inquires that the first data length of slave, the slave reply the first data length described in the host;
The host sends address to the slave, and the slave receives the address;
The host inquires second data length of slave, and it is long that the slave replys the second data described in the host
Degree;
The host sends data to the slave, and the slave receives the data.
Preferably, before the host inquires the first data length of slave, further includes: host obtains the first instruction, institute
Stating the first instruction is parameter adjustment instruction.
Preferably, the host sends address to the slave, and the slave receives the address specifically: the host
Storage address is sent according to first data length, the slave receives the storage address.
As further preferably, the host sends data to the slave, and it is specific that the slave receives the data
Are as follows: the host sends storing data according to second data length, and the slave receives the storing data and will be described
Storing data is stored to the storage address.
Preferably, before the host inquires the first data length of slave, further includes: host obtains the second instruction, institute
The second instruction is stated as custom feature instruction.
Preferably, the host sends address to the slave, and the slave receives the address specifically: the host
Function pointer is sent according to first data length, the slave receives the function pointer.
Preferably, the host sends data to the slave, and the slave receives the data specifically: the host
According to the second data length sending function call instruction, the slave receives the funcall and instructs and realize corresponding function
Energy.
Preferably, the host inquires second data length of slave specifically: the host is according to first number
Second data length of slave is inquired according to length.
Another embodiment of the invention is achieved in that a kind of communication system of customized usbcam debugging interface
System, including the first data length interactive module, address interactive module, the second data length interactive module and data interaction mould
Block;
The first data length interactive module inquires the first data length of slave for host, described in the slave is replied
First data length described in host;
The address interactive module sends address to the slave for the host, and the slave receives the address;
The second data length interactive module inquires second data length of slave, the slave for the host
Reply the second data length described in the host;
The data interaction module sends data to the slave for the host, and the slave receives the data.
Another embodiment of the present invention is achieved in that a kind of electronic equipment, including memory, processor and storage
The computer program run on the memory and on the processor, when the processor executes the computer program
The step of realizing the communication means of above-mentioned customized usbcam debugging interface.
Communication means, system and the electronic equipment of a kind of customized usbcam debugging interface provided by the invention, so that
User can be adjusted the interface parameters provided in original agreement by the debugging interface, for improving the debugging of image
Quality and effect connect it is also possible that custom feature is arranged by the debugging interface in user to increase usbcam debugging
The function of mouth, increases its applicability.
Detailed description of the invention
Fig. 1 is flow chart of the host transmission supplemental characteristic storage provided in an embodiment of the present invention to slave;
Fig. 2 is the flow chart that host provided in an embodiment of the present invention realizes custom feature by slave.
Fig. 3 is a kind of structure chart of the communication system of customized usbcam debugging interface provided in an embodiment of the present invention.
Wherein, the first data length of 1- interactive module;The address 2- interactive module;3- the second data length interactive module;4-
Data interaction module.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.In addition, technical characteristic involved in each embodiment of invention described below is only
Not constituting a conflict with each other can be combined with each other.
Since the control interface adjustable parameter of the camera of current UVC agreement offer is limited in the range of agreement offer
It is interior, the requirement of user can sometimes be not achieved, the control interface for the camera that such USV agreement provides can directly be made
It is useless.It therefore, can be with the present invention provides communication means, system and the electronic equipment of a kind of customized usbcam debugging interface
The adjustable range of parameter is greatly increased, to improve the flexibility ratio that user uses.
In a specific embodiment of the present invention, the present invention provides a kind of communication parties of customized usbcam debugging interface
Method, system and electronic equipment, user can be adjusted the interface parameters provided in original agreement by the interface, be used for
Improve the debugging quality and effect of image, custom feature, such as online initialization can also be arranged in user by the interface
Camera, modification patch etc..
In a specific embodiment of the present invention, the usbcam debugging interface inherits the expansion module XU in UVC agreement
(Extension Unit).UVC agreement provides the expansion module and is mainly used for user's customization function, but works as user function
By expanding element come when expression, there is still a need for specifically extended by a pass through mechanism to access user host.UVC association
View regulation, although host can not determine the function of being used to expansion module, host still can report the state of user segment,
By sending control command inquiring client terminal, and client parameter is returned to, in a specific embodiment of the present invention, the slave
For client.
In the specific embodiment of invention, a kind of communication means of customized usbcam debugging interface is provided, including
The supplemental characteristic that host is sent is stored to slave and host, custom feature is realized by slave.Specifically:
Host inquires that the first data length of slave, the slave reply the first data length described in the host;
The host sends address to the slave, and the slave receives the address;
The host inquires second data length of slave, and it is long that the slave replys the second data described in the host
Degree;
The host sends data to the slave, and the slave receives the data.
Wherein, as shown in Figure 1, the supplemental characteristic that host is sent stores to slave and includes:
A1, the host obtain the first instruction, and first instruction is parameter adjustment instruction;
According to the first data length of the first instruction query slave, the slave is replied described in the host for A2, host
First data length;
A3, the host send storage address according to first data length, and the slave receives the storage address;
A4, the host inquire that second data length of slave, the slave reply the second data described in the host
Length;
A5, the host send storing data according to second data length, and the slave receives the storing data
And the storing data is stored to the storage address.
As shown in Fig. 2, the host realizes that custom feature includes: by slave
B1, host obtain the second instruction, and second instruction is that custom feature instructs;
B2, host inquire that the first data length of slave, the slave reply the first data length described in the host;
B3, the host send function pointer according to first data length, and the slave receives the function pointer;
B4, the host inquire that second data length of slave, the slave reply the second data described in the host
Length;
According to the second data length sending function call instruction, the slave receives the function for B5, the host
Call instruction simultaneously realizes corresponding function.
Wherein, the host inquires second data length of slave according to first data length.
In another embodiment of the present invention, as shown in figure 3, providing a kind of communication system of customized usbcam debugging interface
System, including the first data length interactive module 1, address interactive module 2, the second data length interactive module 3 and data interaction
Module 4;The output end of the first data length interactive module 1 connects the input terminal of the address interactive module 2, the address
The output end of interactive module 2 connects the input terminal of the second data length interactive module 3, the second data length interaction mould
The output end of block 3 connects the input terminal of the data interaction module 4.
The first data length interactive module 1 inquires that the first data length of slave, the slave reply institute for host
State the first data length described in host.
The address interactive module 2 sends address to the slave for the host, and the slave receives the address.
Second data length, 3 interactive module inquires second data length of slave for the host, it is described from
Machine replys the second data length described in the host.
The data interaction module 4 sends data to the slave for the host, and the slave receives the data.
The communication system of the customized usbcam debugging interface can complete above-mentioned customized usbcam debugging and connect
The institute of the communication means of mouth is functional.
In another embodiment of the present invention, a kind of electronic equipment, including memory, processor and storage are provided
The computer program run on the memory and on the processor, when the processor executes the computer program
The step of realizing the communication means of above-mentioned customized usbcam debugging interface
The invention enables users can be adjusted by the debugging interface to the interface parameters provided in original agreement,
For improving the debugging quality and effect of image, it is also possible that custom feature is arranged by the debugging interface in user, from
And increase the function of usbcam debugging interface, increase its applicability.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (10)
1. a kind of communication means of customized usbcam debugging interface, it is characterised in that, include:
Host inquires that the first data length of slave, the slave reply the first data length described in the host;
The host sends address to the slave, and the slave receives the address;
The host inquires that second data length of slave, the slave reply the second data length described in the host;
The host sends data to the slave, and the slave receives the data.
2. the communication means of customized usbcam debugging interface as described in claim 1, which is characterized in that in the host
Before inquiry the first data length of slave, further includes: host obtains the first instruction, and first instruction is parameter adjustment instruction.
3. the communication means of customized usbcam debugging interface as described in claim 1, which is characterized in that the host to
The slave sends address, and the slave receives the address specifically: the host is sent according to first data length
Storage address, the slave receive the storage address.
4. the communication means of customized usbcam debugging interface as claimed in claim 3, which is characterized in that the host to
The slave sends data, and the slave receives the data specifically: the host is sent according to second data length
Storing data, the slave receive the storing data and store the storing data to the storage address.
5. the communication means of customized usbcam debugging interface as described in claim 1, which is characterized in that in the host
Before inquiry the first data length of slave, further includes: host obtains the second instruction, and second instruction refers to for custom feature
It enables.
6. the communication means of customized usbcam debugging interface as described in claim 1, which is characterized in that the host to
The slave sends address, and the slave receives the address specifically: the host is sent according to first data length
Function pointer, the slave receive the function pointer.
7. the communication means of customized usbcam debugging interface as described in claim 1, which is characterized in that the host to
The slave sends data, and the slave receives the data specifically: the host is sent according to second data length
Funcall instruction, the slave receive the funcall and instruct and realize corresponding function.
8. the communication means of customized usbcam debugging interface as described in claim 1, which is characterized in that the host is ask
Ask second data length of slave specifically: the host inquires second data of slave according to first data length
Length.
9. a kind of communication system of customized usbcam debugging interface, which is characterized in that including the first data length interaction mould
Block (1), address interactive module (2), the second data length interactive module (3) and data interaction module (4);
The first data length interactive module (1) inquires the first data length of slave for host, described in the slave is replied
First data length described in host;
The address interactive module (2) sends address to the slave for the host, and the slave receives the address;
The second data length interactive module (3) inquires second data length of slave, the slave for the host
Reply the second data length described in the host;
The data interaction module (4) sends data to the slave for the host, and the slave receives the data.
10. a kind of electronic equipment, which is characterized in that including memory, processor and be stored on the memory and in institute
State the computer program run on processor, which is characterized in that the processor is realized above-mentioned when executing the computer program
The step of claim 1-8 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810720184.7A CN109101454B (en) | 2018-07-03 | 2018-07-03 | Communication method and system of user-defined usbcam debugging interface and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810720184.7A CN109101454B (en) | 2018-07-03 | 2018-07-03 | Communication method and system of user-defined usbcam debugging interface and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109101454A true CN109101454A (en) | 2018-12-28 |
CN109101454B CN109101454B (en) | 2020-09-29 |
Family
ID=64845548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810720184.7A Active CN109101454B (en) | 2018-07-03 | 2018-07-03 | Communication method and system of user-defined usbcam debugging interface and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109101454B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110929576A (en) * | 2019-10-23 | 2020-03-27 | 珠海研果科技有限公司 | Face recognition method and device based on UVC protocol |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100185795A1 (en) * | 2009-01-20 | 2010-07-22 | Quanta Computer Inc. | Digital video/audio capture device and method thereof |
CN204633931U (en) * | 2015-04-20 | 2015-09-09 | 江苏理工学院 | A kind of Android phone wireless controller of facing moving terminal |
CN106027901A (en) * | 2016-06-24 | 2016-10-12 | 北京奇虎科技有限公司 | Intelligent acquisition method and device for vehicular photographing equipment, and car digital video recorder |
CN107038993A (en) * | 2017-05-23 | 2017-08-11 | 西安诺瓦电子科技有限公司 | parameter adjusting method and device, display system |
CN107295250A (en) * | 2017-06-09 | 2017-10-24 | 福州汇思博信息技术有限公司 | Camera adjustment method and its system |
CN107493437A (en) * | 2017-09-21 | 2017-12-19 | 北京图森未来科技有限公司 | A kind of camera parameter control method and relevant device |
CN107566718A (en) * | 2017-08-17 | 2018-01-09 | 深圳市瑞科慧联科技有限公司 | A kind of dual-purpose CCTV camera and implementation method |
-
2018
- 2018-07-03 CN CN201810720184.7A patent/CN109101454B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100185795A1 (en) * | 2009-01-20 | 2010-07-22 | Quanta Computer Inc. | Digital video/audio capture device and method thereof |
CN204633931U (en) * | 2015-04-20 | 2015-09-09 | 江苏理工学院 | A kind of Android phone wireless controller of facing moving terminal |
CN106027901A (en) * | 2016-06-24 | 2016-10-12 | 北京奇虎科技有限公司 | Intelligent acquisition method and device for vehicular photographing equipment, and car digital video recorder |
CN107038993A (en) * | 2017-05-23 | 2017-08-11 | 西安诺瓦电子科技有限公司 | parameter adjusting method and device, display system |
CN107295250A (en) * | 2017-06-09 | 2017-10-24 | 福州汇思博信息技术有限公司 | Camera adjustment method and its system |
CN107566718A (en) * | 2017-08-17 | 2018-01-09 | 深圳市瑞科慧联科技有限公司 | A kind of dual-purpose CCTV camera and implementation method |
CN107493437A (en) * | 2017-09-21 | 2017-12-19 | 北京图森未来科技有限公司 | A kind of camera parameter control method and relevant device |
Non-Patent Citations (1)
Title |
---|
殷开亮: "基于UVC协议的USB3.0图像采集系统设计", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110929576A (en) * | 2019-10-23 | 2020-03-27 | 珠海研果科技有限公司 | Face recognition method and device based on UVC protocol |
CN110929576B (en) * | 2019-10-23 | 2022-11-11 | 珠海研果科技有限公司 | Face recognition method and device based on UVC protocol |
Also Published As
Publication number | Publication date |
---|---|
CN109101454B (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102259804B1 (en) | Methods, registration centers and devices for service discovery | |
KR102605458B1 (en) | Analysis function discovery method and device | |
CN113625589B (en) | Equipment control method and device, electronic equipment and storage medium | |
EP3148286A1 (en) | System, method and apparatus for data communication | |
US20150215625A1 (en) | Image compression method and system | |
US9338397B2 (en) | Information processing device and conference system | |
CN112737901B (en) | Operation configuration method and device in scene, storage medium and electronic device | |
JP2014057143A (en) | Transmitter, receiver, transmission method, reception method and program | |
CN109033302A (en) | A kind of method for page jump, device, terminal and storage medium | |
CN112702244A (en) | Method and communication device for accessing service network | |
US9602770B2 (en) | Method and system for supporting videoconference in distributed telepresence platform | |
JP7086853B2 (en) | Network access methods, related equipment and systems | |
CN109033393A (en) | Paster processing method, device, storage medium and electronic equipment | |
CN109101454A (en) | A kind of communication means, system and the electronic equipment of customized usbcam debugging interface | |
JP6461344B2 (en) | How to provide a nomadic service through a virtual residential gateway | |
CN112449112B (en) | Camera white balance adjusting method, mobile terminal and computer readable storage medium | |
CN206149319U (en) | Internet video shared device | |
KR101688356B1 (en) | Nfc configuration method, nfc data transmission method, controller and nfc controller | |
CN115174310B (en) | PDN dialing and configuration method, system, device, equipment and storage medium | |
WO2021190029A1 (en) | Method, apparatus and system for realizing carrier grade network address translation | |
US20230208938A1 (en) | Orchestrating execution of a complex computational operation | |
CN106302613A (en) | A kind of method of direct application flow based on Windows Phone 8 platform | |
CN107465580B (en) | Control method, device and the storage medium of intelligent terminal access intelligence spot net | |
KR101561524B1 (en) | System for managing Remote User Interface and Method thereof | |
JP7041030B2 (en) | Communication systems and programs |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220505 Address after: Rooms 1306-1309, 13 / F, 19 science Avenue West, Hong Kong Science Park, Shatin, New Territories, China Patentee after: BUILDWIN INTERNATIONAL (ZHUHAI) LTD. Address before: 1302, yuemeite building, 1 Gaoxin South 7th Road, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000 Patentee before: Jianrong semiconductor (Shenzhen) Co.,Ltd. Patentee before: BUILDWIN INTERNATIONAL (ZHUHAI) Ltd. |
|
TR01 | Transfer of patent right |