CN104615016A - Low-power-consumption Bluetooth technology based host control method and device - Google Patents

Low-power-consumption Bluetooth technology based host control method and device Download PDF

Info

Publication number
CN104615016A
CN104615016A CN201410739898.4A CN201410739898A CN104615016A CN 104615016 A CN104615016 A CN 104615016A CN 201410739898 A CN201410739898 A CN 201410739898A CN 104615016 A CN104615016 A CN 104615016A
Authority
CN
China
Prior art keywords
main frame
machine
blue tooth
moment
wireless blue
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
CN201410739898.4A
Other languages
Chinese (zh)
Other versions
CN104615016B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410739898.4A priority Critical patent/CN104615016B/en
Publication of CN104615016A publication Critical patent/CN104615016A/en
Application granted granted Critical
Publication of CN104615016B publication Critical patent/CN104615016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses low-power-consumption Bluetooth technology based host control method and device. The method comprises the steps of starting the monitoring function of a slave when the monitoring time comes; performing lock synchronizing with a host based on the clock information in a synchronizing data packet while the synchronizing data packet from the host is monitored; sending a response data packet corresponding to the synchronizing data packet to the host; closing the monitoring function by the slave when a control instruction input by a user for the host is not stored in the slave; starting the monitoring function when the next monitoring time comes, wherein the next monitoring time is the time from the beginning of the previous monitoring time to m preset connecting interval T; n is the preset times that the slave ignores the preset connection intervals T. With the adoption of the method, the monitoring function can be started by the slave only when the monitoring time comes, thus the power consumption of the slave controlling the host can be enhanced, and as a result, the service time of a battery in the host can be prolonged.

Description

