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

Communication method and device for application program and serial port peripheral

A technology of an application program and a communication method, applied in the field of communication, can solve the problems of increasing the burden of related personnel configuration and poor stability of the operating system.

Inactive Publication Date: 2017-05-10
HISENSE VISUAL TECH CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a communication method and device between an application program and a serial port peripheral to solve the problem that in the related art, when a certain serial port peripheral is changed, all application programs that communicate with the serial port peripheral need to perform synchronization. Poor operating system stability due to changes and issues that increase the associated staffing burden

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 device for application program and serial port peripheral
  • Communication method and device for application program and serial port peripheral
  • Communication method and device for application program and serial port peripheral

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0033] The terminology used in the present invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein and in the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as use...

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 provides a communication method and device adopting an application program and a serial port peripheral. The method comprises the steps that a driving program receives the application data sent by the application program, wherein the application data carries identification information for identifying a target serial port peripheral; the driving program determines the target serial port peripheral based on the identification information and de-encapsulates the application data; the driving program encapsulates the de-encapsulated application data as serial port data, and the serial port data is sent to the target serial port peripheral. In the method, when the serial port peripheral is changed, only the driving program is needed to be perform synchronous change, the application program is not needed to perform synchronous change, and accordingly the problem that when a certain serial port peripheral is changed in the relevant art, all application programs in communication with the serial port peripheral are needed to execute synchronous change, accordingly the system stability is poor and the configuration burden of related personnel is increased can be effectively solved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a communication method and device for an application program and a serial port peripheral. Background technique [0002] As a free and stable operating system, the Linux operating system is widely used in various electronic products, and serial port communication, as a basic communication method, is also widely used in the communication between serial port peripherals and CPU. [0003] In related technologies, in the process of communicating with the serial port peripherals, the application program configured by the Linux operating system needs the Linux operating system to first load the serial port driver architecture, and then the application program executes opening the serial port, setting attributes, reading and writing the serial port, closing the serial port, etc. A series of actions to realize communication with serial port peripherals. [0004] Although the relat...

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): G06F13/42G06F13/10
CPCG06F13/4282G06F13/102G06F2213/0002
Inventor 刘庆全
Owner HISENSE VISUAL TECH CO LTD
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