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

A master-slave device serial bus communication method and dynamic identification process in an embedded system

An embedded system and serial bus technology, applied in the field of master-slave device serial bus communication and dynamic identification process in embedded systems, can solve the problems of increasing procurement costs and inventory risks, spending more, increasing product costs, etc. Achieve the effect of reducing procurement costs and inventory risks, reducing human resources and time, and reducing design costs

Active Publication Date: 2011-12-14
XIAMEN YAXON NETWORKS CO LTD
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In practical applications, there are many application scenarios for the connection between the master and the slave. Scenario 1: A master device needs to connect to various slave devices at the same time. Scenario 2: A master device can arbitrarily choose the slave device it needs to connect. Host device, scenario 3: When the communication interface of the host device is limited, different slave devices need to be able to be hot-swapped. In practical applications, it is often necessary to insert a slave device with display function when installing the host device. The slave device is mainly used for Detect the installation and working status of the host device, but after the host device is installed, the device will be unplugged and the required slave device will be inserted
[0004] Scenario 1: A host device needs to be connected to various slave devices at the same time. The previous implementation method is to assign all communication interfaces of the host device to each specified slave device according to the prior agreement when designing the host program. The corresponding communication The interface can only send and receive fixed slave device data, and other slave devices cannot be connected to this communication interface. At the same time, in order to avoid customer connection errors, the connectors of the communication interface adopt different models, so that various slave devices cannot be freely connected to the host device. Any communication interface for
Disadvantage 1: It is necessary to assemble various types of interface connectors, which brings great inconvenience to production; Disadvantage 2: Usually, when purchasing a connector, there is a minimum purchase quantity, which cannot be purchased on demand, or only a certain amount can be purchased. Preferential, the above-mentioned use of different types of connectors increases procurement costs and inventory risks
Disadvantage 1: Agents need to distinguish and manage multiple versions of host device software, which causes confusion and increases the cost of human resources for agents. At the same time, it is inefficient to download and update the host device software when installing devices in batches; Disadvantage 2: Due to the connection of slave devices The method will vary according to different applications, which leads to many software versions, and equipment manufacturers need to spend more human resources to maintain the program version. When a problem occurs in a version of the program, it is often necessary to upgrade all related program versions, which costs a lot of money. manpower and time
[0006] Scenario 3: When the number of communication interfaces of the host device is limited, different slave devices need to be able to be hot-swapped. In practical applications, when installing the host device, it is necessary to insert a slave device with a display function to detect the installation status and work of the host device. state, but after the installation is complete, this device will be unplugged and the required slave device plugged in
When the selected communication interface can only communicate one-to-one, and cannot communicate with multiple communication interfaces together, the previous implementation method is to select a microprocessor with multiple communication interfaces when designing and developing the host device, or to increase The communication interface expansion circuit is used to expand the communication port, but in fact the increased communication interface is only used when installing the host device, which leads to unnecessary waste of resources and increases product cost; when choosing a smarter option, the communication interfaces of all devices can be connected in parallel A bus that communicates together, and this more intelligent communication interface is often more expensive, thereby increasing product costs

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
  • A master-slave device serial bus communication method and dynamic identification process in an embedded system
  • A master-slave device serial bus communication method and dynamic identification process in an embedded system
  • A master-slave device serial bus communication method and dynamic identification process in an embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0118] combine Figure 5 , which will be further described in conjunction with the second embodiment of the present invention. The second embodiment of the present invention is a master-slave equipment system composed of GPS vehicle terminal 1, LCD black and white screen 2, LCD navigation screen 3, and LED text screen 4. The master-slave equipment is connected through the RS232 communication interface, and the RS232 communication interface only One-to-one communication is possible, and multiple interfaces cannot be connected together for communication.

[0119] The GPS vehicle-mounted terminal 1 is a host device installed on the vehicle, which includes a microprocessor 11, RAM memory 12, FLASH flash memory 13, peripheral input and output interface 14, RS232 communication interface 15, mobile communication module 16 and satellite positioning module 17 subsystem. It mainly plays the role of mobile network wireless data communication and GPS satellite positioning.

[0120] LCD...

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 serial bus communication method and a dynamic recognition method of master equipment and slave equipment in an embedded system. In the communication method, master equipment and at least one slave equipment are comprised, communication connection is established between the master equipment and the slave equipment through a serial bus, and the communication between the master equipment and the slave equipment generates a data frame according to a special communication protocol. The special communication protocol comprises a first layer for defining sending and receiving of the data frame, a second layer for defining coding and decoding of the data frame and a third layer for defining a frame format of the data frame. The dynamic recognition process of the master equipment and the slave equipment, realized based on the communication method, adopts the communication method provided by the invention without support of an intelligent operating system, and has a hot plug function; the slave equipment can be freely connected to any communication interface of the master equipment and is connected with the master equipment through program software with same versions, thus updating, maintaining and managing are simple and efficient, and manpower resources and time are greatly reduced.

Description

technical field [0001] The invention relates to a master-slave device serial bus communication method and a dynamic identification process in an embedded system, in particular to a method for realizing identification and management of a master device to a slave device through universal serial bus communication. Background technique [0002] With the development of embedded technology and the diversification of embedded devices, various devices are often connected through a universal serial bus. [0003] In practical applications, there are many application scenarios for the connection between the master and the slave. Scenario 1: A master device needs to connect to various slave devices at the same time. Scenario 2: A master device can arbitrarily choose the slave device it needs to connect. Host device, scenario 3: When the communication interface of the host device is limited, different slave devices need to be able to be hot-swapped. In practical applications, it is often...

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/42
Inventor 叶德焰陈挺黄运峰赖荣东
Owner XIAMEN YAXON NETWORKS 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