CN101841394B - Method for measuring and calculating document transmission energy consumption of Bluetooth equipment and device thereof - Google Patents

Method for measuring and calculating document transmission energy consumption of Bluetooth equipment and device thereof Download PDF

Info

Publication number
CN101841394B
CN101841394B CN201010195784XA CN201010195784A CN101841394B CN 101841394 B CN101841394 B CN 101841394B CN 201010195784X A CN201010195784X A CN 201010195784XA CN 201010195784 A CN201010195784 A CN 201010195784A CN 101841394 B CN101841394 B CN 101841394B
Authority
CN
China
Prior art keywords
bluetooth
data
transmission
energy consumption
expression
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.)
Expired - Fee Related
Application number
CN201010195784XA
Other languages
Chinese (zh)
Other versions
CN101841394A (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.)
Central South University
Original Assignee
Central South University
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 Central South University filed Critical Central South University
Priority to CN201010195784XA priority Critical patent/CN101841394B/en
Publication of CN101841394A publication Critical patent/CN101841394A/en
Application granted granted Critical
Publication of CN101841394B publication Critical patent/CN101841394B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for measuring and calculating the document transmission energy consumption of Bluetooth equipment and a device thereof. The method comprises the steps of: in the period of data transmission, extracting detail information from four key configuration parameters including the Bluetooth transmission mode, the connection type, the package type and the transmission rate by a function enquiry unit, and accurately calculating the transmission time and the energy consumption quantity which are needed by the actual data transmission according to the size dimension of the transmitted document data; and in the standby and response-waiting idle period, using a calculation processing unit to calculate two parameter values which are Bluetooth packaging and checking data time as well as the transmission time, and further calculating the battery leakage energy consumption quantity of the equipment in the idle period. The method for measuring and calculating the document transmission energy consumption of the Bluetooth equipment and the device thereof can more accurately reflect the document transmission energy consumption situation of the Bluetooth equipment.

Description