A kind of method based on low-power consumption Bluetooth technology main control system and device
Technical field
The present invention relates to low-power consumption Bluetooth technology field, be specifically related to a kind of method based on low-power consumption Bluetooth technology main control system and device.
Background technology
Current, owing to having the advantage of low-power consumption, low-power consumption bluetooth (BLE, Bluetooth Low Energy) technology is applied in increasing controller, and the controller (also known as " from machine ") being undertaken being connected by terminals (also known as " main frame ") such as BLE technology and mobile phones is also more and more universal.In actual applications, user is when using from machine main control system, main frame must keep being connected with from the wireless blue tooth between machine, namely every one connect interval T from machine will open monitor function and monitor main frame send synchronization packets, when being connected with validity (namely wireless blue tooth connects for effectively connection) to main frame transmission response data packet with what indicate wireless blue tooth to connect after the synchronization packets listening to main frame transmission from machine, this process is called from the connection event between machine and main frame.User is exactly the operation responding user in time for the most important experience from machine, and in order to ensure the operation responding user from machine in time, connecting interval T need shorten as far as possible.But, without the need to during to main frame sending controling instruction, still can occur from the connection event between machine and main frame, which results in from the power consumption of machine excessive, shorten the service time of battery from machine.
Summary of the invention
The embodiment of the invention discloses a kind of method based on low-power consumption Bluetooth technology main control system and device, can reduce from power consumption during machine main control system.
Embodiment of the present invention first aspect discloses a kind of method based on low-power consumption Bluetooth technology main control system, comprising:
From machine when detecting that monitoring the moment arrives, open monitor function;
When listening to the first synchronization packets that main frame sends, described from machine with the clock information described first synchronization packets for according to carrying out clock synchronous with described main frame, and sending the response data packet for described first synchronization packets to described main frame, described main frame is set up from machine the main frame that wireless blue tooth is connected with described in advance;
When described do not store from machine user input the first steering order for described main frame time, describedly close described monitor function from office, and open described monitor function when detecting that the next monitoring moment arrives, it was from a upper monitoring moment, through m the default moment connected after interval T that the described next one monitors the moment, described m is the integer being more than or equal to 1 and being less than or equal to n+1, and described n is the described number of times ignoring described default connection interval T from machine pre-set.
Embodiment of the present invention second aspect discloses a kind of from machine, describedly comprises detecting unit, monitor function control module, lock unit and the first communication unit from machine, wherein:
Whether described detecting unit, arrived for the Anti-Sniffer moment;
Described monitor function control module, during for detecting that when described detecting unit monitoring the moment arrives, opens monitor function;
Described lock unit, for when described from machine listen to main frame send the first synchronization packets time, with the clock information in described first synchronization packets for according to carrying out clock synchronous with described main frame, described main frame is set up from machine the main frame that wireless blue tooth is connected with described in advance;
Described first communication unit, for sending the response data packet for described first synchronization packets to described main frame;
Described monitor function control module, also for when described do not store from machine user input the first steering order for described main frame time, close described monitor function;
Whether described detecting unit, also arrive for detecting the next monitoring moment;
Described monitor function control module, time also for detecting that when described detecting unit the next monitoring moment arrives, open described monitor function, it was from a upper monitoring moment, through m the default moment connected after interval T that the described next one monitors the moment, described m is the integer being more than or equal to 1 and being less than or equal to n+1, and described n is the described number of times ignoring described default connection interval T from machine pre-set.
In the embodiment of the present invention, monitor function is opened when monitoring moment arrival from machine, and when listening to the synchronization packets that main frame sends with the clock information in synchronization packets for according to carrying out clock synchronous with main frame, and send the response data packet for synchronization packets to main frame, when not storing the steering order for main frame of user's input from machine, monitor function is closed from office, and open monitor function when detecting that the next monitoring moment arrives, wherein, the next monitoring moment is for from a upper monitoring moment, the moment connected after interval T is preset through m, n is the number of times ignoring default connection interval T from machine pre-set.Implementing the embodiment of the present invention can make only to open monitor function when monitoring moment arrival from machine, reducing from power consumption during machine main control system, extending the service time of battery from machine.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only 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 schematic flow sheet of a kind of method based on low-power consumption Bluetooth technology main control system disclosed in the embodiment of the present invention;
Fig. 2 is the disclosed another kind of schematic flow sheet based on the method for low-power consumption Bluetooth technology main control system of the embodiment of the present invention;
Fig. 3 is the embodiment of the present invention another schematic flow sheet based on the method for low-power consumption Bluetooth technology main control system disclosed;
Fig. 4 is a kind of structural representation from machine disclosed in the embodiment of the present invention;
Fig. 5 is the disclosed another kind of structural representation from machine of 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 only 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 method based on low-power consumption Bluetooth technology main control system and device, can making only to open monitor function when monitoring moment arrival from machine, reducing from power consumption during machine main control system, extending the service time of battery from machine.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of method based on low-power consumption Bluetooth technology main control system disclosed in the embodiment of the present invention.As shown in Figure 1, the method can comprise the following steps:
S101, from machine detect monitor the moment arrive time, open monitor function.
In the embodiment of the present invention, set up wireless blue tooth with main frame in advance from machine to be connected, first time with main frame set up wireless blue tooth be connected time, clock synchronous is carried out from machine and main frame, and start the Anti-Sniffer moment and whether arrive, when detecting that monitoring the moment arrives, open monitor function from machine, the synchronization packets that this monitor function sends for monitoring main frame.
S102, when listening to the synchronization packets that main frame sends, from machine with the clock information synchronization packets for according to carrying out clock synchronous with main frame.
S103, to send for the response data packet of synchronization packets from machine to main frame.
In the embodiment of the present invention, sending response data packet from machine to main frame, being connected for effectively connecting from the wireless blue tooth between machine with main frame to indicate.
S104, when do not store from machine user input the steering order for main frame time, close monitor function from office.
In the embodiment of the present invention, when storing the steering order for main frame of user's input from machine, first connected by wireless blue tooth from prow and steering order is sent to main frame, the Action Events corresponding with steering order is performed to make main frame, then, monitor function is closed, to save the power consumption from machine from office.
S106, from machine detect next monitor the moment arrive time open monitor function.
In the embodiment of the present invention, the next monitoring moment is from upper monitoring moment (the monitoring moment namely detected in step S101), presets through m the moment connected after interval T, wherein, m is the integer being more than or equal to 1 and being less than or equal to n+1, and n is the number of times ignoring default connection interval T from machine pre-set.
In the embodiment of the present invention, when m is less than n+1, then from machine from one monitor moment (the monitoring moment namely detected in step S101), through the first moment after m-1 default connection interval T to from upper monitoring moment (the monitoring moment namely detected in step S101), within the time period that m is preset the second moment connected after interval T, the steering order for main frame of user's input is received from machine, and initiate the moment of next connection event (namely monitoring the moment from upper one at main frame, the moment connected after interval T is preset through m) open monitor function, and listen to main frame send synchronization packets time and main frame carry out clock synchronous, and steering order is sent to main frame by wireless blue tooth connection.
In the embodiment of the present invention, from machine with all store main frame preset be connected interval T, and after carrying out clock synchronous from machine and main frame, main frame with from machine all timing, when connection interval T is preset in main frame timing, main frame sends synchronization packets to from machine, after presetting connection interval T from machine timing, if do not receive the steering order for main frame of user's input in default connection interval T, then do not open the monitor function from machine from machine, namely the synchronization packets that main frame sends is ignored, if preset from the continuous n of machine after once monitoring the moment the steering order for main frame connecting and do not receive user's input in interval T, monitor function is closed after then monitoring the moment at above-mentioned one, and within ensuing n time period of presetting to connect interval T, keep the closed condition of monitor function always, and from the above-mentioned once monitoring moment, presetting the moment after connecting interval T through n+1 is from the machine new monitoring moment once, monitor function is reopened in this new monitoring moment once from machine.
Optionally, if do not hear synchronization packets in the above-mentioned new monitoring moment once, then from this new monitoring moment once, within continuous h time period of presetting to connect interval T, every timing one is preset and is connected interval T, all monitor function can be opened from machine, if within continuous h time period of presetting to connect interval T, all synchronization packets is not heard from each moment that monitor function opened by machine, then assert that the wireless blue tooth between main frame is connected for invalid connection from machine, wherein, (n+1+h) * T equal the maximum time interval not hearing synchronization packets that pre-sets from machine and h be more than or equal to 0 integer.When assert that wireless blue tooth connects for invalid connection from machine, can be connected by the wireless blue tooth initiatively re-established between main frame from machine, also can export for pointing out the user radio bluetooth information that connection is invalid connection to user, determine whether to re-establish to be connected from the wireless blue tooth between machine with main frame according to self-demand to make user, optionally, information can be any one in information of voice prompt, text prompt information and vibration prompt information, and the embodiment of the present invention does not limit.
Optionally, presetting the value connecting interval T can be the smaller value of low-power consumption Bluetooth protocol permission, can make so fast steering order to be sent to main frame when machine receives the steering order for main frame of user's input, to make main frame perform the Action Events corresponding with steering order in time, ensure that the experience of user.
In the embodiment of the present invention, monitor function is opened when monitoring moment arrival from machine, and when listening to the synchronization packets that main frame sends with the clock information in synchronization packets for according to carrying out clock synchronous with main frame, and send the response data packet for synchronization packets to main frame, when not storing the steering order for main frame of user's input from machine, monitor function is closed from office, and open monitor function when detecting that the next monitoring moment arrives, wherein, the next monitoring moment is for from a upper monitoring moment, the moment connected after interval T is preset through m, n is the number of times ignoring default connection interval T from machine pre-set.Implementing the embodiment of the present invention can make only to open monitor function when monitoring moment arrival from machine, reducing from power consumption during machine main control system, extending the service time of battery from machine.
Refer to Fig. 2, Fig. 2 is the disclosed another kind of schematic flow sheet based on the method for low-power consumption Bluetooth technology main control system of the embodiment of the present invention.As shown in Figure 2, the method can comprise the following steps:
S201, from machine testing monitor the moment whether arrive.
In the embodiment of the present invention, if the testing result of step S201 is yes, then perform step S202 from machine, if the testing result of step S201 is no, then can continue to perform step S201 from machine.
S202, from machine open monitor function.
S203, when listening to the synchronization packets that main frame sends, from machine with the clock information synchronization packets for according to carrying out clock synchronous with main frame.
S204, to send for the response data packet of synchronization packets from machine to main frame.
In the embodiment of the present invention, sending response data packet from machine to main frame, being connected for effectively connecting from the wireless blue tooth between machine with main frame to indicate.
S205, from machine, whether to store the steering order for main frame of user's input from machine testing.
In the embodiment of the present invention, if the testing result of step S205 is yes, then perform step S206 from machine, if the testing result of step S205 is no, then perform step S207 from machine.
S206, to be connected to main frame sending controling instruction from machine by the wireless blue tooth set up with main frame in advance.
S207, close monitor function from office.
In the embodiment of the present invention, continue to perform step S201 after machine performs step S207.
Implement the embodiment of the present invention can make only to open monitor function when monitoring moment arrival from machine, reduce from power consumption during machine main control system, extend the service time of battery from machine, and when storing steering order from machine, connected by wireless blue tooth and steering order is sent to main frame, to make main frame perform the Action Events corresponding with steering order in time, ensure that the experience of user.
Refer to Fig. 3, Fig. 3 is the embodiment of the present invention another schematic flow sheet based on the method for low-power consumption Bluetooth technology main control system disclosed.As shown in Figure 3, the method can comprise the following steps:
S301, from machine testing monitor the moment whether arrive.
In the embodiment of the present invention, if the testing result of step S301 is yes, then perform step S302 from machine, if the testing result of step S301 is no, then can continue to perform step S301 from machine.
S302, from machine open monitor function.
S303, whether listen to synchronization packets from machine testing.
In the embodiment of the present invention, if the testing result of step S303 is yes, then can assert from machine is connected for effectively connecting from the wireless blue tooth between machine with main frame, step S304 is performed from machine, if the testing result of step S303 is no, then can assert from machine is connected for invalid connection from the wireless blue tooth between machine with main frame, performs step S310 from machine.
S304, from machine with the clock information synchronization packets for according to carrying out clock synchronous with main frame.
S305, to send for the response data packet of synchronization packets from machine to main frame.
S306, from machine, whether to store the steering order for main frame of user's input from machine testing.
In the embodiment of the present invention, if the testing result of step S306 is yes, then perform step S307 from machine, if the testing result of step S306 is no, then perform step S308 from machine.
S307, from machine by being connected to main frame sending controling instruction with the wireless blue tooth that main frame is set up.
S308, close monitor function from office.
S309, the steering order for main frame inputted from machine reception user, and control store instruction.
S310, to export for pointing out wireless blue tooth to connect for the information of invalid connection from machine to user.
In the embodiment of the present invention, when not hearing the synchronization packets of main frame transmission from machine in the monitoring moment, can assert from machine is connected for invalid connection from the wireless blue tooth between machine with main frame, then exporting from machine to user for pointing out the wireless blue tooth information that connection is invalid connection, determining whether to re-establish to be connected from the wireless blue tooth between machine with main frame according to self-demand to make user.
S311, the response message inputted for information from machine reception user.
In the embodiment of the present invention, response message is used to indicate the wireless blue tooth whether re-established between main frame from machine and is connected, and when response message instruction is connected from the machine wireless blue tooth re-established between main frame, performs step S312 from machine.
S312, the wireless blue tooth re-established between main frame from machine are connected.
In the embodiment of the present invention, step S307 can be performed after machine executes S312.
Implement the embodiment of the present invention can make only to open monitor function when monitoring moment arrival from machine, reduce from power consumption during machine main control system, extend the service time of battery from machine, when storing steering order from machine, connected by wireless blue tooth and steering order is sent to main frame, the Action Events corresponding with steering order is performed in time to make main frame, ensure that the experience of user, when not hearing the synchronization packets of main frame transmission from machine in the monitoring moment, export for pointing out the wireless blue tooth information that connection is invalid connection to user, determine whether to re-establish to be connected from the wireless blue tooth between machine with main frame according to self-demand to make user, improve Consumer's Experience.
Refer to Fig. 4, Fig. 4 is a kind of structural representation from machine disclosed in the embodiment of the present invention.As shown in Figure 4, detecting unit 401, monitor function control module 402, lock unit 403 and communication unit 404 should can be comprised from machine 400, wherein:
Whether detecting unit 401 arrived for the Anti-Sniffer moment.
In the embodiment of the present invention, set up wireless blue tooth with main frame in advance from machine 400 to be connected, first time with main frame set up wireless blue tooth be connected time, clock synchronous is carried out from machine 400 and main frame, and start the Anti-Sniffer moment and whether arrive, when detecting that monitoring the moment arrives, open monitor function from machine 400, the synchronization packets that this monitor function sends for monitoring main frame.
When monitor function control module 402 is for detecting that when detecting unit 401 monitoring the moment arrives, open monitor function.
Lock unit 403 for when listening to the synchronization packets that main frame sends from machine 400, with the clock information in synchronization packets for according to carrying out clock synchronous with main frame.
Communication unit 404 is for sending the response data packet for synchronization packets to main frame.
In the embodiment of the present invention, send response data packet by communication unit 404 to main frame from machine 400, be connected for effectively to connect with the wireless blue tooth between main frame from machine 400 to indicate.
Monitor function control module 402 can also be used for, when not storing the steering order for main frame of user's input from machine 400, closing monitor function.
Whether detecting unit 401 can also be used for detecting nextly monitors the moment and arrives.
Monitor function control module 402 can also be used for, when detecting unit 401 detects that the next monitoring moment arrives, opening monitor function.
In the embodiment of the present invention, the next monitoring moment was from a upper monitoring moment, presets through m the moment connected after interval T, wherein, m is the integer being more than or equal to 1 and being less than or equal to n+1, and n is the number of times ignoring default connection interval T from machine 400 pre-set.
Optionally, presetting the value connecting interval T can be the smaller value of low-power consumption Bluetooth protocol permission, can make so fast steering order to be sent to main frame when machine 400 receives the steering order for main frame of user's input, to make main frame perform the Action Events corresponding with steering order in time, ensure that the experience of user.
Implementing the embodiment of the present invention can make only to open monitor function when monitoring moment arrival from machine, reducing from power consumption during machine main control system, extending the service time of battery from machine.
Refer to Fig. 5, Fig. 5 is the disclosed another kind of structural representation from machine of the embodiment of the present invention.As shown in Figure 5, wireless blue tooth linkage unit 501, detecting unit 502, monitor function control module 503, lock unit 504, first communication unit 505, second communication unit 506 and storage unit 507 should can be comprised from machine 500, wherein:
Wireless blue tooth linkage unit 501 is connected for the wireless blue tooth set up between main frame.
Whether detecting unit 502 arrived for the Anti-Sniffer moment.
When monitor function control module 503 is for detecting that when detecting unit 502 monitoring the moment arrives, open monitor function.
Lock unit 504 for when listening to the synchronization packets that main frame sends from machine 500, with the clock information in synchronization packets for according to carrying out clock synchronous with main frame.
First communication unit 505 is for sending the response data packet for synchronization packets to main frame.
Second communication unit 506 is for receiving the steering order for main frame of user's input.
The steering order that storage unit 507 receives for storing second communication unit 506.
Monitor function control module 503 can also be used for when not storing steering order in storage unit 507, closes monitor function.
Whether detecting unit 502 can also be used for detecting nextly monitors the moment and arrives.
Monitor function control module 503 can also be used for, when detecting unit 502 detects that the next monitoring moment arrives, opening monitor function.
In the embodiment of the present invention, the next monitoring moment was from a upper monitoring moment, presets through m the moment connected after interval T, wherein, m is the integer being more than or equal to 1 and being less than or equal to n+1, and n is the number of times ignoring default connection interval T from machine 500 pre-set.
As the optional embodiment of one, first communication unit 505 can also be used for when storing the steering order for main frame of user's input in storage unit 507, the wireless blue tooth set up by wireless blue tooth linkage unit 501 and main frame is connected to main frame sending controling instruction, performs the Action Events corresponding with steering order to make main frame.
As the optional embodiment of one, second communication unit 506 can also be used for when m is less than n+1, from on one to monitor the moment, through m-1 preset connect the first moment after interval T to from one monitor the moment, within the time period that m is preset the second moment connected after interval T, receive the steering order for main frame of user's input, storage unit 507 can also be used for storing the steering order that second communication unit 506 receives.
As the optional embodiment of one, when second communication unit 506 from one monitor the moment, through the first moment after m-1 default connection interval T to from a upper monitoring moment, within the time period that m is preset the second moment connected after interval T, when receiving the steering order for main frame of user's input, and from machine 500 from one monitor the moment, the synchronization packets that main frame sends is not detected through m moment of presetting after connection interval T, the wireless blue tooth that wireless blue tooth linkage unit 501 can also re-establish between main frame is connected, can ensure that wireless blue tooth connects for effectively connecting like this, and can make to be connected by valid wireless bluetooth timely from machine 500 steering order is sent to main frame, the Action Events corresponding with steering order is performed in time to make main frame, improve the experience of user.
As the optional embodiment of one, second communication unit 506 can also be used for when second communication unit 506 from one monitor the moment, through the first moment after m-1 default connection interval T to from a upper monitoring moment, within the time period that m is preset the second moment connected after interval T, when receiving the steering order for main frame of user's input, and from machine 500 from one monitor the moment, the synchronization packets that main frame sends is not detected through m moment of presetting after connection interval T, export for pointing out the wireless blue tooth information that connection is invalid connection to user, and receive the response message that user inputs for information, wherein, response message is used to indicate wireless blue tooth linkage unit 501 wireless blue tooth whether re-established between main frame and is connected.
Optionally, wireless blue tooth linkage unit 501 can also be used for when response message instruction wireless blue tooth linkage unit 501 wireless blue tooth re-established between main frame is connected, and the wireless blue tooth re-established between main frame is connected.
Implement the embodiment of the present invention can make only to open monitor function when monitoring moment arrival from machine, reduce from power consumption during machine main control system, extend the service time of battery from machine, when storing steering order from machine, connected by wireless blue tooth and steering order is sent to main frame, the Action Events corresponding with steering order is performed in time to make main frame, ensure that the experience of user, when not hearing in the monitoring moment synchronization packets sent from machine from machine, export for pointing out the wireless blue tooth information that connection is invalid connection to user, determine whether to re-establish to be connected from the wireless blue tooth between machine with main frame according to self-demand to make user, improve Consumer's Experience.
It should be noted that, 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.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and unit might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
The embodiment of the present invention can carry out merging, divide and deleting from the unit machine according to actual needs.
Unit described in the embodiment of the present invention can pass through universal integrated circuit, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, special IC).
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-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
A kind of method based on low-power consumption Bluetooth technology main control system provided the embodiment of the present invention above and device are described in detail, apply instantiation herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. based on a method for low-power consumption Bluetooth technology main control system, it is characterized in that, comprising:
From machine when detecting that monitoring the moment arrives, open monitor function;
When listening to the first synchronization packets that main frame sends, described from machine with the clock information described first synchronization packets for according to carrying out clock synchronous with described main frame, and sending the response data packet for described first synchronization packets to described main frame, described main frame is set up from machine the main frame that wireless blue tooth is connected with described in advance;
When described do not store from machine user input the first steering order for described main frame time, describedly close described monitor function from office, and open described monitor function when detecting that the next monitoring moment arrives, it was from a upper monitoring moment, through m the default moment connected after interval T that the described next one monitors the moment, described m is the integer being more than or equal to 1 and being less than or equal to n+1, and described n is the described number of times ignoring described default connection interval T from machine pre-set.
2. method according to claim 1, is characterized in that, described method also comprises:
When described store from machine user input the first steering order for described main frame time, described connection by described wireless blue tooth from machine sends described first steering order to described main frame, performs the Action Events corresponding with described first steering order to make described main frame;
Describedly close described monitor function from office, and detect next monitor the moment arrive time open described monitor function.
3. method according to claim 1, it is characterized in that, when described m is less than n+1, from a monitoring moment on described, within the first moment after m-1 described default connection interval T to the time period in the second moment from a monitoring moment on described, after m described default connection interval T, described the second steering order for described main frame receiving user's input from machine, and store described second steering order;
Described method also comprises:
When described from machine listen to described main frame send the second synchronization packets time, described from machine with the clock information described second synchronization packets for according to carrying out clock synchronous with described main frame, and send the response data packet for described second synchronization packets to described main frame;
Described connection by described wireless blue tooth from machine sends described second steering order to described main frame, performs the Action Events corresponding with described second steering order to make described main frame.
4. method according to claim 3, is characterized in that, described method also comprises:
When described from machine do not hear described main frame send the second synchronization packets time, the described wireless blue tooth re-established between described main frame from machine is connected, and connected to described second steering order of described main frame transmission by the described wireless blue tooth re-established, perform the Action Events corresponding with described second steering order to make described main frame.
5. method according to claim 4, is characterized in that, when described from machine do not hear described main frame send the second synchronization packets time, described be connected from the machine wireless blue tooth re-established between described main frame before, described method also comprises:
It is described that from machine to user, output is the information of invalid connection for pointing out the connection of described wireless blue tooth;
The described response message inputted for described information from machine reception user, described response message is used to indicate the described wireless blue tooth whether re-established between described main frame from machine and is connected;
When the instruction of described response message is described from machine, the wireless blue tooth re-established between described main frame is connected time, the described operation from re-establishing the wireless blue tooth between described main frame described in machine execution and being connected.
6. from a machine, it is characterized in that, describedly comprise detecting unit, monitor function control module, lock unit and the first communication unit from machine, wherein:
Whether described detecting unit, arrived for the Anti-Sniffer moment;
Described monitor function control module, during for detecting that when described detecting unit monitoring the moment arrives, opens monitor function;
Described lock unit, for when described from machine listen to main frame send the first synchronization packets time, with the clock information in described first synchronization packets for according to carrying out clock synchronous with described main frame, described main frame is set up from machine the main frame that wireless blue tooth is connected with described in advance;
Described first communication unit, for sending the response data packet for described first synchronization packets to described main frame;
Described monitor function control module, also for when described do not store from machine user input the first steering order for described main frame time, close described monitor function;
Whether described detecting unit, also arrive for detecting the next monitoring moment;
Described monitor function control module, time also for detecting that when described detecting unit the next monitoring moment arrives, open described monitor function, it was from a upper monitoring moment, through m the default moment connected after interval T that the described next one monitors the moment, described m is the integer being more than or equal to 1 and being less than or equal to n+1, and described n is the described number of times ignoring described default connection interval T from machine pre-set.
7. according to claim 6 from machine, it is characterized in that, described first communication unit, also for when described store from machine user input the first steering order for described main frame time, connected by described wireless blue tooth and send described first steering order to described main frame, perform the Action Events corresponding with described first steering order to make described main frame.
8. according to claim 6 from machine, it is characterized in that, describedly also comprise second communication unit and storage unit from machine, wherein:
Described second communication unit, for when described m is less than n+1, from a monitoring moment on described, within the first moment after m-1 described default connection interval T to the time period in the second moment from a monitoring moment on described, after m described default connection interval T, the second steering order for described main frame that reception user inputs;
Described storage unit, for storing described second steering order;
Described lock unit, also for when described listen to from machine the second synchronization packets that described main frame sends time, with the clock information in described second synchronization packets for according to carrying out clock synchronous with described main frame;
Described first communication unit, also for sending the response data packet for described second synchronization packets to described main frame, and connected to described second steering order of described main frame transmission by described wireless blue tooth, perform the Action Events corresponding with described second steering order to make described main frame.
9. according to claim 8 from machine, it is characterized in that, describedly also comprise wireless blue tooth linkage unit from machine, wherein:
Described wireless blue tooth linkage unit, for when described from machine do not hear described main frame send the second synchronization packets time, the wireless blue tooth re-established between described main frame is connected;
Described first communication unit, also connects for the described wireless blue tooth by re-establishing and sends described second steering order to described main frame, perform the Action Events corresponding with described second steering order to make described main frame.
10. according to claim 9 from machine, it is characterized in that, described second communication unit, also for described not hear the second synchronization packets that described main frame sends from machine time and before the described wireless blue tooth linkage unit wireless blue tooth re-established between described main frame is connected, export for pointing out the described wireless blue tooth information that connection is invalid connection to user, and receive the response message that user inputs for described information, described response message is used to indicate the wireless blue tooth whether described wireless blue tooth linkage unit re-establish between described main frame and is connected,
Described wireless blue tooth linkage unit, time also for indicating the described wireless blue tooth linkage unit wireless blue tooth re-established between described main frame to be connected when described response message, the wireless blue tooth re-established between described main frame is connected.
CN201410739898.4A 2014-12-08 2014-12-08 A kind of method and device based on low-power consumption bluetooth technical controlling main frame Active CN104615016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410739898.4A CN104615016B (en) 2014-12-08 2014-12-08 A kind of method and device based on low-power consumption bluetooth technical controlling main frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410739898.4A CN104615016B (en) 2014-12-08 2014-12-08 A kind of method and device based on low-power consumption bluetooth technical controlling main frame

