CN107566088A - The method of adjustment and charging adapter of a kind of baud rate - Google Patents
The method of adjustment and charging adapter of a kind of baud rate Download PDFInfo
- Publication number
- CN107566088A CN107566088A CN201710800225.9A CN201710800225A CN107566088A CN 107566088 A CN107566088 A CN 107566088A CN 201710800225 A CN201710800225 A CN 201710800225A CN 107566088 A CN107566088 A CN 107566088A
- Authority
- CN
- China
- Prior art keywords
- target
- baud rate
- duration
- mobile terminal
- level
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a kind of method of adjustment of baud rate and charging adapter, solves the problems, such as that existing fast charge adapter is difficult to the accurate mobile communication speed that adapts in real time and changed.The method of adjustment of the baud rate of the present invention includes:When receiving every frame traffic message of mobile terminal transmission, the predetermined bit position of preset byte in communication message described in every frame is detected, determines the baud rate of the mobile terminal present communications;According to the baud rate of the mobile terminal present communications, the baud rate of charging adapter communication is adjusted, reaches the purpose that can adapt to mobile terminal baud rate in real time, and then the communication success rate of mobile terminal and charging adapter can be improved.
Description
Technical field
The present invention relates to the method for adjustment and adaptive charging of the technical field of communications applications, more particularly to a kind of baud rate
Device.
Background technology
At present, cell-phone function is stronger and stronger, and the stand-by time of mobile phone is shorter and shorter;Increasingly value in cellphone subscriber and treat
In the case of machine duration, increase battery capacity is the solution that mobile phone producer is expected first.Electricity can not be captured in battery producer
In the case of pool technology, quick charge scheme is just arisen at the historic moment.At present, rapid nitriding be that mobile phone producer generally uses one
Kind charging modes.
During mobile phone and fast charge adapter communications, communication success rate is than relatively low.In order to increase the success rate of communication, mobile phone
End actively reduces the baud rate of communication, and still, fast charge adapter can not adapt to the change of mobile phone terminal traffic rate in real time, so as to
It is difficult to the communication success rate for improving mobile phone terminal and charging adapter.
The content of the invention
It is an object of the invention to provide a kind of method of adjustment of baud rate and charging adapter, to solve existing fast charge
Adapter is difficult to accurate the problem of adapting to the change of mobile communication speed in real time.
To achieve these goals, the invention provides a kind of method of adjustment of baud rate, applied to charging adapter, bag
Include:
When receiving every frame traffic message of mobile terminal transmission, preset byte in communication message described in every frame is preset
Bit is detected, and determines the baud rate of the mobile terminal present communications;
According to the baud rate of the mobile terminal present communications, the baud rate of charging adapter communication is adjusted
It is whole.
To achieve these goals, the embodiment of the present invention additionally provides a kind of charging adapter, including:
Determining module, for receive mobile terminal transmission every frame traffic message when, in communication message described in every frame
The predetermined bit position of preset byte is detected, and determines the baud rate of the mobile terminal present communications;
Adjusting module, for the baud rate according to the mobile terminal present communications, to charging adapter communication
Baud rate is adjusted.
To achieve these goals, the embodiment of the present invention additionally provides a kind of charging adapter, including memory, processor
And store the adjustment programme for the baud rate that can be run on a memory and on a processor, baud rate described in the computing device
Adjustment programme when realize step in the method for adjustment of baud rate as described above.
To achieve these goals, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, stores thereon
There is the adjustment programme of baud rate, the adjustment programme of the baud rate realizes the adjustment of baud rate as described above when being executed by processor
Step in method.
The embodiment of the present invention has the advantages that:
The above-mentioned technical proposal of the embodiment of the present invention, when receiving every frame traffic message of mobile terminal transmission, to every frame
The predetermined bit position of preset byte is detected in the communication message, determines the baud rate of the mobile terminal present communications;
According to the baud rate of the mobile terminal present communications, the baud rate of charging adapter communication is adjusted, reaches energy
It is enough to adapt to the purpose of mobile terminal baud rate in real time, and then the communication success rate of mobile terminal and charging adapter can be improved.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the first workflow diagram of the method for adjustment of the baud rate of the embodiment of the present invention;
Fig. 2 is the second workflow diagram of the method for adjustment of the baud rate of the embodiment of the present invention;
Fig. 3 be the embodiment of the present invention baud rate method of adjustment in bit detects schematic diagram;
Fig. 4 is the 3rd workflow diagram of the method for adjustment of the baud rate of the embodiment of the present invention;
Fig. 5 is the first module diagram of the charging adapter of the embodiment of the present invention;
Fig. 6 is the second module diagram of the charging adapter of the embodiment of the present invention.
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 describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Embodiments of the invention are difficult to the accurate speed change of adaptation mobile communication in real time for existing fast charge adapter
Problem, the embodiments of the invention provide a kind of method of adjustment of baud rate and charging adapter, can adapt to mobile terminal in real time
Baud rate.
As shown in figure 1, the embodiment provides a kind of method of adjustment of baud rate, applied to charging adapter,
Including:
Step 101:When receiving every frame traffic message of mobile terminal transmission, to predetermined word in communication message described in every frame
The predetermined bit position of section is detected, and determines the baud rate of the mobile terminal present communications.
Communication message in the embodiment of the present invention is specially the communication message of predetermined format, if communication header is 0xaa forms
Communication message.Now, the method for adjustment of the baud rate of the embodiment of the present invention, including:Receive every frame of mobile terminal transmission
During communication message, whether the header for detecting the communication message is predetermined format;If the header of the communication message is to fix in advance
Formula, then perform and the predetermined bit position of preset byte in the communication message is detected, determine that the mobile terminal currently leads to
The step of baud rate of letter.
Here, for the communication mode using universal synchronous/asynchronous serial reception/transmitter usart, it is in communication header
During 0xaa communication format, charging adapter often receives a frame traffic message, just carries out the detection of a baud rate, in order to
The baud rate of charging adapter is adjusted.
Step 102:According to the baud rate of the mobile terminal present communications, to the baud rate of charging adapter communication
It is adjusted.
According to the baud rate for the mobile terminal determined, speed that charging adapter active accommodation is communicated with mobile terminal
Rate, and then effectively improve communication success rate.
Further, as shown in Fig. 2 above-mentioned steps 101 include:
Step 1011:According to the duration of first object level in the preset byte of communication message described in every frame, described in acquisition
Mobile terminal transmits the target duration needed for a bit in the preset byte.
Here preset byte can be specially that the first object level can be specific per the first character section in frame traffic message
For first low level in the preset byte.
Specifically, according to the ratio of institute's transmitted bit number in the duration of first object level and the duration, above-mentioned mesh is obtained
Timestamp is grown.As shown in figure 3, for the communication message that communication message is 0xaa forms, duration corresponding to first low level is removed
Above-mentioned target duration is obtained with 2.
Step 1012:According to the target duration and default value, determine the first object level terminate after target
Detection time section.
Goal detection time section is to detect the period of next target level.If come according only to target duration true
Surely receive the time of next target level, due to clocking error, after target duration the moment be likely difficult to be accurately received
To next target level, and then cause the baud rate of determination not accurate enough.The embodiment of the present invention is by setting default value, energy
It is enough more preparatively to receive next target level, so that the baud rate being calculated is more accurate.
Specifically, pass through formula M={ Tend+T0- Δ T, Tend+T0+ Δ T }, determine the target detection period;
Wherein, M represents target detection period, TendRepresent the finish time of the first object level, T0Described in expression
Target duration, Δ T represent default value.
Step 1013:If detecting the second target level within the target detection period, according to from described first
The bit number transmitted in the first transmission duration that target level starts to terminate to second target level, updates the target
Duration.
As shown in figure 3, the second target level can be specially high level, when detecting the second mesh in above-mentioned target time section
When marking level, according to the ratio of the bit number and the described first transmission duration transmitted in the described first transmission duration, obtain more
Target duration after new.
By according in the first transmission duration terminated since the first object level to second target level
The bit number transmitted, the target duration is updated, make target duration more accurate.
Step 1014:According to the target duration after renewal, the baud rate of the mobile terminal present communications is determined.
Here, according to the target duration after renewal, the baud rate of mobile terminal present communications can be more accurately determined,
And then adjustment and baud rate during communication of mobile terminal, effectively improve the communication success rate with mobile terminal.
Further, the method for adjustment of the baud rate of the embodiment of the present invention, after above-mentioned steps 1013, in addition to:
Whether the bit number for judging to be transmitted in the first transmission duration is less than the total bit number of the preset byte;
If the bit number transmitted in the first transmission duration is less than the total bit number of the preset byte, according to more
The target duration and the default value after new, redefine the target detection time after second target level terminates
Section.
If detecting the 3rd target level within the target detection period redefined, according to from described first
The bit number transmitted in the second transmission duration that target level starts to terminate to the 3rd target level, updates the target
Duration, until bit number transmitted in the transmission duration terminated since the first object level to current goal level etc.
In the total bit number of the preset byte.
The method of adjustment of the baud rate of the embodiment of the present invention, by being circulated to each bit in preset byte
Detection so that the target duration calculated is more accurate.
It is as follows to a concrete application process description of the embodiment of the present invention below.Communication message in the concrete application flow
Header format is 0xaa forms.
As shown in figure 4, the application flow includes:
Step 401:The receiving port of charging adapter is arranged to acquisition mode.
Under the acquisition mode, charging adapter often receives a frame traffic message of mobile terminal transmission, just carries out one
The adaptive polo placement of secondary baud rate.
Step 402:Judge whether to detect first trailing edge.
Step 403:If detect first trailing edge, timing, Time_count=0 are opened.
Step 404:Judge whether to detect first rising edge.
Step 405:If detect first rising edge, Bit_Num=2;Time_Bit=Time_tol/Bit_Num,
And restart timing.
Wherein, Time_tol is represented from detecting first trailing edge to the time for detecting first rising edge, Bit_
Num represents the bit number transmitted in Time_tol, and Time_Bit represents the target duration needed for one bit of transmission, detected
During first rising edge, Time_tol=Time_count.In addition, after having calculated Time_Bit, restart timing, i.e.,
Time_count=0.
Step 406:Judge whether detect trailing edge in target time section.
The target time section is specially { Tend+T0- Δ T, Tend+T0+ Δ T }, TendRepresent to detect first rising edge
Moment, T0The target duration is represented, Δ T represents default value.
Step 407:If trailing edge, Bit_Num=Bit_Num+1, Time_tol are detected in the target time section
=Time_count+Time_tol, Time_Bit=Time_tol/Bit_Num, and restart timing, otherwise, jump to step
Rapid 412.
Step 408:Whether rising edge is detected in the target time section for judging to redefine.
The target time section redefined is specially { Tend'+T0'-Δ T, Tend'+T0'+Δ T }, Tend' represent on this
At the time of liter along an adjacent upper trailing edge, T0' represent to count at the time of the adjacent upper trailing edge of the rising edge corresponds to
The target duration calculated, Δ T represent default value.
Step 409:If detecting rising edge in the target time section redefined, Bit_Num=Bit_Num+1,
Time_tol=Time_count+Time_tol, Time_Bit=Time_tol/Bit_Num, and restart timing, otherwise,
Jump to step 412.
Step 410:Judge whether Bit_Num is equal to the total bit number of byte in communication message.
It can specifically judge whether Bit_Num is equal to 8.
Step 411:If Bit_Num is equal to the total bit number of byte in communication message, Time_Bit=Time_tol/
Bit_Num, otherwise, jump to step 406.
Step 412:Detection failure.
The method of adjustment of the baud rate of the embodiment of the present invention, in mobile terminal and charging adapter communication process, adaptation
Device can the change of self-adapted to mobile phone end baud rate, so as to increase the success rate of communication.
As shown in figure 5, the embodiment of the present invention additionally provides a kind of charging adapter, including:
Determining module 501, for receive mobile terminal transmission every frame traffic message when, to communication message described in every frame
The predetermined bit position of middle preset byte is detected, and determines the baud rate of the mobile terminal present communications;
Adjusting module 502, for the baud rate according to the mobile terminal present communications, the charging adapter is communicated
Baud rate be adjusted.
The charging adapter of the embodiment of the present invention, as shown in fig. 6, the determining module 501 includes:
Acquisition submodule 5011, for according in the preset byte per communication message described in frame first object level when
It is long, obtain the target duration needed for a bit in the mobile terminal transmission preset byte;
First determination sub-module 5012, for according to the target duration and default value, determining the first object electricity
The target detection period after reef knot beam;
First renewal submodule 5013, if for detecting the second target level within the target detection period,
According to the bit transmitted in the first transmission duration terminated since the first object level to second target level
Number, updates the target duration;
Second determination sub-module 5014, for according to the target duration after renewal, determining that the mobile terminal is current
The baud rate of communication.
The charging adapter of the embodiment of the present invention, the determining module 501 also include:
Judging submodule 5015, it is described pre- whether the bit number for judging to be transmitted in the first transmission duration is less than
If the total bit number of byte;
Submodule 5016 is redefined, if being less than described preset for the bit number transmitted in the described first transmission duration
The total bit number of byte, then according to the target duration after renewal and the default value, redefine second target
Level terminate after the target detection period;
Second renewal submodule 5017, if for detecting the 3rd mesh within the target detection period redefined
Level is marked, then is passed in the second transmission duration that basis terminates since the first object level to the 3rd target level
Defeated bit number, the target duration is updated, until the biography terminated since the first object level to current goal level
The bit number transmitted in defeated duration is equal to the total bit number of the preset byte.
The charging adapter of the embodiment of the present invention, first determination sub-module 5012 are used to pass through formula M={ Tend+
T0- Δ T, Tend+T0+ Δ T }, determine the target detection period;
Wherein, M represents target detection period, TendRepresent the finish time of the first object level, T0Described in expression
Target duration, Δ T represent default value.
The charging adapter of the embodiment of the present invention, when the first renewal submodule 5013 is used to transmit according to described first
The ratio of the bit number transmitted in long and the described first transmission duration, the target duration after being updated.
The charging adapter of the embodiment of the present invention, the determining module 501 also include:
First detection sub-module 5018, for receive mobile terminal transmission every frame traffic message when, detection it is described leads to
Whether the header for believing message is predetermined format;
Second detection sub-module 5019, if the header for the communication message is predetermined format, the communication is reported
The predetermined bit position of preset byte is detected in text, determines the baud rate of the mobile terminal present communications.
It should be noted that the charging adapter is charging adapter corresponding with above method embodiment, the above method
All implementations can also reach identical technique effect suitable for the embodiment of the charging adapter in embodiment.
The charging adapter of the embodiment of the present invention, when receiving every frame traffic message of mobile terminal transmission, to every frame institute
The predetermined bit position for stating preset byte in communication message is detected, and determines the baud rate of the mobile terminal present communications;Root
According to the baud rate of the mobile terminal present communications, the baud rate of charging adapter communication is adjusted, reaching can
The purpose of mobile terminal baud rate is adapted in real time, and then can improve the communication success rate of mobile terminal and charging adapter.
Embodiments of the invention additionally provide a kind of charging adapter, including:Memory, processor and it is stored in memory
The adjustment programme for the baud rate that goes up and can run on a processor, when the adjustment programme of the baud rate is by the computing device
Each process in the method for adjustment embodiment of above-mentioned baud rate is realized, and identical technique effect can be reached, to avoid repeating,
Here repeat no more.
Embodiments of the invention additionally provide a kind of computer-readable recording medium, on the computer-readable recording medium
The adjustment programme of baud rate is stored with, the adjustment programme of the baud rate realizes the adjustment of above-mentioned baud rate when being executed by processor
Each process in embodiment of the method, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, institute
The computer-readable recording medium stated, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory
(Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is controlled to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
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
God any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection with principle.
Claims (14)
- A kind of 1. method of adjustment of baud rate, applied to charging adapter, it is characterised in that including:When receiving every frame traffic message of mobile terminal transmission, to the predetermined bit of preset byte in communication message described in every frame Position is detected, and determines the baud rate of the mobile terminal present communications;According to the baud rate of the mobile terminal present communications, the baud rate of charging adapter communication is adjusted.
- 2. the method for adjustment of baud rate according to claim 1, it is characterised in that to being preset in communication message described in every frame The predetermined bit position of byte is detected, and determines the baud rate of the mobile terminal present communications, including:According to the duration of first object level in the preset byte of communication message described in every frame, the mobile terminal transmission institute is obtained State the target duration needed for a bit in preset byte;According to the target duration and default value, determine the first object level terminate after the target detection period;If detecting the second target level within the target detection period, according to since the first object level to The bit number transmitted in the first transmission duration that second target level terminates, updates the target duration;According to the target duration after renewal, the baud rate of the mobile terminal present communications is determined.
- 3. the method for adjustment of baud rate according to claim 2, it is characterised in that opened according to from the first object level The bit number transmitted in the first transmission duration for beginning to terminate to second target level, after updating the target duration, Also include:Whether the bit number for judging to be transmitted in the first transmission duration is less than the total bit number of the preset byte;If the bit number transmitted in the first transmission duration is less than the total bit number of the preset byte, after renewal The target duration and the default value, redefine the target detection period after second target level terminates;If detecting the 3rd target level within the target detection period redefined, according to from the first object The bit number transmitted in the second transmission duration that level starts to terminate to the 3rd target level, when updating the target It is long, until the bit number transmitted in the transmission duration terminated since the first object level to current goal level is equal to The total bit number of the preset byte.
- 4. the method for adjustment of baud rate according to claim 2, it is characterised in that according to the target duration and present count Value, determine the first object level terminate after the target detection period the step of, including:Pass through formula M={ Tend+T0- Δ T, Tend+T0+ Δ T }, determine the target detection period;Wherein, M represents target detection period, TendRepresent the finish time of the first object level, T0Represent the target Duration, Δ T represent default value.
- 5. the method for adjustment of baud rate according to claim 2, it is characterised in that opened according to from the first object level The bit number transmitted in the first transmission duration for beginning to terminate to second target level, update the step of the target duration Suddenly, including:The ratio of duration is transmitted according to the bit number transmitted in the described first transmission duration and described first, after being updated Target duration.
- 6. the method for adjustment of baud rate according to claim 1, it is characterised in that described to receive what mobile terminal was sent During per frame traffic message, the predetermined bit position of preset byte in communication message described in every frame is detected, determines the movement The step of baud rate of terminal present communications, including:When receiving every frame traffic message of mobile terminal transmission, whether the header for detecting the communication message is predetermined format;If the header of the communication message is predetermined format, the predetermined bit position of preset byte in the communication message is carried out Detection, determine the baud rate of the mobile terminal present communications.
- A kind of 7. charging adapter, it is characterised in that including:Determining module, during every frame traffic message for receiving mobile terminal transmission, to default in communication message described in every frame The predetermined bit position of byte is detected, and determines the baud rate of the mobile terminal present communications;Adjusting module, for the baud rate according to the mobile terminal present communications, to the baud of charging adapter communication Rate is adjusted.
- 8. charging adapter according to claim 7, it is characterised in that the determining module includes:Acquisition submodule, for the duration of first object level in the preset byte of communication message according to per frame, obtain institute State the target duration needed for a bit in the mobile terminal transmission preset byte;First determination sub-module, for according to the target duration and default value, after determining that the first object level terminates The target detection period;First renewal submodule, if for detecting the second target level within the target detection period, according to from institute The bit number transmitted in the first transmission duration that first object level starts to terminate to second target level is stated, updates institute State target duration;Second determination sub-module, for according to the target duration after renewal, determining the ripple of the mobile terminal present communications Special rate.
- 9. charging adapter according to claim 8, it is characterised in that the determining module also includes:Whether judging submodule, the bit number for judging to be transmitted in the first transmission duration are less than the preset byte Total bit number;Submodule is redefined, if being less than the total of the preset byte for the bit number transmitted in the described first transmission duration Bit number, then according to the target duration after renewal and the default value, redefine second target level and terminate The target detection period afterwards;Second renewal submodule, if for detecting the 3rd target level within the target detection period redefined, Then according to the ratio transmitted in the second transmission duration terminated since the first object level to the 3rd target level Special number, the target duration is updated, until the transmission duration terminated since the first object level to current goal level Interior transmitted bit number is equal to the total bit number of the preset byte.
- 10. charging adapter according to claim 8, it is characterised in that first determination sub-module is used to pass through public affairs Formula M={ Tend+T0- Δ T, Tend+T0+ Δ T }, determine the target detection period;Wherein, M represents target detection period, TendRepresent the finish time of the first object level, T0Represent the target Duration, Δ T represent default value.
- 11. charging adapter according to claim 8, it is characterised in that the first renewal submodule is used for according to institute State the ratio of the bit number and the described first transmission duration that are transmitted in the first transmission duration, the target duration after being updated.
- 12. charging adapter according to claim 7, it is characterised in that the determining module also includes:First detection sub-module, for receive mobile terminal transmission every frame traffic message when, detect the communication message Whether header is predetermined format;Second detection sub-module, if the header for the communication message is predetermined format, to being preset in the communication message The predetermined bit position of byte is detected, and determines the baud rate of the mobile terminal present communications.
- 13. a kind of charging adapter, it is characterised in that on a memory and can handled including memory, processor and storage The adjustment programme for the baud rate run on device, such as claim is realized described in the computing device during adjustment programme of baud rate Step in the method for adjustment of any one of 1 to 6 baud rate.
- 14. a kind of computer-readable recording medium, it is characterised in that be stored thereon with the adjustment programme of baud rate, the baud The step in the method for adjustment of baud rate as described in any one of claim 1 to 6 is realized when the adjustment programme of rate is executed by processor Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710800225.9A CN107566088B (en) | 2017-09-07 | 2017-09-07 | A kind of method of adjustment and charging adapter of baud rate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710800225.9A CN107566088B (en) | 2017-09-07 | 2017-09-07 | A kind of method of adjustment and charging adapter of baud rate |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107566088A true CN107566088A (en) | 2018-01-09 |
CN107566088B CN107566088B (en) | 2019-04-12 |
Family
ID=60979524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710800225.9A Active CN107566088B (en) | 2017-09-07 | 2017-09-07 | A kind of method of adjustment and charging adapter of baud rate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566088B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109510689A (en) * | 2018-12-25 | 2019-03-22 | 迈普通信技术股份有限公司 | Serial port communication method, apparatus and system |
CN111556535A (en) * | 2020-04-28 | 2020-08-18 | 芯海科技(深圳)股份有限公司 | Communication method, communication device, electronic apparatus, and storage medium |
CN112202528A (en) * | 2020-08-17 | 2021-01-08 | 北京海泰方圆科技股份有限公司 | Communication baud rate correction method and device, electronic equipment and storage medium |
CN112217603A (en) * | 2020-05-06 | 2021-01-12 | 青岛鼎信通讯股份有限公司 | Baud rate self-adaptive design based on serial port of ammeter |
CN112511334A (en) * | 2020-10-13 | 2021-03-16 | 博流智能科技(南京)有限公司 | Method and system for improving communication rate |
CN116742763A (en) * | 2023-08-14 | 2023-09-12 | 苏州水芯电子科技有限公司 | Fast charging protocol chip, method executed by fast charging protocol chip and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383436A (en) * | 2008-09-10 | 2009-03-11 | 崧顺电子(深圳)有限公司 | Battery charging method and apparatus |
US20130099735A1 (en) * | 2010-06-11 | 2013-04-25 | Mojo Mobility, Inc. | Inductive charging with support for multiple charging protocols |
CN104810877A (en) * | 2014-01-28 | 2015-07-29 | 广东欧珀移动通信有限公司 | Cell charging device and method |
CN104967199A (en) * | 2015-08-05 | 2015-10-07 | 青岛海信移动通信技术股份有限公司 | Fast-charging method and mobile terminal |
CN104993182A (en) * | 2015-08-05 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Mobile terminal, direct charging power adapter and charging method |
CN105095038A (en) * | 2015-09-14 | 2015-11-25 | 西安航空学院 | Method for detecting baud rate of RS232 serial port |
CN105281395A (en) * | 2015-05-28 | 2016-01-27 | 维沃移动通信有限公司 | Charging detection circuit, mobile terminal and charging detection system |
-
2017
- 2017-09-07 CN CN201710800225.9A patent/CN107566088B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383436A (en) * | 2008-09-10 | 2009-03-11 | 崧顺电子(深圳)有限公司 | Battery charging method and apparatus |
US20130099735A1 (en) * | 2010-06-11 | 2013-04-25 | Mojo Mobility, Inc. | Inductive charging with support for multiple charging protocols |
CN104810877A (en) * | 2014-01-28 | 2015-07-29 | 广东欧珀移动通信有限公司 | Cell charging device and method |
CN105281395A (en) * | 2015-05-28 | 2016-01-27 | 维沃移动通信有限公司 | Charging detection circuit, mobile terminal and charging detection system |
CN104967199A (en) * | 2015-08-05 | 2015-10-07 | 青岛海信移动通信技术股份有限公司 | Fast-charging method and mobile terminal |
CN104993182A (en) * | 2015-08-05 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Mobile terminal, direct charging power adapter and charging method |
CN105095038A (en) * | 2015-09-14 | 2015-11-25 | 西安航空学院 | Method for detecting baud rate of RS232 serial port |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109510689A (en) * | 2018-12-25 | 2019-03-22 | 迈普通信技术股份有限公司 | Serial port communication method, apparatus and system |
CN109510689B (en) * | 2018-12-25 | 2022-03-22 | 迈普通信技术股份有限公司 | Serial port communication method, device and system |
CN111556535A (en) * | 2020-04-28 | 2020-08-18 | 芯海科技(深圳)股份有限公司 | Communication method, communication device, electronic apparatus, and storage medium |
CN111556535B (en) * | 2020-04-28 | 2024-04-19 | 芯海科技(深圳)股份有限公司 | Communication method, communication device, electronic equipment and storage medium |
CN112217603A (en) * | 2020-05-06 | 2021-01-12 | 青岛鼎信通讯股份有限公司 | Baud rate self-adaptive design based on serial port of ammeter |
CN112202528A (en) * | 2020-08-17 | 2021-01-08 | 北京海泰方圆科技股份有限公司 | Communication baud rate correction method and device, electronic equipment and storage medium |
CN112511334A (en) * | 2020-10-13 | 2021-03-16 | 博流智能科技(南京)有限公司 | Method and system for improving communication rate |
CN112511334B (en) * | 2020-10-13 | 2024-05-07 | 博流智能科技(南京)有限公司 | Method and system for improving communication rate |
CN116742763A (en) * | 2023-08-14 | 2023-09-12 | 苏州水芯电子科技有限公司 | Fast charging protocol chip, method executed by fast charging protocol chip and electronic equipment |
CN116742763B (en) * | 2023-08-14 | 2023-11-17 | 苏州水芯电子科技有限公司 | Fast charging protocol chip, method executed by fast charging protocol chip and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107566088B (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566088A (en) | The method of adjustment and charging adapter of a kind of baud rate | |
CN101710857A (en) | Serial communication baud rate adaptive method and device thereof | |
CN109347989A (en) | Meter design method, apparatus and system design method based on NB-IoT Internet of Things | |
CN101594622B (en) | Method, device and system for detecting dormant cell | |
US10396921B2 (en) | Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium | |
CN109149694A (en) | Charging method, charging unit, power supply provide equipment and terminal to be charged | |
CN105634666A (en) | Method and device for transmitting data on non-authorized frequency band | |
CN110049505A (en) | Data transmission method and relevant apparatus | |
CN102306136A (en) | Baud rate self-adaption method based on input capture function of singlechip | |
CN103582026B (en) | A kind of method and apparatus of CPRI adaptive configurations | |
CN109413762A (en) | A kind of awakening method and device of vehicle-mounted Tbox | |
CN102202386B (en) | Clock synchronization method, device and system | |
CN107567107A (en) | A kind of method and device for transmitting data | |
CN104641595A (en) | Method and apparatus for delimiting problem | |
CN102176780A (en) | Dormant cell detection method, device and system | |
CN104579746A (en) | Method and device for controlling dual-link transmission | |
CN104541536B (en) | Method, user equipment and base station for detecting device to device signals | |
CN105959093A (en) | Serial communication baud rate real-time self-adaption method | |
CN105230088B (en) | Asynchronous TDD system phase synchronization method and device | |
CN102932820A (en) | Link processing method, device and system | |
CN109274748B (en) | Reliable data transmission method and power equipment monitoring data transmission method applying same | |
CN103746766B (en) | Retransmission round trip bearing calibration | |
CN102694618B (en) | A method for detecting loss of synchronism in an idle state and terminal device | |
CN104753640B (en) | A kind of adaptation method and device based on network transmission link | |
CN105813142A (en) | Data frame transmission method, data frame transmission device, and data frame transmission system |
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 |