WO2021104267A1 - 一种数据传输方法、装置和智能手表设备 - Google Patents

一种数据传输方法、装置和智能手表设备 Download PDF

Info

Publication number
WO2021104267A1
WO2021104267A1 PCT/CN2020/131167 CN2020131167W WO2021104267A1 WO 2021104267 A1 WO2021104267 A1 WO 2021104267A1 CN 2020131167 W CN2020131167 W CN 2020131167W WO 2021104267 A1 WO2021104267 A1 WO 2021104267A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
data
mcu
instruction
micro
Prior art date
Application number
PCT/CN2020/131167
Other languages
English (en)
French (fr)
Inventor
周文杰
张博
李媛媛
Original Assignee
出门问问信息科技有限公司
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
Priority claimed from CN201911179163.XA external-priority patent/CN110955323A/zh
Priority claimed from CN201911179285.9A external-priority patent/CN110891259B/zh
Application filed by 出门问问信息科技有限公司 filed Critical 出门问问信息科技有限公司
Priority to EP20892867.1A priority Critical patent/EP4047452A4/en
Priority to US17/749,597 priority patent/US11928002B2/en
Publication of WO2021104267A1 publication Critical patent/WO2021104267A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3278Power saving in modem or I/O interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1698Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a sending/receiving arrangement to establish a cordless communication link, e.g. radio or infrared link, integrated cellular phone
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3209Monitoring remote activity, e.g. over telephone lines or network connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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