Publications (2)

Publication Number Publication Date
CN104615016A true CN104615016A (en) 2015-05-13
CN104615016B CN104615016B (en) 2017-06-30

Family

ID=53149518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410739898.4A Active CN104615016B (en) 2014-12-08 2014-12-08 A kind of method and device based on low-power consumption bluetooth technical controlling main frame

Country Status (1)

Country Link
CN (1) CN104615016B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820325A (en) * 2017-11-24 2018-03-20 珠海市杰理科技股份有限公司 Wireless communications method and system, computer-readable storage medium and equipment
CN107947889A (en) * 2017-12-18 2018-04-20 京信通信系统(中国)有限公司 A kind of method and apparatus of clock frequency deviation calibration
CN108091402A (en) * 2017-11-30 2018-05-29 上海京颐科技股份有限公司 A kind of medical terminal and data receiver method and device for it, storage medium
WO2019191996A1 (en) * 2018-04-04 2019-10-10 华为技术有限公司 Data transmission method and device
CN111342945A (en) * 2020-02-19 2020-06-26 广东乐心医疗电子股份有限公司 Master-slave communication method and device
CN111683396A (en) * 2020-05-28 2020-09-18 为麦智能科技(天津)有限公司 Information processing method and system and electronic equipment
CN114025406A (en) * 2021-11-04 2022-02-08 杭州老板电器股份有限公司 Communication method and device of smoke exhaust system and smoke exhaust system
CN114040368A (en) * 2021-10-25 2022-02-11 中通服中睿科技有限公司 Data transmission method and system based on BLE Bluetooth and Bluetooth module

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065526A (en) * 2010-11-25 2011-05-18 北京合众天恒科技有限公司 Power-saving operation mode of wireless transceiver
CN102625428A (en) * 2012-04-24 2012-08-01 苏州摩多物联科技有限公司 Time synchronization method of wireless sensor networks
CN102821354A (en) * 2012-08-10 2012-12-12 章晓芸 Positioning and alarming system and method
WO2013034924A1 (en) * 2011-09-08 2013-03-14 Nordic Semiconductor Asa Radio communication system
CN103249121A (en) * 2012-02-13 2013-08-14 电信科学技术研究院 Trigger control method, device and system of machine type communication terminal
CN103338500A (en) * 2012-12-24 2013-10-02 上海华为技术有限公司 Method, device and system for data transmission, network side equipment and terminal equipment
WO2014029106A1 (en) * 2012-08-24 2014-02-27 华为终端有限公司 Method, device, terminal, computer program and storage medium for adjusting wake-up period of terminal
CN103857021A (en) * 2012-11-30 2014-06-11 联发科技股份有限公司 Method for controlling Bluetooth device, Bluetooth device and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065526A (en) * 2010-11-25 2011-05-18 北京合众天恒科技有限公司 Power-saving operation mode of wireless transceiver
WO2013034924A1 (en) * 2011-09-08 2013-03-14 Nordic Semiconductor Asa Radio communication system
CN103249121A (en) * 2012-02-13 2013-08-14 电信科学技术研究院 Trigger control method, device and system of machine type communication terminal
CN102625428A (en) * 2012-04-24 2012-08-01 苏州摩多物联科技有限公司 Time synchronization method of wireless sensor networks
CN102821354A (en) * 2012-08-10 2012-12-12 章晓芸 Positioning and alarming system and method
WO2014029106A1 (en) * 2012-08-24 2014-02-27 华为终端有限公司 Method, device, terminal, computer program and storage medium for adjusting wake-up period of terminal
CN103857021A (en) * 2012-11-30 2014-06-11 联发科技股份有限公司 Method for controlling Bluetooth device, Bluetooth device and electronic device
CN103338500A (en) * 2012-12-24 2013-10-02 上海华为技术有限公司 Method, device and system for data transmission, network side equipment and terminal equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820325B (en) * 2017-11-24 2020-11-24 珠海市杰理科技股份有限公司 Wireless communication method and system, computer storage medium and device
CN107820325A (en) * 2017-11-24 2018-03-20 珠海市杰理科技股份有限公司 Wireless communications method and system, computer-readable storage medium and equipment
CN108091402A (en) * 2017-11-30 2018-05-29 上海京颐科技股份有限公司 A kind of medical terminal and data receiver method and device for it, storage medium
CN107947889A (en) * 2017-12-18 2018-04-20 京信通信系统(中国)有限公司 A kind of method and apparatus of clock frequency deviation calibration
CN107947889B (en) * 2017-12-18 2019-07-02 京信通信系统(中国)有限公司 A kind of method and apparatus of clock frequency deviation calibration
CN111149313B (en) * 2018-04-04 2021-05-18 华为技术有限公司 Data transmission method and equipment
CN111149313A (en) * 2018-04-04 2020-05-12 华为技术有限公司 Data transmission method and equipment
WO2019191996A1 (en) * 2018-04-04 2019-10-10 华为技术有限公司 Data transmission method and device
CN111342945A (en) * 2020-02-19 2020-06-26 广东乐心医疗电子股份有限公司 Master-slave communication method and device
CN111342945B (en) * 2020-02-19 2022-09-27 广东乐心医疗电子股份有限公司 Master-slave communication method and device
CN111683396A (en) * 2020-05-28 2020-09-18 为麦智能科技(天津)有限公司 Information processing method and system and electronic equipment
CN111683396B (en) * 2020-05-28 2023-10-03 为麦智能科技(天津)有限公司 Information processing method, system and electronic equipment
CN114040368A (en) * 2021-10-25 2022-02-11 中通服中睿科技有限公司 Data transmission method and system based on BLE Bluetooth and Bluetooth module
CN114025406A (en) * 2021-11-04 2022-02-08 杭州老板电器股份有限公司 Communication method and device of smoke exhaust system and smoke exhaust system
CN114025406B (en) * 2021-11-04 2024-02-02 杭州老板电器股份有限公司 Communication method and device of smoke exhaust system and smoke exhaust system

