CN107707270B - A kind of Bluetooth signal gain method, device and terminal device - Google Patents

A kind of Bluetooth signal gain method, device and terminal device Download PDF

Info

Publication number
CN107707270B
CN107707270B CN201710479862.0A CN201710479862A CN107707270B CN 107707270 B CN107707270 B CN 107707270B CN 201710479862 A CN201710479862 A CN 201710479862A CN 107707270 B CN107707270 B CN 107707270B
Authority
CN
China
Prior art keywords
gain
bluetooth signal
signal
energy value
module
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.)
Active
Application number
CN201710479862.0A
Other languages
Chinese (zh)
Other versions
CN107707270A (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.)
SHENZHEN RENERGY TECHNOLOGY Co.,Ltd.
Original Assignee
Shenzhen Ruineg Micro Polytron Technologies Inc
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 Shenzhen Ruineg Micro Polytron Technologies Inc filed Critical Shenzhen Ruineg Micro Polytron Technologies Inc
Priority to CN201710479862.0A priority Critical patent/CN107707270B/en
Publication of CN107707270A publication Critical patent/CN107707270A/en
Application granted granted Critical
Publication of CN107707270B publication Critical patent/CN107707270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • H04B1/12Neutralising, balancing, or compensation arrangements
    • H04B1/123Neutralising, balancing, or compensation arrangements using adaptive balancing or compensation means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for signal processing technology field, provides Bluetooth signal gain method, device and terminal device, comprising: detect whether to receive Bluetooth signal;Identification just in the transmission rate of received Bluetooth signal, and obtain in Bluetooth signal lead code and the code length of access address and;According to transmission rate and code length and calculate the gain time;The gain of control automatic gain module registration a length of gain time when received Bluetooth signal carries out, and after the completion of gain, control automatic gain module stops gain.The embodiment of the present invention is when carrying out gain adjustment to Bluetooth signal, only change the size of lead code and access address part in Bluetooth signal, without will affect the message part in Bluetooth signal, to ensure that in beneficiating process the undistorted of useful information in Bluetooth signal.

Description

