Unlock instant, AI-driven research and patent intelligence for your innovation.

Dynamic recognition method of master equipment and slave equipment serial bus communication method in embedded system

An embedded system, serial bus technology, applied in the field of dynamic identification of master-slave devices based on serial bus communication of master-slave devices in embedded systems, can solve the problem of increasing procurement costs and inventory risks, spending more, increasing Product cost and other issues, to achieve the effect of reducing procurement costs and inventory risks, reducing human resources and time, and reducing design costs

Active Publication Date: 2014-01-22
XIAMEN YAXON NETWORKS CO LTD
View PDF3 Cites 0 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
  • Dynamic recognition method of master equipment and slave equipment serial bus communication method in embedded system
  • Dynamic recognition method of master equipment and slave equipment serial bus communication method in embedded system
  • Dynamic recognition method of master equipment and slave equipment serial bus communication method in 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 master-slave device serial bus communication method and a dynamic identification process in an embedded system. The communication method includes a master device and at least one slave device, and the master device and the slave device establish a communication connection through the serial bus. The communication between the master device and the slave device is to generate a data frame according to a specific communication protocol. The specific communication protocol includes: the first layer, which defines the sending and receiving of the data frame, and the second layer, which defines the data frame encoding and decoding, and the third layer defines the frame format of the data frame; based on the dynamic identification process of the master-slave device realized by the communication method, the method of the present invention does not require the support of an intelligent operating system, and has a hot-swap function. The slave device can be freely connected to any communication interface of the master device, and the master-slave device connection can be realized through the same version of the program software. The update, maintenance and management are simple and efficient, greatly reducing human resources and time.

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 Patents(China)
IPC IPC(8): G06F13/42
Inventor 叶德焰陈挺黄运峰赖荣东
Owner XIAMEN YAXON NETWORKS CO LTD