WO2016011926A1 - Procédé et appareil de transmission d'informations, terminal mobile et support d'informations - Google Patents

Procédé et appareil de transmission d'informations, terminal mobile et support d'informations Download PDF

Info

Publication number
WO2016011926A1
WO2016011926A1 PCT/CN2015/084521 CN2015084521W WO2016011926A1 WO 2016011926 A1 WO2016011926 A1 WO 2016011926A1 CN 2015084521 W CN2015084521 W CN 2015084521W WO 2016011926 A1 WO2016011926 A1 WO 2016011926A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
mobile terminal
external device
information transmission
interface
Prior art date
Application number
PCT/CN2015/084521
Other languages
English (en)
Chinese (zh)
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 WO2016011926A1 publication Critical patent/WO2016011926A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to an information transmission method and apparatus, and a mobile terminal and a storage medium.
  • USB Universal Serial Bus
  • NFC Wired Fidelity
  • WIFI Wired Fidelity
  • Bluetooth Wired Fidelity
  • USB port communication mode needs to go through a certain protocol stack. Although its information transmission rate is high, the resource occupancy rate is large, and for some peripheral devices that do not require a very high transmission rate, only the USB port can be connected. This leads to a large resource occupancy rate and an unnecessary waste of resources.
  • the technical problem to be solved by the present invention is to provide an information transmission method and apparatus, and a mobile terminal and a storage medium, so as to solve the technical problem that the peripheral device without the wireless connection function can only transmit information with the mobile terminal through the USB interface. .
  • an information transmission method comprising the steps of:
  • the mobile terminal When the mobile terminal receives the trigger instruction, sending a startup instruction to the external device through the earphone interface, so that the external device transmits the information to the mobile terminal;
  • sending the startup command to the external device through the earphone interface includes:
  • the sound channel of the headphone interface is used as a channel for transmitting a start command, and a start command is sent to an external device through the serial data line of the I2C bus.
  • receiving information transmitted from the external device through the earphone interface further includes:
  • the microphone channel using the headphone interface is used as a channel for receiving information, and the information transmitted from the external device is received through the serial data line of the I2C bus.
  • the method after receiving the information transmitted from the external device through the earphone interface, the method further includes:
  • the mode is an analog signal
  • the pseudo signal is converted into a digital signal.
  • the method after receiving the information transmitted from the external device through the earphone interface, the method further includes:
  • the encoded information is decoded when the mobile terminal receives the information encoded by the external device.
  • the method further comprises:
  • the information transmitted from the external device is sent to the processing control unit of the mobile terminal, and the processing control unit displays or saves the information in real time.
  • an information transmission apparatus comprising:
  • the instruction sending module is configured to: when the mobile terminal receives the triggering instruction, send a startup instruction to the external device through the earphone interface, so that the external device transmits the information to the mobile terminal;
  • the information receiving module is configured to receive information transmitted from the external device through the earphone interface.
  • the device further comprises:
  • the analog-to-digital conversion module is configured to convert the analog signal into a digital signal when the information transmitted from the external device received by the mobile terminal is an analog signal;
  • the first information sending module is configured to send the information to the processing control unit of the mobile terminal.
  • the device further comprises:
  • a decoding module configured to decode the information after the mobile terminal receives the information encoded by the external device
  • the second information sending module is configured to send the information to the processing control unit of the mobile terminal.
  • a mobile terminal comprising the information transmission apparatus described in the foregoing second embodiment.
  • a computer storage medium wherein the computer storage medium stores computer executable instructions for performing the information transmission method provided by the first aspect of the present invention.
  • the information transmission method and device, the mobile terminal and the storage medium of the embodiment of the present invention use the sound channel of the earphone interface of the mobile terminal as an interface for starting command transmission, and use the microphone channel of the earphone interface as an interface for receiving information.
  • the serial data line of the I2C (Inter-Integrated Circuit) bus is used to transmit the start command and the information of the receiving external device, and the information transmission between the external device and the mobile terminal with low rate requirement is met, the resource occupancy rate is low, and resources are saved.
  • FIG. 1 is a flow chart of an information transmission method according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of an information transmission method according to another embodiment of the present invention.
  • FIG. 3 is a block diagram showing the structure of an information transmission apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of an information transmission apparatus according to another embodiment of the present invention.
  • Figure 5 is a schematic diagram of a physical connection of an embodiment of the present invention.
  • Figure 6 is a schematic diagram of a physical connection of another embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a communication principle of an I2C bus according to an embodiment of the present invention.
  • the information transmission method provided by the embodiment of the present invention includes the following steps:
  • the user inputs a trigger instruction by clicking or touching
  • the mobile terminal receives the trigger instruction
  • the processing control unit generates a startup instruction, and sends the startup instruction to the serial data line of the I2C bus through the sound channel of the headphone interface.
  • the start command is transmitted to the external device through the serial data line.
  • the sound channel includes a left channel and a right channel, and the left channel or the right channel can be used as a channel for starting a command, or the left channel and the right channel can be simultaneously used as a channel for starting a command.
  • the external device is a peripheral sensor or a financial terminal device, and the sensor includes but is not limited to a pressure sensor, a temperature/humidity acquisition sensor, and the like.
  • Mobile terminals include, but are not limited to, smartphones, tablets, and the like.
  • the mobile terminal receives the information transmitted from the external device through the earphone interface.
  • the external device After receiving the startup command through the serial data line of the I2C bus, the external device acquires the analog signal collected by the acquisition unit, or converts the acquired analog signal into a digital signal and encodes it, and then sends it to and from the mobile device.
  • the microphone interface of the terminal is connected to the I2C bus.
  • the mobile terminal adopts a microphone of the earphone interface as a receiving end, and is connected to the I2C bus to receive information transmitted from the serial data line of the I2C bus. If the received information is an analog signal, the mobile terminal converts the analog signal into a digital signal; If the received message is a digital signal, The digital signal is decoded.
  • the information transmission method of the embodiment of the present invention uses the sound channel of the earphone interface of the mobile terminal as an interface for starting the command transmission, and uses the microphone channel of the earphone interface as an interface for receiving information, and uses the serial data line of the I2C bus to send a start command and receive the external interface.
  • the information of the device meets the information transmission between the external device and the mobile terminal with low rate requirements, and the resource occupancy rate is low, which saves resources.
  • step S103 the information is sent to the processing control unit of the mobile terminal, and is displayed or saved in real time by the processing control unit.
  • the mobile terminal after receiving the information through the microphone interface, transmits the parsed information to the processing control unit in the mobile terminal through analog-to-digital conversion or decoding, and the processing control unit displays or saves in real time, and uses the user to view the information in real time. Or use the mobile terminal for backup and save.
  • an information transmission apparatus includes the following modules:
  • the command sending module 10 is configured to: when the mobile terminal receives the trigger instruction, send a start command to the external device through the earphone interface, so that the external device transmits the information to the mobile terminal.
  • the sound channel interface of the mobile terminal is connected to the I2C bus, and the startup command is sent to the serial data line of the I2C bus, and is transmitted to the external device by the serial data line.
  • the sound channel includes a left channel and a right channel, and the left channel or the right channel can be used as a channel for starting a command, or the left channel and the right channel can be simultaneously used as a channel for starting a command.
  • the information receiving module 20 is configured to receive, by the mobile terminal, information transmitted by the external device through the earphone interface.
  • the external device After receiving the startup command through the serial data line of the I2C bus, the external device acquires the analog signal collected by the acquisition unit and directly sends it to the I2C bus connected to the microphone interface of the mobile terminal; or the acquired analog signal After being converted into a digital signal and encoded, it is sent to the I2C bus that is connected to the microphone interface of the mobile terminal.
  • the information transmission device when the information received by the mobile terminal is an analog signal, the information transmission device further includes:
  • the analog-to-digital conversion module 30 is configured to convert the analog signal into a digital signal when the information transmitted from the external device received by the mobile terminal is an analog signal.
  • the first information sending module 40 is configured to send information to the processing control unit of the mobile terminal, and is displayed or saved in real time by the processing control unit.
  • the mobile terminal receives the information transmitted by the external device, and after being processed by the analog-to-digital conversion module or the decoding module, is sent to the processing control unit by the first information sending module 40, and is displayed or saved in real time by the processing control unit, which is beneficial to The user can view the information in real time or back up important information transmitted by the external device.
  • the information transmission device includes, in addition to the command sending module 10 and the information receiving module 20, the following:
  • the decoding module 50 is configured to decode the information when the mobile terminal receives the information encoded by the external device.
  • the second information sending module 60 is configured to send information to the processing control unit of the mobile terminal, and is displayed or saved in real time by the processing control unit.
  • the mobile terminal receives the digital signal transmitted by the external device, and after being decoded by the decoding module, is sent to the processing control unit by the second information sending module 60, and the processing control unit displays or saves in real time, so that the user can view the information in real time, or Back up important information transmitted by external devices.
  • the present invention further provides a mobile terminal, which includes the information transmission apparatus described in Embodiment 3 above.
  • FIG. 5 is a schematic diagram of a physical connection according to an embodiment of the present invention.
  • the figure is a physical connection diagram of an external device transmitting an analog signal to a mobile terminal, where the L/R output interface represents a left channel output interface and/or Or right channel output interface, MIC input interface represents microphone input interface.
  • the host is a mobile terminal, including but not limited to a mobile phone, a tablet, and the slave is an external device, including but not limited to a sensor, a financial terminal device, and the sensor includes but is not limited to a pressure sensor, a temperature/humidity acquisition sensor.
  • the mobile terminal receives the trigger instruction of the user as the host, and the processing control unit generates a startup instruction, and sends a startup instruction to the external device through the L/R output interface.
  • the external device transmits the information collected by the acquisition unit to the mobile terminal through the microphone channel through the analog signal.
  • the mobile terminal samples the analog signal and converts the analog signal into a digital signal.
  • the digital signal is transmitted to the processing control unit, and the processing control unit obtains the digital signal and displays or saves it in real time, so that the user can view the obtained information in real time, or save the information by the mobile terminal.
  • FIG. 6 is a schematic diagram of a physical connection according to another embodiment of the present invention.
  • the figure is a physical connection diagram of an external device transmitting a digital signal to a mobile terminal.
  • the host is a mobile terminal, including but not limited to a mobile phone, a tablet
  • the slave is an external device, including but not limited to a sensor, a financial terminal device, and the sensor includes but is not limited to a pressure sensor, a temperature/humidity acquisition sensor.
  • the mobile terminal receives the trigger instruction of the user as the host, and the processing control unit generates a startup instruction, and sends a startup instruction to the external device through the L/R output interface.
  • the processing control unit After receiving the startup command, the processing control unit converts the analog signal collected by the acquisition unit into a digital signal, and then encodes it by the encoder, and finally transmits it to the mobile terminal through the microphone channel. After receiving the digital signal, the mobile terminal decodes the signal through the decoder and transmits it to the processing control unit. The processing control unit obtains the digital signal and displays or saves it in real time, so that the user can view the obtained information in real time or save the information through the mobile terminal. Backup.
  • the earphone interface is used as an interface for transmitting information
  • the earphone interface rules usually have several specifications such as 2.5 mm and 3.5 mm, and generally have four channels, namely, a left channel L, a right channel R, and a microphone channel.
  • the MIC and the detection channel D in the embodiment of the present invention, need to use the left and / or right channel (ie, the L / R output interface in the figure), and the microphone channel (ie, the MIC input interface in the figure), wherein, L
  • the /R channel is used as an output, and the communication mode of the I2C bus is adopted.
  • the MIC channel is used as an input to receive an analog signal or a digital signal transmitted by an external device, thereby realizing information interaction between the external device and the mobile terminal.
  • the I2C bus has two bus lines: one serial data line SDA and one serial clock line SCL.
  • the SCL line is When high level, the SDA line switches from high level to low level. This condition indicates the start condition; when the SCL line is high level, the SDA line switches from low level to high level. This condition indicates a stop condition.
  • Each byte on the SDA line must be 8 bits, and the number of bytes that can be transmitted per transmission is not limited. Each byte must be followed by a response bit.
  • the first bit of the message is transmitted first (MSB) if After the slave has completed some other functions (such as an internal interrupt service routine), it can receive or transmit the next complete information byte, which can keep the clock line SCL low, forcing the host to enter the wait state, when the slave is ready to receive. The information transmission continues after the next message byte and the clock line SCL is released.
  • the I2C bus information transmission must have an acknowledgment response, and it is only started or stopped when it detects that the information line is a rising or falling edge.
  • the L/R interface can only be used as an output to send a start command, after the start command is sent, the level is pulled or pulled low without waiting for a response or ignoring the response. In order to start receiving information or stop receiving information.
  • the information transmission method, device and mobile terminal of the above embodiment use the sound channel of the earphone interface of the mobile terminal as the interface for transmitting the command, and use the microphone channel of the earphone interface as the interface for receiving information, and the serial data line of the I2C bus is used to transmit and start.
  • Command and receive external devices The information provides a way for information transmission between the mobile terminal and the external device. When the USB interface is occupied, or when the information transmission rate is not high, the earphone interface is used for information transmission, and the resource occupancy rate is low. save resources.
  • the instruction sending module, the information receiving module, the analog-to-digital conversion module, the first information sending module, the decoding module and the second information sending module in the information transmission device provided by the embodiment of the present invention can all be implemented by a processor in the mobile terminal.
  • the functions performed by the above processor can also be implemented by specific logic circuits; in the process of the specific embodiment, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP). Or field programmable gate array (FPGA), etc.
  • the above information transmission method is implemented in the form of a software function module and sold or used as a separate product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information transmission method in the embodiment of the present invention.
  • the mobile terminal when the mobile terminal receives the trigger instruction, the mobile terminal sends a start command to the external device through the earphone interface, so that the external device transmits the information to the mobile terminal, and receives the information transmitted from the external device through the earphone interface.
  • the mobile terminal headset interface is used to send a startup command to the external device, and the information transmitted by the external device is received through the earphone interface, which provides a way for the information transmission between the mobile terminal and the external device, when the USB interface When it is occupied, or when the information transmission rate is not high, the headphone interface is used for information transmission, which has low resource occupancy rate and saves resources.

