CN107509160A - Data transmission method for uplink, electronic equipment and storage medium - Google Patents

Data transmission method for uplink, electronic equipment and storage medium Download PDF

Info

Publication number
CN107509160A
CN107509160A CN201710713332.8A CN201710713332A CN107509160A CN 107509160 A CN107509160 A CN 107509160A CN 201710713332 A CN201710713332 A CN 201710713332A CN 107509160 A CN107509160 A CN 107509160A
Authority
CN
China
Prior art keywords
duration
electronic equipment
contract
project
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710713332.8A
Other languages
Chinese (zh)
Other versions
CN107509160B (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 Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201710713332.8A priority Critical patent/CN107509160B/en
Publication of CN107509160A publication Critical patent/CN107509160A/en
Application granted granted Critical
Publication of CN107509160B publication Critical patent/CN107509160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • 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

Abstract

The embodiment of the invention discloses a kind of data transmission method for uplink, electronic equipment and storage medium.Wherein, data transmission method for uplink is applied to the first electronic equipment with function of Bluetooth communication being under shallow dormancy pattern, and the first electronic equipment once included with the second electronic equipment Bluetooth pairing success with function of Bluetooth communication, this method:Obtain setting to give out a contract for a project duration, give out a contract for a project in setting in duration, a broadcast packet is sent out every the first setting duration, wherein, the duration for sending a broadcast packet is the second setting duration, and the first setting duration and the second setting duration are respectively less than setting and given out a contract for a project duration.First electronic equipment is given out a contract for a project in setting is intermittently sent out broadcast packet in duration, continuous broadcast packet is sent compared with prior art, considerably reduce the frequency for being sent out broadcast packet, on the premise of the first electronic equipment and the quick Hui Lian of the second electronic equipment energy is ensured, power consumption of first electronic equipment under shallow dormancy pattern is effectively reduced.

Description

Data transmission method for uplink, electronic equipment and storage medium
Technical field
The present invention relates to consumer electronics field, more particularly to a kind of data transmission method for uplink, electronic equipment and storage to be situated between Matter.
Background technology
With the development of consumer electronics, the function of consumption electronic product is also more and more, some machine tops on the market Box supports Findme functions.So-called Findme functions, after just referring to blue Tooth remote controller and set top box pairing, set top box is in upper electricity Afterwards, can detect whether to receive the key signals that blue Tooth remote controller exports, if it is not, representing that user is possible to can not find this Blue Tooth remote controller, it may such as fall in some corner (such as sofa gap).At this moment, set top box can be returned by bluetooth and connect the bluetooth Remote control, then instructed by bluetooth connection, one buzzing of hair to blue Tooth remote controller, blue Tooth remote controller receives buzzing instruction Afterwards, buzzing will be started, to prompt user " I here ".
But if set top box realizes Findme functions, then require blue Tooth remote controller to be in deep-sleep shape State because set top box can not with the blue Tooth remote controller Hui Lian under deep sleep state, so as to cause set top box distant to bluetooth Control device and send buzzing instruction, so that findme functions can not be realized, so, in order to realize Findme functions, Bluetooth remote control Device needs to be under shallow dormancy pattern, and is sent out a broadcast packet at predetermined time intervals, to ensure that set top box is distant with bluetooth Can quick Hui Lian between control device.
As shown in figure 1, a is the broadcast duration that blue Tooth remote controller sends A broadcast packets in the prior art, b is Bluetooth remote control Device sends the broadcast duration of B broadcast packets.According to the regulation of conventional Bluetooth protocol stack, in a complete broadcast duration (such as a Or b), blue Tooth remote controller must repeat to be sent out a broadcast packet every 3.75ms, and this regulation causes set top box only to need Scanning 3.75ms can be to receive the broadcast packet of blue Tooth remote controller transmission, but at the same time, this also once to broadcast from entirety From reformed into continuous broadcast because 3.75ms almost can be ignored for once broadcasting duration, once extensively Then hundreds of milliseconds or several seconds of sowing time length, it is long then 30 seconds even 1 minute, so, it is distant according to traditional bluetooth protocol repertory, bluetooth The broadcast packet that control device is sent out can be considered as continuous broadcast packet.
For the set top box with Findme functions in man of domestic consumer, once shutdown, in order to set-top-box opening it Afterwards, Findme functions can be realized, blue Tooth remote controller also just goes to shallow dormancy pattern by mode of operation, and every 3.75ms weights A broadcast packet is sent out again, that is, is sent out continuous broadcast packet, and blue Tooth remote controller consumes when broadcast packet is being sent Power consumption, i.e., in a periods and b periods.Due to most times among one day, blue Tooth remote controller is all to be in shallow dormancy mould Formula, therefore, it is often very big that blue Tooth remote controller is in the power consumption consumed during shallow dormancy pattern.
The content of the invention
To solve Related Technical Issues, the present invention provides a kind of data transmission method for uplink, electronic equipment and storage medium, with drop Power consumption of the electronic equipments such as low blue Tooth remote controller under shallow dormancy pattern, and then reduce the overall power of electronic equipment.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, the embodiments of the invention provide a kind of data transmission method for uplink, suitable under shallow dormancy pattern The first electronic equipment with function of Bluetooth communication, first electronic equipment once with the second electronics with function of Bluetooth communication The success of equipment Bluetooth pairing, methods described include:
Setting is obtained to give out a contract for a project duration;
Give out a contract for a project in the setting in duration, a broadcast packet is sent out every the first setting duration, wherein, send once The duration of the broadcast packet is the second setting duration, and the first setting duration and the second setting duration are respectively less than institute Setting is stated to give out a contract for a project duration.
Preferably, it is described to set give out a contract for a project duration a ≈ x, x=(n-1) × m+n × p, and 8≤n≤a/8, wherein, a is described Duration of giving out a contract for a project is set, n is to give out a contract for a project in the setting in duration, sends the total quantity of the broadcast packet, and p is that transmission one is described extensively The single duration of giving out a contract for a project of bag is broadcast, m is the interval duration of giving out a contract for a project for sending the two neighboring broadcast packet, and actually give out a contract for a project duration x, is tired Meter, which is given out a contract for a project, interval duration n × p and adds up single duration of giving out a contract for a project (n-1) × m's and value, and described a, x, m and p unit are in the least Second.
Preferably, the duration a that gives out a contract for a project that sets is 300ms.
Preferably, the duration x < r that actually give out a contract for a project, and r=t/2, wherein, t is that second electronic equipment is carrying out indigo plant Sweep spacing when tooth scans, r are single pass duration of second electronic equipment when carrying out bluetooth scanning, the r and t Unit be millisecond.
Preferably, before the step of duration is given out a contract for a project in the acquisition setting, in addition to:
The Bluetooth pairing is carried out with second electronic equipment.
Preferably, first electronic equipment is blue Tooth remote controller.
Preferably, second electronic equipment is the set top box with Findme functions.
Preferably, second electronic equipment is the television set with Findme functions.
Second aspect, the embodiments of the invention provide a kind of electronic equipment, including:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processing Device realizes the data transmission method for uplink described in any embodiment of the present invention.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, the program realize the data transmission method for uplink described in any embodiment of the present invention when being executed by processor.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought:
The embodiment of the present invention provides a kind of data transmission method for uplink, electronic equipment and storage medium, is set using when the first electronics For when being in shallow dormancy pattern, give out a contract for a project in setting in duration, the technology of a broadcast packet is sent out every the first setting duration Scheme so that the second electronic equipment of once successful matching can quickly scan broadcast packet, and according to broadcast packet and the first electricity Sub- equipment quickly re-establishes bluetooth connection, realizes quick Hui Lian.Due to the first electronic equipment under shallow dormancy pattern, only exist Just produce power consumption when being sent out broadcast packet, the first electronic equipment by setting give out a contract for a project intermittently be sent out in duration it is wide Bag is broadcast, sends continuous broadcast packet compared with prior art, considerably reduces the frequency for being sent out broadcast packet, is ensureing the first electricity Sub- equipment and the second electronic equipment can effectively reduce the first electronic equipment under shallow dormancy pattern on the premise of quick Hui Lian Power consumption.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below 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, on the premise of not paying creative work, it can also be implemented according to the present invention The content of example and these accompanying drawings obtain other accompanying drawings.
Fig. 1 is that in the prior art, blue Tooth remote controller is sent out the ripple of broadcast packet according to Bluetooth protocol under shallow dormancy pattern Shape figure;
Fig. 2 is a kind of application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of data transmission method for uplink provided in an embodiment of the present invention;
Fig. 4 is in technical scheme of the embodiment of the present invention, and blue Tooth remote controller is sent out the oscillogram of broadcast packet;
Fig. 5 is the schematic flow sheet of another data transmission method for uplink provided in an embodiment of the present invention;
Fig. 6 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
Embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing, it is clear that described embodiment is only It is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art exist The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
It refer to Fig. 2 and Fig. 3, the data transmission method for uplink that the present embodiment provides, suitable for the tool under shallow dormancy pattern Have the first electronic equipment of function of Bluetooth communication, wherein, the first electronic equipment once with the second electronics with function of Bluetooth communication The success of equipment Bluetooth pairing.
As shown in Fig. 2 the data transmission method for uplink of the present embodiment, a kind of application scenarios of adaptation, is specially:Lose by user The first electronic equipment in some corner is in shallow dormancy pattern, is persistently sent out broadcast packet;When electric on second electronic equipment The key signals of the first electronic equipment are not detected by, the broadcast packet sent according to the first electronic equipment, are built with the first electronic equipment Vertical bluetooth connection, buzzing instruction is sent to the first electronic equipment based on Bluetooth protocol;First electronic equipment is opened according to buzzing instruction Beginning buzzing is vibrated, to prompt the first electronic equipment of user position.
As shown in figure 3, the data transmission method for uplink that the present embodiment provides, suitable for there is bluetooth under shallow dormancy pattern First electronic equipment of communication function, the first electronic equipment once with the second electronic equipment Bluetooth pairing with function of Bluetooth communication Success, this method specifically may include steps of:
S110, obtain setting and give out a contract for a project duration.
Preferably, the first electronic equipment is blue Tooth remote controller.
Preferably, the second electronic equipment is the set top box with Findme functions.
Preferably, the second electronic equipment is the television set with Findme functions.
In one embodiment, as shown in figure 1, when blue Tooth remote controller is sending broadcast packet A, take setting a length of when giving out a contract for a project A, wherein a be blue Tooth remote controller according to the regulation of bluetooth protocol repertory, be sent out the broadcast duration of A broadcast packets, similarly, work as bluetooth Remote control takes setting a length of b when giving out a contract for a project when sending broadcast packet B.Therefore, setting duration of giving out a contract for a project is a prior information, bluetooth Setting of the remote control according to corresponding to bluetooth protocol repertory sends different broadcast packets is given out a contract for a project duration, is stored in depositing for blue Tooth remote controller In storage device.
S120, it is described setting give out a contract for a project in duration, every first setting duration be sent out a broadcast packet, wherein, hair The duration for sending once the broadcast packet is the second setting duration, and the first setting duration and the second setting duration are equal Duration of giving out a contract for a project is set less than described.
Preferably, give out a contract for a project duration a ≈ x, x=(n-1) × m+n × p, and 8≤n≤a/8 are set, wherein, a gives out a contract for a project for setting Duration, n send the total quantity of broadcast packet to give out a contract for a project in setting in duration, and p is the single duration of giving out a contract for a project for sending a broadcast packet, m For the interval duration of giving out a contract for a project of the two neighboring broadcast packet of transmission, actually give out a contract for a project duration x, is spaced duration n × p for accumulative give out a contract for a project and adds up Single duration of giving out a contract for a project (n-1) × m's and value, a, x, m and p unit are millisecond.
Preferably, the duration a that gives out a contract for a project is set as 300ms.
In the present embodiment, to ensure that the first electronic equipment and the second electronic equipment being capable of high probability Hui Lian, it is preferred that real Give out a contract for a project duration x < r on border, and r=t/2, wherein, t is sweep spacing of second electronic equipment when carrying out bluetooth scanning, r Single pass duration of two electronic equipments when carrying out bluetooth scanning, r and t unit are millisecond.
In one embodiment, the first electronic equipment is blue Tooth remote controller, and the second electronic equipment is set top box, the first electronics The facility information of the first electronic equipment is carried in the broadcast packet that equipment is sent.As shown in figure 4, blue Tooth remote controller sends A broadcast Bao Shi, take setting to give out a contract for a project duration a=300ms, send n A broadcast packet from inside to outside in 300ms, be sent out once every duration m A broadcast packets, send a length of p when broadcast packet single is given out a contract for a project, then add up to give out a contract for a project interval when a length of n × p, it is accumulative single to give out a contract for a project Shi Changwei (n-1) × m, actually give out a contract for a project duration x=(n-1) × m+n × p, and 8≤n≤a/8, wherein, single a length of p when giving out a contract for a project Generally tens to hundreds of is delicate, i.e. p is generally less than 1ms, p specific value by blue Tooth remote controller master chip, crystal oscillator and electricity The hardware factors such as road determine.N value needs to consider both sides factor, on the one hand, because blue Tooth remote controller is in shallow dormancy mould Power consumption is mainly just consumed under formula when sending broadcast packet, if n values are excessive, blue Tooth remote controller sends the frequency mistake of broadcast packet Height, the purpose for reducing power consumption is not reached;On the other hand, due to set top box according to as defined in Bluetooth protocol minimum scan frequency, At least to be scanned 38 times in 300ms, if n values are too small, blue Tooth remote controller sends the underfrequency of broadcast packet, can cause machine Top box is difficult to the broadcast packet that scanning is sent to blue Tooth remote controller, and the company's of returning speed is slow.
In the present embodiment, the duration a=300ms that gives out a contract for a project is set, the single duration p that gives out a contract for a project is preferably 0.1ms, because n need to take Integer, then 8≤n≤38.Blue Tooth remote controller sends A broadcast packets in 300ms, as n=8, m=(300-0.8)/7 ≈ 42.74ms, i.e. blue Tooth remote controller are sent out an A broadcast packet in the 300ms of hair A broadcast packets every 42.74ms, altogether hair Send 8 times, send actually give out a contract for a project duration x=(8-1) × 42.74+8 × 0.1=299.98ms, i.e. a ≈ x of A broadcast packets, setting hair Bag duration a and the duration x that actually gives out a contract for a project difference are only 0.02ms, and the scanning result of set top box is not had an impact substantially;Work as n= When 38, m=(300-0.38)/37 ≈ 8.10ms, i.e. blue Tooth remote controller are outside every 8.10ms in the 300ms of hair A broadcast packets An A broadcast packet is sent, is sent 38 times altogether, sends duration x=(38-1) × 8.10+38 × 0.1=that actually gives out a contract for a project of A broadcast packets 300.08ms, i.e. a ≈ x, the difference for setting the duration a and duration x that actually gives out a contract for a project that gives out a contract for a project is only 0.08ms, the scanning knot to set top box Fruit does not have an impact substantially.
Blue Tooth remote controller is linked to be work(after A broadcast packets have been sent, if not returned with set top box, then through duration z, starts to send B Broadcast packet, until with set top box Hui Lian, the process of B broadcast packets is sent, refers to send the process of A broadcast packets, is not subject to herein Repeat.
In the prior art, blue Tooth remote controller defers to Bluetooth protocol and sends A broadcast packets, and it is wide to send 80 A in 300ms domestic demands Bag is broadcast, i.e. blue Tooth remote controller almost sends continuous broadcast packet.In the technical scheme of the present embodiment, blue Tooth remote controller does not defer to bluetooth The regulation of agreement, but A broadcast packets are intermittently sent, 8~38 A broadcast packets only need to be sent in 300ms, compared to existing skill Art, the frequency for sending broadcast packet substantially reduce, and reduce power consumption of the blue Tooth remote controller under shallow dormancy pattern.
It should be noted that in the technical scheme of the present embodiment, blue Tooth remote controller is after set top box Hui Lian, still abides by Bluetooth communication is carried out from Bluetooth protocol and set top box.
To sum up, in the present embodiment, when the first electronic equipment is in shallow dormancy pattern, give out a contract for a project in setting in duration, often A broadcast packet is sent out every the first setting duration so that the second electronic equipment of once successful matching can be scanned quickly Broadcast packet, and bluetooth connection is quickly re-established according to broadcast packet and the first electronic equipment, realize quick Hui Lian.Due to shallow dormancy The first electronic equipment under pattern, power consumption is just produced only when being sent out broadcast packet, the first electronic equipment is by setting Give out a contract for a project and be intermittently sent out broadcast packet in duration, send continuous broadcast packet compared with prior art, considerably reduce outwards The frequency of broadcast packet is sent, on the premise of the first electronic equipment and the quick Hui Lian of the second electronic equipment energy is ensured, is effectively reduced Power consumption of first electronic equipment under shallow dormancy pattern.
Fig. 5 is refer to, the present embodiment is on the basis of above-described embodiment, it is preferred that the step for duration of giving out a contract for a project in acquisition setting Before rapid, in addition to:
Bluetooth pairing is carried out with the second electronic equipment.
Hereby it is achieved that the second electronic equipment records the facility information of the first electronic equipment, the first electronic equipment can recognize that Broadcast packet is sent, is not disturbed by other bluetooth equipments.
Based on above-mentioned optimization, a kind of data transmission method for uplink of the present embodiment offer, specifically may include steps of:
S210 and the second electronic equipment carry out Bluetooth pairing.
In one embodiment, the first electronic equipment is blue Tooth remote controller, and the second electronic equipment is set top box.Bluetooth remote control Device need to send Bluetooth pairing signal to set top box, facility information is exchanged with each other with set top box before first time manipulates set top box And preserve.
S220, obtain setting and give out a contract for a project duration.
S230, give out a contract for a project in duration in setting, a broadcast packet is sent out every the first setting duration, wherein, send one The duration of secondary broadcast packet is the second setting duration, when the first setting duration and the second setting duration are respectively less than setting and given out a contract for a project It is long.
To sum up, in the present embodiment, the first electronic equipment and the success of the second electronic equipment Bluetooth pairing, when the first electronics is set For when being in shallow dormancy pattern, give out a contract for a project in setting in duration, be sent out a broadcast packet every the first setting duration so that once The second electronic equipment through successful matching can quickly scan broadcast packet, and quickly be weighed according to broadcast packet and the first electronic equipment Bluetooth connection newly is established, realizes quick Hui Lian.Due to the first electronic equipment under shallow dormancy pattern, only it is being sent out broadcasting Bao Shicai produces power consumption, and the first electronic equipment is intermittently sent out broadcast packet in duration by giving out a contract for a project in setting, compared to existing There is technology to send continuous broadcast packet, considerably reduce the frequency for being sent out broadcast packet, ensureing the first electronic equipment and the On the premise of the quick Hui Lian of two electronic equipments energy, power consumption of first electronic equipment under shallow dormancy pattern is effectively reduced.
Fig. 6 is refer to, Fig. 6 shows the frame suitable for being used for the example electronic device 12 for realizing embodiment of the present invention Figure.The electronic equipment 12 that Fig. 6 is shown is only an example, the function and use range of the embodiment of the present invention should not be brought and appointed What is limited.
As shown in fig. 6, electronic equipment 12 is showed in the form of universal electronic device.The component of electronic equipment 12 can include But it is not limited to:One or more processor or processing unit 16, system storage 28, connection different system component (including System storage 28 and processing unit 16) bus 18.
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Electronic equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be electric The usable medium that sub- equipment 12 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Electronic equipment 12 may further include other removable/not removable Dynamic, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write can not Mobile, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").Although not shown in Fig. 6, Ke Yiti For the disc driver for being read and write to may move non-volatile magnetic disk (such as " floppy disk "), and to may move non-volatile light The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver It can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and Routine data, the realization of network environment may be included in each or certain combination in these examples.Program module 42 is usual Perform the function and/or method in embodiment described in the invention.
Electronic equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.) Communication, can also enable a user to the equipment communication interacted with the electronic equipment 12 with one or more, and/or with causing the electricity Any equipment (such as network interface card, modem etc.) that sub- equipment 12 can be communicated with one or more of the other computing device Communication.This communication can be carried out by input/output (I/O) interface 22.Also, electronic equipment 12 can also be fitted by network Orchestration 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) Communication.As shown in fig. 6, network adapter 20 is communicated by bus 18 with other modules of electronic equipment 12.It should be understood that although Not shown in Fig. 6, electronic equipment 12 can be combined and use other hardware and/or software module, included but is not limited to:Microcode, Device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage System etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and Data processing, such as realize the data transmission method for uplink that any embodiment of the present invention is provided.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey When sequence is executed by processor, the data transmission method for uplink that any embodiment of the present invention is provided is realized, this method is applied in shallow The first electronic equipment with function of Bluetooth communication under park mode, the first electronic equipment once with function of Bluetooth communication The success of second electronic equipment Bluetooth pairing, this method include:
Setting is obtained to give out a contract for a project duration;
Give out a contract for a project in the setting in duration, a broadcast packet is sent out every the first setting duration, wherein, send once The duration of the broadcast packet is the second setting duration, and the first setting duration and the second setting duration are respectively less than institute Setting is stated to give out a contract for a project duration.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or electronic equipment on the remote computer on the user computer. In the situation of remote computer is related to, remote computer can pass through the network of any kind --- including LAN (LAN) Or wide area network (WAN)-subscriber computer is connected to, or, it may be connected to outer computer (such as utilize Internet service Provider passes through Internet connection).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of data transmission method for uplink, set suitable for the first electronics with function of Bluetooth communication under shallow dormancy pattern Standby, first electronic equipment was once successful with the second electronic equipment Bluetooth pairing with function of Bluetooth communication, it is characterised in that Methods described includes:
Setting is obtained to give out a contract for a project duration;
Give out a contract for a project in the setting in duration, a broadcast packet is sent out every the first setting duration, wherein, send once described The duration of broadcast packet is the second setting duration, and the first setting duration and the second setting duration are respectively less than described set Surely give out a contract for a project duration.
2. the method as described in claim 1, it is characterised in that it is described to set duration a ≈ x, x=(n-1) × m+n × p that gives out a contract for a project, And 8≤n≤a/8, wherein, a sets duration of giving out a contract for a project to be described, and n is to give out a contract for a project in the setting in duration, sends the broadcast packet Total quantity, p are the single duration of giving out a contract for a project for sending a broadcast packet, and m is to send between the giving out a contract for a project of the two neighboring broadcast packet Every duration, actually give out a contract for a project duration x, interval duration n × p and adds up single duration of giving out a contract for a project (n-1) × m's and value for accumulative give out a contract for a project, Described a, x, m and p unit are millisecond.
3. method as claimed in claim 2, it is characterised in that the duration a that gives out a contract for a project that sets is 300ms.
4. the method described in claim 2, it is characterised in that the duration x < r that actually give out a contract for a project, and r=t/2, wherein, t is institute Sweep spacing of second electronic equipment when carrying out bluetooth scanning is stated, r is second electronic equipment when carrying out bluetooth scanning Single pass duration, the unit of the r and t are millisecond.
5. the method as described in claim 1, it is characterised in that before the step of duration is given out a contract for a project in the acquisition setting, also wrap Include:
The Bluetooth pairing is carried out with second electronic equipment.
6. the method as described in any one of Claims 1 to 5, it is characterised in that first electronic equipment is blue Tooth remote controller.
7. method as claimed in claim 6, it is characterised in that second electronic equipment is the machine top with Findme functions Box.
8. method as claimed in claim 6, it is characterised in that second electronic equipment is the TV with Findme functions Machine.
9. a kind of electronic equipment, it is characterised in that including:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processors are real Now such as data transmission method for uplink according to any one of claims 1 to 8.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor Such as data transmission method for uplink according to any one of claims 1 to 8 is realized during execution.
CN201710713332.8A 2017-08-18 2017-08-18 Data transmission method, electronic device, and storage medium Active CN107509160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710713332.8A CN107509160B (en) 2017-08-18 2017-08-18 Data transmission method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710713332.8A CN107509160B (en) 2017-08-18 2017-08-18 Data transmission method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN107509160A true CN107509160A (en) 2017-12-22
CN107509160B CN107509160B (en) 2021-04-30

