WO2017063437A1 - 可穿戴设备及其进行数据收发的方法 - Google Patents
可穿戴设备及其进行数据收发的方法 Download PDFInfo
- Publication number
- WO2017063437A1 WO2017063437A1 PCT/CN2016/093639 CN2016093639W WO2017063437A1 WO 2017063437 A1 WO2017063437 A1 WO 2017063437A1 CN 2016093639 W CN2016093639 W CN 2016093639W WO 2017063437 A1 WO2017063437 A1 WO 2017063437A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mcu
- protocol
- wearable device
- data
- interface
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000004891 communication Methods 0.000 claims abstract description 81
- 230000005540 biological transmission Effects 0.000 claims description 31
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/3827—Portable transceivers
- H04B1/385—Transceivers carried on the body, e.g. in helmets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Definitions
- the present invention relates to the field of wearable device technologies, and in particular, to the field of network access technologies, and in particular, to a wearable device and a method for performing data transmission and reception.
- wearable devices such as smart watches
- users' requirements for wearable devices are no longer an accessory for smartphones, and they are also required to work independently.
- wearable devices can timely transmit motion data.
- Uploading to a cloud data center or receiving data such as weather, stocks, etc. requires wearable devices to have independent communication capabilities.
- wearable devices typically implement this communication function using a Wi-Fi connection.
- the wearable device solutions on the market are based on an MCU (Micro Controller Unit) architecture
- the MCU architecture includes a CPU and a RAM (random access memory), a ROM (Read-Only Memory), and the like.
- Memory, and its operating system is generally RTOS (Real-Time Operating System). Due to the resource limitations of the CPU and the memory itself, a single function RTOS cannot simultaneously ensure the stability of the Wi-Fi connection and the system performance of the wearable device. Even if the Wi-Fi protocol of the Wi-Fi connection is ported and runs on the operating system of the wearable device, it will bring a large amount of software porting development work to the operating system, which may cause software development risks.
- embodiments of the present invention provide a wearable device and a method for performing data transmission and reception thereof, which can independently separate a TCP/IP protocol and a wireless communication protocol from an MCU of a wearable device, and ensure stability and availability of a wireless network connection. System performance of the wearable device.
- the wearable device includes: a first MCU; a second MCU and a radio frequency antenna; the second MCU includes a processor and a memory and is integrated with a wireless network card, and the wireless network card supports network communication TCP/IP protocol and wireless communication protocol.
- the memory stores a program; wherein the processor is configured to execute a program to control the wireless network card to establish a wireless connection with the external terminal based on the wireless communication protocol, and control the radio frequency antenna to perform data collection between the first MCU and the external terminal based on the TCP/IP protocol. hair.
- the wearable device further includes a sensing device connected to the first MCU, the sensing device is configured to transmit the collected sensing data to the first MCU, and the processor is configured to execute a program to control the RF antenna to receive the first MCU transmission. Sensing data, and then transmitting the sensing data to the external terminal to complete the transmitting phase of data transceiving; in the receiving phase of data transceiving, the processor is configured to execute a program to control the radio frequency antenna to receive the data sent by the first MCU.
- the sensing device and the first MCU are connected through a first type of interface, and the radio frequency antenna and the first MCU are connected through a second type interface.
- the first type interface includes a two-wire serial bus I 2 C interface
- the second type interface includes a universal asynchronous transceiver transceiver UART serial port.
- the wireless communication protocol includes a Wi-Fi protocol and a Bluetooth Bluetooth protocol.
- the wearable device includes: a first micro control unit MCU; a communication module, including a second MCU and a radio frequency unit, and a communication unit integrated in the second MCU, the communication unit supports a network communication protocol TCP /IP protocol and wireless communication protocol; when the wearable device performs data transmission and reception with the external terminal, the first MCU is connected to the second MCU, and the communication unit of the second MCU establishes a wireless connection with the external terminal based on the wireless communication protocol, and the radio frequency unit is based on TCP
- the /IP protocol performs data transmission and reception between the first MCU and the external terminal.
- the wearable device further includes a sensing device connected to the first MCU, and the sensing device is configured to transmit the collected sensing data to the first MCU, and transmit the data to the second MCU via the first MCU, where the second MCU Transmitting the sensing data to the external terminal to complete the transmitting phase of data transceiving; in the receiving phase of the data transceiving, the second MCU receives the data, and then transmits the data to the first MCU.
- the sensing device and the first MCU are connected through a first type of interface, and the radio frequency unit and the first MCU are connected through a second type of interface.
- the first type interface includes a two-wire serial bus I 2 C interface
- the second type interface includes a universal asynchronous transceiver transceiver UART serial port.
- the wireless communication protocol includes a Wi-Fi protocol and a Bluetooth Bluetooth protocol.
- the method for transmitting and receiving data by the wearable device includes: setting a second MCU in the communication module, and integrating a communication unit in the second MCU, the communication unit supporting the network communication protocol TCP/IP protocol and the wireless communication protocol Integrated in the second MCU; in wearable When the data is transmitted and received with the external terminal, the first MCU is connected to the second MCU, and the communication unit of the second MCU establishes a wireless connection with the external terminal based on the wireless communication protocol, and the radio unit is based on the TCP/IP protocol in the first MCU and the external terminal. Data is sent and received.
- the wearable device further includes a sensing device connected to the first MCU, and the step of transmitting and receiving data between the first MCU and the external terminal by the radio frequency unit based on the TCP/IP protocol includes: sensing data collected by the sensing device Transmitting to the first MCU and transmitting to the second MCU via the first MCU, the second MCU transmitting the sensing data to the external terminal to complete the transmitting phase of data transceiving; in the receiving phase of data transceiving, the second MCU receiving the data And transmitting the data to the first MCU.
- the sensing device and the first MCU are connected through a first type of interface, and the radio frequency unit and the first MCU are connected through a second type of interface.
- the first type interface includes a two-wire serial bus I 2 C interface
- the second type interface includes a universal asynchronous transceiver transceiver UART serial port.
- the wireless communication protocol includes a Wi-Fi protocol and a Bluetooth Bluetooth protocol.
- the wearable device and the method for performing data transmission and reception according to the embodiments of the present invention integrate the TCP/IP protocol and the wireless communication protocol into a single MCU, instead of being transplanted into the MCU of the wearable device, that is, the TCP/IP protocol.
- the wireless communication protocol is independent from the operating system of the wearable device, thereby simplifying the operating system of the wearable device and reducing the development of the wearable device while ensuring the stability of the wireless network connection and the system performance of the wearable device.
- the workload of the operating system and it is convenient to find and analyze the causes of system failures later, improve the efficiency of software development and reduce the risk of software development.
- FIG. 1 is a schematic structural view of an embodiment of a wearable device of the present invention
- FIG. 2 is a flow chart of an embodiment of a method for data transmission and reception by a wearable device according to the present invention
- FIG. 3 is a schematic structural view of another embodiment of the wearable device of the present invention.
- the wearable device 10 includes a first micro controller unit (MCU) 11 and a communication module 12 .
- MCU micro controller unit
- the communication module 12 establishes a connection with an external terminal based on a wireless communication protocol, and after establishing the connection, the communication module 12 is based on a data transmission protocol (eg, Transmission Control Protocol/Internet) Protocol, abbreviated as TCP/IP protocol, also known as Transmission Control Protocol/Internet Protocol or Network Communication Protocol, performs data transmission and reception between the first micro control unit 11 and an external terminal.
- TCP/IP protocol Transmission Control Protocol/Internet Protocol
- Network Communication Protocol performs data transmission and reception between the first micro control unit 11 and an external terminal.
- the data transceiving should be understood as: the communication module 12 transmits the data to be sent by the first micro control unit 11 to the external terminal, and the communication module 12 transmits the data to be sent by the external terminal to the first micro control unit 11.
- the external terminal can be understood as a portable communication device such as a mobile phone or a computer, or can be understood as a server.
- the communication module 12 of the embodiment of the present invention also includes an MCU-second micro-control unit 121, and the second micro-control unit 121 is integrated with a communication unit 1211, and the communication unit 1211 supports the foregoing wireless communication protocol. And data transfer protocols.
- the first micro control unit 11 is connected to the second micro control unit 121, and the communication unit 1211 of the second micro control unit 121 establishes a wireless connection with the external terminal based on the wireless communication protocol.
- the radio frequency unit 122 performs data transceiving between the first micro control unit 11 and the external terminal based on the data transmission protocol.
- the embodiment of the present invention separates the data transmission protocol and the wireless communication protocol from the MCU (Operating System) of the wearable device 10, so that the stability of the wireless connection can be ensured, and the wearable device 10 can be ensured.
- the operating performance of the operating system At the same time, the operating system of the wearable device 10 can be simplified, and the workload of developing the operating system of the wearable device 10 can be reduced.
- the data sent and received by the communication module 12 may be sensor data collected or externally collected by the sensing device 13 of the wearable device 10, wherein the sensing device includes a microphone, a camera, Acceleration detection equipment, temperature sensor, etc.
- the sensing device 13 is connected to the first micro control unit 11 to transmit the collected sensing data to the first micro control unit 11, and the first micro control unit 11 transmits the sensing data to the second micro control unit 121.
- the second micro control unit 121 transmits the sensing data to the radio frequency unit 122, and finally the sensing is performed by the radio frequency unit 122. Data is transferred to the external terminal.
- the wearable device 10 can also receive other types of data from the external terminal.
- the second micro control unit 121 receives the external data sent by the external terminal and transmits the external data to the first micro control unit 11.
- the sensing device 13 and the first micro control unit 11 can be connected through a first type of interface, and the radio frequency unit 122 and the first micro control unit 11 can be connected through a second type of interface.
- the first type of interface may be an I 2 C (Inter-Integrated Circuit) interface
- the second type of interface may be a UART (Universal Asynchronous Receiver/Transmitter) serial port, of course, the second type.
- the type interface can be an I 2 C interface. That is to say, the same type of interface may be used between the sensing device 13 and the first micro control unit 11 and the radio frequency unit 122 and the first micro control unit 11 or different types of interfaces may be used.
- the wireless communication protocol of the embodiment of the present invention may be a Wi-Fi protocol or a Bluetooth Bluetooth protocol.
- Wi-Fi protocol the Wi-Fi software architecture to be programmed by software development is divided into a multi-layer architecture, which includes MAC (Media Access Control) addresses, baseband and radio information.
- MAC Media Access Control
- RF Radio Frequency
- the data transmission protocol of TCP/IP protocol and Driver, Supplicant, TLS/S SL (Secure Sockets Layer, Transport Layer Security, Transport Layer Security) information, Protocols information, and Application (Application) The information is run in the second micro control unit 121 of the communication module 12.
- the Wi-Fi protocol software is run in the independent MCU (ie, the second micro control unit 121) in the communication module 12, and is not directly related to the operating system of the wearable device 10, and only when data is transmitted and received. It is associated with the operating system of the wearable device 10, thus avoiding the risks and difficulties of software development.
- FIG. 2 is a flow chart of an embodiment of a method for data transmission and reception by a wearable device according to the present invention. As shown in FIG. 2, the method for data transmission and reception by the wearable device includes:
- S21 setting a second MCU in the communication module, and integrating a communication unit in the second MCU, the communication unit supports a data transmission protocol and a wireless communication protocol, where the second MCU is independent of the first MCU where the operating system of the wearable device is located .
- the respective steps of the method of data transmission and reception of the present embodiment can be performed correspondingly by the wearable device 10 having the above structure, and have the same technical effects.
- FIG. 3 illustrates a wearable device according to another embodiment of the present invention.
- the wearable device 30 includes a first MCU 31, a second MCU 32, and a radio frequency antenna 33.
- the second MCU 32 includes a processor 321 and a memory 322 and is integrated with a wireless network card 333.
- the wireless network card 333 supports network communication TCP/IP protocol and The wireless communication protocol, the memory 322 stores a program for implementing data transmission and reception between the wearable device 30 and an external terminal.
- the processor 321, the memory 322, the wireless network card 333, and the radio frequency antenna 33 are connected.
- the processor 321 is configured to:
- the program is executed to control the wireless network card 333 to establish a wireless connection with the external terminal based on the wireless communication protocol, and control the radio frequency antenna 33 to perform data transmission and reception between the first MCU 31 and the external terminal based on the TCP/IP protocol.
- the wireless communication protocol includes, but is not limited to, a Wi-Fi protocol, a Bluetooth Bluetooth protocol.
- the wearable device 30 may further include a sensing device 34 connected to the first MCU 31, and the sensing device 34 is configured to transmit the collected sensing data to the first MCU 31.
- the processor 321 is configured to execute a program to control the radio frequency antenna 33 to receive the sensing data transmitted by the first MCU 31, and then send the sensing data to the external terminal to complete the transmitting phase of the data transceiving.
- the processor 321 is configured to execute a program to control the radio frequency antenna 33 to receive data transmitted by the first MCU 31.
- the sensing device 34 and the first MCU 31 are connected through a first type of interface, and the radio frequency antenna 33 and the first MCU 31 are connected through a second type of interface.
- the first type of interface includes but is not limited to an I 2 C interface
- the second type of interface includes but is not limited to a UART serial port.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Communication Control (AREA)
Abstract
本发明提供一种可穿戴设备,将TCP/IP协议和无线通信协议从第一MCU中独立开来并集成于第二MCU的通讯单元中,并且只在可穿戴设备与外部终端进行数据收发时,通讯模块才与第一MCU进行数据传输,而后基于无线通信协议和TCP/IP协议进行数据收发。本发明还提供一种可穿戴设备进行数据收发的方法。
Description
本发明涉及可穿戴设备技术领域,具体涉及网络接入技术领域,尤其涉及一种可穿戴设备及其进行数据收发的方法。
随着智能手表等可穿戴设备市场的不断扩大,用户对可穿戴设备的要求不再是智能手机的一个配件,还要求其能够独立工作,例如在户外运动时,可穿戴设备能够将运动数据及时上传至云数据中心或者接收天气、股票等数据,这就要求可穿戴设备具有独立的通讯功能。当前,可穿戴设备通常采用Wi-Fi连接方式实现该通讯功能。
目前市场上的可穿戴设备方案均基于MCU(Micro controller Unit,微控制单元)架构,MCU架构包括CPU和RAM(random access memory,随机存储内存)、ROM(Read-Only Memory,只读内存)等存储器,且其操作***一般为RTOS(Real-Time Operating System,实时操作***)。由于受到CPU和存储器本身的资源限制,功能单一的RTOS无法同时确保Wi-Fi连接的稳定和可穿戴设备的***性能。即使将Wi-Fi连接的Wi-Fi协议移植并运行于可穿戴设备的操作***中,也会给操作***带来很大的软件移植开发工作量,容易引起软件开发风险。
【发明内容】
鉴于此,本发明实施例提供一种可穿戴设备及其进行数据收发的方法,能够将TCP/IP协议和无线通信协议从可穿戴设备的MCU中独立开来,确保无线网络连接的稳定和可穿戴设备的***性能。
本发明实施例提供的可穿戴设备,包括:第一MCU;第二MCU和射频天线,第二MCU包括处理器和存储器且集成有无线网卡,无线网卡支持网络通讯TCP/IP协议和无线通信协议,存储器存储有程序;其中,处理器用于执行程序以控制无线网卡基于无线通信协议与外部终端建立无线连接,并控制射频天线基于TCP/IP协议在第一MCU和外部终端之间进行数据收
发。
其中,可穿戴设备还包括与第一MCU连接的传感装置,传感装置用于将采集到的传感数据传输给第一MCU,处理器用于执行程序以控制射频天线接收第一MCU传输的传感数据,再将传感数据发送给外部终端,以完成数据收发的发送阶段;在数据收发的接收阶段,处理器用于执行程序以控制射频天线接收第一MCU发送的数据。
其中,传感装置和第一MCU之间通过第一类型接口进行连接,射频天线和第一MCU之间通过第二类型接口进行连接。
其中,第一类型接口包括两线式串行总线I2C接口,第二类型接口包括通用异步收发传输UART串口。
其中,无线通信协议包括Wi-Fi协议、蓝牙Bluetooth协议。
本发明实施例提供的可穿戴设备,包括:第一微控制单元MCU;通讯模块,包括有第二MCU和射频单元,且第二MCU中集成有通讯单元,所述通讯单元支持网络通讯协议TCP/IP协议和无线通信协议;在可穿戴设备与外部终端进行数据收发时,第一MCU与第二MCU连接,第二MCU的通讯单元基于无线通信协议与外部终端建立无线连接,射频单元基于TCP/IP协议在第一MCU和外部终端之间进行数据收发。
其中,可穿戴设备还包括与第一MCU连接的传感装置,传感装置用于将采集到的传感数据传输给第一MCU,并经由第一MCU传输给第二MCU,第二MCU再将传感数据发送给外部终端,以完成数据收发的发送阶段;在所述数据收发的接收阶段,第二MCU接收数据,再将所述数据传输给第一MCU。
其中,传感装置和第一MCU之间通过第一类型接口进行连接,射频单元和第一MCU之间通过第二类型接口进行连接。
其中,第一类型接口包括两线式串行总线I2C接口,第二类型接口包括通用异步收发传输UART串口。
其中,无线通信协议包括Wi-Fi协议、蓝牙Bluetooth协议。
本发明实施例提供的可穿戴设备进行数据收发的方法,包括:在通讯模块中设置第二MCU,且第二MCU中集成有通讯单元,通讯单元支持网络通讯协议TCP/IP协议和无线通信协议集成于第二MCU中;在可穿戴设
备与外部终端进行数据收发时,第一MCU与第二MCU连接,第二MCU的通讯单元基于无线通信协议与外部终端建立无线连接,射频单元基于TCP/IP协议在第一MCU和外部终端之间进行数据收发。
其中,可穿戴设备还包括与第一MCU连接的传感装置,射频单元基于TCP/IP协议在第一MCU和外部终端之间进行数据收发的步骤包括:将传感装置采集到的传感数据传输给第一MCU,并经由第一MCU传输给第二MCU,第二MCU再将传感数据发送给外部终端,以完成数据收发的发送阶段;在数据收发的接收阶段,第二MCU接收数据,再将所述数据传输给第一MCU。
其中,传感装置和第一MCU之间通过第一类型接口进行连接,射频单元和第一MCU之间通过第二类型接口进行连接。
其中,第一类型接口包括两线式串行总线I2C接口,第二类型接口包括通用异步收发传输UART串口。
其中,无线通信协议包括Wi-Fi协议、蓝牙Bluetooth协议。
本发明实施例的可穿戴设备及其进行数据收发的方法,将TCP/IP协议和无线通信协议集成于一个单独MCU中,而非移植于可穿戴设备的MCU中,也就是将TCP/IP协议和无线通信协议从可穿戴设备的操作***中独立开来,从而能够在确保无线网络连接的稳定和可穿戴设备的***性能的前提下,简化可穿戴设备的操作***,降低开发可穿戴设备的操作***的工作量,并且便于后期查找与分析***故障原因,提高软件开发效率的同时降低软件开发风险。
图1是本发明的可穿戴设备一实施例的结构示意图;
图2是本发明可穿戴设备进行数据收发的方法一实施例的流程图;
图3是本发明的可穿戴设备另一实施例的结构示意图。
下面将结合本发明实施例中的附图,对本发明所提供的示例性的实施例的技术方案进行清楚、完整地描述。
图1是本发明的可穿戴设备一实施例的结构示意图。如图1所示,所述可穿戴设备10包括第一微控制单元(Micro controller Unit,MCU)11和通讯模块12。在可穿戴设备10需要与外部终端进行数据收发时,所述通讯模块12基于无线通信协议与外部终端建立连接,并在建立连接之后所述通讯模块12基于数据传输协议(例如Transmission Control Protocol/Internet Protocol,简称TCP/IP协议,又称传输控制协议/因特网互联协议或网络通讯协议)在第一微控制单元11和外部终端之间进行数据收发。所述数据收发应该被理解为:所述通讯模块12将第一微控制单元11所要发出的数据传输给外部终端,以及通讯模块12将外部终端所要发出的数据传输给第一微控制单元11。其中,所述外部终端既可以理解为手机、电脑等便携式通讯装置,也可以理解为服务器。
区别于现有技术,本发明实施例的通讯模块12也包括一个MCU-第二微控制单元121,且该第二微控制单元121集成有一个通讯单元1211,该通讯单元1211支持前述无线通信协议和数据传输协议。在可穿戴设备10需要与外部终端进行数据收发时,第一微控制单元11与第二微控制单元121连接,第二微控制单元121的通讯单元1211基于无线通信协议与外部终端建立无线连接,射频单元122基于数据传输协议在第一微控制单元11和外部终端之间进行数据收发。
也就是说,本发明实施例将数据传输协议和无线通信协议从可穿戴设备10的MCU(操作***)中独立开来,这样既可以确保无线连接的稳定性,也可以确保可穿戴设备10的操作***的运行性能。同时,能够简化可穿戴设备10的操作***,降低开发可穿戴设备10的操作***的工作量。并且,也便于后期查找与分析无线连接、数据传输及操作***的故障原因,提高软件开发效率的同时降低软件开发风险。
在本发明实施例中,所述通讯模块12进行数据收发的数据可以为内置或外设于可穿戴设备10的传感装置13所采集到的传感数据,其中传感装置包括麦克风、摄像头、加速度检测设备、温度传感器等。该传感装置13与第一微控制单元11连接,从而将采集到的传感数据传输给第一微控制单元11,第一微控制单元11将传感数据传输给第二微控制单元121,第二微控制单元121将传感数据传输给射频单元122,最后由射频单元122将传感
数据传输给外部终端。
当然,可穿戴设备10也可以从外部终端接收其他类型数据,具体而言,第二微控制单元121接收外部终端所发出的外部数据,并将外部数据传输给第一微控制单元11。
优选地,传感装置13和第一微控制单元11之间可以通过第一类型接口进行连接,射频单元122和第一微控制单元11之间可以通过第二类型接口进行连接。其中,第一类型接口可以为I2C(Inter-Integrated Circuit,两线式串行总线)接口,第二类型接口可以为UART(Universal Asynchronous Receiver/Transmitter,通用异步收发传输)串口,当然第二类型接口可以为I2C接口。也就是说,传感装置13和第一微控制单元11之间与射频单元122和第一微控制单元11之间可以采用相同类型的接口也可以采用不相同类型的接口。
进一步地,本发明实施例的所述无线通信协议可以为Wi-Fi协议或蓝牙Bluetooth协议。以Wi-Fi协议为例,软件开发所要编程的Wi-Fi软件架构分为多层架构,其包含的MAC(Media Access Control,介质访问控制)地址,基带(Baseband)及无线(Radio)信息运行在通讯模块12的RF(Radio Frequency,射频)芯片中。另外,例如为TCP/IP协议的数据传输协议以及Driver,Supplicant,TLS/S SL(Secure Sockets Layer,安全套接层/Transport Layer Security,传输层安全)信息,Protocols(协议)信息以及Application(应用程序)信息运行在通讯模块12的第二微控制单元121中。这些软件程序对MCU的运行频率、OS(Operating System,操作***)的响应时间以及RAM大小都有严格要求,所以如果将这些软件程序移植到可穿戴设备10的操作***中并与其操作***相兼容,需要很大的软件移植工作量,并且受制于硬件因素,即使能够实现无线连接,其连接的稳定性以及可穿戴设备10的操作***的运行性能也会受到很大的影响。而本发明实施例将Wi-Fi协议软件运行在通讯模块12中独立的MCU(即第二微控制单元121)中,与可穿戴设备10的操作***没有直接关联,只有在进行数据收发时才与可穿戴设备10的操作***关联,因此可避免软件开发的风险和难度。
图2是本发明可穿戴设备进行数据收发的方法一实施例的流程图。如图2所示,所述可穿戴设备进行数据收发的方法包括:
S21:在通讯模块中设置第二MCU,且第二MCU中集成有通讯单元,通讯单元支持数据传输协议和无线通信协议,其中第二MCU和可穿戴设备的操作***所在的第一MCU相独立。
S22:在可穿戴设备与外部终端进行数据收发时,第一MCU与第二MCU连接,第二MCU的通讯单元基于无线通信协议与外部终端建立无线连接,通讯模块的射频单元基于数据传输协议在第一MCU和外部终端之间进行数据收发。
本实施例的数据收发的方法的各个步骤可由具有上述结构的可穿戴设备10对应执行,具有与其相同的技术效果。
请参阅图3,为本发明另一实施例的可穿戴设备。所述可穿戴设备30包括第一MCU 31、第二MCU 32和射频天线33,第二MCU 32包括处理器321和存储器322且集成有无线网卡333,无线网卡333支持网络通讯TCP/IP协议和无线通信协议,存储器322存储有程序,该程序用于实现可穿戴设备30与外部终端之间的数据收发。处理器321、存储器322、无线网卡333以及射频天线33之间相连接。
其中,所述处理器321用于:
执行程序以控制无线网卡333基于无线通信协议与外部终端建立无线连接,并控制射频天线33基于TCP/IP协议在第一MCU 31和外部终端之间进行数据收发。所述无线通信协议包括但不限于Wi-Fi协议、蓝牙Bluetooth协议。
可选地,可穿戴设备30还可以包括与第一MCU 31连接的传感装置34,传感装置34用于将采集到的传感数据传输给第一MCU 31。处理器321用于执行程序以控制射频天线33接收第一MCU 31传输的传感数据,再将传感数据发送给外部终端,以完成数据收发的发送阶段。在数据收发的接收阶段,处理器321用于执行程序以控制射频天线33接收第一MCU 31发送的数据。
可选地,传感装置34和第一MCU 31之间通过第一类型接口进行连接,射频天线33和第一MCU 31之间通过第二类型接口进行连接。其中,第一类型接口包括但不限于I2C接口,第二类型接口包括但不限于UART串口。
应理解,以上所述仅为本发明的实施例,并非因此限制本发明的专利
范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,例如各实施例之间技术特征的相互结合,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (15)
- 一种可穿戴设备,其中,所述可穿戴设备包括:第一微控制单元MCU;第二MCU和射频天线,所述第二MCU包括处理器和存储器且集成有无线网卡,所述无线网卡支持网络通讯TCP/IP协议和无线通信协议,所述存储器存储有程序;其中,所述处理器用于执行所述程序以控制所述无线网卡基于所述无线通信协议与所述外部终端建立无线连接,并控制所述射频天线基于所述TCP/IP协议在所述第一MCU和外部终端之间进行数据收发。
- 根据权利要求1所述的可穿戴设备,其中,所述可穿戴设备还包括与所述第一MCU连接的传感装置,所述传感装置用于将采集到的传感数据传输给所述第一MCU,所述处理器用于执行所述程序以控制所述射频天线接收所述第一MCU传输的所述传感数据,再将所述传感数据发送给所述外部终端,以完成所述数据收发的发送阶段;在所述数据收发的接收阶段,所述处理器用于执行所述程序以控制所述射频天线接收所述第一MCU发送的数据。
- 根据权利要求2所述的可穿戴设备,其中,所述传感装置和所述第一MCU之间通过第一类型接口进行连接,所述射频天线和所述第一MCU之间通过第二类型接口进行连接。
- 根据权利要求3所述的可穿戴设备,其中,所述第一类型接口包括两线式串行总线I2C接口,所述第二类型接口包括通用异步收发传输UART串口。
- 根据权利要求1所述的可穿戴设备,其中,所述无线通信协议包括Wi-Fi协议、蓝牙Bluetooth协议。
- 一种可穿戴设备,其中,所述可穿戴设备包括:第一微控制单元MCU;通讯模块,包括有第二MCU和射频单元,且所述第二MCU中集成有通讯单元,所述通讯单元支持网络通讯TCP/IP协议和无线通信协议;其中,在所述可穿戴设备与外部终端进行数据收发时,所述第一MCU 与所述第二MCU连接,所述第二MCU的通讯单元基于所述无线通信协议与所述外部终端建立无线连接,所述射频单元基于所述TCP/IP协议在所述第一MCU和所述外部终端之间进行数据收发。
- 根据权利要求6所述的可穿戴设备,其中,所述可穿戴设备还包括与所述第一MCU连接的传感装置,所述传感装置用于将采集到的传感数据传输给所述第一MCU,并经由所述第一MCU传输给所述第二MCU,所述第二MCU再将所述传感数据发送给所述外部终端,以完成所述数据收发的发送阶段;在所述数据收发的接收阶段,所述第二MCU接收数据,再将所述数据传输给所述第一MCU。
- 根据权利要求7所述的可穿戴设备,其中,所述传感装置和所述第一MCU之间通过第一类型接口进行连接,所述射频单元和所述第一MCU之间通过第二类型接口进行连接。
- 根据权利要求8所述的可穿戴设备,其中,所述第一类型接口包括两线式串行总线I2C接口,所述第二类型接口包括通用异步收发传输UART串口。
- 根据权利要求6所述的可穿戴设备,其中,所述无线通信协议包括Wi-Fi协议、蓝牙Bluetooth协议。
- 一种可穿戴设备进行数据收发的方法,所述可穿戴设备包括第一微控制单元MCU及具有射频模块的通讯模块,其中,包括:在所述通讯模块中设置第二MCU,且所述第二MCU中集成有通讯单元,所述通讯单元支持网络通讯协议TCP/IP协议和无线通信协议;在所述可穿戴设备与外部终端进行数据收发时,所述第一MCU与所述第二MCU连接,所述第二MCU的通讯单元基于所述无线通信协议与所述外部终端建立无线连接,所述射频单元基于所述TCP/IP协议在所述第一MCU和所述外部终端之间进行所述数据收发。
- 根据权利要求11所述的方法,其中,所述可穿戴设备还包括与所述第一MCU连接的传感装置,所述射频单元基于所述TCP/IP协议在所述第一MCU和所述外部终端之间进行所述数据收发的步骤包括:将所述传感装置采集到的传感数据传输给所述第一MCU,并经由所述 第一MCU传输给所述第二MCU,所述第二MCU再将所述传感数据发送给所述外部终端,以完成所述数据收发的发送阶段;在所述数据收发的接收阶段,所述第二MCU接收数据,再将所述数据传输给所述第一MCU。
- 根据权利要求12所述的方法,其中,所述传感装置和所述第一MCU之间通过第一类型接口进行连接,所述射频单元和所述第一MCU之间通过第二类型接口进行连接。
- 根据权利要求13所述的方法,其中,所述第一类型接口包括两线式串行总线I2C接口,所述第二类型接口包括通用异步收发传输UART串口。
- 根据权利要求11所述的方法,其中,所述无线通信协议包括Wi-Fi协议、蓝牙Bluetooth协议。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/322,053 US20170302319A1 (en) | 2015-10-16 | 2016-08-05 | Wearable devices and methods for data transmission and reception therewith |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510676114.2A CN105246170B (zh) | 2015-10-16 | 2015-10-16 | 可穿戴设备及其进行数据收发的方法 |
CN201510676114.2 | 2015-10-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017063437A1 true WO2017063437A1 (zh) | 2017-04-20 |
Family
ID=55043583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/093639 WO2017063437A1 (zh) | 2015-10-16 | 2016-08-05 | 可穿戴设备及其进行数据收发的方法 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20170302319A1 (zh) |
CN (1) | CN105246170B (zh) |
WO (1) | WO2017063437A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105246170B (zh) * | 2015-10-16 | 2021-01-08 | 惠州Tcl移动通信有限公司 | 可穿戴设备及其进行数据收发的方法 |
CN112187698B (zh) * | 2019-07-01 | 2023-05-16 | 云丁网络技术(北京)有限公司 | 通信方法、业务***、电子设备及其具有的主mcu |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686051A (zh) * | 2013-11-15 | 2014-03-26 | 青岛歌尔声学科技有限公司 | 一种便携式通信装置、一种智能手表和一种通信*** |
CN104000570A (zh) * | 2014-05-20 | 2014-08-27 | 任锐 | 一种智能穿戴设备 |
US20140370855A1 (en) * | 2013-06-13 | 2014-12-18 | Koss Corporation | Multi-mode,wearable, wireless microphone |
CN204180280U (zh) * | 2014-09-30 | 2015-02-25 | 昆明德孚科技开发有限公司 | 一种基于无线自组织网络的人员信息共享*** |
CN105246170A (zh) * | 2015-10-16 | 2016-01-13 | 惠州Tcl移动通信有限公司 | 可穿戴设备及其进行数据收发的方法 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5148002A (en) * | 1991-03-14 | 1992-09-15 | Kuo David D | Multi-functional garment system |
US8689026B2 (en) * | 2008-05-20 | 2014-04-01 | Intel Corporation | Enhancing power efficiency in a wireless internet card |
US9332941B2 (en) * | 2012-12-31 | 2016-05-10 | Tosense, Inc. | Body-worn sensor for characterizing patients with heart failure |
US9525562B2 (en) * | 2013-05-23 | 2016-12-20 | Cahon Systems, Inc. | Modular deterministic communication terminal for remote systems |
WO2015096129A1 (en) * | 2013-12-27 | 2015-07-02 | Intel Corporation | Apparatus, system and article for smart card device and associated host device |
WO2016007548A1 (en) * | 2014-07-07 | 2016-01-14 | Goodix Technology Inc. | Smart watch |
CN204272390U (zh) * | 2014-11-07 | 2015-04-15 | 潍坊果壳视界信息科技有限公司 | 基于多模双信道传输技术的农业物联网节点 |
US20160327915A1 (en) * | 2015-05-08 | 2016-11-10 | Garmin Switzerland Gmbh | Smart watch |
-
2015
- 2015-10-16 CN CN201510676114.2A patent/CN105246170B/zh active Active
-
2016
- 2016-08-05 US US15/322,053 patent/US20170302319A1/en not_active Abandoned
- 2016-08-05 WO PCT/CN2016/093639 patent/WO2017063437A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140370855A1 (en) * | 2013-06-13 | 2014-12-18 | Koss Corporation | Multi-mode,wearable, wireless microphone |
CN103686051A (zh) * | 2013-11-15 | 2014-03-26 | 青岛歌尔声学科技有限公司 | 一种便携式通信装置、一种智能手表和一种通信*** |
CN104000570A (zh) * | 2014-05-20 | 2014-08-27 | 任锐 | 一种智能穿戴设备 |
CN204180280U (zh) * | 2014-09-30 | 2015-02-25 | 昆明德孚科技开发有限公司 | 一种基于无线自组织网络的人员信息共享*** |
CN105246170A (zh) * | 2015-10-16 | 2016-01-13 | 惠州Tcl移动通信有限公司 | 可穿戴设备及其进行数据收发的方法 |
Also Published As
Publication number | Publication date |
---|---|
CN105246170B (zh) | 2021-01-08 |
CN105246170A (zh) | 2016-01-13 |
US20170302319A1 (en) | 2017-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6611921B2 (ja) | 端末の相互接続方法、装置、不揮発性コンピュータ記憶媒体及びコンピュータプログラム | |
EP3883333B1 (en) | Communication system, user equipment and wearable device | |
EP3709685B1 (en) | Method for establishing wireless communication link and electronic device supporting same | |
CN112534843A (zh) | 通过使用蓝牙低功耗进行通信的设备和方法 | |
US11252724B2 (en) | Electronic device for transmitting or receiving data in wireless communication system and method therefor | |
KR101996896B1 (ko) | 가상 디바이스 드라이버를 이용한 리소스 공유 방법 및 그 전자 디바이스 | |
JP2016206940A5 (zh) | ||
CN109769276B (zh) | 用于在无线通信***中处理数据包的设备和方法 | |
US20230199502A1 (en) | Apparatus and Method for Remotely Managing Devices, and Program Therefor | |
US11956843B2 (en) | Electronic device supporting addition of secondary node, and method therefor | |
US11012376B2 (en) | Data system on a module (DSoM) for connecting computing devices and cloud-based services | |
WO2017063437A1 (zh) | 可穿戴设备及其进行数据收发的方法 | |
EP3700169B1 (en) | Electronic device for communicating with external electronic device | |
US20080136606A1 (en) | Separable device for controlling node and sensor network node | |
US10904755B2 (en) | Data distribution from a movable object | |
CN106657076B (zh) | 一种网络命名空间的tcp服务实现方法及装置 | |
US11134526B2 (en) | Automatic update of connection to a movable object | |
US11537631B2 (en) | Data system on a module (DSoM) for connecting computing devices and cloud-based services | |
WO2019019159A1 (zh) | 一种控制可操控设备的方法及装置 | |
EP3923537B1 (en) | Method for sharing channel information in bluetooth network, and electronic device therefor | |
US11224018B2 (en) | Electronic device and method for reducing current consumption of electronic device in near field wireless communication using same | |
US10437608B2 (en) | Microminiature personal computer and method of using thereof | |
EP4008142B1 (en) | Electronic device for receiving paging message and operation method thereof | |
WO2022161143A1 (zh) | 一种共享通信录的方法、移动设备、电子设备和通信*** | |
CN116092213A (zh) | 设备巡检***、巡检方法及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 15322053 Country of ref document: US |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16854819 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16854819 Country of ref document: EP Kind code of ref document: A1 |