Landscapes

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

Abstract

La présente invention se rapporte au domaine technique des terminaux mobiles. La présente invention concerne un procédé et un appareil de transmission d'informations, un terminal mobile et un support d'informations. Le procédé consiste à : lorsqu'un terminal mobile reçoit une instruction de déclenchement, envoyer une instruction de démarrage à un dispositif externe par l'intermédiaire d'une interface d'écouteur, de telle sorte que le dispositif externe transmet des informations au terminal mobile ; et recevoir les informations transmises à partir du dispositif externe par l'intermédiaire de l'interface d'écouteur.
PCT/CN2015/084521 2014-07-22 2015-07-20 Procédé et appareil de transmission d'informations, terminal mobile et support d'informations WO2016011926A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410351394.5 2014-07-22
CN201410351394.5A CN104113933B (zh) 2014-07-22 2014-07-22 一种信息传输方法、装置和移动终端

Publications (1)

Publication Number Publication Date
WO2016011926A1 true WO2016011926A1 (fr) 2016-01-28

Family

ID=51710525

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/084521 WO2016011926A1 (fr) 2014-07-22 2015-07-20 Procédé et appareil de transmission d'informations, terminal mobile et support d'informations

Country Status (2)

Country Link
CN (1) CN104113933B (fr)
WO (1) WO2016011926A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113933B (zh) * 2014-07-22 2016-03-30 努比亚技术有限公司 一种信息传输方法、装置和移动终端
CN105117365A (zh) * 2015-07-16 2015-12-02 上海斐讯数据通信技术有限公司 一种基于Mpc837x框架的数据读取方法
CN108377291B (zh) * 2018-01-29 2020-05-12 维沃移动通信有限公司 一种基于耳机接口的通信方法及移动终端、存储介质
CN110825591B (zh) * 2019-10-28 2023-05-26 闻泰通讯股份有限公司 系统信息读取方法、读取装置以及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413208A (zh) * 2011-10-14 2012-04-11 杭州芯赛微电子有限公司 利用手机耳机接口实现串口通信的方法
KR20120120813A (ko) * 2011-04-25 2012-11-02 주식회사 유프레스토 이어폰커넥터를 구비한 호스트통신장비와 오디오경로를 통해 데이터통신을 실행하는 슬레이브장비 및 그 제어방법
CN102857631A (zh) * 2012-07-31 2013-01-02 上海天臣防伪技术股份有限公司 一种手机利用耳机插孔读取rfid/nfc标签的方法与系统
CN103514425A (zh) * 2013-08-22 2014-01-15 厦门英诺尔信息科技有限公司 一种基于音频接口读取rfid/uhf标签的方法和装置
CN103593633A (zh) * 2013-10-24 2014-02-19 厦门英诺尔信息科技有限公司 一种基于音频接口读取多个rfid/hf标签的方法和装置
CN104113933A (zh) * 2014-07-22 2014-10-22 深圳市中兴移动通信有限公司 一种信息传输方法、装置和移动终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9179198B2 (en) * 2010-10-01 2015-11-03 Sony Corporation Receiving apparatus, receiving method, and program
CN203133830U (zh) * 2013-03-25 2013-08-14 北京展芯智源信息技术有限公司 基于耳机通道的外设接口设备和信号传输系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120120813A (ko) * 2011-04-25 2012-11-02 주식회사 유프레스토 이어폰커넥터를 구비한 호스트통신장비와 오디오경로를 통해 데이터통신을 실행하는 슬레이브장비 및 그 제어방법
CN102413208A (zh) * 2011-10-14 2012-04-11 杭州芯赛微电子有限公司 利用手机耳机接口实现串口通信的方法
CN102857631A (zh) * 2012-07-31 2013-01-02 上海天臣防伪技术股份有限公司 一种手机利用耳机插孔读取rfid/nfc标签的方法与系统
CN103514425A (zh) * 2013-08-22 2014-01-15 厦门英诺尔信息科技有限公司 一种基于音频接口读取rfid/uhf标签的方法和装置
CN103593633A (zh) * 2013-10-24 2014-02-19 厦门英诺尔信息科技有限公司 一种基于音频接口读取多个rfid/hf标签的方法和装置
CN104113933A (zh) * 2014-07-22 2014-10-22 深圳市中兴移动通信有限公司 一种信息传输方法、装置和移动终端