A kind of method and device of calculating document transmission energy consumption of bluetooth equipment
Technical field
The invention belongs to the bluetooth communication field, relate to a kind of method and device of calculating document transmission energy consumption of bluetooth equipment.
Technical background
Bluetooth is the open global communication standard of higher short-distance wireless voice of the present a kind of technology and the market maturity and data communication.Characteristics such as the device with Bluetooth function has communication convenient, and volume is little easy to carry, and application scenarios is extensive, thus mobile device instantly general all with bluetooth as the function that is comprised in the wireless transmission standards configuration.In 2007, Bluetooth SIG issued 2.1 editions safer Bluetooth protocol standards, can estimate that the bluetooth equipment application market will be more wide.
In our daily life, along with mobile application scenarios is ripe, critical function of bluetooth is exactly the shared transmission of carrying out file.But bluetooth portable equipment now all has energy content of battery features of limited; Along with the abundant and variation of using; Make the user in the bluetooth document transmission process, very pay close attention to the energy consumption of device battery; The efficient of the affects data communication of energy consumption, and then even become one of whether successful key factor of data communication.Yet; Present most bluetooth portable equipment only provides the rough energy content of battery of entire equipment to show; Can not calculate the independently energy input of bluetooth communication module transfer files comparatively accurately, thereby make the user select whether carry out there is not the corresponding judgment foundation when blue-teeth data is shared transmission.
Summary of the invention
Technical problem to be solved by this invention is to propose a kind of method and device of calculating document transmission energy consumption of bluetooth equipment, and the method and the device of this kind measuring and calculating document transmission energy consumption of bluetooth equipment can react the document transmission energy consumption of bluetooth equipment situation more accurately.
Technical solution of the present invention is following:
A kind of method of calculating energy consumption in the bluetooth equipment document transmission process, its characteristic comprises:
A) obtain the transmission mode T of bluetooth equipment in data transfer cycle Mode, connection type Con Type, bag type Pack Type, transmission rate V SpeedThe information of these four communication configuration parameters;
B) analyze and set up the also calculation relational expression of a packet required time of verification of bluetooth packing:
P i [ μ s ] = Tp * [ ω 0 + ω h + ω Data + ω c v FEC ] Formula 1
ω wherein 0The preposition fixed data of expression bluetooth packet header length, ω DatExpression individual data Bao Suoneng holds maximum data load, ω hThe packet length of expression valid data load, ω cThe length of expression data CRC check sign indicating number, its value is 16, v FECThe expression bluetooth is the speed of error correction forward, and this value confirms jointly that by bluetooth connection type and type of data packet Tp is a data bit of a bluetooth physical layer process required time, is 1 μ s;
C) obtain the size ω of the file data that sends Size, according to formula 1 and then analyze and set up the calculation relational expression of bluetooth packing and the whole file data required time of verification:
β Check Total [ μ s ] = Σ i = 1 ω Size / ω Data P i [ μ s ] Formula 2;
D) analyze and set up the calculation relational expression of a packet required time of bluetooth physical layer transmission:
Figure GDA0000022178800000023
formula 3;
Wherein the length of Len [bit] expression physical layer data bag comprises packet head afterbody and check code length, V [Mbps] expression bluetooth physical layer data transmission rate, and Tx representes the time span of bluetooth groove basic time, value is 1 μ s, t DriftRepresent the basic side-play amount that each time slot begins, jitter representes to shake side-play amount, and offset representes a required time shifting amount of hardware layer realization;
E) through type 3 and then analytical calculation draw the calculation relational expression of the whole file data required time of bluetooth physical layer transmission:
Figure GDA0000022178800000024
formula 4
F) through type 3 and formula 4 calculate bluetooth standby and wait-for-response idling cycle duration value, and then the energy input relational expression of the whole file data of analytical calculation Bluetooth transmission are:
E sum = P TX i ‾ · θ TX total [ μs ] + P check i ‾ · β check total [ μs ] + P Idle i ‾ · t Idle
= P TX i ‾ · θ TX total [ μs ] + P check i ‾ · β check total [ μs ] + P Idle i ‾ · ( T Sim - θ TX total [ μs ] - β check total [ μs ] )
Wherein The average energy consumption that is spent in the expression packing data checking treatment cycle, The average energy consumption that spends in the expression Bluetooth transmission cycle data,
Figure GDA0000022178800000029
The average energy consumption that spends in expression bluetooth standby and the wait-for-response idling cycle, t IdleExpression standby and wait-for-response idling cycle duration, T SimRepresent whole test cycle duration.
A kind of device of calculating bluetooth equipment transfer files battery power consumption is characterized in that, comprising: functional inquiry unit, calculation processing unit, pointer value memory cell and user's display unit;
Wherein, said equipment state and information memory cell are used to put down in writing bluetooth equipment present located state information, and the configuration details of the transmission mode of bluetooth equipment, connection type, bag type, these four parameters of transmission rate;
Wherein, said functional inquiry unit is inquired about to obtain current four the key configuration parameter informations that adopted bluetooth communication of equipment to equipment state and information memory cell; And import these four parameter information data into calculation processing unit and carry out computing; And through inquiry pointer value memory cell, to obtain the initial pointer value of pointing to this document;
Wherein, described pointer value memory cell is used to store the pointer value of pointing to file to be sent, and this pointer is used for calculating the packet number that the transfer files of wanting comprises.
Wherein, described calculation processing unit is used for four configuration parameter information data that the receiving function query unit is imported into, and calculates the document transmission energy consumption value through above-mentioned steps f, and imports this result into the user display unit;
Wherein, described user's display unit is characterized in that, receives the document transmission energy consumption result that calculation processing unit imports into, and this result is fed back to User Interface with the LCD display mode, and provides corresponding user's operation indicating.
Technical conceive of the present invention is: in the Bluetooth protocol standard; Adopt bluetooth to carry out having in the data transmission procedure four key configuration parameters and its energy consumption to be closely related; These four key configuration parameters are respectively transmission mode, connection type, bag type, transmission rate, and wherein transmission mode has normal transmission pattern and Low Power Mode; Connection type has asynchronous connection type (ACL) and synchronous connection type (SCO), and wherein, the SCO connection type can not be used under Low Power Mode; The bag type has DM1-5, DH1-5, HV1-5, EV1-5 etc. respectively, different bag type decided the real data length of bluetooth data packets, and corresponding data check speed and timeslice (time slot) usage quantity are arranged.And transmission rate has directly influenced the data transfer cycle time span.As stated, these four parameters have determined the energy consumption of blue-teeth data transmission jointly.The present invention extracts this four key configuration Parameter Details, and through corresponding calculation relational expression the energy consumption of bluetooth communication module is independently calculated.
Beneficial effect:
The invention provides a kind of method and device of calculating document transmission energy consumption of bluetooth equipment; At data transfer cycle; Said method and device extract details through the functional inquiry unit from bluetooth transmission, connection type, bag type, these four key configuration parameters of transmission rate, and come accurately to calculate needed transmission time of actual data transfer and energy input according to institute's transfer files data size size; At standby and wait-for-response idling cycle, calculate the value of bluetooth packing, checking data time and these two parameters of transmission time and then come computing equipment idling cycle battery leakage energy input through calculation processing unit; The technical scheme that instance of the present invention provides is carried out the energy consumption measuring and calculating according to present up-to-date bluetooth 2.1 communications protocol standards.The portable equipment overwhelming majority only provides the rough energy content of battery of entire equipment to show at present; And the design's advantage is to calculate the energy input of independent bluetooth communication module transfer files comparatively accurately, thereby is that the user provides basis for estimation when selecting to carry out the blue-teeth data transmission.Technical scheme of the present invention designs according to present up-to-date bluetooth 2.1 communications protocol standards.When bluetooth equipment carries out the file data transmission; Can dynamically calculate the transmission energy consumption according to the concrete communications parameter of bluetooth; Portable equipment such as mobile phone or the notebook computer overwhelming majority only provide the rough energy content of battery of entire equipment to show at present, and the design's advantage is to calculate the bluetooth consumed energy according to the difference of transfer files size.And considered the energy consumption of packing and communication transmission, therefore can calculate the independently energy input of bluetooth communication module transfer files comparatively accurately.
Description of drawings
Fig. 1 is the hardware device platform transmission action flow chart in the instance of the present invention.
Fig. 2 is the state flow chart of the blueteeth network module transfer files data in the instance of the present invention.
Fig. 3 is the practical implementation block diagram of instance measuring and calculating document transmission energy consumption of bluetooth equipment method of the present invention.
Fig. 4 is the device sketch map of the measuring and calculating document transmission energy consumption of bluetooth equipment in the instance of the present invention.
Embodiment
Below combination figure and practical implementation process are explained further details to the present invention.
Embodiment 1
Referring to Fig. 1, shown in Figure 1 is the action flow chart of hardware device platform transfer files, and this flow process comprises following steps:
1. initialization MCU chip at first after the device power, the Init program starts the operating system.
2. the communications parameter to the hardware PORT COM carries out the initialization setting in initialization procedure, and this is provided with and mainly comprises communication baud rate and hardware interrupts setting.
3. carry out the bluetooth module network configuration, this is configured in subsequent figures 2 parts and specifies.
4. startup transmission course begins to send file data.
5. file receives and finishes, and withdraws from.
Referring to Fig. 2, shown in Figure 2 is blueteeth network module transfer files flow chart, and whole data procedures can be divided into three phases basically: 1) main equipment inquiry scan the other side receiving equipment stage; 2) both sides connect, and carry out the file transfer stage; 3) end of transmission stage.Master-slave equipment all begins from standby (SB, Stand By) state, and this flow process comprises the steps:
101 steps: when bluetooth master A prepared to slave unit B transmission file, its initial state was a holding state.
201 steps: when bluetooth slave unit B prepared to receive file data, its initial state was in holding state.
102 steps: A gets into inquiry scan (IQ, Inquiry scan) to the method, apparatus stage, also scans at this stage A broadcast query packet in communication context whether method, apparatus is existed.
202 steps: after bluetooth slave unit B receives inquiry packet, get into the data query bag that A is replied in query page scanning mode (IPS, Inquiry Page scan) and response, preparation connects.
103 steps: receive the reply data bag of slave unit B as main equipment A after, select the communication connection type, its default value is asynchronous connection type (ACL); Set up communication connection and entering activity master status (AM, Active Master), be ready for sending file to slave unit B request.
203 steps: when slave unit B receive main equipment A be ready for sending request of data after, response file request of sending and entering activity slave unit state (AS, Active Slave), preparation receives file.
104 steps: after main equipment A received that slave unit B replys, transfer files was until end of transmission, and main equipment A is in the AM state always in this stage.
204 steps: slave unit begins to receive file and finishes until the file reception, and slave unit B is in the AS state always in this stage.
105 steps:,, then set up communication and connect the laggard main equipment entering SCO of going into state if the bluetooth communication connection type is set to synchronous connection type (SCO) in 103 step stage.
205 steps:,, then set up communication and connect back entering slave unit entering SCO state if the bluetooth communication connection type is set to synchronous connection type (SCO) in 203 step stage.
106 steps: main equipment A if wheel goes to the idle period sheet, then gets into idle standby PM state (Park Master) at file transfer cycle (AM state) after sending packet.
206 steps: slave unit B if wheel goes to the idle period sheet, then gets into idle standby PS state (Park Slave) at file transfer cycle (AS state) after receiving packet.
107 steps: main equipment A if wheel goes to the detection scanning timeslice, then gets into detection scanning state (Sniff Master) at file transfer cycle (AM state) after sending packet.
207 steps: slave unit B if wheel goes to the detection scanning timeslice, then gets into detection scanning state (Sniff Slave) at file transfer cycle (AS state) after sending packet.
108 steps: main equipment A gets into the Hold holding state after asynchronous connection (ACL) the file data end of transmission.
208 steps: slave unit B gets into the Hold holding state after asynchronous connection (ACL) the file data end of transmission.
109 steps: main equipment A gets into the Hold holding state after connecting (SCO) file data end of transmission synchronously.
209 steps: slave unit B gets into the Hold holding state after connecting (SCO) file data end of transmission synchronously.
Referring to Fig. 3, the practical implementation flow chart of the measuring and calculating bluetooth equipment transfer files energy consumption method that present technique scheme that shown in Figure 3 is is taked.
10 steps: when equipment is in connection foundation negotiation communications parameter state, obtain device transmission pattern, connection type, bag type, transmission rate Configuration Values through functional inquiry unit query facility state information memory cell; And obtain document size length and number of data packets through the pointer that points to file to be sent in the pointer memory cell.
20 steps: the communications parameter Configuration Values according to the functional inquiry unit obtains is judged selection: wherein if transmission mode is in Low Power Mode, then connection type (SCO) can not be selected synchronously, and normal mode is unrestricted; And the selectable bag type of asynchronous connection type (ACL) is DM1-5 and DH1-5, and the selectable bag type of connection type is HV1-3 and EV3-5 synchronously.
30 steps: on the judgement basis of 20 steps, further judge: if connection type is asynchronous connection type; And the bag type is DM1, DM3, DM5, and then error correction FEC speed is 2/3 forward, if wrap type DH1, DH3, DH5; Then do not have FEC error correction forward, its speed is 1; If connection type is synchronous connection type, and the bag type is HV1, and then error correction FEC speed is 1/3 forward, if the bag type is HV2, EV4, then error correction FEC speed is 2/3 forward, and other connect bag types does not synchronously have the FEC error correction, and its speed is 1.
40 steps: on the judgement basis of 20 steps, further judge and select: if connection type is asynchronous connection type, and the bag type is DM1, DH1, and then payload packet header length is 8, otherwise all the other asynchronous connection bag type payload packet header length are 16; If connection type is synchronous connection type, then all Bao Jun do not have payload packet header length, and the preposition fixed packet head length of all types degree is 126.
50 steps: on the judgement basis of 20 steps, further judge and select: if connection type is asynchronous connection type, and the bag type is DM1, and then to hold payload length be 136 to a packet; If the bag type is DH1, then payload length is 216, if the bag type is DM3; Then payload length is 968, if the bag type is DH3, then payload length is 1464; If the bag type is DM5; Then payload length is 1792, if the bag type is DH5, then payload length is 2712; If connection type is synchronous connection type, and the bag type is HV1, and then to hold payload length be 80 to a packet; If the bag type is HV2, then payload length is 216, if the bag type is HV3 or EV3; Then payload length is 240, if the bag type is EV4, then payload length is 960; If the bag type is EV5, then payload length is 1440.
60 steps: on the judgement basis of 20 steps, further judge and select: if connection type is asynchronous connection type, then the CRC check territory of all bag types is 16; If connection type is synchronous connection type, and the bag type is EV3, EV4, EV5, and then the CRC check territory is 16, and all the other connect bag types does not synchronously have the CRC check territory.
70 steps: if transmission mode is Low Power Mode, then under asynchronous connection type, message transmission rate is generally 1Mbit/s, if under normal mode, then also can select 2Mbit/s and the enhancing transmission rate pattern (EDR) of 3Mbit/s under the synchronous connection type.
80 steps: the FEC verification rate value v that on the judgement basis of 30 steps, obtains FEC, the payload ω that on the judgement basis of 40 steps, obtains hWith a preposition fixed packet length value ω 0, the payload length value ω that on the judgement basis of 50 steps, obtains Data, the CRC check code length value result that on the judgement basis of 60 steps, obtains, through:
P i [ μs ] = Tp * [ ω 0 + ω h + ω data + ω c v FEC ]
Calculate packing verification speed, wherein Tp is data bit required time of bluetooth physical layer process, and its value is 1 μ s.
90 steps:, calculate physical layer file packing back data size length in the packet header length that obtains on the judgement basis of 40 steps, in the payload that obtains on the judgement basis of 50 steps, the CRC check code length that on the judgement basis of 60 steps, obtains and through the document size length result to be sent that the pointer memory cell is obtained.
100 steps: according to the document size size to be sent that 20 steps obtain, the file packing data length L en [bit] that transmission rate V that 70 steps obtain [Mbps] and 90 steps obtain, through:
Figure GDA0000022178800000072
Calculate the cycle duration that sends whole file, wherein Tx representes time span that data bit is required of bluetooth transmission, and its value is 1 μ s, t DriftRepresent the basic side-play amount that each time slot begins; Jitter representes to shake side-play amount; Offset representes a required time shifting amount of hardware layer realization, and generally between 30 μ s to 50 μ s, each value is all got its peak excursion value 50 μ s to these three offset value range in instance of the present invention.
110 steps: the file packing data length that packing checking data speed that obtains according to 80 steps and 90 steps obtain, through:
Figure GDA0000022178800000073
Calculate the cycle duration of the whole file of packing verification.
120 steps: according to 100 steps and 110 steps the transmission transfer files cycle duration that obtains and the checking treatment cycle duration of packing, through:
t Idle [ μs ] = T sim - θ TX total [ μs ] - P check total [ μs ]
Calculate device free and wait-for-response cycle duration, wherein T SimBe the whole experiment test time.
130 steps: according to 100 steps and 110 steps the transmission transfer files cycle duration that obtains and the checking treatment cycle duration of packing, through:
P handle [ μs ] = θ TX total [ μs ] + P check total [ μs ]
Calculate device transmission and handle the cycle duration of whole file data.
140 steps: the transmission process file cycle duration and the idle waiting cycle duration that obtain according to 120 steps and 130 steps, through:
E sum = P TX i ‾ · θ TX total [ μs ] + P check i ‾ · β check total [ μs ] + P Idle i ‾ · t Idle
= P TX i ‾ · θ TX total [ μs ] + P check i ‾ · β check total [ μs ] + P Idle i ‾ · ( T Sim - θ TX total [ μs ] - β check total [ μs ] )
The equipment that calculates is accomplished the required total energy consumption of file transfer; Average energy consumption in expression packing data checking treatment cycle wherein; Its value is between 35mw to 70mw; The average energy consumption that spends in
Figure GDA0000022178800000085
expression Bluetooth transmission cycle data; Its value is between 300mw to 400mw; It is 55mw and 350mw that instance of the present invention is got its median respectively; The average energy consumption that spends in expression bluetooth standby and the wait-for-response idling cycle, its value is about 20mw.t IdleExpression standby and wait-for-response idling cycle duration, T SimRepresent whole test cycle duration.
Referring to Fig. 4, shown in Figure 4 is the device sketch map of measuring and calculating document transmission energy consumption of bluetooth equipment, and this apparatus structure comprises: equipment state and information memory cell corresponding to the related plurality of units structure of above-mentioned measuring and calculating energy consumption method; The functional inquiry unit; The pointer value memory cell; Calculation processing unit; User's display unit; The operation basic procedure of this device comprises the steps:
The A01 step: the functional inquiry unit is inquired about to equipment state and information memory cell, obtains transmission mode, connection type, bag type, these four Parameter Details of transmission rate of bluetooth equipment;
The B01 step: the functional inquiry unit is inquired about to the pointer memory cell, obtains the pointer value of pointing to file to be sent, and obtains this document size through this pointer inquiry; And trigger this unit;
The C01 step: the functional inquiry unit imports the result that A01 step and B01 step inquire calculation processing unit into and triggers this unit;
The D01 step: the result that calculation processing unit receiving function query unit is imported into, carry out corresponding communication condition and judge that the line parameter value of going forward side by side is calculated, and the device battery consumption information of calculating is passed to user's display unit, and trigger this unit.
The said equipment state and information memory cell are used to put down in writing bluetooth equipment present located state information, and the configuration details of the transmission mode of bluetooth equipment, connection type, bag type, these four parameters of transmission rate;
The above-mentioned functions query unit; Link to each other with the pointer memory cell with the status information of equipment memory cell, be used for inquiring about, obtain the relevant parameter information that is provided with of the residing state of bluetooth equipment with communication to equipment state and information memory cell;
Above-mentioned pointer value memory cell is used to store the pointer value of pointing to file to be sent, and this pointer is used for calculating the packet number that the transfer files of wanting comprises;
The aforementioned calculation processing unit links to each other with the functional inquiry unit, is used for the configuration parameter information data that the receiving function query unit is imported into, and calculates to handle according to corresponding calculation relational expression and obtain the document transmission energy consumption value, and imports this result into the user display unit.
Above-mentioned user's display unit links to each other with calculation processing unit, is used to receive the document transmission energy consumption result that calculation processing unit imports into, and this result is fed back to User Interface with the LCD display mode, provides the user to carry out the foundation of corresponding decision operation.