Family

ID=60692233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710713332.8A Active CN107509160B (en) 2017-08-18 2017-08-18 Data transmission method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN107509160B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109199354A (en) * 2018-09-17 2019-01-15 山东思迈教育科技有限公司 A kind of heart rate data acquisition method and heart rate measuring device
WO2019245926A1 (en) * 2018-06-22 2019-12-26 Alibaba Group Holding Limited Bluetooth mesh network gateway and device data communication
US10951470B2 (en) 2018-05-14 2021-03-16 Alibaba Group Holding Limited Bluetooth mesh network provisioning
US11259178B2 (en) 2018-05-18 2022-02-22 Alibaba Group Holding Limited Bluetooth mesh network provisioning authentication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201638360U (en) * 2010-02-05 2010-11-17 余翀 Device for conveniently finding remote controller
CN105099526A (en) * 2015-06-24 2015-11-25 小米科技有限责任公司 Method and device for transmitting polling data package
CN106131634A (en) * 2016-08-29 2016-11-16 康佳集团股份有限公司 A kind of remote controller connection processing method and system
US20170034646A1 (en) * 2015-07-27 2017-02-02 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
US20170171798A1 (en) * 2015-12-10 2017-06-15 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201638360U (en) * 2010-02-05 2010-11-17 余翀 Device for conveniently finding remote controller
CN105099526A (en) * 2015-06-24 2015-11-25 小米科技有限责任公司 Method and device for transmitting polling data package
US20170034646A1 (en) * 2015-07-27 2017-02-02 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
US20170171798A1 (en) * 2015-12-10 2017-06-15 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
CN106131634A (en) * 2016-08-29 2016-11-16 康佳集团股份有限公司 A kind of remote controller connection processing method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10951470B2 (en) 2018-05-14 2021-03-16 Alibaba Group Holding Limited Bluetooth mesh network provisioning
US11563631B2 (en) 2018-05-14 2023-01-24 Alibaba Group Holding Limited Bluetooth mesh network provisioning
US11259178B2 (en) 2018-05-18 2022-02-22 Alibaba Group Holding Limited Bluetooth mesh network provisioning authentication
WO2019245926A1 (en) * 2018-06-22 2019-12-26 Alibaba Group Holding Limited Bluetooth mesh network gateway and device data communication
US10986573B2 (en) 2018-06-22 2021-04-20 Alibaba Group Holding Limited Bluetooth mesh network gateway and device data communication
CN109199354A (en) * 2018-09-17 2019-01-15 山东思迈教育科技有限公司 A kind of heart rate data acquisition method and heart rate measuring device
CN109199354B (en) * 2018-09-17 2021-06-25 山东思迈教育科技有限公司 Heart rate data acquisition method and heart rate measuring equipment

