Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Communication method and communication device between terminal and external equipment

A technology of external equipment and communication method, which is applied in the field of communication, and can solve problems such as lack of versatility, USB slave interface cannot be externally connected, and interfaces are not uniform.

Active Publication Date: 2013-07-10
FEITIAN TECHNOLOGIES
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For smartphones and tablet computers, basically there are audio ports, that is, headphone ports, but other interfaces are not uniform. For example, smartphones using the iOS operating system have a DOCK port, but smartphones using the Android operating system There is no DOCK port, but a USB slave interface, but the USB slave interface cannot be connected to an external slave device
Therefore, in the prior art, the communication between smart phones and tablet computers and external devices does not have versatility

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication method and communication device between terminal and external equipment
  • Communication method and communication device between terminal and external equipment
  • Communication method and communication device between terminal and external equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0142] Embodiment 1 of the present invention provides a communication method between a terminal and an external device, such as figure 1 shown, including:

[0143] Step 101: The terminal converts the transmission data into digital audio data, converts the digital audio data into an audio analog signal through an audio device, outputs the audio analog signal to an external device, and initializes a buffer area;

[0144] Specifically, the transmission data in this embodiment includes a data header and data content; the buffer area is used to store the response data;

[0145] Step 102: The terminal collects the response audio analog signal returned by the external device through the audio device, and converts the response audio analog signal into response digital audio data;

[0146] Specifically, in this embodiment, the response digital audio data includes a data header and data content;

[0147] In this embodiment, step 101 and step 102 can be replaced by:

[0148] Step 101'...

Embodiment 2

[0161] Embodiment 2 of the present invention provides a communication method between a terminal and an external device, such as figure 2 shown, including:

[0162] Step 201: The terminal converts the transmission data into digital audio data, sets the first number of retries and the first number of timeouts as initial values, and initializes the buffer area;

[0163] Specifically, the transmission data in this embodiment includes a data header and data content;

[0164] For example, in this embodiment, the initial values ​​of the first number of retries and the first number of timeouts are both 0;

[0165] Specifically, the method for the terminal to convert the transmission data into digital audio data will be further elaborated in Embodiment 4, Embodiment 5 and Embodiment 6;

[0166] For example, the transmission data is 0x31, and the corresponding binary data is 0011 0001, then when the terminal uses the conversion method in Embodiment 4, the digital audio data is:

[0...

Embodiment 3

[0231] Embodiment 3 of the present invention provides a method for negotiating communication parameters in a communication method between a terminal and an external device, such as image 3 shown, including:

[0232] Step 301: The terminal calculates the second number of retries, and judges whether the calculation result reaches the third preset value, and if yes, returns a failure message of negotiating communication parameters, and ends; otherwise, executes step 302;

[0233] For example, in this embodiment, the initial value of the second number of retries is 0, and each time the terminal calculates the second number of retries, it is to add 1 to the second number of retries;

[0234] Step 302: The terminal converts the preset parameter array data whose index value is i into digital audio data of negotiation parameters, and calculates the index value i;

[0235] Specifically, in this embodiment, the method for the terminal to convert the preset parameter array data whose i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a communication method and a communication device between a terminal and external equipment. The communication method comprises the following steps: the terminal converts transmission data and outputs the conversion result to the external equipment, returned analog signals are collected and converted into response data to obtain the data content of the response data, the current response data of a cache area with the data content of the converted response data are combined, the current response data is updated through the combination result, and whether the current response data pass verification is judged; if the current response data pass verification, the process is finished, otherwise the current response data are stored in the cache area; and whether the current collection condition meets a preset condition is judged, if the current collection condition meets the preset condition, the collection continues, otherwise error information is returned, and the process is finished.

Description

technical field [0001] The present invention relates to the communication field, in particular to a communication method and device between a terminal and an external device. Background technique [0002] In order to ensure the security of user information, security authentication is often required. At present, the communication methods between smart phones and tablet computers and external devices are divided into wired communication and wireless communication, wherein wired communication uses external interfaces on smart phones and tablet computers to connect with external devices. For smartphones and tablet computers, basically there are audio ports, that is, headphone ports, but other interfaces are not uniform. For example, smartphones using the iOS operating system have a DOCK port, but smartphones using the Android operating system There is no DOCK port, but a USB slave interface, but the USB slave interface cannot be connected to an external slave device. Therefore...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/32H04L1/00
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products