CN104918307A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104918307A
CN104918307A CN201510178443.4A CN201510178443A CN104918307A CN 104918307 A CN104918307 A CN 104918307A CN 201510178443 A CN201510178443 A CN 201510178443A CN 104918307 A CN104918307 A CN 104918307A
Authority
CN
China
Prior art keywords
parameter information
targeted scans
packet
sweep
scans parameter
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
CN201510178443.4A
Other languages
Chinese (zh)
Other versions
CN104918307B (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 Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510178443.4A priority Critical patent/CN104918307B/en
Publication of CN104918307A publication Critical patent/CN104918307A/en
Application granted granted Critical
Publication of CN104918307B publication Critical patent/CN104918307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • 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

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

Abstract

The embodiment of the invention discloses a terminal. The terminal comprises an obtaining unit for obtaining target scanning parameter information of target main equipment, and a broadcast unit for broadcasting a data packet according to the target scanning parameter information; and the data packet comprises the target scanning parameter information and target control information, and the target control information is used to indicate other main equipment, except for the target main equipment, of the received data packet to adjust scanning parameter information of the target control information to be consistent with the target scanning parameter information. Through implementation of the embodiment of the invention, power consumption of slave equipment can be reduced.

Description

A kind of terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of terminal.
Background technology
BLE (Bluetooth Low Energy, low-power consumption bluetooth) technology, as a kind of communication technology, can realize the simplest transfer of data at main equipment with between equipment.But find in practice, normally realized by broadcast mode from equipment to multiple master transmissions data.In this fashion, carry out broadcast data packet according to the working method of self from equipment, because the sweep parameter of multiple main equipment is different, the time started of each main equipment scanning broadcast message may be different with duration scanning, therefore, in order to ensure that each main equipment all can receive packet, need broadcast data packet constantly from equipment, this makes from the power consumption of equipment higher.
Summary of the invention
The embodiment of the invention discloses a kind of terminal, the power consumption from equipment can be reduced.
The embodiment of the invention discloses a kind of terminal, comprising:
Acquiring unit, for obtaining the targeted scans parameter information of target main equipment;
Radio unit, for according to described targeted scans parameter information, broadcast data packet; Wherein, described packet comprises described targeted scans parameter information and object control information, and described object control information is used to indicate all the other main equipments except described target main equipment receiving described packet and the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information.
The embodiment of the invention also discloses a kind of terminal, comprising:
Receiving element, for receiving the packet from device broadcasts;
Extraction unit, for extracting targeted scans parameter information and object control information from described packet, wherein, described targeted scans parameter information is the targeted scans parameter information of target main equipment;
Adjustment unit, for according to described targeted scans parameter information and described object control information, is adjusted to consistent with described targeted scans parameter information by the sweep parameter information of self.
In the embodiment of the present invention, terminal, just can by radio unit according to targeted scans parameter information after the targeted scans parameter information being got target main equipment by acquiring unit, broadcast data packet; Wherein, this packet comprises targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Visible, when needing to multiple master transmissions data from equipment, just can carry out broadcast data packet with targeted scans parameter information, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of system architecture disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of a kind of data transmission method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 9 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Figure 10 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Figure 11 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of terminal, the power consumption from equipment can be reduced, and improve the convenience from device broadcasts packet.Below be described in detail respectively.
Refer to Fig. 1, the structural representation of Fig. 1 a kind of system architecture disclosed in the embodiment of the present invention, as shown in Figure 1, this system architecture can comprise one from equipment and multiple main equipment, wherein, various small Bluetooth low-power consumption (BLE) equipment should can be comprised, by the outside broadcast data packet of broadcast mode when should work from equipment from equipment; Main equipment can comprise the equipment having BLE module, as smart machines such as smart mobile phone, IPAD, panel computer and mobile internet devices (MID).In the system architecture shown in Fig. 1, from equipment based on BLE broadcast technology (without connect) to multiple main equipment broadcast data packet.
Based on the system architecture shown in Fig. 1, the embodiment of the invention discloses a kind of data transmission method.Refer to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of data transmission method disclosed in the embodiment of the present invention, wherein, the method can be applied in the system architecture shown in Fig. 1 from equipment, as shown in Figure 2, the method can comprise the following steps:
The targeted scans parameter information of S201, acquisition target main equipment.
In the embodiment of the present invention, by the targeted scans parameter information obtaining target main equipment from equipment.Multiple scan request of multiple main equipment transmission can be received from equipment, from equipment using main equipment corresponding for first scan request receiving as target main equipment, and using the sweep parameter information that gets from first scan request as targeted scans parameter information.
In the embodiment of the present invention, targeted scans parameter information can comprise sweep spacing (ScanInterval) time and scanning window (Scanwin) time and start sweep time, wherein, sweep spacing (ScanInterval) time is two intervals connecting scan event (scanning window) time started, scanning window (Scanwin) time is the time for scanning work (namely receiving data) in a sweep spacing, starts the time started that sweep time is main equipment first time scanning.The General Requirements scanning window time is less than sweep interval, allows other wireless module (as WLAN and LTE) in main equipment share Radio Resource to reserve a period of time.
S202, according to targeted scans parameter information, broadcast data packet.
In the embodiment of the present invention, from the supplier that equipment is target data, based on BLE broadcast technology (without connecting), target data is broadcast to multiple main equipment, this target data can be ad data, also can be other data (positional informations, temperature etc. as from equipment place factory building), the embodiment of the present invention is not construed as limiting, and wherein, this target data broadcasts away with the form of packet.Above-mentioned packet can also comprise targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Wherein, in this packet, there is a reserved location, be specifically designed to other self-defined informations (as targeted scans parameter information) stored except target data.The targeted scans parameter information of target main equipment is added to the reserved location of packet, just can generate the packet carrying targeted scans parameter information.
In the embodiment of the present invention, from equipment according to targeted scans parameter information, the specific implementation of broadcast data packet can be:
According to sweep interval and scanning time started, determine the target scan start time of target main equipment, when target scan start time arrives, broadcast data packet.
For example, according to sweep interval and scanning time started, just the target scan start time of target main equipment when scanning for the N time can be gone out by formulae discovery, as: NTScan_start=TScan_start+ (N-1) * ScanInterval, wherein, N >=1.Suppose that N be 3, TScan_start is 8 a.m., ScanInterval is 30min, then the time started that can calculate main equipment the 3rd scanning by formula is point in the morning 9.
In the embodiment of the present invention, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information by all the other main equipments, two kinds of adjustment modes can be comprised, the first: the sweep parameter information of self is adjusted to identical with targeted scans parameter information (i.e. sweep interval and scanning window time and scan the time started all identical) by other main equipment; The second, the sweep interval of self is adjusted to the n of the sweep interval of target main equipment doubly by other main equipment, but the scanning window time and the scanning time started identical with target main equipment.Like this, multiple main equipment can enter at one time or leave scanning window, and namely all main equipments can receive the packet from device broadcasts at one time, and only needs to broadcast a packet during the scanning window of main equipment from equipment.
In the method flow described by Fig. 2, after equipment gets the targeted scans parameter information of target main equipment, just can according to targeted scans parameter information, broadcast data packet; Wherein, this packet comprises targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Visible, when needing to multiple master transmissions data from equipment, just can carry out broadcast data packet with targeted scans parameter information, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Based on the system architecture shown in Fig. 1, the embodiment of the invention discloses a kind of data transmission method.Refer to Fig. 3, Fig. 3 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention, wherein, the method be applied in the system architecture shown in Fig. 1 from equipment, as shown in Figure 3, the method can comprise the following steps:
The targeted scans parameter information of S301, acquisition target main equipment.
In the embodiment of the present invention, multiple scan request of multiple main equipment transmission can be received from equipment, from equipment using main equipment corresponding for first scan request receiving as target main equipment, and using the sweep parameter information that gets from first scan request as targeted scans parameter information.
In the embodiment of the present invention, targeted scans parameter information can comprise sweep spacing (ScanInterval) time and scanning window (Scanwin) time and start sweep time, wherein, sweep spacing (ScanInterval) time is two intervals connecting scan event (scanning window) time started, scanning window (Scanwin) time is the time for scanning work (namely receiving data) in a sweep spacing, starts the time started that sweep time is main equipment first time scanning.The General Requirements scanning window time is less than sweep interval, allows other wireless module (as WLAN and LTE) in main equipment share Radio Resource to reserve a period of time.
S302, judge whether the data in packet except targeted scans parameter information and object control information exist renewal, if so, then perform step S303, if not, then perform step S307, and process ends.
In the embodiment of the present invention, above-mentioned packet is packet to be broadcast, data in this packet to be broadcast except targeted scans parameter information and object control information can be ad data, also can be other data (as positional information, temperature etc.), the embodiment of the present invention be not construed as limiting.
In the embodiment of the present invention, when judging that from equipment the data in packet except targeted scans parameter information and object control information exist renewal, just can perform step S303 and this data packet broadcast is gone out, otherwise, perform step S307 and enter park mode.
S303, according to targeted scans parameter information, broadcast data packet.
In the embodiment of the present invention, being the supplier of target data from equipment, based on BLE broadcast technology (without connecting), target data being broadcast to multiple main equipment.The target data broadcasted by broadcast mode from equipment can be ad data, also can be other data (positional informations, temperature etc. as from equipment place factory building), the embodiment of the present invention is not construed as limiting, and wherein, this target data broadcasts away with the form of packet.Above-mentioned packet can also comprise targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Wherein, in this packet, there is a reserved location, be specifically designed to other self-defined informations (as targeted scans parameter information) stored except target data.The targeted scans parameter information of target main equipment is added to the reserved location of packet, just can generate the packet carrying targeted scans parameter information.
In the embodiment of the present invention, from equipment according to targeted scans parameter information, the specific implementation of broadcast data packet can be:
According to sweep interval and scanning time started, determine the target scan start time of target main equipment, when target scan start time arrives, broadcast data packet.
For example, according to sweep interval and scanning time started, just the target scan start time of target main equipment when scanning for the N time can be gone out by formulae discovery, as: NTScan_start=TScan_start+ (N-1) * ScanInterval, wherein, N >=1.Suppose that N be 3, TScan_start is 8 a.m., ScanInterval is 30min, then the time started that can calculate main equipment the 3rd scanning by formula is point in the morning 9.
In the embodiment of the present invention, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information by all the other main equipments, two kinds of adjustment modes can be comprised, the first: the sweep parameter information of self is adjusted to identical with targeted scans parameter information (i.e. sweep interval and scanning window time and scan the time started all identical) by other main equipment; The second, the sweep interval of self is adjusted to the n of the sweep interval of target main equipment doubly by other main equipment, but the scanning window time and the scanning time started identical with target main equipment.Like this, multiple main equipment can enter at one time or leave scanning window, and namely all main equipments can receive the packet from device broadcasts at one time, and only needs to broadcast a packet during the scanning window of main equipment from equipment.
S304, detect whether receive scan request in Preset Time, if so, then perform step S305; If not, process ends.
In the embodiment of the present invention, from equipment after data packet broadcast is gone out, the scan request whether receiving main equipment and send can also be detected in Preset Time, this scan request sends the associated data relevant to the data in packet for asking, wherein, this Preset Time can be that can be also the user-defined time, the embodiment of the present invention be not construed as limiting from the device systems acquiescence volume stand-by period.
S305, parsing scan request, and judge whether data exist relevant associated data, if so, then perform step S308; If not, process ends.
In the embodiment of the present invention, when detecting from equipment the scan request receiving main equipment transmission in Preset Time in step S304, need further to resolve this scan request, and judge whether the data in scan request exist relevant associated data, if the determination result is YES, then perform step S306, if judged result is no, then process ends.
In the embodiment of the present invention, if need the data of broadcast very large, due to the limited memory of packet, just all data all cannot be added into the disposable broadcast of packet from equipment and go out.If detect the scan request receiving main equipment and send in Preset Time from equipment, just the associated data relevant to these data can be broadcasted away again.
S306, according to targeted scans parameter information, broadcast carries the packet of associated data.
In the embodiment of the present invention, from equipment, associated data and targeted scans parameter information are added to packet again, then determine the time of broadcasting according to targeted scans parameter information, when this time arrives, the data packet broadcast carrying associated data is gone out.
S307, enter park mode.
In the embodiment of the present invention, when judging in step S302 that the data in packet except targeted scans parameter information and object control information do not exist renewal, just can repeat to send this packet, now can to enter sleep modes from equipment, to reduce the power consumption from equipment.
In the method flow described by Fig. 3, from equipment after selected target main equipment, just can obtain the targeted scans parameter information of target main equipment, further, judging that the data except targeted scans parameter information and object control information are deposited in the updated, just according to targeted scans parameter information, broadcast data packet, when the scan request that main equipment sends being detected at Preset Time and after further judging that these data exist associated data, again the data packet broadcast carrying associated data being gone out; Wherein, this packet comprises targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Visible, when from equipment need to multiple master transmissions more new data time, just can carry out broadcast data packet with targeted scans parameter information, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Based on the system architecture shown in Fig. 1, the embodiment of the invention discloses a kind of data transmission method.Refer to Fig. 4, Fig. 4 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention, and wherein, the method is applied to the main equipment in the system architecture shown in Fig. 1, and as shown in Figure 4, the method can comprise the following steps:
S401, receive packet from device broadcasts.
In the embodiment of the present invention, main equipment receives the packet from device broadcasts, carries target data in this packet.Should be the supplier of target data from equipment, based on BLE broadcast technology (without connecting), target data is broadcast to multiple main equipment, this target data can be ad data, also can be other data (as positional information, temperature etc.), the embodiment of the present invention is not construed as limiting, wherein, this target data broadcasts away with the form of packet.
In the embodiment of the present invention, above-mentioned packet also comprises targeted scans parameter information, and this targeted scans parameter information is the targeted scans parameter information of target main equipment.Wherein, this targeted scans parameter information can comprise sweep spacing (ScanInterval) time and scanning window (Scanwin) time and start sweep time, wherein, sweep spacing (ScanInterval) time is two intervals connecting scan event (scanning window) time started, scanning window (Scanwin) time is the time for scanning work (namely receiving data) in a sweep spacing, starts the time started that sweep time is main equipment first time scanning.The General Requirements scanning window time is less than sweep interval, allows other wireless module (as WLAN and LTE) in main equipment share Radio Resource to reserve a period of time.
In the embodiment of the present invention, it is scan with the sweep parameter information of self acquiescence that main equipment receives from the packet of device broadcasts, the sweep parameter information of main equipment self acquiescence is consistent with the targeted scans parameter information possibility of target main equipment also may be inconsistent, when inconsistent, main equipment needs the scanning window time of constantly adjustment self, to receive the packet from device broadcasts.
S402, from packet, extract targeted scans parameter information and object control information.
In the embodiment of the present invention, this object control information is used to indicate the main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information, wherein, there is a reserved location in this packet, be specifically designed to other self-defined informations (as targeted scans parameter information) stored except target data.Main equipment after reception of the data packet, just can extract targeted scans parameter information from the reserved location packet.
As the optional execution mode of one, step S401 receives and can comprise from the packet of device broadcasts:
Receive multiple multiple packets from device broadcasts;
The specific implementation that step S402 extracts targeted scans parameter information and object control information from packet can comprise the following steps:
11) from each packet, sweep parameter information and control information is extracted respectively;
12) selection instruction of user for the arbitrary sweep parameter information in extracted sweep parameter information is received;
13) respond selection instruction, using by the sweep parameter information selected as targeted scans parameter information, and using the described control information corresponding by the sweep parameter information selected as object control information.
In the embodiment of the present invention, after main equipment extracts sweep parameter information and control information respectively from each packet, can further extracted sweep parameter information display out, user just can select a sweep parameter information from the sweep parameter information displayed, the sweep parameter information that user selects by main equipment is as targeted scans parameter information, and using by control information corresponding to the sweep parameter information selected as object control information, that is: the control information comprised by the packet at targeted scans parameter information place is as object control information.Above-mentioned selection instruction can be triggered for the mode of the some sweep parameter information in extracted sweep parameter information by user click or double-click.
For example, suppose that main equipment 1 receives the packet A sent from device A, the packet B sent from equipment B and the packet C sent from equipment C, main equipment 1 is respectively from packet A, sweep parameter information A is extracted in packet B and packet C, sweep parameter information B and sweep parameter information C, and by sweep parameter information A, sweep parameter information B and sweep parameter information C shows user, when receiving user operation for sweep parameter information A, sweep parameter information A in sweep parameter information B and sweep parameter information C and the selection instruction triggered time, main equipment 1 using by the sweep parameter information A that selects as targeted scans parameter information, and the control information comprised by packet A is as object control information.
S403, according to targeted scans parameter information and object control information, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.
In the embodiment of the present invention, the sweep parameter information of self just can be adjusted to consistent with targeted scans parameter information after extracting targeted scans parameter information by main equipment, to receive the packet from device broadcasts according to targeted scans parameter information.
In the embodiment of the present invention, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information by main equipment, two kinds of adjustment modes can be comprised, the first: the sweep parameter information of self is adjusted to identical with targeted scans parameter information (i.e. sweep interval and scanning window time and scan the time started all identical) by other main equipment; The second, the sweep interval of self is adjusted to the n of the sweep interval of target main equipment doubly by other main equipment, but the scanning window time and the scanning time started identical with target main equipment.Like this, multiple main equipment can enter at one time or leave scanning window, and namely all main equipments can receive the packet from device broadcasts at one time, and only needs to broadcast a packet during the scanning window of main equipment from equipment.
In the method flow described by Fig. 4, after main equipment receives the packet from device broadcasts, just can extract targeted scans parameter information and object control information from packet, and according to targeted scans parameter information and object control information, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information, to receive the packet from device broadcasts according to targeted scans parameter information.Visible, main equipment the sweep parameter information of self is adjusted to consistent with targeted scans parameter information after, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Based on the system architecture shown in Fig. 1, the embodiment of the invention discloses a kind of data transmission method.Refer to Fig. 5, Fig. 5 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention, and wherein, the method is applied to the main equipment in the system architecture shown in Fig. 1, and as shown in Figure 5, the method can comprise the following steps:
S501, receive packet from device broadcasts.
S502, judge whether packet carries the targeted scans parameter information of target main equipment, if so, perform step S503, if not, perform step S501.
In the embodiment of the present invention, main equipment judges whether the reserved location in the packet received carries the targeted scans parameter information of target main equipment, if have, then illustrate that the packet received is effective packet, otherwise, main equipment needs again to receive the packet from device broadcasts, until the packet received carries the targeted scans parameter information of target main equipment.
S503, from packet, extract targeted scans parameter information and object control information.
S504, judge that whether the sweep parameter information of self is consistent with targeted scans parameter information, if not, perform step S505, if so, process ends.
In the embodiment of the present invention, all main equipments all can receive the packet from device broadcasts, if main equipment (as target main equipment) judges that the sweep parameter information of self is consistent with targeted scans parameter information, now just step S505 need not be performed, if inconsistent, just perform step S505.
S505, according to targeted scans parameter information and object control information, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.
S506, the data in packet to be processed.
In the embodiment of the present invention, main equipment receive packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information after, just can stop scanning and processing the data received.
In the method flow described by Fig. 5, main equipment receives the packet from device broadcasts and after judging to carry target component information this packet, just can extract targeted scans parameter information and object control information from packet, the sweep parameter information of further judgement self and targeted scans parameter information inconsistent after, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information, to receive the packet from device broadcasts according to targeted scans parameter information.Visible, main equipment the sweep parameter information of self is adjusted to consistent with targeted scans parameter information after, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Refer to Fig. 6, Fig. 6 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention, wherein, this terminal can as performing the data transmission method shown in above-mentioned Fig. 2 ~ Fig. 3 from equipment in system shown in Figure 1 framework, as shown in Figure 6, this terminal 600 can comprise: acquiring unit 601 and radio unit 602, wherein:
Acquiring unit 601, for obtaining the targeted scans parameter information of target main equipment.
In the embodiment of the present invention, targeted scans parameter information can comprise sweep spacing (ScanInterval) time and scanning window (Scanwin) time and start sweep time, wherein, sweep spacing (ScanInterval) time is two intervals connecting scan event (scanning window) time started, scanning window (Scanwin) time is the time for scanning work (namely receiving data) in a sweep spacing, starts the time started that sweep time is main equipment first time scanning.The General Requirements scanning window time is less than sweep interval, allows other wireless module (as WLAN and LTE) in main equipment share Radio Resource to reserve a period of time.
Radio unit 602, for according to targeted scans parameter information, broadcast data packet; Wherein, this packet comprises targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.
In the embodiment of the present invention, from the supplier that equipment 600 is target datas, based on BLE broadcast technology (without connecting), target data is broadcast to multiple main equipment, this target data can be ad data, also can be other data (positional informations, temperature etc. as from equipment place factory building), the embodiment of the present invention is not construed as limiting, and wherein, this target data broadcasts away with the form of packet.Wherein, in this packet above-mentioned, there is a reserved location, be specifically designed to other self-defined informations (as targeted scans parameter information) stored except target data.The targeted scans parameter information of target main equipment is added to the reserved location of packet, just can generate the packet carrying targeted scans parameter information.
In the embodiment of the present invention, radio unit 602 is according to targeted scans parameter information, and the specific implementation of broadcast data packet can be:
According to sweep interval and scanning time started, determine the target scan start time of target main equipment, when target scan start time arrives, broadcast data packet.
For example, according to sweep interval and scanning time started, just the target scan start time of target main equipment when scanning for the N time can be gone out by formulae discovery, as: NTScan_start=TScan_start+ (N-1) * ScanInterval, wherein, N >=1.Suppose that N be 3, TScan_start is 8 a.m., ScanInterval is 30min, then the time started that can calculate main equipment the 3rd scanning by formula is point in the morning 9.
In the embodiment of the present invention, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information by all the other main equipments, two kinds of adjustment modes can be comprised, the first: the sweep parameter information of self is adjusted to identical with targeted scans parameter information (i.e. sweep interval and scanning window time and scan the time started all identical) by other main equipment; The second, the sweep interval of self is adjusted to the n of the sweep interval of target main equipment doubly by other main equipment, but the scanning window time and the scanning time started identical with target main equipment.Like this, multiple main equipment can enter at one time or leave scanning window, and namely all main equipments can receive the packet from device broadcasts at one time, and only needs to broadcast a packet during the scanning window of main equipment from equipment.
Described by Fig. 6 from equipment, after acquiring unit 601 gets the targeted scans parameter information of target main equipment, just can by radio unit 602 according to targeted scans parameter information, broadcast data packet; Wherein, this packet comprises targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Visible, when needing to multiple master transmissions data from equipment 600, just can carry out broadcast data packet with targeted scans parameter information, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Refer to Fig. 7, Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention, wherein, this terminal can as performing the data transmission method shown in above-mentioned Fig. 2 ~ Fig. 3 from equipment in system shown in Figure 1 framework, as shown in Figure 7, this terminal 700 can comprise: acquiring unit 701, first judging unit 702, radio unit 703, wherein:
Acquiring unit 701, for obtaining the targeted scans parameter information of target main equipment.
In the embodiment of the present invention, targeted scans parameter information can comprise sweep spacing (ScanInterval) time and scanning window (Scanwin) time and start sweep time, wherein, sweep spacing (ScanInterval) time is two intervals connecting scan event (scanning window) time started, scanning window (Scanwin) time is the time for scanning work (namely receiving data) in a sweep spacing, starts the time started that sweep time is main equipment first time scanning.The General Requirements scanning window time is less than sweep interval, allows other wireless module (as WLAN and LTE) in main equipment share Radio Resource to reserve a period of time.
First judging unit 702, judges whether the data in packet except targeted scans parameter information and object control information exist renewal.
In the embodiment of the present invention, above-mentioned packet is packet to be broadcast, data in this packet to be broadcast except targeted scans parameter information and object control information can be ad data, also can be other data (as positional information, temperature etc.), the embodiment of the present invention be not construed as limiting.
Radio unit 703, for when the judged result of the first judging unit 702 is for being, according to targeted scans parameter information, broadcast data packet.
In the embodiment of the present invention, from the supplier that equipment 700 is target datas, based on BLE broadcast technology (without connecting), target data is broadcast to multiple main equipment, this target data can be ad data, also can be other data (positional informations, temperature etc. as from equipment place factory building), the embodiment of the present invention is not construed as limiting, and wherein, this target data broadcasts away with the form of packet.Above-mentioned packet can also comprise targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Wherein, in this packet, there is a reserved location, be specifically designed to other self-defined informations (as targeted scans parameter information) stored except target data.The targeted scans parameter information of target main equipment is added to the reserved location of packet, just can generate the packet carrying targeted scans parameter information.
In the embodiment of the present invention, radio unit 703 is according to targeted scans parameter information, and the specific implementation of broadcast data packet can be:
According to sweep interval and scanning time started, determine the target scan start time of target main equipment, when target scan start time arrives, broadcast data packet.
For example, according to sweep interval and scanning time started, just the target scan start time of target main equipment when scanning for the N time can be gone out by formulae discovery, as: NTScan_start=TScan_start+ (N-1) * ScanInterval, wherein, N >=1.Suppose that N be 3, TScan_start is 8 a.m., ScanInterval is 30min, then the time started that can calculate main equipment the 3rd scanning by formula is point in the morning 9.
In the embodiment of the present invention, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information by all the other main equipments, two kinds of adjustment modes can be comprised, the first: the sweep parameter information of self is adjusted to identical with targeted scans parameter information (i.e. sweep interval and scanning window time and scan the time started all identical) by other main equipment; The second, the sweep interval of self is adjusted to the n of the sweep interval of target main equipment doubly by other main equipment, but the scanning window time and the scanning time started identical with target main equipment.Like this, multiple main equipment can enter at one time or leave scanning window, and namely all main equipments can receive the packet from device broadcasts at one time, and only needs to broadcast a packet during the scanning window of main equipment from equipment.
As the optional execution mode of one, can also comprise from equipment 700 shown in Fig. 7:
Dormancy unit 704, when the data for judging in packet except targeted scans parameter information and object control information at the first judging unit 702 do not exist renewal, enters park mode.
As the optional execution mode of one, can also comprise from equipment 700 shown in Fig. 7:
Detecting unit 705, at radio unit 703 according to targeted scans parameter information, after broadcast data packet, detect and whether receive scan request in Preset Time, this scan request sends associated data associated with the data for asking.
In this inventive embodiments, radio unit 703 is after going out data packet broadcast, the scan request whether receiving main equipment and send can also be detected in Preset Time by detecting unit 705, this scan request sends the associated data relevant to the data in packet for asking, wherein, this Preset Time can be that can be also the user-defined time, the embodiment of the present invention be not construed as limiting from the device systems acquiescence volume stand-by period.
Second judging unit 706, for when detecting unit 705 receives scan request in Preset Time, resolves scan request, and judges whether data exist relevant associated data.
In this inventive embodiments, if need the data of broadcast very large, due to the limited memory of packet, just all data all cannot be added into the disposable broadcast of packet from equipment 700 and go out.If detecting unit 705 detects the scan request receiving main equipment and send in Preset Time, just the associated data relevant to these data can be broadcasted away again.
Above-mentioned radio unit 703, time also for judging that at the second judging unit 706 data exist relevant data, according to targeted scans parameter information, broadcast carries the packet of associated data.
In this inventive embodiments, from equipment 700, associated data and targeted scans parameter information are added to packet again, then determined the time of broadcasting by radio unit 703 according to targeted scans parameter information, when this time arrives, the data packet broadcast carrying associated data is gone out.
Described by Fig. 7 from equipment, the targeted scans parameter information of target main equipment is obtained by acquiring unit 701, further, judge that the data except targeted scans parameter information and object control information are deposited in the updated at the first judging unit 702, just by radio unit 703 according to targeted scans parameter information, broadcast data packet, if detecting unit 705 is after Preset Time detects the scan request that main equipment sends and further second judging unit 706 judges that these data exist associated data, again by radio unit 703, the data packet broadcast carrying associated data is gone out, wherein, this packet comprises targeted scans parameter information and object control information, and this object control information is used to indicate all the other main equipments except target main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information.Visible, when from equipment need to multiple master transmissions more new data time, just can carry out broadcast data packet with targeted scans parameter information, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Refer to Fig. 8, Fig. 8 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention, and as shown in Figure 8, this terminal 800 can comprise: at least one processor 801, as CPU, input unit 802, output device 803, memory 804 and at least one communication bus 805.Wherein, communication bus 805 is for realizing the communication connection between these assemblies.Memory 804 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Alternatively, memory 804 can also be that at least one is positioned at the storage device away from aforementioned processor 801.Wherein, processor 801 can described by composition graphs 6 and Fig. 7 from equipment, store batch processing code in memory 804, and processor 801 calls the program code stored in memory 804, for performing following operation:
The targeted scans parameter information of target main equipment is obtained by input unit 802;
By output device 803 according to described targeted scans parameter information, broadcast data packet; Wherein, described packet comprises described targeted scans parameter information and object control information, and described object control information is used to indicate all the other main equipments except described target main equipment receiving described packet and the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information.
As the optional execution mode of one, processor 801 calls the program code stored in memory 804, after obtaining the targeted scans parameter information of target main equipment, and described according to described targeted scans parameter information, before broadcast data packet, following operation can also be performed:
Judge whether the data in described packet except described targeted scans parameter information and described object control information exist renewal;
If the determination result is YES, then by output device 803 according to described targeted scans parameter information, broadcast data packet.
As the optional execution mode of one, processor 801 calls the program code stored in memory 804, can also perform following operation:
If judge there is not renewal in the data in described packet except described targeted scans parameter information and described object control information, then enter park mode.
As the optional execution mode of one, described targeted scans parameter information comprises sweep interval and scanning time started, and processor 801 calls the program code stored in memory 804, and according to described targeted scans parameter information, broadcast data packet, comprising:
According to described sweep interval and described scanning time started, determine the target scan start time of described target main equipment, when target scan start time arrives, broadcast data packet.
As the optional execution mode of one, processor 801 calls the program code stored in memory 804, according to described targeted scans parameter information, after broadcast data packet, can also perform following operation:
Detect and whether receive scan request in Preset Time, described scan request sends the associated data relevant to described data for asking;
If detect and receive described scan request in Preset Time, then resolve described scan request, and judge whether described data exist relevant associated data;
If judge there are relevant data in described data, then according to described targeted scans parameter information, broadcast carries the packet of described associated data.
Refer to Fig. 9, Fig. 9 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention; Wherein, this terminal performs the data transmission method shown in above-mentioned Fig. 4 ~ Fig. 5 as the main equipment in system shown in Figure 1 framework, and as shown in Figure 9, this terminal 900 can comprise: receiving element 901, extraction unit 902 and adjustment unit 903, wherein:
Receiving element 901, for receiving the packet from device broadcasts.
In the embodiment of the present invention, receiving element 901 receives the packet from device broadcasts, carries target data in this packet.Should be the supplier of target data from equipment, based on BLE broadcast technology (without connecting), target data is broadcast to multiple main equipment, this target data can be ad data, also can be other data (as positional information, temperature etc.), the embodiment of the present invention is not construed as limiting, wherein, this target data broadcasts away with the form of packet.
In the embodiment of the present invention, above-mentioned packet also comprises targeted scans parameter information, and this targeted scans parameter information is the targeted scans parameter information of target main equipment.Wherein, this targeted scans parameter information can comprise sweep spacing (ScanInterval) time and scanning window (Scanwin) time and start sweep time, wherein, sweep spacing (ScanInterval) time is two intervals connecting scan event (scanning window) time started, scanning window (Scanwin) time is the time for scanning work (namely receiving data) in a sweep spacing, starts the time started that sweep time is main equipment first time scanning.The General Requirements scanning window time is less than sweep interval, allows other wireless module (as WLAN and LTE) in main equipment share Radio Resource to reserve a period of time.
In the embodiment of the present invention, it is scan with the sweep parameter information of self acquiescence that receiving element 901 receives from the packet of device broadcasts, the sweep parameter information of main equipment self acquiescence is consistent with the targeted scans parameter information possibility of target main equipment also may be inconsistent, when inconsistent, main equipment needs the scanning window time of constantly adjustment self, to receive the packet from device broadcasts.
Extraction unit 902, for extracting targeted scans parameter information and object control information from packet, wherein, this targeted scans parameter information is the targeted scans parameter information of target main equipment.
In the embodiment of the present invention, this object control information is used to indicate the main equipment receiving packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information, wherein, there is a reserved location in this packet, be specifically designed to other self-defined informations (as targeted scans parameter information) stored except target data.Main equipment after reception of the data packet, just can extract targeted scans parameter information from the reserved location packet.
As the optional execution mode of one, above-mentioned receiving element 901, specifically for receiving multiple multiple packets from device broadcasts;
Said extracted unit 902, comprising:
Extract subelement 9021, for extracting sweep parameter information and control information respectively from each packet;
Receive subelement 9022, for receiving the selection instruction of user for the arbitrary sweep parameter information in extracted sweep parameter information;
Response subelement 9023, for responding described selection instruction, using by the sweep parameter information selected as targeted scans parameter information, and using by control information corresponding to the sweep parameter information selected as object control information.
In this embodiment, after extraction subelement 9021 extracts sweep parameter information and control information respectively from each packet, can further extracted sweep parameter information display out, receive subelement 9022 and just can receive the selection instruction of user for the arbitrary sweep parameter information in the sweep parameter information displayed, response subelement 9023 just can respond selection instruction, sweep parameter information user selected is as targeted scans parameter information, and using by control information corresponding to the sweep parameter information selected as object control information, that is: the control information comprised by the packet at targeted scans parameter information place is as object control information.Above-mentioned selection instruction can be triggered for the mode of the some sweep parameter information in extracted sweep parameter information by user click or double-click.
Adjustment unit 903, for according to targeted scans parameter information and object control information, is adjusted to consistent with targeted scans parameter information by the sweep parameter information of self.
In the embodiment of the present invention, after extraction unit 902 extracts targeted scans parameter information and object control information, adjustment unit 903 just can according to targeted scans parameter information and object control information, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information, to receive the packet from device broadcasts according to targeted scans parameter information.
In the embodiment of the present invention, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information by adjustment unit 903, two kinds of adjustment modes can be comprised, the first: the sweep parameter information of self is adjusted to identical with targeted scans parameter information (i.e. sweep interval and scanning window time and scan the time started all identical) by other main equipment; The second, the sweep interval of self is adjusted to the n of the sweep interval of target main equipment doubly by other main equipment, but the scanning window time and the scanning time started identical with target main equipment.Like this, multiple main equipment can enter at one time or leave scanning window, and namely all main equipments can receive the packet from device broadcasts at one time, and only needs to broadcast a packet during the scanning window of main equipment from equipment.
In the main equipment described by Fig. 9, after receiving element 901 receives the packet from device broadcasts, just can extract targeted scans parameter information and object control information by extraction unit 902 from packet, and by adjustment unit 903 according to targeted scans parameter information and object control information, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information, to receive the packet from device broadcasts according to targeted scans parameter information.Visible, main equipment the sweep parameter information of self is adjusted to consistent with targeted scans parameter information after, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Refer to Figure 10, Figure 10 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention; Wherein, this terminal performs the data transmission method shown in above-mentioned Fig. 4 ~ Fig. 5 as the main equipment in system shown in Figure 1 framework, as shown in Figure 10, this terminal 1000 can comprise: receiving element 1001, judging unit 1002, extraction unit 1003 and adjustment unit 1004, wherein:
Receiving element 1001, for receiving the packet from device broadcasts.
Judging unit 1002, for judging whether described packet carries the targeted scans parameter information of described target main equipment.
In the embodiment of the present invention, judging unit 1002 judges whether the reserved location in the packet that receiving element 1001 receives carries the targeted scans parameter information of target main equipment, if have, then illustrate that the packet that receiving element 1001 receives is effective packet, otherwise, receiving element 1001 needs again to receive the packet from device broadcasts, until the packet received carries the targeted scans parameter information of target main equipment.
Extraction unit 1003, for when the judged result of described judging unit 1002 is for being, extracts targeted scans parameter information and object control information from described packet.
Described judging unit 1002, also for after extracting targeted scans parameter information at described extraction unit 1003 from described packet, judges that whether the sweep parameter information of self is consistent with described targeted scans parameter information.
Adjustment unit 1004, for when the judged result of described judging unit 1002 is no, according to targeted scans parameter information and object control information, is adjusted to consistent with described targeted scans parameter information by the sweep parameter information of self.
As the optional execution mode of one, the main equipment 1000 shown in Figure 10 can also comprise:
Processing unit 1005, at adjustment unit 1004, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information after, the data in packet are processed.
In the embodiment of the present invention, main equipment receive packet and the sweep parameter information of self is adjusted to consistent with targeted scans parameter information after, just can stop scanning and processing the data received.
In the main equipment described by Figure 10, receiving element 1001 receives the packet from device broadcasts and after judging to carry target component information this packet by judging unit 1002, just can extract targeted scans parameter information and object control information by extraction unit 1003 from packet, further by judging unit 1002 judge self sweep parameter information and targeted scans parameter information inconsistent after, by adjustment unit 1004, the sweep parameter information of self is adjusted to consistent with targeted scans parameter information, to receive the packet from device broadcasts according to targeted scans parameter information.Visible, main equipment the sweep parameter information of self is adjusted to consistent with targeted scans parameter information after, multiple like this main equipment just can enter same scanning mode at one time, thus multiple main equipment just can receive the same packet from device broadcasts in same scanning window, while guarantee transfer of data, decrease the airtime, thus the power consumption from equipment can be reduced.
Refer to Figure 11, Figure 11 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention, and as shown in figure 11, this terminal 1100 can comprise: at least one processor 1101, as CPU, input unit 1102, memory 1103 and at least one communication bus 1104.Wherein, communication bus 1104 is for realizing the communication connection between these assemblies.Memory 1103 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Alternatively, memory 1103 can also be that at least one is positioned at the storage device away from aforementioned processor 1101.Wherein, processor 1101 can composition graphs 9 and the main equipment described by Figure 10, stores batch processing code in memory 1103, and processor 1101 calls the program code stored in memory 1103, for performing following operation:
The packet from device broadcasts is received by input unit 1102;
From described packet, extract targeted scans parameter information and object control information, wherein, described targeted scans parameter information is the targeted scans parameter information of target main equipment;
According to described targeted scans parameter information and described object control information, the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information.
As the optional execution mode of one, processor 1101 calls the program code stored in memory 1103, is received specifically can comprise from the packet of device broadcasts by input unit 1102:
Multiple multiple packets from device broadcasts are received by input unit 1102;
Processor 1101 calls the program code stored in memory 1103, and the specific implementation extracting targeted scans parameter information from described packet can comprise following operation:
Sweep parameter information and control information is extracted respectively from each packet;
Receive the selection instruction of user for the arbitrary sweep parameter information in extracted sweep parameter information;
Respond described selection instruction, using by the sweep parameter information selected as targeted scans parameter information, and using the described control information corresponding by the sweep parameter information selected as object control information.
As the optional execution mode of one, processor 1101 calls the program code stored in memory 1103, receive from after the packet of device broadcasts, and extract targeted scans parameter information and object control information from described packet before, following operation can also be performed:
Judge whether described packet carries the targeted scans parameter information of described target main equipment;
If the determination result is YES, then from described packet, extract the step of targeted scans parameter information and object control information described in execution.
As the optional execution mode of one, processor 1101 calls the program code stored in memory 1103, extract targeted scans parameter information and object control information from described packet after, and it is described according to described targeted scans parameter information and described object control information, the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information before, following operation can also be performed:
Judge that whether the sweep parameter information of self is consistent with described targeted scans parameter information;
If judged result is no, then performs described according to described targeted scans parameter information and described object control information, the sweep parameter information of self is adjusted to the step consistent with described targeted scans parameter information.
As the optional execution mode of one, processor 1101 calls the program code stored in memory 1103, according to described targeted scans parameter information and described object control information, the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information after, following operation can also be performed:
Data in described packet are processed.
It should be noted that, for each embodiment of the method aforesaid, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, certain some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and unit might not be that the application is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a terminal, is characterized in that, comprising:
Acquiring unit, for obtaining the targeted scans parameter information of target main equipment;
Radio unit, for according to described targeted scans parameter information, broadcast data packet; Wherein, described packet comprises described targeted scans parameter information and object control information, and described object control information is used to indicate all the other main equipments except described target main equipment receiving described packet and the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information.
2. terminal according to claim 1, is characterized in that, described terminal also comprises:
First judging unit, after obtaining the targeted scans parameter information of target main equipment at described acquiring unit, and described radio unit is according to described targeted scans parameter information, before broadcast data packet, judge whether the data in described packet except described targeted scans parameter information and described object control information exist renewal;
Described radio unit, specifically for when the judged result of described first judging unit is for being, according to described targeted scans parameter information, broadcast data packet.
3. terminal according to claim 2, is characterized in that, described terminal also comprises:
Dormancy unit, when the data for judging in described packet except described targeted scans parameter information and described object control information at described first judging unit do not exist renewal, enters park mode.
4. terminal according to claims 1 to 3, is characterized in that, described targeted scans parameter information comprises sweep interval and scanning time started, and described radio unit is according to described targeted scans parameter information, and the specific implementation of broadcast data packet is:
According to described sweep interval and described scanning time started, determine the target scan start time of described target main equipment, when target scan start time arrives, broadcast data packet.
5. terminal according to claim 1, is characterized in that, described terminal also comprises:
Detecting unit, at described radio unit according to described targeted scans parameter information, after broadcast data packet, detect and whether receive scan request in Preset Time, described scan request sends the associated data relevant to described data for asking;
Second judging unit, for when described detecting unit receives described scan request in Preset Time, resolves described scan request, and judges whether described data exist relevant associated data;
Described radio unit, time also for judging that at described second judging unit described data exist relevant data, according to described targeted scans parameter information, broadcast carries the packet of described associated data.
6. a terminal, is characterized in that, comprising:
Receiving element, for receiving the packet from device broadcasts;
Extraction unit, for extracting targeted scans parameter information and object control information from described packet, wherein, described targeted scans parameter information is the targeted scans parameter information of target main equipment;
Adjustment unit, for according to described targeted scans parameter information and described object control information, is adjusted to consistent with described targeted scans parameter information by the sweep parameter information of self.
7. terminal according to claim 6, is characterized in that,
Described receiving element, specifically for receiving multiple multiple packets from device broadcasts;
Described extraction unit, comprising:
Extract subelement, for extracting sweep parameter information and control information respectively from each packet;
Receive subelement, for receiving the selection instruction of user for the arbitrary sweep parameter information in extracted sweep parameter information;
Response subelement, for responding described selection instruction, using by the sweep parameter information selected as targeted scans parameter information, and using the described control information corresponding by the sweep parameter information selected as object control information.
8. terminal according to claim 6, is characterized in that, described terminal also comprises:
Judging unit, for receive the packet from device broadcasts at described receiving element after, and before described extraction unit extracts targeted scans parameter information and object control information from described packet, judge whether described packet carries the targeted scans parameter information of described target main equipment;
Described extraction unit, specifically for when the judged result of described judging unit is for being, extracts targeted scans parameter information and object control information from described packet.
9. terminal according to claim 8, is characterized in that,
Described judging unit, also for after extracting targeted scans parameter information and object control information at described extraction unit from described packet, and described adjustment unit is according to described targeted scans parameter information and described object control information, the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information before, judge that whether the sweep parameter information of self consistent with described targeted scans parameter information;
Described adjustment unit, specifically for when the judged result of described judging unit is no, according to described targeted scans parameter information and described object control information, is adjusted to consistent with described targeted scans parameter information by the sweep parameter information of self.
10. terminal according to claim 9, is characterized in that, described terminal also comprises:
Processing unit, at described adjustment unit, the sweep parameter information of self is adjusted to consistent with described targeted scans parameter information after, the data in described packet are processed.
CN201510178443.4A 2015-04-15 2015-04-15 A kind of terminal Active CN104918307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510178443.4A CN104918307B (en) 2015-04-15 2015-04-15 A kind of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510178443.4A CN104918307B (en) 2015-04-15 2015-04-15 A kind of terminal