Claims (2)

1. method of calculating energy consumption in the bluetooth equipment document transmission process, its characteristic comprises:
A) obtain the transmission mode T of bluetooth equipment in data transfer cycle Mode﹑ connection type Con Type﹑ bag type Pack Type﹑ transmission rate V SpeedThe information of these four communication configuration parameters;
B) analyze and set up the also calculation relational expression of a packet required time of verification of bluetooth packing:
P i [ μ s ] = Tp * [ ω 0 + ω h + ω Data + ω c v FEC ] Formula 1
ω wherein 0The preposition fixed data of expression bluetooth packet header length, ω DataExpression individual data Bao Suoneng holds maximum data load, ω hThe packet length of expression valid data load, ω cThe length of expression data CRC check sign indicating number, its value is 16, v FECThe expression bluetooth is the speed of error correction forward, and this value confirms jointly that by bluetooth connection type and type of data packet Tp is a data bit of a bluetooth physical layer process required time, is 1 μ s;
C) obtain the size ω of the file data that sends Size, according to formula 1 and then analyze and set up the calculation relational expression of bluetooth packing and the whole file data required time of verification:
β Check Total [ μ s ] = Σ i = 1 ω Size / ω Data P i [ μ s ] Formula 2;
D) analyze and set up the calculation relational expression of a packet required time of bluetooth physical layer transmission:
Figure FDA00001635530500013
formula 3;
Wherein the length of Len [bit] expression physical layer data bag comprises packet head afterbody and check code length, V [Mbps] expression bluetooth physical layer data transmission rate, and Tx representes the time span of bluetooth groove basic time, value is 1 μ s, t DriftRepresent the basic side-play amount that each time slot begins, jitter representes to shake side-play amount, and offset representes a required time shifting amount of hardware layer realization;
E) through type 3 and then analytical calculation draw the calculation relational expression of the whole file data required time of bluetooth physical layer transmission:
θ TX Total [ μ s ] = Σ i = 1 ω Size / ω Data θ Tx [ μ s ] Formula 4
F) through type 3 and formula 4 calculate bluetooth standby and wait-for-response idling cycle duration value, and then the energy input relational expression of the whole file data of analytical calculation Bluetooth transmission are:
E sum = P TX i ‾ · θ TX total [ μs ] + P check i ‾ · β check total [ μs ] + P Idle i ‾ · t Idle
= P TX i ‾ · θ TX total [ μs ] + P check i ‾ · β check total [ μs ] + P Idle i ‾ · ( T Sim - θ TX total [ μs ] - β check total [ μs ] )
Wherein
Figure FDA00001635530500023
The average energy consumption that is spent in the expression packing data checking treatment cycle,
Figure FDA00001635530500024
The average energy consumption that spends in the expression Bluetooth transmission cycle data,
Figure FDA00001635530500025
The average energy consumption that spends in expression bluetooth standby and the wait-for-response idling cycle, t IdleExpression standby and wait-for-response idling cycle duration, T SimRepresent whole test cycle duration.
2. a device of calculating bluetooth equipment transfer files battery power consumption is characterized in that, comprising: equipment state and information memory cell, the single first ﹑ pointer value memory cell of the ﹑ of functional inquiry list unit meter calculation place reason and user's display unit;
Wherein, said equipment state and information memory cell are used to put down in writing bluetooth equipment present located state information, and the defeated Mo Shi ﹑ of the Chuan of bluetooth equipment connects the configuration details of these four parameters of Lei Xing ﹑ bag Lei Xing ﹑ transmission rate;
Wherein, said functional inquiry unit is inquired about to obtain current four the key configuration parameter informations that adopted bluetooth communication of equipment to equipment state and information memory cell; And import these four parameter information data into calculation processing unit and carry out computing; And through inquiry pointer value memory cell, to obtain the initial pointer value of pointing to this document;
Wherein, described pointer value memory cell is used to store the pointer value of pointing to file to be sent, and this pointer is used for calculating the packet number that the transfer files of wanting comprises;
Wherein, described calculation processing unit is used for four configuration parameter information data that the receiving function query unit is imported into, and calculates the document transmission energy consumption value through step f in the claim 1, and imports this result into the user display unit;
Wherein, described user's display unit is characterized in that, receives the document transmission energy consumption result that calculation processing unit imports into, and this result is fed back to User Interface with the LCD display mode, and provides corresponding user's operation indicating.
CN201010195784XA 2010-06-09 2010-06-09 Method for measuring and calculating document transmission energy consumption of Bluetooth equipment and device thereof Expired - Fee Related CN101841394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010195784XA CN101841394B (en) 2010-06-09 2010-06-09 Method for measuring and calculating document transmission energy consumption of Bluetooth equipment and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010195784XA CN101841394B (en) 2010-06-09 2010-06-09 Method for measuring and calculating document transmission energy consumption of Bluetooth equipment and device thereof