Also Published As

Publication number Publication date
CN104615016B (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN104615016A (en) Low-power-consumption Bluetooth technology based host control method and device
US20210243831A1 (en) Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device
JP7213269B2 (en) RACH resource selection, configuration method, user equipment and network side equipment
CN113038575B (en) Wake-up signal processing method, wake-up signal configuration method and related equipment
CN108777862B (en) Bluetooth transmission method, Bluetooth controller and Bluetooth device
JP7236553B2 (en) Support information reporting method and device, communication equipment
EP3131348B1 (en) Power consumption control method for wearable device, and wearable device
US10624027B2 (en) Call processing method and apparatus thereof
CN113906773A (en) Channel selection method and device of low-power-consumption Bluetooth device
WO2020087734A1 (en) Bluetooth connection processing method and device and storage medium
CN110352616A (en) Discontinuous receiving method and device, electronic equipment and computer readable storage medium
CN104880968B (en) The control method and equipment of a kind of alarm clock
CN106060280B (en) Data service management method, device and terminal
CN106792434B (en) Hotspot establishing method and terminal equipment
CN104468955A (en) Information processing method and electronic equipment
CN110191503B (en) Audio playing method, system, storage medium and mobile terminal
CN104871636B (en) A kind of method, terminal, the network equipment and the system of secondary carrier change
CN104113900A (en) Dormancy control method and device of terminal device
CN105472539A (en) Bluetooth connection transmission method based on power consumption
CN106304287A (en) Reduce method and the mobile terminal of standby power consumption
JP2021532663A (en) Information receiving method, information transmitting method, terminal and network side device
CN107027156B (en) Method and terminal equipment for sending voice frame
CN104023152A (en) Conversation control method and device and electronic device
CN103957310A (en) Information processing method and electronic equipment
CN108282852B (en) WiFi bridging management method and device, mobile terminal and computer readable storage medium

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder