WO2014146517A1 - 移动设备与外设装置通讯实现多功能应用的方法及系统 - Google Patents

移动设备与外设装置通讯实现多功能应用的方法及系统 Download PDF

Info

Publication number
WO2014146517A1
WO2014146517A1 PCT/CN2014/071494 CN2014071494W WO2014146517A1 WO 2014146517 A1 WO2014146517 A1 WO 2014146517A1 CN 2014071494 W CN2014071494 W CN 2014071494W WO 2014146517 A1 WO2014146517 A1 WO 2014146517A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile device
control module
data packet
communication interface
mobile
Prior art date
Application number
PCT/CN2014/071494
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
Application filed by 深圳市非凡创新实业有限公司 filed Critical 深圳市非凡创新实业有限公司
Publication of WO2014146517A1 publication Critical patent/WO2014146517A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Definitions

  • the invention relates to a mobile device and a peripheral device communication application, in particular to a method and a system for a mobile device to communicate with a peripheral device to realize a multifunctional application.
  • mobile devices include mobile phones, tablets, PDAs, digital cameras, digital video cameras, PSPs. As they become more popular, their functions are further enhanced, and most of the enhancements are limited to entertainment, such as virtual gaming applications; and not involving mobile devices and peripheral devices (such as LEDs)
  • the connection of lamp devices, electrical appliances, etc., enables multi-functional applications of data communication.
  • the technical problem to be solved by the present invention is to provide a method and system for a mobile device to communicate with a peripheral device to implement a multi-functional application in view of the above-mentioned drawbacks existing in the related art.
  • the technical solution adopted by the present invention to solve the technical problem is to provide a method for communication between a mobile device and a peripheral device to implement a multi-function application, wherein the mobile device is provided with a first control module and a first communication interface, and the peripheral device is configured. There is a second control module and a second communication interface, including the following steps:
  • the mobile device communicates with the second communication interface of the peripheral device through the first communication interface
  • the mobile device outputs a data packet through the first control module, and sends the data packet to the peripheral device through the first communication interface;
  • the peripheral device receives the data packet through the second communication interface, the second control module reads the data packet, and the second control module performs corresponding processing according to the data of the data packet.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application method, and the mobile device is a mobile phone and/or Or a computer, the peripheral device is a marquee;
  • step S2 the data of the data packet includes a flashing mode of the marquee
  • step S3 the second control module of the marquee controls the flashing of the marquee according to the data after reading the data packet.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application method, step S3
  • the method further includes: the peripheral device processes the data packet to report the processing result to the mobile device, and the mobile device performs corresponding processing according to the received processing result.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application method, and the peripheral device is a mobile power source;
  • step S2 the data of the data packet includes an instruction to read the current power and/or voltage of the mobile power source
  • step S3 the second control module of the mobile power source reads the data packet and obtains the current power including the mobile power source according to the data. Or the processing result of the voltage, and the processing result is fed back to the mobile device through the second communication interface, and the current power and/or voltage of the mobile power source is displayed after the mobile device receives the data.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application method, and the peripheral device is a mobile power source;
  • step S2 the data of the data packet includes the battery power in the mobile device
  • step S3 The second control module determines whether the battery power is lower than a set value according to the received data including the battery power in the mobile device:
  • the second control module controls the mobile power source to charge the mobile device through the second communication interface
  • the second control module does not process.
  • a mobile device and a peripheral device communicate to implement a multi-functional application.
  • the mobile device is provided with a first control module and a first communication interface
  • the peripheral device is provided with a second control module and a second communication interface, including:
  • the mobile device communicates with the second communication interface of the peripheral device through its first communication interface
  • the peripheral device outputs the data packet through the second control module, and sends the data packet to the mobile device through the second communication interface;
  • the mobile device receives the data packet through the first communication interface, the first control module reads the data packet, and the first control module performs corresponding processing according to the data of the data packet.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application method, and the mobile device is a mobile phone and/or Or a computer, the peripheral device is a treadmill;
  • step T2 the data of the data packet includes current running information
  • step T3 the phone and / Or the first control module of the computer reads the data packet and records the current running information of the treadmill according to the data.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application method, step T3
  • the method further includes: the mobile device processes the data packet to feed back the processing result to the peripheral device, and the peripheral device performs corresponding processing according to the received processing result.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application method, and the peripheral device is a mobile power source;
  • step T2 the data of the data packet includes a request to read a battery power command
  • step T3 The first control module of the mobile device reads the data packet, detects the battery power data of the mobile device according to the request to read the battery power command, and feeds back the mobile power source through the first communication interface; after receiving the mobile power source, determines the battery of the mobile device Is the power lower than the set value:
  • the second control module controls the mobile power source to charge the mobile device through the second communication interface
  • the second control module does not process.
  • a system for communicating a mobile device with a peripheral device to implement a multi-functional application comprising a mobile device and a peripheral device communicatively connected with the mobile device, wherein the mobile device is provided with a first control module and a first communication interface, and the peripheral device is configured There is a second control module and a second communication interface; wherein
  • a first control module configured to output or read a processing data packet
  • a first communication interface configured to send the data packet output by the first control module to the peripheral device, or send the received data packet to the first control module
  • the second communication interface is connected to the first communication interface through an interface protocol
  • a second control module configured to output or read a processing data packet
  • a second communication interface configured to send the data packet output by the second control module to the mobile device, or send the received data packet to the second control module.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application system, and the mobile device includes a mobile phone, a computer, and a PDA. , digital cameras, digital video cameras or video players, peripheral devices including mobile power, household appliances, fitness equipment or marquees.
  • the invention provides a first control module on the mobile device and communicates with the peripheral device, and realizes mutual function control between the mobile device and the peripheral device through the first control module, thereby realizing the interaction between the mobile device and the peripheral device.
  • a first control module on the mobile device and communicates with the peripheral device, and realizes mutual function control between the mobile device and the peripheral device through the first control module, thereby realizing the interaction between the mobile device and the peripheral device.
  • FIG. 1 is a flow chart showing a method for implementing a multi-function application by communicating between a mobile device and a peripheral device according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for implementing a multi-function application by a mobile device in communication with a peripheral device according to another embodiment of the present invention
  • FIG. 3 is a block diagram showing the structure of a system in which a mobile device of the present invention communicates with a peripheral device to implement a multi-function application.
  • a mobile device and a peripheral device implement a multi-functional application method
  • the mobile device is provided with a first control module and a first communication interface
  • the peripheral device is provided with a second control module and a second communication interface, including:
  • the mobile device is communicatively coupled to the second communication interface of the peripheral device via its first communication interface.
  • the first control module is set according to the function control of the corresponding peripheral device, such as a control module loaded with the corresponding application software corresponding to the peripheral device.
  • the communication connection manner of the first communication interface and the second communication interface may be a wired connection or a wireless connection.
  • the first communication interface and the second communication interface may be USB-A type plug, USB-B type plug, USB MINI-A type plug, USB-B type plug and any combination of Apple data plugs; when the two are wirelessly connected, Wireless communication interface such as WIFI, Bluetooth, etc., thereby achieving wireless communication.
  • any one of the first communication interface and the second communication interface performs a search to find a Bluetooth that can be found around. Device; then, find another communication interface in the found Bluetooth device and initiate pairing, and another communication interface receives the pairing request and enters the pairing password to complete the pairing; after that, both parties can send and receive data; finally, after pairing When you next send and receive data, you no longer need to re-pair.
  • pairing may be performed directly without inputting a pairing password.
  • the first communication interface and the second communication interface pass the WIFI
  • the first communication interface includes a first receiving module and a first transmitting module
  • the second communication interface includes a second receiving module and a second transmitting module.
  • the first transmitting module and the second receiving module pass the WIFI Connected to transmit data
  • the first transmitting module and the second receiving module are connected by WIFI to transmit data.
  • the mobile device outputs the data packet through the first control module, and sends the data packet to the peripheral device through the first communication interface; before step S2, the mobile device receives the user instruction and generates the data packet.
  • the peripheral device receives the data packet through the second communication interface, and the second control module of the peripheral device reads the data packet received by the second communication interface, and performs corresponding processing to implement the corresponding function.
  • the mobile device of the present invention includes a mobile phone, a computer, and a PDA , digital cameras, digital video cameras or video players, etc., peripheral devices include mobile power, household appliances, fitness equipment or various LED lights such as marquees.
  • the method of the embodiment is as follows: in step S1, in the mobile phone And / or a first control module is set in the computer, and the mobile phone and / or the computer communicates with the second communication interface of the marquee through the first communication interface; in step S2, the mobile phone and / Or the computer outputs a data packet containing the flashing mode of the marquee through the first control module, and sends the data to the marquee through the first communication interface, and the manner of flashing the marquee is various, for example, the flashing time of each light group of the marquee, successively Sequence, number of flashing light groups, flashing text, patterns, etc.; in steps In S3, the marquee receives the data packet through the second communication interface, and the second control module of the marquee reads the received data packet to obtain the flashing data of the marquee, thereby controlling the flashing of the marquee, thereby realizing the mobile phone. with / Or the function of the
  • the mobile device is not limited, when the peripheral device is a mobile power source, in step S2
  • the first control module of the mobile device detects the power of the battery of the mobile device, and outputs the detected power information through the first communication interface; in step S3
  • the mobile power source receives the power information through the second communication interface, and outputs the power information to the second control module.
  • the second control module determines, according to the received power information, whether the battery power of the mobile device is lower than a set value: when the battery power is lower than the set When the value is fixed, the control power supply outputs the charging power through the second communication interface to charge the battery of the mobile device; when the battery power is higher than the set value, the control mobile power does not output the charging power.
  • step S3 The method further includes: the peripheral device processes the data packet and feeds the result back to the mobile device, and the mobile device performs corresponding processing according to the received feedback result.
  • the peripheral device processes the data packet and feeds the result back to the mobile device, and the mobile device performs corresponding processing according to the received feedback result.
  • the mobile device is not limited, when the peripheral device is a mobile power source, in step S1
  • the mobile device communicates with the second communication interface of the mobile power source through the first communication interface; in step S2, the mobile device outputs the request through the first control module to read the current power and/or Or a data packet of the voltage command and sent to the mobile power source through the first communication interface; in step S3
  • the second control module of the mobile power source After the mobile power source receives the data packet through the second communication interface, the second control module of the mobile power source reads the data packet, and reads the current power and/or voltage command according to the request to detect the current power of the mobile power source and/ Or voltage data, and fed back to the mobile device through the second communication interface, the current power of the mobile power source after receiving the mobile device and / Or voltage data is displayed.
  • the display action is mainly displayed by a display module of the mobile device connected to the first control module.
  • a method for a mobile device to communicate with a peripheral device to implement a multi-function application includes:
  • the mobile device sets a first control module, and the mobile device communicates with the second communication interface of the peripheral device through its first communication interface.
  • the first control module is set according to the function control of the corresponding peripheral device, such as a control module loaded with the corresponding application software corresponding to the peripheral device.
  • the first and second communication interfaces can be USB interface, communicate by wire connection; or wireless communication interface such as WIFI, realize wireless communication. It can be understood that this embodiment can adopt the same connection mode as in an embodiment.
  • the peripheral device outputs a data packet through its second control module, and the data packet is sent to the mobile device through the second communication interface; the step T2 Previously, the peripheral device received a user command to generate a data packet.
  • the mobile device receives the data packet through the first communication interface, and the first control module of the mobile device reads the data packet received by the first communication interface, and performs corresponding processing.
  • the mobile device of the present invention includes a mobile phone, a computer, and a PDA , digital cameras, digital video cameras or video players, etc., peripheral devices include mobile power, household appliances, fitness equipment or various LED lights such as marquees.
  • the method of this embodiment is specifically as follows: in step T1, on the mobile phone and / Or the computer sets the first control module, and the mobile phone and/or the computer communicates with the second communication interface of the treadmill through the first communication interface; in step T2 The treadmill outputs a data packet containing the current running information through the second control module, and the data packet is sent to the mobile phone and/or the computer through the second communication interface; in step T3, the mobile phone and/or Or the computer receives the data packet through the first communication interface, and after the received data packet is read by the first control module of the mobile phone and/or the computer, the current running information of the treadmill is obtained and recorded, thereby the mobile phone and/or Or the computer can act as a pedometer for the treadmill.
  • the running information of the treadmill can be displayed by the display module of the mobile device connected to the first control module, and the recorded condition is displayed on the display module.
  • step T3 The method further includes: the mobile device processes the data packet and feeds the result back to the peripheral device, and the peripheral device performs corresponding processing according to the received feedback result.
  • the mobile device processes the data packet and feeds the result back to the peripheral device, and the peripheral device performs corresponding processing according to the received feedback result.
  • the mobile device is not limited, when the peripheral device is a mobile power source, in step T1 The mobile device communicates with the second communication interface of the mobile power source through the first communication interface; in step T2 The mobile power source outputs a data packet including a request to read the battery power command through the second control module, and sends the data packet to the mobile device through the second communication interface; in step T3 The mobile device receives the data packet through the first communication interface, and the first control module of the mobile device reads the data packet, and reads the battery power command according to the request to detect the battery power data of the mobile device, and passes the first communication interface.
  • the mobile device of the present invention communicates with a peripheral device to implement a multi-functional application system, including the mobile device 10 and the mobile device.
  • the mobile device 10 includes a first control module 11 and a first communication interface 12, and the first control module 11 is connected to the first communication interface 12; 20 includes a second control module 21 and a second communication interface 22, and the second control module 21 is connected to the second communication interface 22.
  • the second communication interface 22 and the first communication interface 12 The communication connection between the mobile device 10 and the peripheral device 20 is realized through an interface protocol communication connection.
  • the first control module of the mobile device 10 11 For outputting or reading a processing packet, for an output packet, the packet is a packet containing an instruction input according to the current user.
  • the first control module 11 corresponds to the peripheral device 20 as needed.
  • the function control is set, such as a module loaded with a corresponding application software corresponding to the peripheral device 20, and the like, for example, when the peripheral device 20 is a mobile power source, the first control module 11 of the mobile device 10 It also has functions such as detection to detect the current battery level and/or voltage data of the battery.
  • the first communication interface 12 is configured to send the data packet output by the first control module 11 to the peripheral device 20 Or sending the received data packet to the first control module 11 .
  • a display module connected to the first control module is further provided for displaying data information of the read data packet or displaying status information of an instruction of the currently executed read data packet.
  • a second control module 21 of the peripheral device 20 for reading and processing the second communication interface 22 The received data packet, or the output data packet, is sent to the mobile device 10 via the second communication interface 22.
  • the second control module 21 also has functions such as detection, judgment, and the like, such as the peripheral device 20 When the power is turned on, it is possible to detect the amount of power and power, and determine whether the battery level of the received mobile device 10 is lower than the set value.
  • the first and second communication interfaces 12, 22 can be USB Interface or wireless communication interface.
  • the mobile device 10 of the present invention includes a mobile phone, a computer, a PDA, a digital camera, a digital video camera or a video player, etc., and the peripheral device 20 These include mobile power supplies, household appliances, fitness equipment, or various LED lights such as marquees.
  • the peripheral device 20 When the peripheral device 20 When the power is turned on, it can start charging the mobile device in real time, preventing the mobile device from automatically shutting down due to power consumption during standby, and extending the battery life of the mobile device; when the peripheral device 20 When it is a household appliance, the mobile device and its communication connection can function as a remote controller; when the peripheral device 20 is a fitness device or the like, the mobile device can play a role in recording; when the peripheral device 20 is an LED When the light is on, the mobile device can control its various lighting modes.