Also Published As

Publication number Publication date
CN107509160B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN107509160A (en) Data transmission method for uplink, electronic equipment and storage medium
US20230047724A1 (en) Wireless communication method and device with wireless communication function
CN107179697A (en) A kind of intelligent home equipment control method, apparatus and system
US20140235220A1 (en) Method and apparatus for processing application program, and mobile terminal therefor
CN108566634A (en) Reduce method, apparatus and Baffle Box of Bluetooth that Baffle Box of Bluetooth continuously wakes up delay
CN112769201B (en) Charging method, charging device, electronic apparatus, and readable storage medium
CN107731231A (en) A kind of method for supporting more high in the clouds voice services and a kind of storage device
CN106879053A (en) The method and communication terminal of a kind of change LCD refreshing frequencys
CN108810614A (en) Method for regulation of sound volume, system and readable storage medium storing program for executing
CN107396193A (en) The method and apparatus of video playback
CN114701394A (en) Battery replacement cloud edge cooperative control method and device, terminal and storage medium
CN107968848A (en) A kind of method, terminal device and storage medium for obtaining IP address
CN112188362B (en) Playing method, device and computer readable storage medium
CN111435318A (en) Dex optimization method of application program and terminal
CN103907076A (en) Techniques for solar cell management for computing devices
CN106954191B (en) Broadcast transmission method, apparatus and terminal device
CN109195149A (en) NAN scanning adjusting method and relevant device
CN104065888A (en) Video manufacturing method and manufacturing device of communication terminal
CN113099544B (en) Data transmission method, device, storage medium and wireless node
US9967691B2 (en) Stereophonic sound recording method and apparatus, and terminal
CN107273082A (en) Display methods, device, terminal and the storage medium of image
WO2022127546A1 (en) Gateway service processing method, gateway, receiving terminal, gateway service processing system, and storage medium
CN109992363A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN114647610A (en) Voice chip implementation method, voice chip and related equipment
CN111818509B (en) Resource conversion method, device and equipment

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