A kind of Bluetooth signal gain method, device and terminal device
Technical field
The invention belongs to signal processing technology fields more particularly to a kind of Bluetooth signal gain method, device and terminal to set It is standby.
Background technique
In wireless communications, with the variation of transmission range and the influence of some other factor, signal is in spatial In will appear decline so that the signal finally received in receiver end signal strength generate greatly variation.In order to keep Receiver output signal power it is constant, in practical application, AGC automatic growth control can be carried out to the signal that receives, thus Guarantee that subsequent modem and signal processing unit can work normally.
In existing low-power consumption bluetooth system, in order to keep the constant of receiver output Bluetooth signal power, AGC will use Adjustment directly is amplified to the Bluetooth signal received, until the power of Bluetooth signal reaches target value.Although the prior art It can achieve the constant purpose for keeping output Bluetooth signal power, but by AGC to directly to the Bluetooth signal received Adjustment is amplified, Bluetooth signal can be made gain mismatch occur, leads to the distortion of Bluetooth signal, it can not normal transmission bluetooth letter Useful information in number.
In summary, in the prior art, it can not keep useful in Bluetooth signal while to Bluetooth signal gain adjustment Information it is undistorted.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of Bluetooth signal gain method, device and terminal device, to solve The distortionless of useful information in Bluetooth signal can not be kept to ask while to Bluetooth signal gain adjustment in the prior art Topic.
The first aspect of the embodiment of the present invention provides a kind of Bluetooth signal gain method, comprising:
Identification obtains lead code and access address in the Bluetooth signal just in the transmission rate of received Bluetooth signal Code length and;
According to the transmission rate and the code length and calculate the gain time;
The gain of automatic gain module registration a length of gain time when the received Bluetooth signal carries out is controlled, And after the completion of the gain, controls the automatic gain module and stop gain.
The second aspect of the embodiment of the present invention provides a kind of Bluetooth signal gain apparatus, comprising:
Data acquisition module for identification just in the transmission rate of received Bluetooth signal, and obtains the Bluetooth signal Middle lead code and the code length of access address and;
Gain calculation module, for according to the transmission rate and the code length and calculating gain time;
Gain control module, for controlling automatic gain module registration a length of institute when the received Bluetooth signal carries out The gain of gain time is stated, and after the completion of the gain, controls the automatic gain module and stop gain.
The third aspect of the embodiment of the present invention provides a kind of Bluetooth signal gain terminal device, comprising:
Memory, processor and storage are in the memory and the computer journey that can run on the processor Sequence, which is characterized in that the processor realizes Bluetooth signal gain method as described above when executing the computer program Step.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, comprising:
Readable storage medium storing program for executing is stored with computer program, which is characterized in that when the computer program is executed by processor The step of realizing Bluetooth signal gain method as described above.
Existing beneficial effect is the embodiment of the present invention compared with prior art: by utilizing lead code and access address Code length and and the transmission rate of Bluetooth signal the gain time is calculated, and gain time duration only is carried out to Bluetooth signal Gain, since the gain time is also the time needed for lead code and access address are transmitted to receiver simultaneously so that When carrying out gain adjustment to Bluetooth signal, only can in gain adjustment Bluetooth signal lead code and access address part size, Increased without influencing whether the message part in Bluetooth signal to ensure that with meeting the requirement of output Bluetooth signal power During benefit in Bluetooth signal useful information it is undistorted.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the Bluetooth signal gain method that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of Bluetooth signal gain method provided by Embodiment 2 of the present invention;
Fig. 3 is the implementation process schematic diagram for the Bluetooth signal gain method that the embodiment of the present invention three provides;
Fig. 4 is the implementation process schematic diagram for the Bluetooth signal gain method that the embodiment of the present invention four provides;
Fig. 5 is the implementation process schematic diagram for the Bluetooth signal gain method that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram of Bluetooth signal gain apparatus provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of Bluetooth signal gain terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It should illustrate, in low-power consumption bluetooth system, Bluetooth signal is by Preamble lead code+Access Address Access address+PDU message+four part of cyclic redundancy check composition, wherein message includes all useful informations of Bluetooth signal.It is real Border application in, since low-power consumption bluetooth system is when carrying out short-term burst communication, establish connection and transmit data time it is non- Often short, in order to guarantee in a very short period of time to be amplified to Bluetooth signal power suitable data transmission, the prior art is to indigo plant When tooth signal amplifies adjustment, can four above-mentioned parts directly be carried out with the amplification of high-gain, so that Bluetooth signal function Rate meets transmission requirement.But in fact, the amplification of high-gain is extremely easy to be distorted message, so that Bluetooth signal It is distorted, can not normally transmit useful information.
Fig. 1 shows the implementation flow chart of the Bluetooth signal gain of the offer of the embodiment of the present invention one, and details are as follows:
S101 is identified just in the transmission rate of received Bluetooth signal, and obtains lead code and access ground in Bluetooth signal The code length of location and.
It is synchronous with gain in order to guarantee to receive lead code with access address, in the embodiment of the present invention, start to connect just When receiving Bluetooth signal, it will synchronize and start to calculate the required gain time.Therefore, it is identified in S101 just in received Bluetooth signal Transmission rate refer to that identification has just started the transmission rate of received Bluetooth signal.
S102 according to transmission rate and code length and calculates the gain time.
In the Bluetooth signal of low-power consumption bluetooth system, lead code accounts for 8bit access address and accounts for 32bit, i.e., in Bluetooth signal Lead code and access address code length and be 40bit, although in other Bluetooth systems lead code and the code length of access address and It will be different, but be also data known to a fixation.Due to the lead code in Bluetooth signal and the code length of access address and Be it is fixed, and the transmission speed of Bluetooth signal be also can get, therefore according to the code length and and transmission speed, can be with The time needed for receiving lead code and access address is calculated, when setting the gain to Bluetooth signal for this receiving time Between, that is, it can reach only to lead code in Bluetooth signal and access address gain amplifier, with the power of guarantee output Bluetooth signal Purpose, while the message in Bluetooth signal is not interfered with also.
It in embodiments of the present invention, only can be to lead code+access in Bluetooth signal when being amplified to Bluetooth signal Address part amplifies gain, so that the power of the Bluetooth signal of output is met the requirements, while not appointing to message part What gain adjustment, to guarantee that message will not be distorted when amplifying adjustment to Bluetooth signal.
S103, the gain of control automatic gain module registration a length of gain time when received Bluetooth signal carries out, and After the completion of gain, control automatic gain module stops gain.
Gain only carried out to lead code and access address in order to realize, in the embodiment of the present invention, Bluetooth signal can received While to Bluetooth signal carry out gain, due to the gain time and receive lead code and access address time consistency, work as When lead code and access address finish receiving, the gain of lead code and access address is also completed.Meanwhile it being tied in the gain time Shu Hou stops gain to Bluetooth signal, so that the subsequent message of access address will not be by gain effects, hereby it is ensured that indigo plant Message part is undistorted when tooth signal gain.
As a preferred embodiment of the present invention two, as shown in Figure 2, comprising:
S201, the calculating of periodical energy value is carried out to the signal received, and periodical energy value refers to continuous to what is received The energy of multiple number of bits evidences is added up and is averaging obtained value.
Since receiver is before receiving Bluetooth signal, the noise signal in environment can be received, in order not to will accidentally make an uproar Acoustical signal amplifies output, in the embodiment of the present invention, it is preferable that can detect, and judge whether to the signal received It is then adjusted without signal gain if noise signal for Bluetooth signal, if Bluetooth signal, then carries out signal gain adjustment.
Wherein, periodical energy value refers to, the energy of the continuous multiple number of bits evidences received is added up and asked Average obtained value can be by technical staff specifically by continuous several number of bits according to being calculated as a cycle Sets itself, it is preferable that in the embodiment of the present invention, the period is carried out according to as a cycle using continuous 16 number of bits The calculating of energy value.
S202, judges whether periodical energy value is greater than periodical energy value threshold value, if periodical energy value is greater than periodical energy value Threshold value determines that signal is Bluetooth signal.
Since the energy of Bluetooth signal is generally large, and it is much larger than noise signal, therefore sentence using periodical energy value When whether the signal that disconnecting receives is Bluetooth signal, it can directly judge whether periodical energy value is greater than a cycle energy value threshold Value, and this periodical energy value threshold value is either a pre-set fixed value, is also possible to collected noise The periodical energy value of signal is calculated, the periodical energy value threshold value obtained.It, can as a kind of optional specific implementation To be directly compared the periodical energy value obtained with preset energy threshold, if more than energy threshold, then it is assumed that be bluetooth Signal.
As a kind of specific embodiment of S202, as the embodiment of the present invention three, as shown in Figure 3, comprising:
S301 reads preset periodical energy threshold value.
Wherein, periodical energy threshold value is used to carry out signal kind to the noise periods energy value of the signal and storage received The judgement of class.The occurrence size of periodical energy threshold value can be analyzed and be preset according to the actual situation by technical staff.
S302 reads the last obtained noise periods energy value of calculating.
Last time calculates obtained noise periods energy value, refers to and carries out the period to receiving to obtain signal to the last time The energy balane of interior data is averaging, acquired and record storage periodical energy value.In embodiments of the present invention, due to connecing Before receiving Bluetooth signal, receiver can receive the noise signal in a large amount of environment, therefore last to receiving to obtain The periodical energy value of signal, is primarily referred to as before this receives Bluetooth signal, the noise periods of the noise signal received Energy value.
S303 judges periodical energy value, noise periods energy value and periodical energy threshold size relationship.
S304, if size relation is that periodical energy value is greater than periodical energy threshold value, and periodical energy threshold value is greater than noise week Phase energy value then determines signal for Bluetooth signal.
Since the energy of noise signal is generally much smaller than the Bluetooth signal received, it is received before Bluetooth signal The noise periods energy value of the noise signal arrived, it should also much smaller than the periodical energy value of Bluetooth signal.In practical application, connecing Before receiving Bluetooth signal, receiver can first receive one section of noise signal.Therefore, it is receiving and is calculating Bluetooth signal Before periodical energy value, receiver can first receive one section of noise signal, and calculate the periodical energy value of the noise signal.Letter Number periodical energy value be greater than periodical energy threshold value, and periodical energy threshold value be greater than noise periods energy value when, illustrate receiver The signal received is Bluetooth signal, while also explanation is just to initially receive Bluetooth signal.
As the embodiment of the present invention three, a kind of absolute decree method of periodical energy value is provided.In embodiments of the present invention, Do not require nothing more than calculated periodical energy value and be greater than preset periodical energy value, at the same also require it is last be calculated make an uproar Sound periodical energy value is less than preset periodical energy value, while guaranteeing the accuracy judged to signal detection, also detect be No is just to have started to receive Bluetooth signal, convenient for the subsequent accurate amplification to Bluetooth signal.
Another specific embodiment as S202, further includes:
Read the last obtained noise periods energy value of calculating.
The noise periods energy value of presupposition multiple is set as periodical energy threshold value.
Judge whether periodical energy value is greater than periodical energy threshold value, if periodical energy value is greater than the noise periods of presupposition multiple Energy value then determines signal for Bluetooth signal.
The wherein occurrence of presupposition multiple can be arranged according to the actual situation by technical staff, such as set 4 times of noise periods energy The periodical energy value of magnitude and signal compares.
Due to the noise periods energy value of the noise signal received before Bluetooth signal, much smaller than the week of Bluetooth signal Phase energy value, therefore be directly compared the periodical energy value of signal with the noise periods energy value of presupposition multiple, it can be quick Accurately judge whether the signal received is Bluetooth signal, while can also detect whether it is just to have started to receive bluetooth letter Number, convenient for the subsequent accurate amplification to Bluetooth signal.
The embodiment of the present invention passes through the periodical energy value of noise periods energy value and Bluetooth signal to noise signal It is compared, so that achieving the purpose that accurately to detect whether is just to initially receive Bluetooth signal, and then after ensure that The continuous accurate amplification to Bluetooth signal lead code and access address.
As a preferred embodiment of the present invention four, as shown in Figure 4, comprising:
S401 judges in the preset duration that control automatic gain module stops after gain whether Bluetooth signal synchronizes It detects successfully.
Receiver is receiving Bluetooth signal simultaneously, can lead code to Bluetooth signal and access address synchronize inspection It surveys, judges that the Bluetooth signal with the presence or absence of exception, if synchronizing success, illustrates that the Bluetooth signal is normal Bluetooth signal, if together It is abnormal then to illustrate that Bluetooth signal exists for step failure.For normal Bluetooth signal, receiver will do it down after the completion of gain The processing of one step, and eventually export the Bluetooth signal.And for there is abnormal Bluetooth signal, receiver then can be carried out directly Give up, and begins preparing and receive next Bluetooth signal.
Under normal circumstances, the automatic gain module of receiver is the state in starting, to guarantee to receiving signal Timely gain, and in one S103 of the embodiment of the present invention, in order to guarantee that message is not amplified, control automatic gain module stopped increasing Benefit, therefore, in order to guarantee to need after S103 to the timely gain of the next Bluetooth signal received, control in time is certainly Dynamic gain module opens gain.
Gain is opened in view of needing to control automatic gain module after S103 in time, but bluetooth letter cannot be influenced Number message part, in the embodiment of the present invention, after S103 automatic gain module stopped gain, be provided with one it is default when It is long as buffer time, for etc. detection to be synchronized as a result, to determine the subsequent processing operation to Bluetooth signal.Wherein Preset duration occurrence can be set according to the actual situation by technical staff, in the embodiment of the present invention, it is preferable that setting For 30us.
S402, if judging result is the synchronous detection failure of Bluetooth signal, control automatic gain module starts gain.
When the synchronous detection failure of Bluetooth signal, it is abnormal to illustrate that the Bluetooth signal exists, can select to give up bluetooth letter at this time Number, and begin preparing reception and detect next Bluetooth signal.Therefore, it in the synchronous detection failure of Bluetooth signal, can control automatic Gain module starts gain, to guarantee the timely gain to next Bluetooth signal, due to needing to give up the Bluetooth signal It abandons, therefore at this time without comprehending starting gain message caused by Bluetooth signal distortion.
As another preferred embodiment five of the invention, as shown in Figure 5, comprising:
S501 judges in the preset duration that control automatic gain module stops after gain whether Bluetooth signal synchronizes It detects successfully.
S502 is detected successfully if judging result is that Bluetooth signal is synchronous, and control automatic gain module stops gain, and monitors Whether Bluetooth signal is finished receiving.
By the related description of the embodiment of the present invention four it is found that illustrating that the bluetooth is believed when Bluetooth signal is synchronized and detected successfully Number it is normal Bluetooth signal, therefore, in order to guarantee not interfere with the message part of the Bluetooth signal, is received in the Bluetooth signal Before completion, need to stop always the gain of automatic gain module.
S503, if Bluetooth signal finishes receiving, control automatic gain module starts gain.
After having received the Bluetooth signal, the process of this Bluetooth transmission and gain adjustment has been fully completed, at this time Receiver needs begin preparing the next Bluetooth signal of reception and therefore when monitoring that Bluetooth signal finishes receiving, will control Automatic gain module restarts gain, to guarantee the timely gain to next Bluetooth signal.
The embodiment of the present invention is by carrying out adjustment to preset duration, both having ensure that just according to synchronous testing result The undistorted gain of normal Bluetooth signal, automatic gain module can timely be started by turn ensuring, to guarantee to believe next bluetooth Number timely gain.
Corresponding to method described in foregoing embodiments, Fig. 6 shows Bluetooth signal gain dress provided in an embodiment of the present invention The structural block diagram set, for ease of description, only parts related to embodiments of the present invention are shown.
Referring to Fig. 6, which includes:
Data acquisition module 61 for identification just in the transmission rate of received Bluetooth signal, and obtains the bluetooth letter In number lead code and the code length of access address and.
Gain calculation module 62, for according to the transmission rate and the code length and calculating gain time.
Gain control module 63, it is a length of when the received Bluetooth signal carries out for controlling automatic gain module registration The gain of the gain time, and after the completion of the gain, it controls the automatic gain module and stops gain.
Further, Bluetooth signal gain apparatus, further includes:
Energy computation module, for carrying out the calculating of periodical energy value to the signal received, the periodical energy value is Finger adds up to the energy of the continuous multiple number of bits evidences received and is averaging obtained value.
Signal judgment module, for judging whether the periodical energy value is greater than periodical energy value threshold value, if the period Energy value is greater than the periodical energy value threshold value, determines that the signal is the Bluetooth signal.
Further, the signal judgment module, comprising:
Threshold value reading submodule, for reading the preset periodical energy threshold value.
Noise energy reading submodule, for reading the last obtained noise periods energy value of calculating.
Size judging submodule, for judging the periodical energy value, the noise periods energy value and the period energy Measure threshold size relationship.
Signal decision module, if being that the periodical energy value is greater than the periodical energy threshold value for the size relation, And the periodical energy threshold value is greater than the noise periods energy value, then determines that the signal is the Bluetooth signal.
Further, Bluetooth signal gain apparatus, further includes:
Synchronous judgment module, for judging in the preset duration after controlling the automatic gain module and stopping gain, Whether the Bluetooth signal, which synchronizes, is detected successfully.
Gain starting module controls the automatic increasing if being the synchronous detection failure of the Bluetooth signal for judging result Beneficial module starts gain.
Further, Bluetooth signal gain apparatus, further includes:
Synchronous judgment module, for judging in the preset duration after controlling the automatic gain module and stopping gain, Whether the Bluetooth signal, which synchronizes, is detected successfully.
Gain stopping modular detects successfully if being that the Bluetooth signal is synchronous for judging result, controls the automatic increasing Beneficial module stops gain, and monitors whether to finish receiving the Bluetooth signal.
Gain starting module controls the automatic gain module starting gain if finishing receiving for the Bluetooth signal.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 7 is the schematic diagram for the Bluetooth signal gain terminal device that one embodiment of the invention provides.As shown in fig. 7, the reality The Bluetooth signal gain terminal device 7 for applying example includes: processor 70, memory 71 and is stored in the memory 71 and can The computer program 72 run on the processor 70, such as Bluetooth signal gain procedure.The processor 70 executes described The step in above-mentioned each Bluetooth signal gain method embodiment, such as step 101 shown in FIG. 1 are realized when computer program 72 To 103.Alternatively, the processor 70 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program 72 The function of member, such as the function of module 61 to 63 shown in Fig. 6.
The Bluetooth signal gain terminal device 7 can be desktop PC, notebook, palm PC and cloud service Device etc. calculates equipment.The Bluetooth signal gain terminal device may include, but be not limited only to, processor 70, memory 71.Ability Field technique personnel are appreciated that Fig. 7 is only the example of Bluetooth signal gain terminal device 7, do not constitute and increase to Bluetooth signal The restriction of beneficial terminal device 7 may include perhaps combining certain components or different than illustrating more or fewer components Component, such as the Bluetooth signal gain terminal device can also include input-output equipment, network access equipment, bus etc..
Alleged processor 70 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 71 can be the internal storage unit of the Bluetooth signal gain terminal device 7, such as bluetooth letter The hard disk or memory of number gain terminal device 7.The memory 71 is also possible to the outer of the Bluetooth signal gain terminal device 7 The plug-in type hard disk being equipped in portion's storage equipment, such as the Bluetooth signal gain terminal device 7, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, The memory 71 can also both including the Bluetooth signal gain terminal device 7 internal storage unit and also including external storage Equipment.The memory 71 is for storing needed for the computer program and the Bluetooth signal gain terminal device other Program and data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of Bluetooth signal gain method characterized by comprising
Identification obtains the code of lead code and access address in the Bluetooth signal just in the transmission rate of received Bluetooth signal It is long and;
According to the transmission rate and the code length and calculate the gain time;
The gain of control automatic gain module registration a length of gain time when the received Bluetooth signal carries out, and After the completion of the gain, controls the automatic gain module and stop gain.
2. Bluetooth signal gain method as described in claim 1, which is characterized in that identifying just in received Bluetooth signal Transmission rate before, further includes:
The calculating of periodical energy value is carried out to the signal received, the periodical energy value refers to continuous multiple to what is received The energy of number of bits evidence is added up and is averaging obtained value;
Judge whether the periodical energy value is greater than periodical energy value threshold value, if the periodical energy value is greater than the periodical energy It is worth threshold value, determines that the signal is the Bluetooth signal.
3. Bluetooth signal gain method as claimed in claim 2, which is characterized in that described whether to judge the periodical energy value Greater than periodical energy value threshold value, if whether the periodical energy value is greater than periodical energy value threshold value, determine that the signal is described Bluetooth signal, comprising:
Read the preset periodical energy threshold value;
Read the last obtained noise periods energy value of calculating;
Judge the periodical energy value, the noise periods energy value and the periodical energy threshold size relationship;
If the size relation is that the periodical energy value is greater than the periodical energy threshold value, and the periodical energy threshold value is greater than The noise periods energy value then determines that the signal is the Bluetooth signal.
4. Bluetooth signal gain method as described in claim 1, which is characterized in that further include:
Judge in the preset duration after controlling the automatic gain module and stopping gain, the lead code of the Bluetooth signal and Whether access address, which synchronizes, is detected successfully;
If judging result is the synchronous detection failure of the Bluetooth signal, the automatic gain module starting gain is controlled.
5. Bluetooth signal gain method as described in claim 1, which is characterized in that further include:
Judge in the preset duration after controlling the automatic gain module and stopping gain, the lead code of the Bluetooth signal and Whether access address, which synchronizes, is detected successfully;
If judging result is the Bluetooth signal, synchronization is detected successfully, is controlled the automatic gain module and is stopped gain, and monitors Whether the Bluetooth signal is finished receiving;
If the Bluetooth signal finishes receiving, the automatic gain module starting gain is controlled.
6. a kind of Bluetooth signal gain apparatus characterized by comprising
Data acquisition module, for identification just in the transmission rate of received Bluetooth signal, and before obtaining in the Bluetooth signal Leading code and the code length of access address and;
Gain calculation module, for according to the transmission rate and the code length and calculating gain time;
Gain control module, for controlling a length of increasing when the received Bluetooth signal carries out of automatic gain module registration The gain of beneficial time, and after the completion of the gain, it controls the automatic gain module and stops gain.
7. Bluetooth signal gain apparatus as claimed in claim 6, which is characterized in that further include:
Energy computation module, for carrying out the calculating of periodical energy value to the signal that receives, the periodical energy value refers to pair The energy of the continuous multiple number of bits evidences received is added up and is averaging obtained value;
Signal judgment module, for judging whether the periodical energy value is greater than periodical energy value threshold value, if the periodical energy Value is greater than the periodical energy value threshold value, determines that the signal is the Bluetooth signal.
8. Bluetooth signal gain apparatus as claimed in claim 6, which is characterized in that further include:
Synchronous judgment module, it is described for judging in the preset duration after controlling the automatic gain module and stopping gain The lead code of Bluetooth signal with whether access address synchronous detects successfully;
Gain stopping modular controls the automatic gain mould if being that Bluetooth signal synchronization detects successfully for judging result Block stops gain, and monitors whether to finish receiving the Bluetooth signal;
Gain starting module controls the automatic gain module starting gain if finishing receiving for the Bluetooth signal.
9. a kind of Bluetooth signal gain terminal device, including memory, processor and storage are in the memory and can be The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program The step of any one of claim 1 to 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201710479862.0A 2017-06-22 2017-06-22 A kind of Bluetooth signal gain method, device and terminal device Active CN107707270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710479862.0A CN107707270B (en) 2017-06-22 2017-06-22 A kind of Bluetooth signal gain method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710479862.0A CN107707270B (en) 2017-06-22 2017-06-22 A kind of Bluetooth signal gain method, device and terminal device