Abstract

本发明公开了一种移动设备与外设装置通讯实现多功能应用的方法及系统,移动设备上设置有第一控制模块和第一通讯接口,外设装置上设置有第二控制模块和第二通讯接口,包括如下步骤:S1.移动设备通过其第一通讯接口与外设装置的第二通讯接口通讯连接;S2.移动设备通过第一控制模块输出数据包,并通过第一通讯接口将数据包发送至外设装置;S3.外设装置通过第二通讯接口接收数据包,外设装置的第二控制模块读取数据包,且第二控制模块根据数据包的数据做相应处理。本发明通过在移动设备上设第一控制模块,并与外设装置通讯连接,通过第一控制模块实现移动设备与外设装置之间相互的功能控制,实现移动设备与外设装置之间的多功能应用,成本低且操作简单。

Description

移动设备与外设装置通讯实现多功能应用的方法及系统 技术领域
本发明涉及一种移动设备与外设装置通讯应用,尤其涉及一种移动设备与外设装置通讯实现多功能应用的方法及系统。
背景技术
随着科技的发展,移动设备包括手机、平板电脑、 PDA 、数码相机、数码摄像机、 PSP 等越来越普及,它们的功能也在进一步加强,而大部分的功能加强局限在娱乐方面,如虚拟游戏应用;而未涉及移动设备与外设装置(如 LED 灯装置、电器等)的连接,实现数据通讯的多功能应用。
发明内容
本发明要解决的技术问题在于,针对现有相关技术中存在的上述缺陷,提供一种移动设备与外设装置通讯实现多功能应用的方法及系统。
本发明解决其技术问题所采用的技术方案是:提供一种移动设备与外设装置通讯实现多功能应用的方法,移动设备上设置有第一控制模块和第一通讯接口,外设装置上设置有第二控制模块和第二通讯接口,包括如下步骤:
S1. 移动设备通过第一通讯接口与外设装置的第二通讯接口通讯连接;
S2. 移动设备通过第一控制模块输出一数据包,并通过第一通讯接口将数据包发送至外设装置;
S3. 外设装置通过第二通讯接口接收数据包,第二控制模块读取数据包,且第二控制模块根据数据包的数据做相应处理。
本发明的移动设备与外设装置通讯实现多功能应用的方法,移动设备为手机和 / 或电脑,外设装置为跑马灯;
在步骤 S2 中,数据包的数据包含有跑马灯闪烁方式;
在步骤 S3 中,跑马灯的第二控制模块读取数据包后根据数据控制跑马灯的闪烁。
本发明的移动设备与外设装置通讯实现多功能应用的方法,步骤 S3 还包括:外设装置将数据包作处理后将处理结果反馈给移动设备,移动设备根据接收到的处理结果做相应处理。
本发明的移动设备与外设装置通讯实现多功能应用的方法,外设装置为移动电源;
在步骤 S2 中,数据包的数据包含有读取移动电源的当前电量和 / 或电压的指令;
在步骤 S3 中,移动电源的第二控制模块读取数据包后根据数据得到包含移动电源的当前电量和 / 或电压的处理结果,并通过第二通讯接口将处理结果反馈给移动设备,移动设备接收后将移动电源的当前电量和 / 或电压显示出来。
本发明的移动设备与外设装置通讯实现多功能应用的方法,外设装置为移动电源;
在步骤 S2 中,数据包的数据包含有移动设备内电池电量;
在步骤 S3 中,第二控制模块根据接收的包含有移动设备内电池电量的数据,判断电池电量是否低于设定值:
当电池电量低于或等于设定值时,第二控制模块控制移动电源通过第二通讯接口对移动设备进行充电;
当电池电量高于设定值时,第二控制模块不做处理。
一种移动设备与外设装置通讯实现多功能应用的方法,移动设备上设置有第一控制模块和第一通讯接口,外设装置上设置有第二控制模块和第二通讯接口,包括:
T1. 移动设备通过其第一通讯接口与外设装置的第二通讯接口通讯连接;
T2. 外设装置通过第二控制模块输出数据包,并通过第二通讯接口将数据包发送至移动设备;
T3. 移动设备通过第一通讯接口接收数据包,第一控制模块读取数据包,且第一控制模块根据数据包的数据做相应处理。
本发明的移动设备与外设装置通讯实现多功能应用的方法,移动设备为手机和 / 或电脑,外设装置为跑步机;
在步骤 T2 中,数据包的数据包含有当前跑步信息;
在步骤 T3 中,手机和 / 或电脑的第一控制模块读取数据包后根据数据对跑步机的当前跑步信息进行记录。
本发明的移动设备与外设装置通讯实现多功能应用的方法,步骤 T3 还包括:移动设备将数据包做处理后将处理结果反馈给外设装置,外设装置根据接收到的处理结果做相应处理。
本发明的移动设备与外设装置通讯实现多功能应用的方法,外设装置为移动电源;
在步骤 T2 中,数据包的数据包含有请求读取电池电量指令;
在步骤 T3 中,移动设备的第一控制模块读取数据包,根据请求读取电池电量指令检测移动设备的电池电量数据,并通过第一通讯接口反馈给移动电源;移动电源接收后,判断移动设备的电池电量是否低于设定值:
当电池电量低于或等于设定值时,第二控制模块控制移动电源通过第二通讯接口对移动设备进行充电;
当电池电量高于设定值时,第二控制模块不做处理。
一种移动设备与外设装置通讯实现多功能应用的系统,包括移动设备及与移动设备通讯连接的外设装置,移动设备上设置有第一控制模块和第一通讯接口,外设装置上设置有第二控制模块和第二通讯接口;其中,
第一控制模块,用于输出或读取处理数据包;
第一通讯接口,用于将第一控制模块输出的数据包发送至外设装置,或将接收到的数据包发送至第一控制模块;
第二通讯接口与第一通讯接口通过接口协议通讯连接;
第二控制模块,用于输出或读取处理数据包;
第二通讯接口,用于将第二控制模块输出的数据包发送至移动设备,或将接收到的数据包发送至第二控制模块。
本发明的移动设备与外设装置通讯实现多功能应用的系统,移动设备包括手机、电脑、 PDA 、数码相机、数码摄像机或视频播放器,外设装置包括移动电源、家用电器、健身器材或跑马灯。
本发明通过在移动设备上设第一控制模块,并与外设装置通讯连接,通过第一控制模块实现移动设备与外设装置之间相互的功能控制,实现移动设备与外设装置之间的多功能应用,成本低且操作简单。
附图说明
下面将结合附图及实施例对本发明作进一步说明,附图中:
图 1 是本发明一实施例的移动设备与外设装置通讯实现多功能应用的方法流程示意图;
图 2 是本发明另一实施例的移动设备与外设装置通讯实现多功能应用的方法流程示意图;
图 3 是本发明的移动设备与外设装置通讯实现多功能应用的系统的模块结构示意图。
具体实施方式
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本发明的具体实施方式。
如图 1 所示,本发明一实施例的移动设备与外设装置通讯实现多功能应用的方法, 移动设备上设置有第一控制模块和第一通讯接口,外设装置上设置有第二控制模块和第二通讯接口, 包括:
S1. 移动设备通过其第一通讯接口与外设装置的第二通讯接口通讯连接。该第一控制模块根据需要对应外设装置的功能控制所设置,如与外设装置对应的加载有对应应用软件的控制模块等。可以理解地,第一通讯接口和第二通讯接口的通讯连接方式可为有线连接或者无线连接,当二者为有线连接时,第一通讯接口和第二通讯接口可为 USB-A 型插头、 USB-B 型插头、 USB MINI-A 型插头、 USB-B 型插头和适配苹果产品数据插头中的任意组合;当二者为无线连接时,可为 WIFI 、蓝牙等的无线通讯接口,从而实现无线通讯。
具体地,当第一通讯接口和第二通讯接口通过蓝牙方式进行无线通讯时,首先,第一通讯接口和第二通讯接口中的任何一个通讯接口进行查找,找出周围处于可被查找的蓝牙设备;然后,在查找出的蓝牙设备中找出另一个通讯接口并发起配对,另一个通讯接口接收到配对请求并输入配对密码后完成配对;之后,双方即可收发数据;最后,已配对后在下次收发数据时,不再需要重新配对。作为选择,也可以不通过输入配对密码的形式而直接进行配对。
具体地,当第一通讯接口和第二通讯接口通过 WIFI 方式进行无线通讯时,第一通讯接口包括第一接收模块和第一发射模块,第二通讯接口包括第二接收模块和第二发射模块。第一发射模块和第二接收模块通过 WIFI 相连接以传送数据,第一发射模块和第二接收模块通过 WIFI 相连接以传送数据。 S2. 移动设备通过第一控制模块输出数据包,并通过第一通讯接口将数据包发送至外设装置;步骤 S2 之前,移动设备接收用户指令,生成数据包。
S3. 外设装置通过第二通讯接口接收数据包,外设装置的第二控制模块读取第二通讯接口所接收的数据包,并作相应处理,以实现相应功能。
本发明的移动设备包括手机、电脑、 PDA 、数码相机、数码摄像机或视频播放器等,外设装置包括移动电源、家用电器、健身器材或如跑马灯的各种 LED 灯等。
当移动 设备为手机和 / 或电脑,外设装置 为跑马灯时,该实施例方法具体如下:在步骤 S1 中,在手机 和 / 或电脑中设置第一控制模块,并且手机 和 / 或电脑通过第一通讯接口与跑马灯的第二通讯接口通讯连接;在步骤 S2 中,手机 和 / 或电脑通过第一控制模块输出含有跑马灯闪烁方式的数据包,并通过第一通讯接口发送到跑马灯,跑马灯闪烁的方式为各种各样,例如跑马灯各个灯组的闪烁时间、先后顺序、闪烁灯组的数量、闪烁组成的文字、图案等等;在步骤 S3 中,跑马灯通过第二通讯接口接收数据包,并由跑马灯的第二控制模块读取所接收的数据包后得到跑马灯闪烁方式的数据,进而控制跑马灯的闪烁,从而实现了手机 和 / 或电脑与跑马灯通讯控制跑马灯闪烁方式的功能应用。
移动设备不限定,当外设装置为移动电源时,在步骤 S2 中,移动设备的第一控制模块检测移动设备的电池的电量,并将检测到的电量信息通过第一通讯接口输出;在步骤 S3 中,移动电源通过第二通讯接口接收电量信息,并输出至第二控制模块;第二控制模块根据接收的电量信息,判断移动设备的电池电量是否低于设定值:当电池电量低于设定值时,控制所电源通过第二通讯接口输出充电电源,为移动设备的电池进行充电;当电池电量高于设定值时,控制移动电源不输出充电电源。
上述实施例的方法,步骤 S3 还包括:外设装置将数据包处理后将结果反馈给移动设备,移动设备根据接收到的反馈结果作相应处理。下面以一具体例子进行详细说明:
移动设备不限定,当外设装置为移动电源时,在步骤 S1 中,移动设备通过第一通讯接口与移动电源的第二通讯接口通讯连接;在步骤 S2 中,移动设备通过第一控制模块输出包含请求读取当前电量和 / 或电压指令的数据包,并通过第一通讯接口发送至移动电源;在步骤 S3 中,移动电源通过第二通讯接口接收数据包后,移动电源的第二控制模块读取数据包,根据请求读取当前电量和 / 或电压指令检测移动电源的当前电量和 / 或电压数据,并通过第二通讯接口反馈给移动设备,移动设备接收后将移动电源的当前电量和 / 或电压数据显示出来。该显示动作主要通过移动设备的连接第一控制模块的显示模块进行显示。
如图 3 所示,本发明另一实施例的移动设备与外设装置通讯实现多功能应用的方法,包括:
T1. 在移动设备设置第一控制模块,移动设备通过其第一通讯接口与外设装置的第二通讯接口通讯连接。该第一控制模块根据需要对应外设装置的功能控制所设置,如与外设装置对应的加载有对应应用软件的控制模块等。第一、第二通讯接口可为 USB 接口,通过导线连接通讯;或为 WIFI 等的无线通讯接口,实现无线通讯。可以理解地,本实施例可采取与一实施例中相同的连接方式。
T2. 外设装置通过其第二控制模块输出数据包,数据包通过第二通讯接口发送到移动设备;该步骤 T2 之前,外设装置接收用户指令,生成数据包。
T3. 移动设备通过其第一通讯接口接收数据包,移动设备的第一控制模块读取第一通讯接口所接收的数据包,并作相应处理。
本发明的移动设备包括手机、电脑、 PDA 、数码相机、数码摄像机或视频播放器等,外设装置包括移动电源、家用电器、健身器材或如跑马灯的各种 LED 灯等。
当移动设备为手机和 / 或电脑,外设装置为跑步机时,该实施例方法具体如下:在步骤 T1 中,在手机和 / 或电脑设置第一控制模块,并且手机和 / 或电脑通过第一通讯接口与跑步机的第二通讯接口通讯连接;在步骤 T2 中,跑步机通过第二控制模块输出含有当前跑步信息的数据包,该数据包通过第二通讯接口发送到手机和 / 或电脑;在步骤 T3 中,手机和 / 或电脑通过第一通讯接口接收数据包,并由手机和 / 或电脑的第一控制模块读取所接收的数据包后,得到跑步机的当前跑步信息,并进行记录,从而手机和 / 或电脑可充当跑步机的计步器。跑步机的跑步信息可通过移动设备的连接第一控制模块的显示模块显示出来,并在显示模块上显示记录的情况。
该实施例方法中,步骤 T3 还包括:移动设备将数据包处理后将结果反馈给外设装置,外设装置根据接收到的反馈结果作相应处理。以一具体例子说明如下:
移动设备不限定,外设装置为移动电源时,在步骤 T1 中,移动设备通过第一通讯接口与移动电源的第二通讯接口通讯连接;在步骤 T2 中,移动电源通过第二控制模块输出包含请求读取电池电量指令的数据包,并通过第二通讯接口发送到移动设备;在步骤 T3 中,移动设备通过第一通讯接口接收所述数据包,移动设备的第一控制模块读取所述数据包,根据请求读取电池电量指令检测移动设备的电池电量数据,并通过第一通讯接口反馈给移动电源;移动电源接收后,判断移动设备的电池电量是否低于设定值:当所述电池电量低于设定值时,控制移动电源通过所述第二通讯接口输出充电电源,为移动设备的电池进行充电;当所述电池电量高于设定值时,控制移动电源不输出充电电源。
如图 3 所示,本发明的移动设备与外设装置通讯实现多功能应用的系统 ,包括移动设备 10 及与移动设备 10 通讯连接的外设装置 20 。移动设备 10 包括第一控制模块 11 与第一通讯接口 12 ,第一控制模块 11 与第一通讯接口 12 连接;外设装置 20 包括第二控制模块 21 与第二通讯接口 22 ,第二控制模块 21 与第二通讯接口 22 连接。第二通讯接口 22 与第一通讯接口 12 通过接口协议通讯连接,实现移动设备 10 与外设装置 20 的通讯连接。
其中,移动设备 10 的第一控制模块 11 ,用于输出或读取处理数据包,对于输出数据包,该数据包为包含有根据当下需要用户所输入的指令的数据包。该第一控制模块 11 根据需要对应外设装置 20 的功能控制所设置,如与外设装置 20 对应的加载有对应应用软件的模块等,如对于外设装置 20 为移动电源时,该移动设备 10 的第一控制模块 11 还具有检测等功能,可检测自身电池当前电量和 / 或电压数据。所述第一通讯接口 12 ,用于将第一控制模块 11 输出的数据包发送至外设装置 20 ,或将接收到的数据包发送至第一控制模块 11 。
移动设备 10 还包括与第一控制模块连接的显示模块,用于显示所读取数据包的数据信息或显示当前执行所读取数据包的指令的状态信息等。
外设装置 20 的第二控制模块 21 ,用于读取并处理第二通讯接口 22 接收到的数据包,或输出数据包,以通过第二通讯接口 22 发送至移动设备 10 。该第二控制模块 21 还具有检测、判断等功能,如外设装置 20 为移动电源时,可检测自身电量、电源,判断接收的移动设备 10 的电池电量是否低于设定值等。第一、第二通讯接口 12 、 22 可为 USB 接口或无线通讯接口。
本发明的移动设备 10 包括手机、电脑、 PDA 、数码相机、数码摄像机或视频播放器等,外设装置 20 包括移动电源、家用电器、健身器材或如跑马灯 的各种 LED 灯等。当外设装置 20 为移动电源时,其能够实时启动为移动设备充电,防止移动设备在待机时因电量耗完自动关机及可延长移动设备的电池使用寿命;当外设装置 20 为家用电器时,移动设备与其通讯连接能够起到遥控器的作用;当外设装置 20 为健身器材等,移动设备能够对其起到记录等作用;当外设装置 20 为 LED 灯时,移动设备能够控制其各种亮灯方式。
以上所述仅是本发明的优选实施方式,本发明的保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干个改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (11)

  1. 一种移动设备与外设装置通讯实现多功能应用的方法,所述移动设备上设置有第一控制模块和第一通讯接口,所述外设装置上设置有第二控制模块和第二通讯接口,其特征在于,包括如下步骤:
    S1. 所述移动设备通过所述第一通讯接口与所述外设装置的所述第二通讯接口通讯连接;
    S2. 所述移动设备通过所述第一控制模块输出一数据包,并通过所述第一通讯接口将所述数据包发送至所述外设装置;
    S3. 所述外设装置通过所述第二通讯接口接收所述数据包,所述第二控制模块读取所述数据包,且所述第二控制模块根据所述数据包的数据做相应处理。
  2. 根据权利要求 1 所述的移动设备与外设装置通讯实现多功能应用的方法,其特征在于,所述移动设备为手机和 / 或电脑,所述外设装置为跑马灯;
    在步骤 S2 中,所述数据包的所述数据包含有跑马灯闪烁方式;
    在步骤 S3 中,所述跑马灯的所述第二控制模块读取所述数据包后根据所述数据控制所述跑马灯的闪烁。
  3. 根据权利要求 1 所述的移动设备与外设装置通讯实现多功能应用的方法,其特征在于,所述步骤 S3 还包括:所述外设装置将所述数据包作处理后将处理结果反馈给所述移动设备,所述移动设备根据接收到的所述处理结果做相应处理。
  4. 根据权利要求 3 所述的移动设备与外设装置通讯实现多功能应用的方法,其特征在于,所述外设装置为移动电源;
    在步骤 S2 中,所述数据包的所述数据包含有读取所述移动电源的当前电量和 / 或电压的指令;
    在步骤 S3 中,所述移动电源的所述第二控制模块读取所述数据包后根据所述数据得到包含所述移动电源的当前电量和 / 或电压的处理结果,并通过所述第二通讯接口将所述处理结果反馈给所述移动设备,所述移动设备接收后将所述移动电源的当前电量和 / 或电压显示出来。
  5. 根据权利要求 1 所述的移动设备与外设装置通讯实现多功能应用的方法,其特征在于,所述外设装置为移动电源;
    在步骤 S2 中,所述数据包的所述数据包含有所述移动设备内电池电量;
    在步骤 S3 中,所述第二控制模块根据接收的包含有所述移动设备内电池电量的所述数据,判断所述电池电量是否低于设定值:
    当所述电池电量低于或等于所述设定值时,所述第二控制模块控制所述移动电源通过所述第二通讯接口对所述移动设备进行充电;
    当所述电池电量高于所述设定值时,所述第二控制模块不做处理。
  6. 一种移动设备与外设装置通讯实现多功能应用的方法,所述移动设备上设置有第一控制模块和第一通讯接口,所述外设装置上设置有第二控制模块和第二通讯接口,其特征在于,包括:
    T1. 所述移动设备通过其第一通讯接口与外设装置的所述第二通讯接口通讯连接;
    T2. 所述外设装置通过所述第二控制模块输出数据包,并通过所述第二通讯接口将所述数据包发送至所述移动设备;
    T3. 所述移动设备通过所述第一通讯接口接所述收数据包,所述第一控制模块读取所述数据包,且所述第一控制模块根据所述数据包的数据做相应处理。
  7. 根据权利要求 6 所述的移动设备与外设装置通讯实现多功能应用的方法,其特征在于,所述移动设备为手机和 / 或电脑,所述外设装置为跑步机;
    在步骤 T2 中,所述数据包的所述数据包含有当前跑步信息;
    在步骤 T3 中,所述手机和 / 或电脑的所述第一控制模块读取所述数据包后根据所述数据对所述跑步机的当前跑步信息进行记录。
  8. 根据权利要求 6 所述的移动设备与外设装置通讯实现多功能应用的方法,其特征在于,所述步骤 T3 还包括:所述移动设备将所述数据包做处理后将处理结果反馈给所述外设装置,所述外设装置根据接收到的所述处理结果做相应处理。
  9. 根据权利要求 8 所述的移动设备与外设装置通讯实现多功能应用的方法,其特征在于,所述外设装置为移动电源;
    在步骤 T2 中,所述数据包的所述数据包含有请求读取电池电量指令;
    在步骤 T3 中,所述移动设备的所述第一控制模块读取所述数据包,根据所述请求读取电池电量指令检测所述移动设备的电池电量数据,并通过所述第一通讯接口反馈给所述移动电源;所述移动电源接收后,判断所述移动设备的电池电量是否低于设定值:
    当所述电池电量低于或等于所述设定值时,所述第二控制模块控制所述移动电源通过所述第二通讯接口对所述移动设备进行充电;
    当所述电池电量高于所述设定值时,所述第二控制模块不做处理。
  10. 一种移动设备与外设装置通讯实现多功能应用的系统,其特征在于,包括移动设备及与所述移动设备通讯连接的外设装置,所述移动设备上设置有第一控制模块和第一通讯接口,所述外设装置上设置有第二控制模块和第二通讯接口;其中,
    所述第一控制模块,用于输出或读取处理数据包;
    所述第一通讯接口,用于将所述第一控制模块输出的所述数据包发送至所述外设装置,或将接收到的数据包发送至所述第一控制模块;
    所述第二通讯接口与所述第一通讯接口通过接口协议通讯连接;
    所述第二控制模块,用于输出或读取处理数据包;
    所述第二通讯接口,用于将所述第二控制模块输出的所述数据包发送至所述移动设备,或将接收到的数据包发送至所述第二控制模块。
  11. 根据权利要求 10 所述的移动设备与外设装置通讯实现多功能应用的系统,其特征在于,所述移动设备包括手机、电脑、 PDA 、数码相机、数码摄像机或视频播放器,所述外设装置包括移动电源、家用电器、健身器材或跑马灯。
