Data packing method of audio communication

An audio communication and grouping technology, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the problems of high bit error rate, poor compatibility, unable to truly meet the stable and efficient communication of smart devices and audio POS machines, etc. Achieve the effect of low code consumption, reliable data identification, and low coding cost

Inactive Publication Date: 2015-09-23
NEWLAND DIGITAL TECH CO LTD
View PDF1 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Most of the current audio POS uses ready-made serial communication methods, such as Manchester encoding; although mature communication encoding methods have been widely used, due to the differences in smart platforms, the diversification of operating systems, and the current Android ecosystem. Fragmentation leads to poor compatibility and high bit error rate of the traditional coding method under the smart device platform. The traditional communication coding method requires the relative normalization of hardware, making it unable to truly meet the needs of stable and efficient communication between smart devices and audio POS machines.

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
  • Data packing method of audio communication
  • Data packing method of audio communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] like figure 1 Or shown in 2, the present invention comprises the following steps:

[0023] 1) Define a data field: the data field stores the data to be transmitted, and the data field is composed of data elements;

[0024] 2) Define a length bit: the length bit stores the length of the data field, the length bit is appended in front of the data field, and the length of the data field is the total number of bytes in the data field; the length of the length bit can be determined according to the actual situation The number of sections, the length of the length bit can be up to 65536, and the high byte part is used to formulate the unpacking and retransmission protocol. In this embodiment, the length of the length bit is two bits.

[0025] 3) Define a frame header: the highest bit of the frame header is 1; the length of the frame header is one byte. That is to say, the whole frame header has the pattern of "1XXXXXXX", which makes the frame header have relatively good res...

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 data packing method of audio communication. The data packing method comprises the steps as follows: storing the data to be transmitted to a data field formed by data elements, appending length bits for storing length data of the data field at the front of the data field, appending CRC8 check bits for storing a check value obtained by performing CRC check on the length bits and the data field at the back of the data field to ensure the accuracy of the data in the data field; respectively appending a frame head with relative high resolution and a frame tail with relative high resolution on an analog waveform at the beginning and at the ending of the data package during packing; in addition, performing odd-even check on each byte and appending the check value at the back of the byte after packing to effectively ensure the accuracy of the data of each byte. The analog waveform of the invention has excellent resolution and reliable performance for data recognition and decoding, thereby reducing the error rate. The data packing method of audio communication of the invention improves compatibility between an audio POS and an intelligent device. The coding and decoding of the software are easy to realize and the code consumption is small.

Description

technical field [0001] The invention relates to a data transmission system, in particular to a data grouping method for audio communication. Background technique [0002] With the deepening of e-commerce applications, the market needs more and more technologies that can meet the acceptance of near-field transactions through mobile terminals such as mobile phones. The audio-based communication technology between smart devices and POS machines is gradually becoming familiar to people. Specifically, the smart device is installed with an APP for encoding audio data, and the data is encoded according to the agreed encoding format and then output to the audio port for playback, so as to realize the conversion of digital signals into analog signal representations, and the audio POS machine receives and processes the analog signals, and Convert it into a digital signal, and then decode the digital signal to get the data, and vice versa. [0003] Most of the current audio POS uses ...

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): H04L12/861
Inventor 蔡巍卢佩新沈思忠
Owner NEWLAND DIGITAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products