Definitions

  • the present disclosure relates to the field of smart wearable devices, and in particular to a data transmission method, device and smart watch device.
  • MCU Microcontroller Unit
  • the smart watch still needs to frequently wake up the smart operating system to realize another part of the function, therefore, the power consumption of the smart watch is still high.
  • the present disclosure provides a data transmission method, device, and smart watch device to try to solve or at least alleviate at least one of the above problems.
  • a BLE data transmission method of a smart watch including:
  • the first BLE module of the first MCU of the smart watch receives an instruction to transmit data;
  • the instruction to transmit data includes an instruction to transmit data with the AP of the smart watch or an instruction to transmit data with a mobile terminal;
  • the first BLE module judges whether the AP is in the awake state, if so, it transmits the data with the second BLE module of the AP through the radio frequency communication (RFCOMM) interface, otherwise, buffers the data to be transmitted ;
  • RCOMM radio frequency communication
  • the first BLE module synchronizes the status information to the second BLE module of the AP, and transmits data with the mobile terminal through the RFCOMM interface.
  • the instruction to transmit data further includes an instruction to transmit data with the second MCU of the smart watch;
  • Methods also include:
  • the first BLE module transmits data with the second MCU through the data sharing protocol between the first MCU and the second MCU.
  • it also includes:
  • the first BLE module verifies the validity of the data before sending the data through the RFCOMM interface.
  • it also includes:
  • the first BLE module encapsulates or parses the transmitted data.
  • the first BLE module determines whether the AP is in an awake state, including:
  • the first BLE module determines whether the AP is in the awake state according to the notification of the service run by the first MCU.
  • the first BLE module synchronizes the state information to the BLE module of the AP, including:
  • the first BLE module uses a transparent transmission method to synchronize the state information to the BLE module of the AP through a customized interface provided by the library file.
  • a BLE module device connected to a first MCU of a smart watch, including:
  • the instruction receiving module is used to receive instructions for transmitting data;
  • the instructions for transmitting data include instructions for transmitting data with the AP of the smart watch or instructions for transmitting data with a mobile terminal;
  • the first processing module when the instruction used to transmit data is an instruction to transmit data with the AP, judge whether the AP is in the awake state, if so, transmit the data with the AP through the RFCOMM interface, otherwise, buffer the data to be transmitted;
  • the second processing module when the instruction for transmitting data is an instruction for transmitting data with the mobile terminal, synchronizes the status information to the BLE module of the AP, and transmits data with the mobile terminal through the RFCOMM interface.
  • the device further includes:
  • the third processing module when the instruction for transmitting data is an instruction for transmitting data with the second MCU of the smart watch, transmits data with the second MCU through the data sharing protocol between the first MCU and the second MCU.
  • an MCU device including the above-mentioned BLE module device.
  • a smart watch device which is characterized by including an AP and the aforementioned MCU device.
  • a smart watch device including:
  • AP Application Processor running an intelligent operating system, a first functional module, a second functional module, a first MCU and a second MCU;
  • the first MCU is used to drive the first functional module when the AP is in a sleep state
  • the second MCU is used to drive the second functional module when the AP is in the sleep state.
  • the power consumption of the first MCU is lower than the power consumption of the second MCU, and the power consumption of the first functional module is lower than the power consumption of the second functional module.
  • the first functional module includes at least one of Audio in module, Mic module, BLE module, NBIOT module, sensor module, and Dual Guard module; and the second functional module includes at least one of Touch module, KEY module, and positioning module .
  • the first MCU when used to drive the first functional module, it is specifically used to:
  • the first MCU when used to drive the first functional module, it is specifically used to:
  • BLE Bluetooth Low Energy
  • the first display module is driven to display the first information.
  • the first MCU when used to drive the first functional module, it is specifically used to:
  • Narrow Band Internet of Things (NB-IoT) module Drive the Narrow Band Internet of Things (NB-IoT) module to collect the second information
  • the first display module is driven to display the second information.
  • the first MCU when used to drive the first functional module, it is specifically used to:
  • the first MCU when used to drive the first functional module, it is specifically used to:
  • the second MCU when used to drive the second functional module, it is specifically used to:
  • the second display module is driven to display the data collected by the first function module.
  • the second MCU when used to drive the second functional module, it specifically includes:
  • the second display module is driven to display the response content of the touch information.
  • the second MCU when used to drive the second functional module, it specifically includes:
  • the second display module is driven to display the response content of the key information.
  • the second MCU when used to drive the second functional module, it specifically includes:
  • the AP is also used to synchronize data generated by the first MCU and/or the second MCU during the AP sleep period after waking up.
  • the Bluetooth module mounted on the MCU can communicate with the AP when the AP wakes up, synchronize data during the AP sleep period, or sleep on the AP
  • the AP can obtain the communication data between the Bluetooth module mounted on the MCU and the mobile terminal during the AP sleep period after the AP wakes up; this solution realizes the AP sleep During this period, the Bluetooth mounted on the MCU can work independently without waking up the AP, thereby reducing the power consumption of the smart watch.
  • Fig. 1 is a structural block diagram of a smart watch device according to an embodiment of the present disclosure
  • Fig. 2 is a flowchart of a BLE data transmission method of a smart watch according to an embodiment of the present disclosure
  • Fig. 3 is another structural block diagram of a smart watch device according to an embodiment of the present disclosure.
  • Fig. 5 is a flowchart of data exchange between MCU BLE and AP BLE according to an embodiment of the present disclosure
  • Fig. 6 is a flowchart of data exchange between MCU BLE and another MCU according to an embodiment of the present disclosure
  • Fig. 7 is a flowchart of data interaction between MCU BLE and mobile phone according to an embodiment of the present disclosure
  • Fig. 8 is a complete working flow chart of MCU BLE according to an embodiment of the present disclosure.
  • Fig. 9 is a structural block diagram of a BLE module device according to an embodiment of the present disclosure.
  • Fig. 10 is a structural block diagram of a smart watch device according to an embodiment of the present disclosure.
  • Fig. 11 is a structural block diagram of a smart watch device according to a specific embodiment of the present disclosure.
  • the usual bluetooth architecture design schemes of smart watches often bind the bluetooth chip with the smart operating system to realize the transmission of data through bluetooth.
  • AP Application Processor
  • FIG. 1 is a structural block diagram of a smart watch device provided by an embodiment of the present disclosure, which includes AP10, a first MCU101, AP10 connected to a second BLE20, and MCU11 connected to a first BLE21.
  • the AP runs a smart operating system, which can drive sensors, fuel gauges, voice wake-up monitoring, Bluetooth, Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED) screens, touch screens (Touch), and Various smart watch modules such as the key (KEY) used for UI interaction and the second BLE20.
  • the first MCU101 can drive some modules of the AP10 during the sleep period, such as sensors, fuel gauges, voice wake-up monitoring, and LCD.
  • the first MCU101 is separately configured with the first BLE module 21.
  • the present disclosure provides a BLE data transmission method of the smart watch, as shown in FIG. 2, including:
  • the first BLE module 21 of the first MCU 101 receives an instruction to transmit data;
  • the instruction to transmit data includes an instruction to transmit data with the AP 10 or an instruction to transmit data with a mobile terminal;
  • the first BLE module 21 determines whether AP10 is in an awake state, and if so, transmits data with the second BLE module 20 of AP10 through the radio frequency communication RFCOMM interface; otherwise, the buffer waits transfer data;
  • the first BLE module 21 synchronizes the status information to the second BLE module 20 of the AP 10, and transmits data with the mobile terminal through the RFCOMM interface.
  • the Bluetooth module mounted on the MCU can communicate with the AP when the AP wakes up, and synchronize the data during AP sleep; it can also sleep on the AP Instead, the AP directly transmits data with the mobile terminal, and synchronizes the relevant status information to the Bluetooth module of the AP. After the AP wakes up, it can obtain the communication data between the Bluetooth module mounted on the MCU and the mobile terminal during the AP sleep period. Thereby, the Bluetooth mounted on the MCU during AP sleep can work independently without waking up the AP, thereby reducing the power consumption of the smart watch.
  • FIG. 3 is another structural block diagram of a smart watch device provided by an embodiment of the present disclosure, which includes AP10, a first MCU101, a second MCU102, AP10 is connected to a second BLE20, and MCU11 is connected to a first BLE21.
  • the newly added second MCU102-driven module is different from the first MCU101 can drive.
  • the first MCU101 can drive sensors, fuel gauges, voice wake-up monitoring, BLE, LCD Display (Liquid Crystal Display, LCD), etc.
  • the second MCU102 can drive touch screens, organic light-emitting diode (Organic Light-Emitting Diode, OLED) screens, touch screens (Touch), and keys (KEY), etc.
  • OLED Organic Light-Emitting Diode
  • touch screens Touch screens
  • keys keys
  • the present disclosure provides a BLE data transmission method of the smart watch, as shown in FIG. 4, including:
  • the first BLE module 21 of the first MCU101 receives an instruction for transmitting data;
  • the instruction for transmitting data includes an instruction for transmitting data with the AP 10 or an instruction for transmitting data with a mobile terminal;
  • the first BLE module 21 determines whether AP10 is in an awake state, and if so, transmits data with the second BLE module 20 of AP10 through the radio frequency communication RFCOMM interface; otherwise, the buffer is waiting transfer data;
  • the first BLE module 21 synchronizes the state information to the second BLE module 20 of the AP 10, and transmits data with the mobile terminal through the RFCOMM interface.
  • the first BLE module 21 transmits data with the second MCU 102 through the data sharing protocol between the first MCU 101 and the second MCU 102.
  • the second MCU102 when the second MCU102 needs to use the data collected by the first BLE21, or when it needs to send data out through the first BLE21, it completes with the first MCU101 through a customized Hardware Abstraction Layer (HAL) interface.
  • HAL Hardware Abstraction Layer
  • the first BLE 21 includes a controller (Controller) module for verifying the validity of the data before sending the data through the RFCOMM interface.
  • Controller Controller
  • the first BLE21 can perform the encapsulation and parsing process of the data packet; and after the AP wakes up, the encapsulated data can be packaged and sent out.
  • the first BLE21 judges whether the AP10 is in the awake state according to the notification of the service run by the first MCU101.
  • the first BLE21 and the first MCU101 each keep a service running, and the AP10 wake-up state can be exchanged between the services, or task instructions can be exchanged.
  • the first BLE 21 to synchronize the state information to the second BLE module 20 of the AP 10 includes: the first BLE 21 uses a customized interface provided by a library file to synchronize the state information to the BLE module 20 of the AP 10 in a transparent transmission manner. During the synchronization period, the first BLE 21 communicates directly with the second BLE module 20, and the AP 10 does not need to wake up.
  • the first BLE21 and AP10 data exchange process provided in this embodiment includes:
  • the service service1 of the first BLE21 receives the notification of the service Service2 of the first MCU101, which includes AP10 status information;
  • the first BLE21 calls the library file BleLib, and encapsulates the bare data after detecting that AP10 wakes up;
  • the first BLE21 notifies service1 after completing the corresponding preparations for the data transmission phase
  • the data exchange process between the first BLE21 and the second MCU102 provided in this embodiment includes:
  • the service service1 of the first BLE21 receives the notification of the service Service2 of the first MCU101, which includes AP10 status information;
  • the first BLE21 calls the library file BleLib to encapsulate and package the bare data
  • the first BLE21 completes corresponding preparations for the data transmission phase
  • the first BLE21 transmits the data packet to the second MCU102 through the HAL.
  • the second MCU102 parses the data packet to obtain complete packet data.
  • the first BLE21 data exchange process with the mobile phone provided in this embodiment includes:
  • the mobile phone issues a data transmission instruction to the first BLE21 through the RFCOMM interface;
  • the first BLE21 executes the protocol stack library file, and encapsulates the packaged data
  • the first BLE21 transmits the data of the first BLE state machine to the protocol stack of the second BLE20 of the AP10 through the customized interface;
  • the first BLE21 transparently transmits data to the mobile phone through RFCOMM.
  • the present disclosure also shows a BLE module device 900 connected to the first MCU of the smart watch, including:
  • the instruction receiving module 910 is configured to receive instructions for transmitting data; the instructions for transmitting data include instructions for transmitting data with the application processor AP or instructions for transmitting data with a mobile terminal;
  • the first processing module 920 when the instruction for transmitting data is an instruction for transmitting data with the AP, judge whether the AP is in an awake state, and if so, transmit the data with the AP through the RFCOMM interface, otherwise, buffer the data to be transmitted;
  • the second processing module 930 when the instruction for transmitting data is an instruction for transmitting data with the mobile terminal, synchronizes the status information to the BLE module of the AP, and transmits data with the mobile terminal through the RFCOMM interface.
  • the present disclosure also provides an MCU including the above-mentioned BLE module device 900.
  • a low-power Bluetooth chip is mounted on the MCU system.
  • the MCU system When the smart operating system enters sleep or shuts down, the MCU system has independent Bluetooth communication capabilities, including receiving data and transmitting to the smart operating system And another MCU operating system, so as to complete the Bluetooth transmission task independently without waking up the AP, reduce the power consumption of the smart watch, and extend the battery life of the smart watch.
  • the present disclosure also provides a smart watch device including an AP and the aforementioned MCU configured with the BLE module device 900.
  • FIG. 10 is a structural block diagram of a smart watch device provided by the present disclosure, which includes an AP100, a first functional module 201, a second functional module 202, a third functional module 203, a first MCU101 and a second MCU102.
  • AP100 is used to run a smart operating system, and can drive multiple functional modules of a smart watch device through the smart operating system; for ease of description, in the above functional modules, it is defined that the functional module that can be driven by the first MCU101 is the first functional module 201, The functional module driven by the second MCU 102 is the second functional module 202, which can only be driven by the AP, and the functional module that cannot be driven by the MCU 101 and the MCU 102 is the third functional module 203.
  • the first MCU 101 is used to drive the first functional module 201 when the AP 100 is in the sleep state; the second MCU 102 is used to drive the second functional module 202 when the AP 100 is in the sleep state.
  • the first MCU101 works in a scene with low power consumption
  • the first functional module 201 driven by the first MCU101 includes a sensor, a fuel gauge, voice wake-up monitoring, Bluetooth, and a liquid crystal display (Liquid Crystal Display). , LCD), etc., used to maintain the basic functions of the smart watch, including waking up the smart operating system, checking the time and power through the UI interface of the LCD, and receiving Bluetooth notifications.
  • the second MCU 102 works in a scene with high power consumption.
  • the second functional module 202 driven by the second MCU 102 includes an organic light-emitting diode (Organic Light-Emitting Diode, OLED) screen, a touch screen (Touch), and a UI for interaction. Buttons (KEY), etc., the user can perform interactive operations such as touch and buttons based on the dial UI interface provided by the second MCU102.
  • the AP can also drive a third functional module 203, which can be a call-related component, such as a speaker.
  • the sensor may belong to the second functional module.
  • NFC Near Field Communication
  • the AP 100 and the first MCU 101 and the second MCU 102 may also be configured with the same functional modules repeatedly.
  • the AP 100 is configured with a BLE module
  • the MCU 11 is also configured with a BLE module.
  • the first MCU 101 drives the Audio in module and the Mic module to receive voice instructions; and wakes up the intelligent operating system according to the voice instructions.
  • the first MCU101 should have an audio bus (Inter-IC Sound, I2S)/Pulse Code Modulation (PCM) interface built into the integrated circuit to decode and transmit voice data.
  • the first MCU 101 drives the BLE module to collect the first information; and drives the first display module to display the first information. For example, in a scenario where a smart watch is connected to a mobile phone, after receiving a notification pushed by a specific application in the mobile phone via Bluetooth, it can be displayed by the first display module.
  • the first MCU 101 drives the narrowband IoT NBIOT module to collect the second information; and drives the first display module to display the second information.
  • the functions of the NBIOT module and the BLE module are similar, so I won't repeat them here.
  • the first MCU101 is used to drive the sensor module to collect sensor data; and to drive the first display module to display the sensor data.
  • the sensor may be a heart rate sensor, a blood pressure sensor, a temperature and humidity sensor, etc.
  • the first MCU101 synchronizes the sensor data to the AP100, and the relevant application of the AP100 processes the sensor data.
  • the first MCU 101 is used to drive the Dual Guard module to collect power data; and to drive the first display module to display power data.
  • the above embodiments realize that under the condition of not starting the AP100, the user can check the power, heart rate, blood pressure, Bluetooth notification, etc. through a low-power MCU in the MCU.
  • the second MCU 102 can receive the power, heart rate, blood pressure, Bluetooth notification and other data collected by the first function module 201 transmitted by the first MCU; and drive the second display module to display the first function Data collected by module 201.
  • the second MCU 102 drives the Touch module to collect touch information; and drives the second display module to display the response content of the touch information.
  • the second MCU 102 provides a UI interface on the second display module, and the user can view data such as power, heart rate, blood pressure, dial time, power, etc. on the UI interface, and the user can click and slide to control the display content of the UI through Touch.
  • the second MCU 102 drives the KEY module to collect key information; and drives the second display module to display the response content of the key information.
  • the KEY module includes a wake-up key and a page turning key. The wake-up key is used to wake up the second MCU, and the page turning key is used to perform page turning operations on the UI interface of the second display module.
  • the first display module and the second display module may be the same display module; they may also be different display modules, each of which is a lower power consumption display module, such as an LCD, and a higher power consumption display module.
  • Display module such as OLED.
  • the second MCU 102 drives the positioning module to collect positioning data; and, processes the positioning data and displays the processing result on the second display module.
  • the positioning module can be the Global Positioning System (GPS) or other positioning systems such as BeiDou Navigation Satellite System (BDS).
  • GPS Global Positioning System
  • BDS BeiDou Navigation Satellite System
  • the processing of positioning data can be to calculate distance, coordinates, and so on.
  • the first MCU 101 and the second MCU 102 need to synchronize the data generated during the sleep period of the AP 100 to the AP 100 for further processing by various applications of the AP 100.
  • the first MCU 101 and the second MCU 102 may also be MCUs of the same model or MCUs with similar power consumption. Since dual MCUs are adopted, the application range of the MCU can also be expanded and the dependence on APs can be reduced.
  • a specific embodiment of the present disclosure provides an engineering design solution for a smart watch, which includes AP, MCU1, and MCU2.
  • AP has I2C (Inter-Integrated Circuit), serial peripheral interface (Serial Peripheral Interface, SPI), direct memory access (Direct Memory Access, DMA), general-purpose input/output (General-purpose input/output, GPIO), etc. Data interface, and power management integrated circuit (Power Management IC, PMIC).
  • MCU1 built-in service Service1, Service1 calls MCU1 built-in I2C-M, Queued SPI/SPI, DMI and other interfaces through the Hardware Abstraction Layer (HAL), especially including I2S/PCM interfaces , Used to transmit voice data.
  • HAL Hardware Abstraction Layer
  • MCU2 has built-in service Service2, a dedicated non-volatile storage unit Nor Flash, Service2 calls MCU2's built-in I2C-M, SPI-M, DMA and other interfaces through HAL, Service2 adopts first-in, first-out & synchronization (FIFO&SYNC) strategy to manage Nor Flash, Compared with Service1, it can realize more complicated functions, and can run a simple operating system (Operating System, OS) to realize functions including UI interaction and data access.
  • FIFO&SYNC first-in, first-out & synchronization
  • MCU1 can call LCD, Dual Guard, Sensors, BLE, Audio in, Mic and other functional modules when the AP is sleeping.
  • MCU2 can call OLED, Touch, GPS, KEY and other functional modules when the AP is sleeping.
  • AP communicates with MCU1 through the SPI interface to synchronize data generated by modules such as BLE and Sensor during AP sleep.
  • AP and MCU2 communicate through the SPI interface to synchronize GPS data generated during AP sleep.
  • AP and MCU2 share an OLED screen, and the AP and OLED screen are connected through the MIPI or QSPI interface.
  • MCU1 In the AP sleep state, MCU1 can be used as the main control chip, users can check heart rate, blood pressure, Bluetooth notification, power and other content through the LCD screen; users can also wake up MCU2, and view the above heart rate, blood pressure, Bluetooth notification, power, etc. through MCU2 Content, interactive operations, GPS signals, etc. can be obtained.
  • the AP can be awakened by voice or a button.
  • the specific solution provided in this specific embodiment adopts a dual MCU solution architecture, and each independently undertakes related work, and both can be used as a master control chip.
  • multiple application scenarios on the side of the smart operating system are separately implemented in the MCU, such as hot word wake-up, screen display, sensor, touch screen, GPS, Bluetooth communication, etc., covering most of them Daily application scenarios.
  • This can save more power consumption of the CPU and resources of the intelligent operating system, allowing the intelligent operating system to go to sleep more to ensure long standby.
  • users can reach a battery life of about 5 days, and can reach a standby time of about 1 month while maintaining the pure MCU mode.
  • the various technologies described herein can be implemented in combination with hardware or software, or a combination of them. Therefore, the method and device of the present disclosure, or some aspects or parts of the method and device of the present disclosure, may adopt the program code embedded in a tangible medium, such as a floppy disk, CD-ROM, hard drive, or any other machine-readable storage medium. (I.e., instructions) form in which when a program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present disclosure.
  • a tangible medium such as a floppy disk, CD-ROM, hard drive, or any other machine-readable storage medium.
  • the computing device When the program code is executed on a programmable computer, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), and at least one input device, And at least one output device.
  • the memory is configured to store program code; the processor is configured to execute various methods of the present disclosure according to instructions in the program code stored in the memory.
  • Computer-readable media include computer storage media and communication media.
  • Computer readable media include computer storage media and communication media.
  • the computer storage medium stores information such as computer readable instructions, data structures, program modules, or other data.
  • Communication media generally embody computer-readable instructions, data structures, program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and include any information delivery media. Combinations of any of the above are also included in the scope of computer-readable media.
  • modules or units or components of the device in the example disclosed herein can be arranged in the device as described in this embodiment, or alternatively can be positioned differently from the device in this example Of one or more devices.
  • the modules in the foregoing examples can be combined into one module or, in addition, can be divided into multiple sub-modules.
  • modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or units are mutually exclusive, any combination can be used to compare all the features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or methods disclosed in this manner or All the processes or units of the equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electric Clocks (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种数据传输方法、装置和智能手表设备,包括所述智能手表的第一微控制单元MCU的第一BLE模块接收到传输数据的指令;所述传输数据的指令包括与应用处理器AP传输数据的指令或与移动终端传输数据的指令(S210);如果所述传输数据的指令是与AP传输数据的指令,所述第一BLE模块判断所述AP是否处于唤醒状态,如果是,通过射频通信RFCOMM接口与所述AP的第二BLE模块传输数据,否则,缓存待传输数据(S220);如果所述传输数据的指令是与移动终端传输数据的指令,所述第一BLE模块将状态信息同步至所述AP的第二BLE模块,以及,通过RFCOMM接口与所述移动终端传输数据(S230)。

Description

一种数据传输方法、装置和智能手表设备
本申请要求了2019年11月27日提交的、申请号为201911179285.9、发明名称为“一种智能手表的低功耗蓝牙BLE数据传输方法、装置”和2019年11月27日提交的、申请号为201911179163.X、发明名称为“一种智能手表设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及智能穿戴设备领域,尤其涉及一种数据传输方法、装置和智能手表设备。
背景技术
当前,为了提升智能手表的续航性能,部分厂商采用了单片微控制单元(Microcontroller Unit,MCU)方案来节省电力,由单片MCU替代智能操作系统执行一部分智能手表功能。
在这种方案下,智能手表仍然需要频繁唤醒智能操作系统以实现另外一部分功能,因此,智能手表的功耗仍然较高。
发明内容
为此,本公开提供了一种数据传输方法、装置和智能手表设备,以力图解决或者至少缓解上面存在的至少一个问题。
根据本公开实施例的一个方面,提供了一种智能手表的BLE数据传输方法,包括:
智能手表的第一MCU的第一BLE模块接收到传输数据的指令;传输数据的指令包括与智能手表的AP传输数据的指令或与移动终端传输数据的指令;
如果传输数据的指令是与AP传输数据的指令,第一BLE模块判断AP是否处于唤醒状态,如果是,通过射频通信(RFCOMM)接口与AP的第二BLE模块传输数据,否则,缓存待传输数据;
如果传输数据的指令是与移动终端传输数据的指令,第一BLE模块将状态信息同步至AP的第二BLE模块,以及,通过RFCOMM接口与移动终端传输数据。
可选地,传输数据的指令还包括与智能手表的第二MCU传输数据的指令;
方法还包括:
如果传输数据的指令是与第二MCU传输数据的指令,第一BLE模块通过第一MCU与第二MCU之间的数据共享协议,与第二MCU传输数据。
可选地,还包括:
第一BLE模块通过RFCOMM接口发送数据之前,对数据有效性进行验证。
可选地,还包括:
第一BLE模块对传输的数据进行封装或解析处理。
可选地,第一BLE模块判断AP是否处于唤醒状态,包括:
第一BLE模块根据第一MCU运行的服务的通知判断AP是否处于唤醒状态。
可选地,第一BLE模块将状态信息同步至AP的BLE模块,包括:
第一BLE模块通过库文件提供的定制接口,采用透传方式将状态信息同步至AP的BLE模块。
根据本公开实施例的另一方面,提供一种BLE模块装置,与智能手表的第一MCU连接,包括:
指令接收模块,用于接收传输数据的指令;传输数据的指令包括与智能手表的AP传输数据的指令或与移动终端传输数据的指令;
第一处理模块,用于传输数据的指令是与AP传输数据的指令时,判断AP是否处于唤醒状态,如果是,通过RFCOMM接口与AP传输数据,否则,缓存待传输数据;
第二处理模块,用于传输数据的指令是与移动终端传输数据的指令时,将状态信息同步至AP的BLE模块,以及,通过RFCOMM接口与移动终端传输数据。
可选地,装置还包括:
第三处理模块,用于传输数据的指令是与智能手表的第二MCU传输数据的指令时,通过第一MCU与第二MCU之间的数据共享协议,与第二MCU传输数据。
根据本公开的又一方面,提供一种MCU装置,包括上述的BLE模块装置。
根据本公开的又一方面,提供一种智能手表设备,其特征在于,包括AP和上述的MCU装置。
根据本公开的又一方面,提供一种智能手表设备,包括:
运行智能操作系统的应用处理器(Application Processor,AP)、第一功能模块、第 二功能模块、第一MCU和第二MCU;
第一MCU用于当AP处于休眠状态时,驱动第一功能模块;
第二MCU用于当AP处于休眠状态时,驱动第二功能模块。
可选地,第一MCU的功耗低于第二MCU的功耗,第一功能模块的功耗低于第二功能模块的功耗。
可选地,第一功能模块包括Audio in模块、Mic模块、BLE模块、NBIOT模块、sensor模块、Fual Guage模块中的至少一个;第二功能模块包括Touch模块、KEY模块、定位模块中的至少一个。
可选地,第一MCU用于驱动第一功能模块时,具体用于:
驱动音频输入(Audio in)模块和麦克风(Mic)模块接收语音指令;
以及,
根据语音指令唤醒智能操作系统。
可选地,第一MCU用于驱动第一功能模块时,具体用于:
驱动低功耗蓝牙(Bluetooth Low Energy,BLE)模块采集第一信息;
以及,
驱动第一显示模块显示第一信息。
可选地,第一MCU用于驱动第一功能模块时,具体用于:
驱动窄带物联网(Narrow Band Internet of Things,NB-IoT)模块采集第二信息;
以及,
驱动第一显示模块显示第二信息。
可选地,第一MCU用于驱动第一功能模块时,具体用于:
驱动传感器(sensor)模块采集传感数据;
以及,
驱动第一显示模块显示传感数据。
可选地,第一MCU用于驱动第一功能模块时,具体用于:
驱动电量计(Fual Guage)模块采集电量数据;
以及,
驱动第一显示模块显示电量数据。
可选地,第二MCU用于驱动第二功能模块时,具体用于:
接收第一MCU传输的已采集数据;
以及,
驱动第二显示模块显示第一功能模块采集的数据。
可选地,第二MCU用于驱动第二功能模块时,具体包括:
驱动触摸(Touch)模块采集触摸信息;
以及,
驱动第二显示模块显示触摸信息的响应内容。
可选地,第二MCU用于驱动第二功能模块时,具体包括:
驱动按键(KEY)模块采集按键信息;
以及,
驱动第二显示模块显示按键信息的响应内容。
可选地,第二MCU用于驱动第二功能模块时,具体包括:
驱动定位模块采集定位数据;
以及,
处理定位数据并在第二显示模块显示处理结果。
可选地,AP还用于在唤醒后同步第一MCU和/或第二MCU在AP休眠期间产生的数据。
根据本公开实施例提供的技术方案,在MCU系统和智能操作系统并行存在的情况下,MCU挂载的蓝牙模块可在AP唤醒时与AP通信,同步AP休眠期间的数据,也可以在AP休眠时替代AP与移动终端直接传输数据,并将相关状态信息同步至AP的蓝牙模块,AP在唤醒后可以获取AP休眠期间MCU挂载的蓝牙模块与移动终端的通信数据;本方案实现了AP休眠期间,MCU挂载的蓝牙可以独立工作,无需唤醒AP,进而降低了智能手表的功耗。
附图说明
附图示出了本公开的示例性实施方式,并与其说明一起用于解释本公开的原理,其中包括了这些附图以提供对本公开的进一步理解,并且附图包括在本说明书中并构成本说明书的一部分。
图1是根据本公开实施例的智能手表设备的结构框图;
图2是根据本公开实施例的智能手表的BLE数据传输方法的流程图;
图3是根据本公开实施例的智能手表设备的又一结构框图;
图4是根据本公开实施例的智能手表的BLE数据传输方法的又一流程图;
图5是根据本公开实施例的MCU BLE与AP BLE交互数据的流程图;
图6是根据本公开实施例的MCU BLE与另一MCU交互数据的流程图;
图7是根据本公开实施例的MCU BLE与手机交互数据的流程图;
图8是根据本公开实施例的MCU BLE的完整工作流程图;
图9是根据本公开实施例的BLE模块装置的结构框图;
图10是根据本公开实施例的智能手表设备的结构框图;
图11是根据本公开具体实施例的智能手表设备的结构框图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
智能手表蓝牙通常的架构设计方案常常把蓝牙芯片与智能操作系统绑定,来实现通过蓝牙传输数据。也有一些方案实现了在没有智能操作系统条件下的单独的微控制单元MCU系统蓝牙传输。如果智能手表同时包括MCU系统和智能操作系统,还未有支持在MCU系统和智能操作系统并行存在的情况下,支持MCU系统蓝牙传输的方案;导致智能手表的MCU无法在蓝牙传输场景工作,需要唤醒应用处理器(Application Processor,AP)并运行智能操作系统,进而提高了智能手表的功耗。
图1是本公开实施例提供的智能手表设备的结构框图,其中包括AP10、第一MCU101、AP10连接第二BLE20和MCU11连接第一BLE21。AP运行智能操作系统,可以驱动传感器、电量计、语音唤醒监测、蓝牙、液晶显示屏(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)屏、触摸屏(Touch)、以及用于UI的交互的按键(KEY)以及第二BLE20等各个智能手表模块。第一MCU101可以在AP10休眠期间,驱动其中的部分模块,例如:传感器、电量计、语音唤醒监测、LCD,此外,第一MCU101单独配置有第一BLE模块21。
根据图1所示的智能手表设备的结构框图,本公开提供了一种智能手表的BLE数据传输方法,如图2所示,包括:
S210、第一MCU101的第一BLE模块21接收到传输数据的指令;传输数据的指 令包括与AP10传输数据的指令或与移动终端传输数据的指令;
S220、如果传输数据的指令是与AP10传输数据的指令,第一BLE模块21判断AP10是否处于唤醒状态,如果是,通过射频通信RFCOMM接口与AP10的第二BLE模块20传输数据,否则,缓存待传输数据;
S230、如果传输数据的指令是与移动终端传输数据的指令,第一BLE模块21将状态信息同步至AP10的第二BLE模块20,以及,通过RFCOMM接口与移动终端传输数据。
根据图2所示流程,在MCU和AP并行存在并且分别挂载BLE模块的情况下,MCU挂载的蓝牙模块可在AP唤醒时与AP通信,同步AP休眠期间的数据;也可以在AP休眠时替代AP与移动终端直接传输数据,并将相关状态信息同步至AP的蓝牙模块,AP在唤醒后可以获取AP休眠期间MCU挂载的蓝牙模块与移动终端的通信数据。从而,实现了AP休眠期间MCU挂载的蓝牙独立工作,无需唤醒AP,进而降低了智能手表的功耗。
图3是本公开实施例提供的智能手表设备的又一结构框图,其中包括AP10、第一MCU101、第二MCU102、AP10连接第二BLE20,MCU11连接第一BLE21。相比于图1所示智能手表的结构,新增的第二MCU102驱动的模块与第一MCU101可驱动的模块不同,例如,第一MCU101可驱动传感器、电量计、语音唤醒监测、BLE、液晶显示屏(Liquid Crystal Display,LCD)等,第二MCU102可驱动触摸屏、有机发光二极管(Organic Light-Emitting Diode,OLED)屏、触摸屏(Touch)、以及按键(KEY)等。两个MCU相互配合,在扩展MCU的使用场景的同时,尽量降低对AP的需求。
根据图3所示的智能手表设备的结构框图,本公开提供了一种智能手表的BLE数据传输方法,如图4所示,包括:
S410、第一MCU101的第一BLE模块21接收到传输数据的指令;传输数据的指令包括与AP10传输数据的指令或与移动终端传输数据的指令;
S420、如果传输数据的指令是与AP10传输数据的指令,第一BLE模块21判断AP10是否处于唤醒状态,如果是,通过射频通信RFCOMM接口与AP10的第二BLE模块20传输数据,否则,缓存待传输数据;
S430、如果传输数据的指令是与移动终端传输数据的指令,第一BLE模块21将状态信息同步至AP10的第二BLE模块20,以及,通过RFCOMM接口与移动终端传输数据。
S440、如果传输数据的指令是与第二MCU102传输数据的指令,第一BLE模块21通过第一MCU101与第二MCU102之间的数据共享协议,与第二MCU102传输数据。
本实施例中,第二MCU102需要使用第一BLE21采集的数据时,或者,需要通过第一BLE21外发数据时,通过定制的硬件抽象层(Hardware Abstraction Layer,HAL)接口,与第一MCU101完成交互。
可选地,第一BLE21包括控制器(Controller)模块,用于在通过RFCOMM接口发送数据之前,对数据有效性进行验证。
可选地,第一BLE21可执行数据包的封装、解析流程;并可在AP唤醒后,将封装好的数据打包发送出去。
可选地,第一BLE21根据第一MCU101运行的服务的通知判断AP10是否处于唤醒状态。第一BLE21和第一MCU101各自保持一个服务在运行,服务之间可以可交互AP10唤醒状态,也可以交互任务指令。
可选地,第一BLE21将状态信息同步至所述AP10的第二BLE模块20,包括:第一BLE21通过库文件提供的定制接口,采用透传方式将状态信息同步至AP10的BLE模块20。同步期间,第一BLE21与第二BLE模块20直接通信,AP10无需唤醒。
下面结合流程图,对第一BLE21在各个应用场景的工作流程进行说明。
如图5所示,本实施例提供的第一BLE21与AP10交互数据的流程包括:
S510、第一BLE21的服务service1接收第一MCU101的服务Service2的通知,其中包括AP10状态信息;
S520、第一BLE21调用库文件BleLib,检测到AP10唤醒后将裸数据封装打包;
S530、第一BLE21在做完数据传输阶段相应准备工作后,通知service1;
S540、service1询问controller作数据有效性验证;
S550、执行第一BLE21的协议栈(stack),调用RFCOMM接口将数据发送给AP10的第二BLE20。
如图6所示,本实施例提供的第一BLE21与第二MCU102交互数据的流程包括:
S610、第一BLE21的服务service1接收第一MCU101的服务Service2的通知,其中包括AP10状态信息;
S620、第一BLE21调用库文件BleLib,将裸数据封装打包;
S630、第一BLE21完成数据传输阶段相应准备工作;
S640、第一BLE21将数据包通过HAL传输给第二MCU102;
S650、第二MCU102解析数据包,得到完整包数据。
如图7所示,本实施例提供的第一BLE21与手机交互数据的流程包括:
S710、手机通过RFCOMM接口向第一BLE21下发数据传输指令;
S720、第一BLE21执行协议栈库文件,封装打包数据;
S730、第一BLE21通过定制接口,将第一BLE状态机数据传输至AP10的第二BLE20的协议栈;
S740、第一BLE21通过RFCOMM将数据透传至手机。
参见图8,示出了第一BLE21的完整工作流程。
参见图9,本公开还示出一种BLE模块装置900,与智能手表的第一MCU连接,包括:
指令接收模块910,用于接收传输数据的指令;传输数据的指令包括与应用处理器AP传输数据的指令或与移动终端传输数据的指令;
第一处理模块920,用于传输数据的指令是与AP传输数据的指令时,判断AP是否处于唤醒状态,如果是,通过RFCOMM接口与AP传输数据,否则,缓存待传输数据;
第二处理模块930,用于传输数据的指令是与移动终端传输数据的指令时,将状态信息同步至AP的BLE模块,以及,通过RFCOMM接口与移动终端传输数据。
关于BLE模块装置的具体限定可以参见上文中对于智能手表的BLE数据传输方法的限定,在此不再赘述。
本公开还提供了一种MCU,包括上述的BLE模块装置900。
本公开实施例提供的方案,在MCU系统上挂载低功耗蓝牙芯片,当智能操作系统进入休眠或关机的情况下,MCU系统具备独立的蓝牙通信能力,包括接受到数据传送给智能操作系统和另一个MCU操作系统,从而在无需唤醒AP的情况下,独立完成蓝牙传输任务,降低了智能手表的功耗,延长了智能手表的续航。
本公开还提供了一种智能手表设备,包括AP和上述的配置BLE模块装置900的MCU。
当前,为了提升智能手表的续航性能,部分厂商采用了单片MCU方案来节省电力,由单片MCU替代智能操作系统执行部分智能手表功能。这种方案下,MCU负载较重且扩展性较差,一般不支持交互,只能节省例如传感器的功耗;并且,由于单 颗MCU能够支持的功能有限,仍然需要频繁唤醒智能操作系统。
在业界越来越关注智能手表功耗的场景下,如何最大限度的降低功耗,是同样亟需解决的问题。
图10是本公开提供的智能手表设备的结构框图,其中包括AP100、第一功能模块201、第二功能模块202、第三功能模块203,第一MCU101和第二MCU102。AP100用于运行智能操作系统,并可通过智能操作系统驱动智能手表设备的多个功能模块;为了便于说明,上述功能模块中,定义可由第一MCU101驱动的功能模块是第一功能模块201、可由第二MCU102驱动的功能模块是第二功能模块202,仅可由AP驱动,MCU101和MCU102无法驱动的功能模块是第三功能模块203。第一MCU101用于当AP100处于休眠状态时,驱动第一功能模块201;第二MCU102用于当AP100处于休眠状态时,驱动第二功能模块202。根据本公开的一个实施例,第一MCU101工作于耗电量较低的场景,第一MCU101驱动的第一功能模块201包括传感器、电量计、语音唤醒监测、蓝牙、液晶显示屏(Liquid Crystal Display,LCD)等,用于维持智能手表的基本功能,包括唤醒智能操作系统,通过LCD的UI界面查看时间、电量,以及接收蓝牙通知等。第二MCU102工作于耗电量较高的场景,第二MCU102驱动的第二功能模块202包括有机发光二极管(Organic Light-Emitting Diode,OLED)屏、触摸屏(Touch)、以及用于UI的交互的按键(KEY)等,用户可基于第二MCU102提供的表盘UI界面进行触摸、按键等交互操作。除了第一功能模块201、第二功能模块202以外,AP还可驱动第三功能模块203,第三功能模块203可以是通话相关组件,例如:扬声器。显然,除通话相关组件外,功能模块的划分还存在其它任意的方式,例如,传感器可以属于第二功能模块。又例如:近场通信(Near Field Communication,NFC)可以属于第一功能模块201、第二功能模块202、第三功能模块203的任意一个。此外,AP100和第一MCU101、第二MCU102还可以重复配置相同的功能模块,例如,AP100单独配置一个BLE模块,MCU11同样单独配置一个BLE模块。
进一步地,当AP100处于休眠状态时,第一MCU101驱动Audio in模块和Mic模块接收语音指令;以及,根据语音指令唤醒智能操作系统。为此,第一MCU101应具备集成电路内置音频总线(Inter-IC Sound,I2S)/脉冲编码调制(Pulse Code Modulation,PCM)接口,以解码及传输语音数据。
进一步地,当AP100处于休眠状态时,第一MCU101驱动BLE模块采集第一信 息;以及,驱动第一显示模块显示第一信息。例如,智能手表在连接手机的场景下,接收到手机中的特定应用通过蓝牙推送的通知后,可由第一显示模块显示出来。
可选地,当AP100处于休眠状态时,第一MCU101驱动窄带物联网NBIOT模块采集第二信息;以及,驱动第一显示模块显示第二信息。NBIOT模块与BLE模块的功能类似,此处不再赘述。
可选地,当AP100处于休眠状态时,第一MCU101用于驱动传感器sensor模块采集传感数据;以及,驱动第一显示模块显示传感数据。传感器可以是心率传感器、血压传感器、温湿度传感器等。
进一步地,当AP100唤醒后,第一MCU101将传感器数据同步至AP100,由AP100的相关应用处理传感器数据。
可选地,当AP100处于休眠状态时,第一MCU101用于驱动Fual Guage模块采集电量数据;以及,驱动第一显示模块显示电量数据。
以上实施例,实现了在不启动AP100的条件下,通过MCU中的一颗较低功耗的MCU,用户可以查看电量、心率、血压、蓝牙通知等内容。
进一步地,当第二MCU102启动时,第二MCU102可接收第一MCU传输的由第一功能模块201采集的电量、心率、血压、蓝牙通知等数据;以及,驱动第二显示模块显示第一功能模块201采集的数据。
可选地,当AP100处于休眠状态时,第二MCU102驱动Touch模块采集触摸信息;以及,驱动第二显示模块显示触摸信息的响应内容。第二MCU102在第二显示模块提供了UI界面,用户在该UI界面可查看电量、心率、血压、表盘时间、电量等数据,用户通过Touch进行点选、滑动操作控制UI的显示内容。
可选地,当AP100处于休眠状态时,第二MCU102驱动KEY模块采集按键信息;以及,驱动第二显示模块显示按键信息的响应内容。例如,KEY模块包括唤醒键、翻页键,唤醒键用于唤醒第二MCU,翻页键用于在第二显示模块的UI界面进行翻页操作。
本公开实施例中,第一显示模块和第二显示模块可以是相同的显示模块;也可以是不同的显示模块,分别是一个较低功耗的显示模块,如LCD,一个较高功耗的显示模块,如OLED。
可选地,当AP100处于休眠状态时,第二MCU102驱动定位模块采集定位数据;以及,处理定位数据并在第二显示模块显示处理结果。定位模块可以是全球定位系统 (Global Positioning System,GPS),也可以是北斗卫星导航系统(BeiDou Navigation Satellite System,BDS)等其它定位系统。定位数据的处理可以是计算路程、坐标等。
可选地,当AP100唤醒后,第一MCU101和第二MCU102需将AP100休眠期间产生的数据同步至AP100,供AP100的各类应用进行进一步处理。
可选地,第一MCU101和第二MCU102还可以是同型号的MCU或者功耗近似的MCU,由于采用了双MCU,同样能够扩展MCU的应用范围,降低对AP的依赖。
下面结合具体实施例对本公开进行进一步地说明。
如图11所示,本公开具体实施例提供了智能手表的工程设计方案,其中,包括AP、MCU1和MCU2。AP具备I2C(Inter-Integrated Circuit)、串行外设接口(Serial Peripheral Interface,SPI)、直接内存存取(Direct Memory Access,DMA)、通用输入输出(General-purpose input/output,GPIO)等常用数据接口,以及,电源管理集成电路(Power Management IC,PMIC)。MCU1内置服务Service1,Service1通过硬件抽象层(Hardware Abstraction Layer,HAL)调用MCU1内置的I2C-M、队列串行外围接口协议(Queued SPI)/SPI、DMI等接口,特别是还包括I2S/PCM接口,用于传输语音数据。MCU2内置服务Service2、专用的非易失性存储单元Nor Flash,Service2通过HAL调用MCU2内置的I2C-M、SPI-M、DMA等接口,Service2采用先进先出&同步(FIFO&SYNC)策略管理Nor Flash,相比于Service1,可实现更复杂的功能,可以运行简易的操作系统(Operating System,OS)实现包括UI交互,以及存取数据等功能。
AP在唤醒状态下,可以调用NFC、扬声器(Speaker)、LCD、Fual Guage、Sensors、BLE、Audio in、Mic、OLED、Touch、GPS、KEY等全部的功能模块。MCU1则可以在AP休眠时,调用LCD、Fual Guage、Sensors、BLE、Audio in、Mic等功能模块。MCU2可以在AP休眠时,调用OLED、Touch、GPS、KEY等功能模块。
AP与MCU1通过SPI接口通信,同步BLE、Sensor等模块在AP休眠期间产生的数据。AP与MCU2通过SPI接口通信,同步AP休眠期间产生的GPS数据。
AP与MCU2共用一块OLED屏幕,AP与OLED屏幕之间通过MIPI或QSPI接口连接。
在AP休眠状态下,可以由MCU1作为主控芯片,用户可以通过LCD屏幕查看心率、血压、蓝牙通知、电量等内容;用户还可以唤醒MCU2,通过MCU2查看上述心率、血压、蓝牙通知、电量等内容,以及可进行交互操作,可获取GPS信号等。 当用户需要使用其它MCU1和MCU2不支持的功能时,再通过语音或者按钮唤醒AP。
本具体实施例提供的具体方案,采用双MCU方案架构,各自独立承担相关工作,均可作为主控芯片。在智能手表CPU运行智能操作系统的前提下,将智能操作系统侧的多个应用场景单独在MCU中实现,例如热词唤醒、屏幕显示、传感器、触摸屏、GPS、蓝牙通讯等,覆盖了大部分日常应用场景。这样能够更多的节省CPU的功耗和智能操作系统的资源,让智能操作系统更多到进入睡眠,保证超长待机。用户在日常使用的情况下,可以达到5天左右到续航,在保持纯MCU模式下可以达到1个月左右的待机时间。
应当理解,这里描述的各种技术可结合硬件或软件,或者它们的组合一起实现。从而,本公开的方法和设备,或者本公开的方法和设备的某些方面或部分可采取嵌入有形媒介,例如软盘、CD-ROM、硬盘驱动器或者其它任意机器可读的存储介质中的程序代码(即指令)的形式,其中当程序被载入诸如计算机之类的机器,并被该机器执行时,该机器变成实践本公开的设备。
在程序代码在可编程计算机上执行的情况下,计算设备一般包括处理器、处理器可读的存储介质(包括易失性和非易失性存储器和/或存储元件),至少一个输入装置,和至少一个输出装置。其中,存储器被配置用于存储程序代码;处理器被配置用于根据该存储器中存储的该程序代码中的指令,执行本公开的各种方法。
以示例而非限制的方式,计算机可读介质包括计算机存储介质和通信介质。计算机可读介质包括计算机存储介质和通信介质。计算机存储介质存储诸如计算机可读指令、数据结构、程序模块或其它数据等信息。通信介质一般以诸如载波或其它传输机制等已调制数据信号来体现计算机可读指令、数据结构、程序模块或其它数据,并且包括任何信息传递介质。以上的任一种的组合也包括在计算机可读介质的范围之内。
应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。
本领域那些技术人员应当理解在本文所公开的示例中的设备的模块或单元或组 件可以布置在如该实施例中所描述的设备中,或者可替换地可以定位在与该示例中的设备不同的一个或多个设备中。前述示例中的模块可以组合为一个模块或者此外可以分成多个子模块。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
此外,所述实施例中的一些在此被描述成可以由计算机系统的处理器或者由执行所述功能的其它装置实施的方法或方法元素的组合。因此,具有用于实施所述方法或方法元素的必要指令的处理器形成用于实施该方法或方法元素的装置。此外,装置实施例的在此所述的元素是如下装置的例子:该装置用于实施由为了实施该公开的目的的元素所执行的功能。
如在此所使用的那样,除非另行规定,使用序数词“第一”、“第二”、“第三”等等来描述普通对象仅仅表示涉及类似对象的不同实例,并且并不意图暗示这样被描述的对象必须具有时间上、空间上、排序方面或者以任意其它方式的给定顺序。
尽管根据有限数量的实施例描述了本公开,但是受益于上面的描述,本技术领域内的技术人员明白,在由此描述的本公开的范围内,可以设想其它实施例。此外,应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本公开的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本公开的范围,对本公开所做的公开是说明性的,而非限制性的,本公开的范围由所附权利要求书限定。

Claims (20)

  1. 一种智能手表的低功耗蓝牙BLE数据传输方法,其特征在于,包括:
    所述智能手表的第一微控制单元MCU的第一BLE模块接收到传输数据的指令;所述传输数据的指令包括与所述智能手表的应用处理器AP传输数据的指令或与移动终端传输数据的指令;
    如果所述传输数据的指令是与所述AP传输数据的指令,所述第一BLE模块判断所述AP是否处于唤醒状态,如果是,通过射频通信RFCOMM接口与所述AP的第二BLE模块传输数据,否则,缓存待传输数据;
    如果所述传输数据的指令是与移动终端传输数据的指令,所述第一BLE模块将状态信息同步至所述AP的第二BLE模块,以及,通过RFCOMM接口与所述移动终端传输数据。
  2. 如权利要求1所述的方法,其特征在于,所述传输数据的指令还包括与所述智能手表的第二微控制单元MCU传输数据的指令;
    所述方法还包括:
    如果所述传输数据的指令是与所述第二微控制单元MCU传输数据的指令,所述第一BLE模块通过第一微控制单元MCU与第二微控制单元MCU之间的数据共享协议与所述第二微控制单元MCU传输数据。
  3. 如权利要求1所述的方法,其特征在于,还包括:
    所述第一BLE模块通过RFCOMM接口发送数据之前,对数据有效性进行验证。
  4. 如权利要求1所述的方法,其特征在于,还包括:
    所述第一BLE模块对传输的数据进行封装或解析处理。
  5. 如权利要求1所述的方法,其特征在于,所述第一BLE模块判断所述AP是否处于唤醒状态,包括:
    所述第一BLE模块根据第一微控制单元MCU运行的服务的通知判断所述AP是否处于唤醒状态。
  6. 如权利要求1所述的方法,其特征在于,所述第一BLE模块将状态信息同步至所述AP的BLE模块,包括:
    所述第一BLE模块通过库文件提供的定制接口,采用透传方式将状态信息同步至所述AP的BLE模块。
  7. 一种BLE模块装置,其特征在于,与智能手表的第一微控制单元MCU连接, 包括:
    指令接收模块,用于接收传输数据的指令;所述传输数据的指令包括与所述智能手表的AP传输数据的指令或与移动终端传输数据的指令;
    第一处理模块,用于所述传输数据的指令是与AP传输数据的指令时,判断所述AP是否处于唤醒状态,如果是,通过RFCOMM接口与所述AP传输数据,否则,缓存待传输数据;
    第二处理模块,用于所述传输数据的指令是与移动终端传输数据的指令时,将状态信息同步至所述AP的BLE模块,以及,通过RFCOMM接口与所述移动终端传输数据。
  8. 如权利要求7所述的装置,其特征在于,还包括:
    第三处理模块,用于所述传输数据的指令是与智能手表的第二微控制单元MCU传输数据的指令时,通过第一微控制单元MCU与第二微控制单元MCU之间的数据共享协议与所述第二微控制单元MCU传输数据。
  9. 一种MCU装置,其特征在于,包括如权利要求7或8所述的BLE模块装置。
  10. 一种智能手表设备,其特征在于,包括AP和如权利要求9所述的MCU装置。
  11. 一种智能手表设备,包括运行智能操作系统的应用处理器AP,其特征在于,所述智能手表设备还包括:
    第一功能模块、第二功能模块、第一微控制单元MCU和第二微控制单元MCU;
    所述第一微控制单元MCU用于当所述AP处于休眠状态时,驱动所述第一功能模块;
    所述第二微控制单元MCU用于当所述AP处于休眠状态时,驱动所述第二功能模块。
  12. 如权利要求11所述的设备,其特征在于,所述第一微控制单元MCU用于驱动所述第一功能模块时,具体用于:
    驱动音频输入Audio in模块和麦克风Mic模块接收语音指令;
    以及,
    根据所述语音指令唤醒所述智能操作系统。
  13. 如权利要求11所述的设备,其特征在于,所述第一微控制单元MCU用于驱动所述第一功能模块时,具体用于:
    驱动低功耗蓝牙BLE模块或窄带物联网NBIOT模块采集第一信息;
    以及,
    驱动所述第一显示模块显示所述第一信息。
  14. 如权利要求11所述的设备,其特征在于,所述第一微控制单元MCU用于驱动所述第一功能模块时,具体用于:
    驱动传感器sensor模块采集传感数据;
    以及,
    驱动第一显示模块显示所述传感数据。
  15. 如权利要求11所述的设备,其特征在于,所述第一微控制单元MCU用于驱动所述第一功能模块时,具体用于:
    驱动电量计Fual Guage模块采集电量数据;
    以及,
    驱动第一显示模块显示所述电量数据。
  16. 如权利要求11、13、14、15中的任一项所述的设备,其特征在于,所述第二微控制单元MCU用于驱动所述第二功能模块时,具体用于:
    接收所述第一微控制单元MCU传输的已采集数据;
    以及,
    驱动第二显示模块显示所述第一功能模块采集的数据。
  17. 如权利要求11所述的设备,其特征在于,所述第二微控制单元MCU用于驱动所述第二功能模块时,具体包括:
    驱动触摸Touch模块采集触摸信息;
    以及,
    驱动第二显示模块显示所述触摸信息的响应内容。
  18. 如权利要求11所述的设备,其特征在于,所述第二微控制单元MCU用于驱动所述第二功能模块时,具体包括:
    驱动KEY模块采集按键信息;
    以及,
    驱动第二显示模块显示所述按键信息的响应内容。
  19. 如权利要求11所述的设备,其特征在于,所述第二微控制单元MCU用于驱动所述第二功能模块时,具体包括:
    驱动定位模块采集定位数据;
    以及,
    处理所述定位数据并在第二显示模块显示处理结果。
  20. 如权利要求11所述的设备,其特征在于,所述AP还用于在唤醒后同步所述第一微控制单元MCU和/或所述第二微控制单元MCU在所述AP休眠期间产生的数据。
PCT/CN2020/131167 2019-11-27 2020-11-24 一种数据传输方法、装置和智能手表设备 WO2021104267A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20892867.1A EP4047452A4 (en) 2019-11-27 2020-11-24 DATA TRANSMISSION METHOD AND DEVICE AND INTELLIGENT WATCH DEVICE
US17/749,597 US11928002B2 (en) 2019-11-27 2020-11-24 Data transmission method, apparatus and smart watch device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201911179163.XA CN110955323A (zh) 2019-11-27 2019-11-27 一种智能手表设备
CN201911179163.X 2019-11-27
CN201911179285.9 2019-11-27
CN201911179285.9A CN110891259B (zh) 2019-11-27 2019-11-27 一种智能手表的低功耗蓝牙ble数据的传输方法、装置

Publications (1)

Publication Number Publication Date
WO2021104267A1 true WO2021104267A1 (zh) 2021-06-03

Family

ID=76129976

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131167 WO2021104267A1 (zh) 2019-11-27 2020-11-24 一种数据传输方法、装置和智能手表设备

Country Status (3)

Country Link
US (1) US11928002B2 (zh)
EP (1) EP4047452A4 (zh)
WO (1) WO2021104267A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040152495A1 (en) * 2003-02-04 2004-08-05 Lg Electronics Inc. Power-save system and method
CN102036349A (zh) * 2009-09-29 2011-04-27 联想(北京)有限公司 维持终端和网络服务器连接的方法、终端及网络服务器
CN104503691A (zh) * 2014-11-27 2015-04-08 小米科技有限责任公司 设备控制方法及装置
CN105408835A (zh) * 2013-07-23 2016-03-16 三星电子株式会社 用于控制便携式终端的功耗的方法和设备
CN108319360A (zh) * 2018-01-26 2018-07-24 出门问问信息科技有限公司 一种显示装置、电子设备及屏幕显示控制方法
CN110891259A (zh) * 2019-11-27 2020-03-17 出门问问信息科技有限公司 一种智能手表的低功耗蓝牙ble数据的传输方法、装置
CN110955323A (zh) * 2019-11-27 2020-04-03 出门问问信息科技有限公司 一种智能手表设备

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305569A (ja) 1996-01-17 1997-11-28 Texas Instr Inc <Ti> Cpuの動作特性に応じてコンピュータの動作を制御する方法と装置
CN201252572Y (zh) 2008-09-09 2009-06-03 北京时代凌宇科技有限公司 一种降低传感器节点休眠功耗的装置
CN105404378A (zh) 2014-09-15 2016-03-16 丰唐物联技术(深圳)有限公司 一种智能手环及智能手环的节电方法
KR20160054850A (ko) 2014-11-07 2016-05-17 삼성전자주식회사 다수의 프로세서들을 운용하는 장치 및 방법
US9684357B2 (en) 2015-02-25 2017-06-20 International Business Machines Corporation Predictive electrical appliance device power management mode based on presence detection of mobile device
CN105094816A (zh) 2015-07-09 2015-11-25 北京君正集成电路股份有限公司 一种降低智能设备功耗的方法及智能设备
CN105388748A (zh) 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 一种智能手表显示时间的方法及智能手表
CN105681429A (zh) 2016-01-25 2016-06-15 上海谷柚信息科技有限公司 一种手表用超低功耗的智能计步系统及方法
KR20170098576A (ko) * 2016-02-22 2017-08-30 삼성전자주식회사 전자 장치 및 전자 장치에서 데이터를 처리하는 방법
CN105744606A (zh) 2016-04-01 2016-07-06 努比亚技术有限公司 用户设备及休眠唤醒方法
CN105872976A (zh) 2016-05-17 2016-08-17 北京小米移动软件有限公司 定位方法和装置
CN106658365A (zh) 2016-11-18 2017-05-10 青岛海信移动通信技术股份有限公司 一种基于低功耗蓝牙协议的通信方法和装置
CN106873753A (zh) 2017-01-17 2017-06-20 上海斐讯数据通信技术有限公司 一种可穿戴设备及其控制方法
CN107126202B (zh) 2017-03-31 2019-01-18 上海掌门科技有限公司 一种心率异常数据检测及提示的方法及智能手表
WO2018195923A1 (zh) 2017-04-28 2018-11-01 广东欧珀移动通信有限公司 解锁控制方法及相关产品
US10959174B2 (en) * 2017-09-02 2021-03-23 Apple Inc. Wake-up radio with urgent-data criterion

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040152495A1 (en) * 2003-02-04 2004-08-05 Lg Electronics Inc. Power-save system and method
CN102036349A (zh) * 2009-09-29 2011-04-27 联想(北京)有限公司 维持终端和网络服务器连接的方法、终端及网络服务器
CN105408835A (zh) * 2013-07-23 2016-03-16 三星电子株式会社 用于控制便携式终端的功耗的方法和设备
CN104503691A (zh) * 2014-11-27 2015-04-08 小米科技有限责任公司 设备控制方法及装置
CN108319360A (zh) * 2018-01-26 2018-07-24 出门问问信息科技有限公司 一种显示装置、电子设备及屏幕显示控制方法
CN110891259A (zh) * 2019-11-27 2020-03-17 出门问问信息科技有限公司 一种智能手表的低功耗蓝牙ble数据的传输方法、装置
CN110955323A (zh) * 2019-11-27 2020-04-03 出门问问信息科技有限公司 一种智能手表设备

Also Published As

Publication number Publication date
US20230161397A1 (en) 2023-05-25
EP4047452A1 (en) 2022-08-24
US11928002B2 (en) 2024-03-12
EP4047452A4 (en) 2022-12-28

Similar Documents

Publication Publication Date Title
CN109478392B (zh) 显示驱动方法、支持该方法的显示驱动器集成电路、包括该显示驱动器集成电路的电子设备
US10904310B2 (en) Method and apparatus for communicating streaming data in bluetooth-based wireless communication system
WO2021063097A1 (zh) 一种显示方法及电子设备
KR102076280B1 (ko) 이동 통신 시스템에서 전자 장치의 통신 수행 방법 및 장치
CN114245256A (zh) 移动通信设备及其操作方法以及移动系统
KR20150066083A (ko) 전자 장치의 멀티 태스킹 방법 및 그 전자 장치
EP2983341B1 (en) Method and apparatus for synchronizing applications of an electronic device
US10187434B2 (en) Method and apparatus for controlling data transmission in voice call over packet-switched network
WO2021143541A1 (zh) 无线通信方法和具有无线通信功能的设备
US10432926B2 (en) Method for transmitting contents and electronic device thereof
KR102134420B1 (ko) 저전력으로 위치 변화를 측정하는 전자 장치 및 방법
WO2021027678A1 (zh) 一种基于垂直同步信号的图像处理方法及电子设备
EP2869543A1 (en) IR communication method and electronic device thereof
WO2022017474A1 (zh) 任务处理方法及相关装置
US10387101B2 (en) Electronic device for providing content and control method therefor
KR20170062853A (ko) 전자 장치 및 그의 동작 방법
CN110891259B (zh) 一种智能手表的低功耗蓝牙ble数据的传输方法、装置
KR20150056690A (ko) 번역 상황을 인지하고 번역 기능을 수행하는 방법 및 이를 구현하는 전자장치
CN110955323A (zh) 一种智能手表设备
WO2021218842A1 (zh) 下行接收触发方法、终端和网络侧设备
EP4145914A1 (en) Downlink reception triggering method, and terminal and network side device
WO2021190538A1 (zh) 电子设备的睡眠呼吸暂停监测方法和介质
KR20150026257A (ko) 액세서리의 정보를 업 데이트하는 전자 장치 및 방법
WO2021104267A1 (zh) 一种数据传输方法、装置和智能手表设备
CN210742696U (zh) 一种手表装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20892867

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020892867

Country of ref document: EP

Effective date: 20220516

NENP Non-entry into the national phase

Ref country code: DE