PCT/CN2014/071494 2013-03-20 2014-01-26 移动设备与外设装置通讯实现多功能应用的方法及系统 WO2014146517A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2013100902260A CN103209259A (zh) 2013-03-20 2013-03-20 移动设备与外设装置通讯实现多功能应用的方法及系统
CN201310090226.0 2013-03-20

Publications (1)

Publication Number Publication Date
WO2014146517A1 true WO2014146517A1 (zh) 2014-09-25

Family

ID=48756340

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071494 WO2014146517A1 (zh) 2013-03-20 2014-01-26 移动设备与外设装置通讯实现多功能应用的方法及系统

Country Status (2)

Country Link
CN (1) CN103209259A (zh)
WO (1) WO2014146517A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209259A (zh) * 2013-03-20 2013-07-17 麦华彬 移动设备与外设装置通讯实现多功能应用的方法及系统
CN105162685A (zh) * 2015-08-06 2015-12-16 深圳市晶源动力电子科技有限公司 视频合成信息朋友圈分享互动跑步的方法
DE102015220229B4 (de) 2015-10-16 2019-11-28 Volkswagen Aktiengesellschaft Verfahren und Vorrichtung zur externen Bedienung eines Geräts
CN110739732B (zh) * 2018-07-20 2022-01-25 炬芯科技股份有限公司 便携式电子设备、芯片及其充电系统和充电方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073577A (zh) * 2011-01-17 2011-05-25 惠州Tcl移动通信有限公司 蓝牙耳机电量在便携式电子设备上显示的系统及其方法
CN102262818A (zh) * 2011-07-08 2011-11-30 广东美的电器股份有限公司 利用手机控制的空调器及其控制方法
CN102316201A (zh) * 2011-08-19 2012-01-11 上海华勤通讯技术有限公司 移动终端及炫彩挂件灯控制方法
CN102946650A (zh) * 2012-10-23 2013-02-27 华为技术有限公司 一种外接设备电量的显示方法、终端和外接设备
CN103209259A (zh) * 2013-03-20 2013-07-17 麦华彬 移动设备与外设装置通讯实现多功能应用的方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340236A (zh) * 2007-12-26 2009-01-07 姚琪 突破陌生人认知障碍和隔阂的沟通通讯方法及装置
CN102008290A (zh) * 2010-09-28 2011-04-13 深圳市倍泰健康测量分析技术有限公司 人体健康采集分析设备及方法
CN201868905U (zh) * 2010-10-30 2011-06-15 比亚迪股份有限公司 一种移动电源
CN202353652U (zh) * 2011-12-20 2012-07-25 陈涛 一种贵重物品手机定位寻找装置
CN102868820A (zh) * 2012-09-19 2013-01-09 中兴通讯股份有限公司 移动终端、数据通信主设备和移动终端充电系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073577A (zh) * 2011-01-17 2011-05-25 惠州Tcl移动通信有限公司 蓝牙耳机电量在便携式电子设备上显示的系统及其方法
CN102262818A (zh) * 2011-07-08 2011-11-30 广东美的电器股份有限公司 利用手机控制的空调器及其控制方法
CN102316201A (zh) * 2011-08-19 2012-01-11 上海华勤通讯技术有限公司 移动终端及炫彩挂件灯控制方法
CN102946650A (zh) * 2012-10-23 2013-02-27 华为技术有限公司 一种外接设备电量的显示方法、终端和外接设备
CN103209259A (zh) * 2013-03-20 2013-07-17 麦华彬 移动设备与外设装置通讯实现多功能应用的方法及系统