Publications (2)

Publication Number Publication Date
CN101841394A CN101841394A (en) 2010-09-22
CN101841394B true CN101841394B (en) 2012-08-08

Family

ID=42744540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010195784XA Expired - Fee Related CN101841394B (en) 2010-06-09 2010-06-09 Method for measuring and calculating document transmission energy consumption of Bluetooth equipment and device thereof

Country Status (1)

Country Link
CN (1) CN101841394B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015137601A1 (en) * 2014-03-12 2015-09-17 엘지전자(주) Method and device for adjusting data transmission rate in wireless communication system
TWI538425B (en) * 2014-04-14 2016-06-11 微晶片科技公司 Data transmission system and method for bluetooth interface
CN108196119A (en) * 2017-12-21 2018-06-22 广东汇泰龙科技有限公司 Method, the system of a kind of intelligent door lock power consumption estimation using NB-IOT modules
CN110446193B (en) * 2019-04-25 2020-12-01 华为技术有限公司 Processing method and device of Bluetooth data packet
CN112333680B (en) * 2020-10-20 2023-06-20 迅镭(广州)智能科技股份有限公司 Data transmission method based on Bluetooth base and related equipment
CN112135287B (en) * 2020-10-30 2023-02-17 展讯半导体(成都)有限公司 Bluetooth data transmission rate test method, system, electronic device and storage medium
CN113112971B (en) * 2021-03-30 2022-08-05 上海锣钹信息科技有限公司 Midi defective sound playing method
CN114866446A (en) * 2022-04-15 2022-08-05 西安广和通无线通信有限公司 Data transmission rate testing method, system, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1338055A (en) * 1999-01-27 2002-02-27 艾利森电话股份有限公司 Power consumption reporting by an accessory of an electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2460872B (en) * 2008-06-13 2010-11-24 Alertme Com Ltd Power consumption feedback systems

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1338055A (en) * 1999-01-27 2002-02-27 艾利森电话股份有限公司 Power consumption reporting by an accessory of an electronic device

