CN107273327A - Variable bit rate serial communication method, device, communication chip, storage device and system - Google Patents

Variable bit rate serial communication method, device, communication chip, storage device and system Download PDF

Info

Publication number
CN107273327A
CN107273327A CN201710329523.4A CN201710329523A CN107273327A CN 107273327 A CN107273327 A CN 107273327A CN 201710329523 A CN201710329523 A CN 201710329523A CN 107273327 A CN107273327 A CN 107273327A
Authority
CN
China
Prior art keywords
communication
serial
line interface
frequency
clock frequency
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
Application number
CN201710329523.4A
Other languages
Chinese (zh)
Other versions
CN107273327B (en
Inventor
朱国钟
徐扬基
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BUILDWIN INTERNATIONAL (ZHUHAI) LTD.
Original Assignee
ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd
Jian Rong Semiconductor (shenzhen) Co Ltd
Jianrong Integrated Circuit Technology Zhuhai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd, Jian Rong Semiconductor (shenzhen) Co Ltd, Jianrong Integrated Circuit Technology Zhuhai Co Ltd filed Critical ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd
Priority to CN201710329523.4A priority Critical patent/CN107273327B/en
Publication of CN107273327A publication Critical patent/CN107273327A/en
Application granted granted Critical
Publication of CN107273327B publication Critical patent/CN107273327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Systems (AREA)
  • Studio Devices (AREA)

Abstract

The present invention is applied to communication technical field, there is provided a kind of variable bit rate serial communication method, device, communication chip, storage device and system, methods described is included in communication process, and according to communication bandwidth instruction is changed, control clock generator produces the reference clock frequency of serial line interface;According to the reference clock frequency, the working clock frequency of the serial line interface is produced by presetting the first transfer function;According to the work clock, the communication frequency of the serial line interface is produced by presetting the second transfer function.The present invention, by matching the USB module of main camera system and the USB module of rear camera system, the problem of solving compatibility, the frequency of USB serial communications is adjusted, data communication bandwidth is increased, improves picture quality, meanwhile, allow dual camera drive recorder scheme to obtain lower cost.

Description

Variable bit rate serial communication method, device, communication chip, storage device and system
Technical field
The invention belongs to communication technical field, more particularly to a kind of variable bit rate serial communication method, device, communication core Piece, storage device and system.
Background technology
At present, general dual camera drive recorder scheme all takes main camera system and rear camera system point Open, the view data of rear camera system is sent to by main camera system by wired mode.Have two kinds it is main forward and backward Camera system data communication mode:One kind is CVBS coaxial telecommunications modes, and another is usb communication mode.CVBS modes have Have compatibility it is good, to the low advantage of wire quality requirement, but scheme holistic cost is high, picture quality is poor, is extremely difficult to use The requirement of person's picture quality.And USB modes are divided into USB1.1 and two kinds of USB2.0, USB1.1 holistic costs are low but image matter Amount is general, and USB2.0 holistic costs are high, but picture quality is preferably, and two kinds of USB modes all have the shortcomings that compatibility is poor.
In summary, the existing serial communication system as dual camera drive recorder exists and wants to reach image matter Amount is high, but holistic cost it is higher the problem of.
The content of the invention
The embodiments of the invention provide a kind of variable bit rate serial communication method, device, communication chip, storage device and it is System, it is intended to solve existing serial communication system and want to reach that picture quality is high, but holistic cost it is higher the problem of.
In a first aspect, the embodiments of the invention provide a kind of variable bit rate serial communication method, methods described includes:
In communication process, according to communication bandwidth instruction is changed, control clock generator produces the reference clock frequency of serial line interface;
According to the reference clock frequency, the working clock frequency of the serial line interface is produced by presetting the first transfer function;
According to the working clock frequency, the communication frequency of the serial line interface is produced by presetting the second transfer function.
Further, the serial line interface is USB1.1.
Further, the standard traffic frequency of the serial line interface is more than or equal to 12 Mbps.
Second aspect, the embodiments of the invention provide a kind of variable bit rate serial communication apparatus, described device includes:
Reference clock generation unit, in communication process, according to communication bandwidth instruction is changed, control clock generator to produce string The reference clock frequency of line interface;
Working clock frequency generation unit, for according to the reference clock frequency, institute to be produced by default first transfer function State the working clock frequency of serial line interface;
Communication frequency generation unit, for according to the working clock frequency, the string to be produced by default second transfer function The communication frequency of line interface, the serial line interface is USB1.1.
Further, the standard traffic frequency of the serial line interface is 12 Mbps.
The third aspect, the embodiments of the invention provide a kind of communication chip, the communication chip includes at least one processing Device, memory and interface, at least a processor, memory and the interface are connected by bus;
The memory storage computer executed instructions;
The computer executed instructions of memory storage described at least one described computing device so that the communication chip is performed Above-mentioned variable bit rate serial communication method.
Fourth aspect, it is described to refer in the instruction that the embodiments of the invention provide a kind of storage device, is stored with described device The step of order realizes above-mentioned variable bit rate serial communication method when being executed by processor.
5th aspect, the embodiments of the invention provide a kind of serial communication system, the system includes main camera system System, rear camera system and serial communication cable, main camera system include the first main control unit and the first camera, and described the One main control unit includes at least one first serial line interface and the first clock generator, and rear camera system includes the second master control list Member and second camera, second main control unit include at least one second serial line interface and second clock generator, and master takes the photograph As head system and rear camera system are linked together by serial communication cable, it is necessary to when changing communication bandwidth, described first Main control unit, the second main control unit each perform above-mentioned variable bit rate serial communication method simultaneously.
Further, the quantity of the rear camera system is N number of, and N is the positive integer more than or equal to 1.
The embodiment of the present invention, by matching the USB module of main camera system and the USB module of rear camera system, solution Certainly compatible the problem of, the frequency of USB serial communications is adjusted, increase data communication bandwidth, improve picture quality, meanwhile, allow Dual camera drive recorder scheme obtains lower cost.
Brief description of the drawings
Fig. 1 is the structured flowchart for the serial communication system that the embodiment of the present invention one is provided;
Fig. 2 is the implementation process figure for the variable bit rate serial communication method that the embodiment of the present invention two is provided;
Fig. 3 is the structured flowchart for the variable bit rate serial communication apparatus that the embodiment of the present invention three is provided;
Fig. 4 is the structured flowchart for the communication chip that the embodiment of the present invention four is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples 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.
The realization of the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the concrete structure block diagram for the serial communication system that the embodiment of the present invention one is provided, and for convenience of description, only shows The part related to the embodiment of the present invention is gone out.In the present embodiment, the serial communication system includes:Main camera system, after Camera system and serial communication cable.
Wherein, main camera system includes the first main control unit and the first camera, and first main control unit is included extremely Few first USB module and the first clock generator, rear camera system include the second main control unit and second camera, institute Stating the second main control unit includes at least one second USB module and second clock generator, main camera system and rear camera System is linked together by USB serial communication cables.
Nominally, the first clock generator produces the reference clock frequency 12MHz of the first USB module;According to described Reference clock frequency, the working clock frequency of the first USB module is produced by presetting the first transfer function:12MHz * 4 = 48MHz;According to the working clock frequency, the communication frequency of the first USB module is produced by presetting the second transfer function:48/4 = 12Mbps。
When needing to change communication bandwidth, first main control unit is instructed according to communication bandwidth is changed, and controls the first clock Generator produces the reference clock frequency of the first USB module:13MHz;According to the reference clock frequency, by presetting first turn Exchange the letters number produces the working clock frequency of the first USB module:13MHz * 4 = 52MHz;According to the working clock frequency, lead to Cross the communication frequency that default second transfer function produces the first USB module:52/4 = 13Mbps.
Meanwhile, second main control unit is instructed according to communication bandwidth is changed, and control second clock generator produces second The reference clock frequency of USB module:13MHz;According to the reference clock frequency, second is produced by default first transfer function The working clock frequency of USB module:13MHz * 4 = 52MHz;According to the working clock frequency, pass through default second conversion Function produces the communication frequency of the second USB module:52/4 = 13Mbps.
Then main camera system and rear camera system in USB serial communications cable with higher communication frequency 13Mbps, is communicated instead of standard 12Mbps communication frequency, obtains higher communication bandwidth and higher-quality picture number According to communication.
It is preferred that, the quantity of the rear camera system is N number of, and N is the positive integer more than or equal to 1.
The present embodiment, on the basis of standard USB1.1, by the USB module and rear camera that match main camera system The USB module of system, the problem of solving compatibility adjusts the frequency of USB serial communications, increases data communication bandwidth, improves Picture quality, meanwhile, allow dual camera drive recorder scheme to obtain lower cost.
Embodiment two
Fig. 2 shows the implementation process for the variable bit rate serial communication method that the embodiment of the present invention two is provided, and this method implements master Body is the first main control unit or the second main control unit, and details are as follows:
In step s 201, in communication process, according to communication bandwidth instruction is changed, control clock generator produces serial line interface Reference clock frequency.
In step S202, according to the reference clock frequency, the serial interface is produced by default first transfer function The working clock frequency of mouth.
In step S203, according to the work clock, the serial line interface is produced by presetting the second transfer function Communication frequency, the serial line interface is USB1.1.
It is preferred that, the standard traffic frequency of the serial line interface is more than or equal to 12 Mbps.
The present embodiment, on the basis of standard USB1.1, by the USB module and rear camera that match main camera system The USB module of system, the problem of solving compatibility adjusts the frequency of USB serial communications, increases data communication bandwidth, improves Picture quality, meanwhile, allow dual camera drive recorder scheme to obtain lower cost.
Embodiment three
Fig. 3 shows the concrete structure block diagram for the variable bit rate serial communication apparatus that the embodiment of the present invention three is provided, for the ease of Illustrate, illustrate only the part related to the embodiment of the present invention.In the present embodiment, the variable bit rate serial communication apparatus bag Include:Reference clock generation unit 31, work clock generation unit 32 and communication frequency generation unit 33.
Wherein, reference clock generation unit 31, in communication process, according to communication bandwidth instruction is changed, controlling clock Generator produces the reference clock frequency of serial line interface;
Work clock generation unit 32, for according to the reference clock frequency, being produced by default first transfer function described The working clock frequency of serial line interface;
Communication frequency generation unit 33, for according to the work clock, being produced by default second transfer function described serial The communication frequency of interface, the serial line interface is USB1.1.
It is preferred that, the standard traffic frequency of the serial line interface is more than or equal to 12 Mbps.
Variable bit rate serial communication apparatus provided in an embodiment of the present invention can be applied in foregoing corresponding method embodiment two In, details will not be repeated here referring to the description of above-described embodiment two.
Example IV
Fig. 4 shows the concrete structure block diagram for the communication chip that the embodiment of the present invention four is provided, and for convenience of description, illustrate only The part related to the embodiment of the present invention.In the present embodiment, the communication chip includes:At least a processor 41, memory 42 And interface 43, at least a processor 41, memory 42 and the interface 43 are connected by bus;
The memory 42 stores computer executed instructions;
At least one described processor 41 performs the computer executed instructions that the memory 42 is stored so that the speech processes The above-mentioned variable bit rate serial communication method of chip.
The embodiment of the present invention also provides the instruction that is stored with a kind of storage device, described device, and the instruction is by processor The step of above-mentioned variable bit rate serial communication method is realized during execution.
It is worth noting that, one of ordinary skill in the art will appreciate that:The step of realizing above method embodiment or portion It can be completed step by step by the related hardware of programmed instruction, foregoing program can be stored in embodied on computer readable storage Jie In matter, the program upon execution, performs the step of including above method embodiment, and foregoing storage medium includes:ROM、 RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of variable bit rate serial communication method, it is characterised in that methods described includes:
In communication process, according to communication bandwidth instruction is changed, control clock generator produces the reference clock frequency of serial line interface;
According to the reference clock frequency, the working clock frequency of the serial line interface is produced by presetting the first transfer function;
According to the working clock frequency, the communication frequency of the serial line interface is produced by presetting the second transfer function.
2. according to the method described in claim 1, it is characterised in that the serial line interface is USB1.1.
3. according to the method described in claim 1, it is characterised in that the standard traffic frequency of the serial line interface is more than or equal to 12 Mbps。
4. a kind of variable bit rate serial communication apparatus, it is characterised in that described device includes:
Reference clock generation unit, in communication process, according to communication bandwidth instruction is changed, control clock generator to produce string The reference clock frequency of line interface;
Work clock generation unit, for according to the reference clock frequency, the string to be produced by default first transfer function The working clock frequency of line interface;
Communication frequency generation unit, for according to the working clock frequency, the string to be produced by default second transfer function The communication frequency of line interface.
5. device according to claim 1, it is characterised in that the serial line interface is USB1.1.
6. device according to claim 1, it is characterised in that the standard traffic frequency of the serial line interface is more than or equal to 12 Mbps。
7. a kind of communication chip, it is characterised in that the communication chip includes at least a processor, memory and interface, described At least a processor, memory and interface are connected by bus;
The memory storage computer executed instructions;
The computer executed instructions of memory storage described at least one described computing device so that the communication chip is performed Variable bit rate serial communication method described in claim any one of 1-3.
8. a kind of storage device, it is characterised in that be stored with instruction in described device, the instruction is realized when being executed by processor The step of variable bit rate serial communication method described in claim any one of 1-3.
9. a kind of serial communication system, it is characterised in that the system includes main camera system, rear camera system and serial The communications cable, main camera system includes the first main control unit and the first camera, and first main control unit includes at least one Individual first serial interface module and the first clock generator, rear camera system include the second main control unit and second camera, Second main control unit includes at least one second serial interface module and second clock generator, and main camera system is with after Camera system is linked together by serial communication cable, it is necessary to when changing communication bandwidth, first main control unit, second Main control unit each performs the variable bit rate serial communication method described in the claims 1-3 simultaneously.
10. system according to claim 9, it is characterised in that the quantity of the rear camera system be it is N number of, N be more than Positive integer equal to 1.
CN201710329523.4A 2017-05-11 2017-05-11 Variable-rate serial communication method, device, communication chip, storage device and system Active CN107273327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710329523.4A CN107273327B (en) 2017-05-11 2017-05-11 Variable-rate serial communication method, device, communication chip, storage device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710329523.4A CN107273327B (en) 2017-05-11 2017-05-11 Variable-rate serial communication method, device, communication chip, storage device and system

Publications (2)

Publication Number Publication Date
CN107273327A true CN107273327A (en) 2017-10-20
CN107273327B CN107273327B (en) 2021-06-01

Family

ID=60073867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710329523.4A Active CN107273327B (en) 2017-05-11 2017-05-11 Variable-rate serial communication method, device, communication chip, storage device and system

Country Status (1)

Country Link
CN (1) CN107273327B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078615A (en) * 2019-12-23 2020-04-28 福建北峰通信科技股份有限公司 Compatible control system and method for serial port communication
CN112154491A (en) * 2018-05-29 2020-12-29 西门子交通有限责任公司 Method of setting an imaging sensor, computer program product for setting an imaging sensor, sensor setting system and facility

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1363891A (en) * 2000-10-31 2002-08-14 精工爱普生株式会社 Apparatus and electronic instrument for controlling data delivery
CN1926529A (en) * 2004-03-26 2007-03-07 英特尔公司 Arbitration based power management
CN101088080A (en) * 2004-12-30 2007-12-12 英特尔公司 Universal serial bus adaptive signal rate
CN102207922A (en) * 2010-03-30 2011-10-05 新唐科技股份有限公司 Bus interface and clock frequency control method thereof
CN205750414U (en) * 2016-06-16 2016-11-30 深圳市七彩虹科技发展有限公司 A kind of high-sensitive USB interface and mainboard thereof
CN205899629U (en) * 2016-08-15 2017-01-18 深圳市冠洲科技有限公司 Vehicle event data recorder with two cameras
CN206162724U (en) * 2016-09-28 2017-05-10 深圳君安软件技术有限公司 Car machine record appearance

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1363891A (en) * 2000-10-31 2002-08-14 精工爱普生株式会社 Apparatus and electronic instrument for controlling data delivery
CN1926529A (en) * 2004-03-26 2007-03-07 英特尔公司 Arbitration based power management
CN101088080A (en) * 2004-12-30 2007-12-12 英特尔公司 Universal serial bus adaptive signal rate
CN102207922A (en) * 2010-03-30 2011-10-05 新唐科技股份有限公司 Bus interface and clock frequency control method thereof
CN205750414U (en) * 2016-06-16 2016-11-30 深圳市七彩虹科技发展有限公司 A kind of high-sensitive USB interface and mainboard thereof
CN205899629U (en) * 2016-08-15 2017-01-18 深圳市冠洲科技有限公司 Vehicle event data recorder with two cameras
CN206162724U (en) * 2016-09-28 2017-05-10 深圳君安软件技术有限公司 Car machine record appearance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112154491A (en) * 2018-05-29 2020-12-29 西门子交通有限责任公司 Method of setting an imaging sensor, computer program product for setting an imaging sensor, sensor setting system and facility
CN111078615A (en) * 2019-12-23 2020-04-28 福建北峰通信科技股份有限公司 Compatible control system and method for serial port communication
CN111078615B (en) * 2019-12-23 2023-04-14 福建北峰通信科技股份有限公司 Compatible control system and method for serial port communication

Also Published As

Publication number Publication date
CN107273327B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US9690732B2 (en) Power-over-ethernet (POE)-enabled network device and USB device power negotiation using USB to POE protocol conversion
CN108390433A (en) Fast charge method, power supply adaptor and mobile terminal
CN107273327A (en) Variable bit rate serial communication method, device, communication chip, storage device and system
JP6004410B2 (en) Service scheduling method and apparatus, and network device
EP3595321A1 (en) Data flow control method and apparatus
DE102019128795A1 (en) CONTENT PROTECTION VIA SYNCHRONOUS DATA NETWORKS
CN104363463A (en) Video processing method, device and system
WO2022012644A1 (en) Data transmission method employing charging cable, and electronic devices
CN109344098A (en) Data manipulation method and device between master-slave equipment
CN108494652A (en) A kind of EtherCAT high speed Ethernets protocol conversion fusion method
US9930538B1 (en) Methods and apparatus for a wireless access point converter
CN109361894A (en) A kind of video interface expanding unit and method based on FPGA realization
TW201025974A (en) Electronic device and related method for controlling heterogeneous iNIC devices
CN115933818B (en) Docking station integrated system and external communication method
CN102932458A (en) Point-to-point protocol (PPP) hardware acceleration system and achieving method thereof
EP3274957B1 (en) Adaptive video direct memory access module
DE112019001730T5 (en) TECHNOLOGIES FOR COOPERATIVE CONNECTION EQUALIZATION WITHOUT INTERRUPTION FOR CONNECTION TRAFFIC
CN102841875A (en) Host computer with intelligent bus interface and security system
EP3148209A1 (en) Data processing method and apparatus
CN106844273B (en) Method and device for accessing DP auxiliary channel
CN107682587A (en) Video processor
CN207053624U (en) Changeable spherical panoramic camera
CN206100052U (en) Computer network security control device for teaching
CN104375813B (en) A kind of memory space fill method and device
EP3694274A1 (en) Service data transmission method and apparatus

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
TA01 Transfer of patent application right

Effective date of registration: 20200102

Address after: Unit D88, floor 2, convention and Exhibition Center, No.1, Software Park Road, Tangjiawan Town, hi tech Zone, Zhuhai City, Guangdong Province

Applicant after: Jianrong Integrated Circuit Technology (Zhuhai) Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province science and Technology Park of Nanshan District high new technology building B505 Fu'an

Applicant before: Jian Rong semiconductor (Shenzhen) Co., Ltd.

Applicant before: Jianrong Integrated Circuit Technology (Zhuhai) Co., Ltd.

Applicant before: ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220317

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: Unit D88, 2 / F, convention and Exhibition Center, No.1 Software Park Road, Tangjiawan Town, hi tech Zone, Zhuhai, Guangdong 519000

Patentee before: BUILDWIN INTERNATIONAL (ZHUHAI) Ltd.

TR01 Transfer of patent right