Publications (2)

Publication Number Publication Date
CN104918307A true CN104918307A (en) 2015-09-16
CN104918307B CN104918307B (en) 2019-05-14

Family

ID=54086906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510178443.4A Active CN104918307B (en) 2015-04-15 2015-04-15 A kind of terminal

Country Status (1)

Country Link
CN (1) CN104918307B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836955A (en) * 2021-08-20 2021-12-24 青岛中科英泰商用系统股份有限公司 Output configuration method and system for scanning gun, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346194A (en) * 2000-10-04 2002-04-24 索尼公司 Telecommunication system, equipment and method adopting multplex communication network
CN1373945A (en) * 1999-09-08 2002-10-09 诺基亚公司 Freqency synchronization of base station
US20060154691A1 (en) * 2005-01-13 2006-07-13 Oki Techno Centre (Singapore) Pte Ltd Architecture and protocol for software defined radio system
CN101047776A (en) * 2006-04-17 2007-10-03 华为技术有限公司 Mobile broadcast network system and method for implementing synchronous of the network
US20080109302A1 (en) * 2006-11-08 2008-05-08 Nokia Corporation Connectionless information transfer from advertising device
US20130090061A1 (en) * 2011-10-05 2013-04-11 Apple Inc. Low power wireless device discovery

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373945A (en) * 1999-09-08 2002-10-09 诺基亚公司 Freqency synchronization of base station
CN1346194A (en) * 2000-10-04 2002-04-24 索尼公司 Telecommunication system, equipment and method adopting multplex communication network
US20060154691A1 (en) * 2005-01-13 2006-07-13 Oki Techno Centre (Singapore) Pte Ltd Architecture and protocol for software defined radio system
CN101047776A (en) * 2006-04-17 2007-10-03 华为技术有限公司 Mobile broadcast network system and method for implementing synchronous of the network
US20080109302A1 (en) * 2006-11-08 2008-05-08 Nokia Corporation Connectionless information transfer from advertising device
US20130090061A1 (en) * 2011-10-05 2013-04-11 Apple Inc. Low power wireless device discovery

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836955A (en) * 2021-08-20 2021-12-24 青岛中科英泰商用系统股份有限公司 Output configuration method and system for scanning gun, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104918307B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN104471987B (en) For the system and method that the AP of FILS beacons is used to find
CN104901724A (en) Data transmission method
CN109246723B (en) Configuration method of discontinuous reception parameters, terminal and network side equipment
CN104768123A (en) Bluetooth connection method, device and system
EP2559313B1 (en) Method and device of managing mtc devices in a mtc network environment
US10595272B2 (en) Activation system information transmission method, apparatus, and device
CN105371850A (en) Route navigation method and mobile terminal
CN104936211A (en) Wireless resource distribution method
CN105072565A (en) Data transmission method and associated equipment
EP3664521B1 (en) Method of monitoring rar, method of sending rar, device thereof and system
EP3285508A1 (en) Obtaining and determining method of system message and terminal device thereof
EP2805549B1 (en) Wireless scan and advertisement in electronic devices background
US10499423B2 (en) Channel allocation system and method for accommodating multiple nodes in sensor network
CN112312565B (en) Communication processing method, device, apparatus and storage medium
CN104918307A (en) Terminal
EP3018969A1 (en) Communication terminal, communication method, and program
CN112423236B (en) Terminal equipment identification method and device and storage medium
CN112788658A (en) Data sharing method of communication equipment, communication equipment and storage medium
CN104837208A (en) Terminal
CN105052220A (en) Signaling a synchronization frame transmisssion request
WO2023056929A1 (en) Quasi-colocation downlink rs determination method and apparatus, and terminal
WO2022088191A1 (en) Communication method and apparatus, and electronic device and storage medium
CN117479266A (en) Network searching method and device and electronic equipment
CN116347429A (en) Wireless personal area network cascading method, system and storage medium
CN107734605B (en) Method and apparatus for resource management in a communication 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210224

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.