Also Published As

Publication number Publication date
CN103209259A (zh) 2013-07-17

Similar Documents

Publication Publication Date Title
WO2017018683A1 (en) User terminal apparatus and controlling method thereof
WO2017131335A1 (ko) 사용자 단말 장치 및 그 제어 방법
WO2014146517A1 (zh) 移动设备与外设装置通讯实现多功能应用的方法及系统
WO2014092486A1 (ko) 홈 네트워크 시스템에서 컨텐츠 재생 장치 및 방법
WO2015184692A1 (zh) 一种移动终端视频同步分享方法及其系统
WO2018040173A1 (zh) 一种快速充电识别方法及终端设备
WO2014092513A1 (ko) 홈 네트워크 시스템에서 컨텐츠 백업 장치 및 방법
WO2014092469A1 (en) Content playing apparatus, method for providing ui of content playing apparatus, network server, and method for controlling by network server
WO2019093856A1 (en) Device and method for controlling microphone according to connection of external accessory
WO2015155936A1 (en) Monitoring camera system
WO2018171534A1 (zh) 基于移动终端的双摄像头供电控制方法、系统及移动终端
WO2016064128A1 (en) Control device, method of controlling the same, and integrated control system
WO2018145597A1 (zh) 基于移动终端的屏幕补光拍照方法及系统、移动终端
WO2018058835A1 (zh) 一种通话模式监控方法、系统及通信终端
EP3369239A1 (en) Display apparatus, user terminal apparatus, system, and controlling method thereof
WO2016095368A1 (zh) 一种目标内容输出方法及其终端
WO2019117535A1 (ko) 외부 전자 장치와의 통신을 위한 전자 장치
WO2016148474A1 (ko) 모바일 디바이스 및 알림 출력 방법
CN106325454A (zh) 供电控制装置、方法和电子设备
WO2018110956A1 (en) Display apparatus presenting status of external electronic apparatus and controlling method thereof
WO2018070763A1 (ko) 컨텐츠를 전송하는 방법 및 장치
WO2012070876A2 (en) Device having multi-functional peripheral and method of operating the same
WO2016036227A1 (ko) 셋탑 박스, 그를 이용한 IoT 기기 제어 방법 및 컴퓨터 프로그램
WO2020078383A1 (zh) 基于蓝牙连接的模式切换方法、蓝牙设备、装置及系统
CN102215334A (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: 14770516

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 26/11/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 14770516

Country of ref document: EP

Kind code of ref document: A1