Publications (2)

Publication Number Publication Date
CN107707270A CN107707270A (en) 2018-02-16
CN107707270B true CN107707270B (en) 2019-07-26

Family

ID=61170448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710479862.0A Active CN107707270B (en) 2017-06-22 2017-06-22 A kind of Bluetooth signal gain method, device and terminal device

Country Status (1)

Country Link
CN (1) CN107707270B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372227B (en) * 2020-02-19 2021-10-26 锐迪科微电子(上海)有限公司 Signal detection method, device, equipment and storage medium
CN116743531B (en) * 2023-08-14 2023-10-27 江苏联康信息股份有限公司 Frequency offset estimation method of BR Bluetooth

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7782813B2 (en) * 2002-06-07 2010-08-24 Ember Corporation Monitoring network traffic
KR100793315B1 (en) * 2005-12-31 2008-01-11 포스데이타 주식회사 Method and apparatus for measuring carrier to interference and noise ratio using downlink preamble
CN100563287C (en) * 2006-11-01 2009-11-25 华为技术有限公司 A kind of sound mixing method of multi-path voice signal and device
US8107565B2 (en) * 2009-01-28 2012-01-31 Qualcomm Incorporated Automatic gain control (AGC) for OFDM-based transmission in a wireless communication network
GB2514817A (en) * 2013-06-05 2014-12-10 Nordic Semiconductor Asa Digital radio communication
CN106027085B (en) * 2016-07-05 2018-08-28 广州海格通信集团股份有限公司 It is suitble to the auto gain control method of time-division multiple address system short-term burst signal
CN106878215B (en) * 2017-01-18 2019-09-27 深圳市极致汇仪科技有限公司 A kind of DPSK fast modulation method of Bluetooth signal