Also Published As

Publication number Publication date
CN101841394A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
CN101841394B (en) Method for measuring and calculating document transmission energy consumption of Bluetooth equipment and device thereof
CN104602332A (en) Control processing method and control processing device for transmitting power, and terminal
CN103338475A (en) AP (Access Point) testing method, device and terminal
CN104112350A (en) Additional apparatus for ammeter
CN102130930B (en) Remote monitoring terminal for electric automobile
US20120190353A1 (en) Systems, devices and methods for dynamic selection of data and telecommunication service providers
CN102236973B (en) Electronic stop board instant forenotice system
CN202948362U (en) Novel network server
CN109640329A (en) Link aggregation implementation method and Related product
CN101668258B (en) Method, system and device for data transmission
CN205038790U (en) Portable machine of checking meter
CN105025430A (en) Network sharing method and system
CN204595217U (en) A kind of big-dipper satellite bluetooth communication terminal system
CN202127259U (en) use and management system for power charging and using of electromobile storage battery
CN101572761A (en) Method, device and mobile termination for dial-up networking
CN107358430A (en) A kind of traffic payment system and method based on bluetooth
CN105208548B (en) A kind of data processing method, device and terminal
Jing The design of wireless remote monitoring system of water supply based on GPRS
CN202710538U (en) Gas detector instrument system
CN106780176A (en) A kind of food delivery personnel computer Dispatching Control System and method
CN201315667Y (en) Mobile phone electric utility meter-reading system and terminal
CN102348261A (en) Wireless local area network access point system and method thereof
CN114996195A (en) Method, system, device and medium for acquiring carbon footprint data
CN101155193B (en) Method and equipment for remote memory
CN102693516A (en) Catering information processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120808

Termination date: 20170609

CF01 Termination of patent right due to non-payment of annual fee