Also Published As

Publication number Publication date
CN104113933B (zh) 2016-03-30
CN104113933A (zh) 2014-10-22

Similar Documents

Publication Publication Date Title
WO2016011926A1 (fr) Procédé et appareil de transmission d'informations, terminal mobile et support d'informations
CN105700732B (zh) 用于传输触摸传感器信息的装置、系统和方法
US8549203B2 (en) Multi-protocol bus interface device
TWI279156B (en) Wireless audio system using wireless LAN
WO2016000569A1 (fr) Procédé et système de communication vocale dans des applications de jeu
JP2013533504A (ja) 選択的出力制御によってオーディオデータを復号するための方法とシステム
WO2013139184A1 (fr) Procédé, dispositif et système de communication de dispositif usb
CN108848333B (zh) 信号转换模块和移动终端
US10678494B2 (en) Controlling data streams in universal serial bus (USB) systems
US20170371681A1 (en) Systems and methods for using distributed universal serial bus (usb) host drivers
EP3467649B1 (fr) Procédé de commande d'application et dispositif associé
WO2014058334A1 (fr) Transmission de données audio et d'énergie par usb
JP2016533608A (ja) カメラ制御インターフェースのスレーブデバイス間通信
WO2018157431A1 (fr) Dispositif et procédé de communication de ligne unique
WO2018049892A1 (fr) Procédé et appareil de transmission de données, et terminal
TW201841530A (zh) 經由匯流排上的額外副資料線來發送資料的系統和方法
KR102256291B1 (ko) 번역 상황을 인지하고 번역 기능을 수행하는 방법 및 이를 구현하는 전자장치
CN106708240B (zh) 一种省电方法、服务器及省电系统
US11196868B2 (en) Audio data processing method, server, client and server, and storage medium
US20160093307A1 (en) Latency Reduction
TWI238605B (en) Method for transmitting and receiving blue-tooth data and its apparatus
CN102915290A (zh) 实现移动终端与人机接口设备连接的方法、适配器及系统
TWI492153B (zh) System platform for supporting infrared receiver / transmitter and method of operation thereof
US20140139449A1 (en) Transmission interface for a touch system
CN110168511B (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: 15824231

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 1205A DATED 22.06.2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15824231

Country of ref document: EP

Kind code of ref document: A1