Also Published As

Publication number Publication date
CN107707270A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
EP4335491A3 (en) System and method for collecting and displaying data acquired from an implantable therapy device using a consumer electronic device
CN107707270B (en) A kind of Bluetooth signal gain method, device and terminal device
EP4289406A3 (en) Wound dressing system, monitor device and related method
CN110290574B (en) Data transmission method, device, equipment, system and storage medium
EP2391150A3 (en) Information processing apparatus, information processing method, and information processing program
EP2600535A4 (en) Method, apparatus and system for configuring demodulation reference signal
US20090083459A1 (en) Universal interface compatibility of a sensor
CN106130680A (en) A kind of industry internet field layer wideband bus clock synchronization realizing method
CN106803833A (en) Processing method, the apparatus and system of heartbeat in connection long
EP2851884B1 (en) Measurement system
CN103731809A (en) Data transmitting method, data receiving method and equipment
CN105241545A (en) Detection method and system of air-conditioning noises
CN107992386A (en) A kind of router memory method for testing pressure and system
CN104503724B (en) Combination ring connects the method and system of configuration
CN105922261B (en) A kind of robot controller and its control method
WO2018000792A1 (en) Refrigerator, intelligent detection method thereof, and intelligent detection system
CN105827461A (en) Method for upgrading power line carrier communication module
CN106541911A (en) Data communications method, system and vehicle between Vehicle Controller
CN104244310A (en) Communication information processing method
CN109324779A (en) A kind of volume adjusting method, electronic equipment and computer readable storage medium
US20220286941A1 (en) Data collection system, data output apparatus, and data collection method
CN107966673A (en) A kind of simple effective clock of power meter management method
CN110516899B (en) Real-time simulation network-level and provincial-level AGC combined closed-loop test method and device
JP2972556B2 (en) Time synchronization method
CN104834292A (en) Nuclear-biological-chemical monitoring data synchronization method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 401 and 402, 5th Skirt Building, Shenzhen Software Industry Base, Nanshan District, Shenzhen City, Guangdong Province, 518000

Patentee after: SHENZHEN RENERGY TECHNOLOGY Co.,Ltd.

Address before: 518000 Shenzhen, Guangdong, Nanshan District Haitian Road, No. 13 Shenzhen software industry base 5B-401

Patentee before: SHENZHEN RENERGY TECHNOLOGY Co.,Ltd.