CN113037516B - Communication method, device and system - Google Patents

Communication method, device and system Download PDF

Info

Publication number
CN113037516B
CN113037516B CN202110368448.9A CN202110368448A CN113037516B CN 113037516 B CN113037516 B CN 113037516B CN 202110368448 A CN202110368448 A CN 202110368448A CN 113037516 B CN113037516 B CN 113037516B
Authority
CN
China
Prior art keywords
component
spi
line
broadcast
communication information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110368448.9A
Other languages
Chinese (zh)
Other versions
CN113037516A (en
Inventor
杜增权
黄平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipone Technology Beijing Co Ltd
Original Assignee
Chipone Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chipone Technology Beijing Co Ltd filed Critical Chipone Technology Beijing Co Ltd
Priority to CN202110368448.9A priority Critical patent/CN113037516B/en
Publication of CN113037516A publication Critical patent/CN113037516A/en
Application granted granted Critical
Publication of CN113037516B publication Critical patent/CN113037516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The present disclosure relates to a communication method, device and system, the method is applied to a first component in a broadcast communication system, the broadcast communication system further comprises a second component and at least one third component, the first component and the second component communicate through a first SPI line, the first component and the at least one third component communicate through at least one second SPI line, the method comprises: receiving SPI communication information sent by a second component; and under the condition of including a broadcast starting instruction, establishing a connection relation of the first SPI line and the second SPI line so that the second component simultaneously establishes direct SPI connection with the first component and the third component, and sending the same information to the first component and the third component simultaneously in all the following communication. The method and the device can shorten the time for the second component to send the same information to the first component and the third component, can efficiently realize broadcast communication, and are simple and convenient to operate and low in cost.

Description

Communication method, device and system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a communication method, apparatus, and system.
Background
In the dual chip cascade application, for the requirement (e.g. downloading program code) that the upper computer chip writes the same data into the two cascade lower computer chips, as shown in fig. 1, the common practice in the related art is as follows: the upper computer writes data into the lower computer chip/the cascade master chip storage area to finish writing data into the master chip, then the cascade master chip controls communication between the cascade chips, data of the storage area is read and written into the cascade slave chip, and data writing into the slave chip is finished.
In the related technology, the host computer writes the cascade master chip and the cascade master chip writes the cascade slave chip in sequence in a time-sharing mode, 2 times of time is consumed, the operation of the cascade master chip to write the cascade slave chip is troublesome, the start is realized, the cascade master chip has no program codes, and the operation of the master chip to write the slave chip is troublesome. After the cascade main chip downloads the program code, a special program code is needed to realize the operation, and thus, the problems of long time consumption, low efficiency, troublesome operation and the like exist in the related technology.
Disclosure of Invention
In view of this, the present disclosure provides a communication method, which is applied to a first component in a broadcast communication system, where the broadcast communication system further includes a second component and at least one third component, the first component and the second component communicate with each other through a first Serial Peripheral Interface (SPI) line, and the first component and the at least one third component communicate with each other through at least one second SPI line, where the method includes:
receiving SPI communication information sent by the second component;
establishing a connection relationship of the first SPI line and the second SPI line so that the second component simultaneously establishes a direct SPI connection with the first component and the third component in case that a broadcast start indication is included in the SPI communication information,
when the direct SPI connections between the second component and the first and third components are established, the SPI communication information sent by the second component can be broadcast to the first and third components at the same time.
In one possible implementation, after the first SPI line establishes the connection with the second SPI line, the method further comprises:
and under the condition that the received SPI communication information comprises a broadcast ending instruction, disconnecting the first SPI circuit from the second SPI circuit so as to disconnect the direct SPI connection of the second component and the third component.
In a possible embodiment, the first component includes a line switch, and in a case that the SPI communication information includes a broadcast start instruction, establishing a connection relationship between the first SPI line and the second SPI line includes:
and under the condition that the SPI communication information comprises a broadcast starting instruction, establishing the connection relation between the first SPI line and the second SPI line through the line selector switch.
In one possible embodiment, in a case where a broadcast end instruction is included in the received SPI communication information, disconnecting the first SPI line from the second SPI line includes:
and under the condition that the received SPI communication information comprises a broadcast ending instruction, the first SPI circuit is disconnected with the second SPI circuit through the circuit selector switch.
According to another aspect of the present disclosure, a communication device is provided, the device is applied to a first component in a broadcast communication system, the broadcast communication system further includes a second component and at least one third component, the first component and the second component communicate with each other through a first Serial Peripheral Interface (SPI) line, and the first component and the at least one third component communicate with each other through at least one second SPI line, wherein,
the first component is used for receiving SPI communication information sent by the second component, and establishing the connection relation between the first SPI line and the second SPI line under the condition that the SPI communication information comprises a broadcast starting instruction, so that the second component simultaneously establishes direct SPI connection with the first component and the third component,
when the direct SPI connections between the second component and the first and third components are established, the SPI communication information sent by the second component can be broadcast to the first and third components at the same time.
In one possible embodiment, the first component is further configured to:
and under the condition that a broadcast ending instruction is included in the received SPI communication information, disconnecting the first SPI line from the second SPI line so as to disconnect the direct SPI connection of the second component and the third component.
In a possible embodiment, the first component includes a line switch, and the line switch is configured to establish a connection relationship between the first SPI line and the second SPI line when a broadcast start instruction is included in the SPI communication information.
In a possible embodiment, the switch is further configured to:
and under the condition that the received SPI communication information comprises a broadcast ending instruction, disconnecting the first SPI line from the second SPI line.
In a possible implementation, the first component and the third component comprise a display, a smart phone or a portable device, and the second component comprises an upper computer.
In one possible embodiment, the display includes any one of a liquid crystal display, an organic light emitting diode display, a quantum dot light emitting diode display, a mini light emitting diode display, and a micro light emitting diode display.
According to another aspect of the present disclosure, a broadcast communication system is provided, the broadcast communication system comprising a first component, a second component and at least one third component, the first component and the second component communicating with each other through a first Serial Peripheral Interface (SPI) line, and the first component and the at least one third component communicating with each other through at least one second SPI line, wherein,
the first component is used for receiving SPI communication information sent by the second component, and establishing the connection relation between the first SPI line and the second SPI line under the condition that the SPI communication information comprises a broadcast starting instruction, so that the second component simultaneously establishes direct SPI connection with the first component and the third component,
when the direct SPI connections between the second component and the first and third components are established, the SPI communication information sent by the second component can be broadcast to the first and third components at the same time.
According to the communication method, the SPI communication information sent by the second component is received, under the condition that the SPI communication information comprises a broadcast starting instruction, the connection relation between the first SPI circuit and the second SPI circuit is established, so that the second component can establish direct SPI connection with the first component and the third component at the same time, the SPI communication information sent by the second component can be broadcast to the first component and the third components, and after the information is not required to be stored, the information is forwarded to the third component.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a diagram illustrating writing of data to a cascade chip in the related art.
Fig. 2 shows a flow diagram of a communication method according to an embodiment of the present disclosure.
Fig. 3 illustrates a block diagram of a broadcast communication system in accordance with an implementation of the present disclosure.
Fig. 4 shows a schematic diagram of data transmission according to an embodiment of the present disclosure.
Fig. 5 shows a flow chart of a communication method according to an embodiment of the present disclosure.
Fig. 6 illustrates a block diagram of a broadcast communication system in accordance with an implementation of the present disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In the description of the present disclosure, it is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the orientations and positional relationships indicated in the drawings, which are based on the orientations and positional relationships indicated in the drawings, and are used for convenience in describing the present disclosure and for simplicity in description, but do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present disclosure.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise.
In the present disclosure, unless otherwise explicitly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integral with; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present disclosure can be understood as a specific case by a person of ordinary skill in the art.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the subject matter of the present disclosure.
Referring to fig. 2, fig. 2 shows a flow chart of a communication method according to an embodiment of the disclosure.
Referring to fig. 3, fig. 3 illustrates a block diagram of a broadcast communication system in accordance with an implementation of the present disclosure.
As shown in fig. 2 and fig. 3, the method is applied to a first component 10 in a broadcast communication system, the broadcast communication system further includes a second component 20 and at least one third component 30, the first component 10 and the second component 20 communicate with each other through a first Serial Peripheral Interface (SPI) line, and the first component 10 and the at least one third component 30 communicate with each other through at least one second SPI line, wherein the method includes:
step S11, receiving SPI communication information sent by the second component 20;
step S12, if the SPI communication information includes a broadcast start instruction, establishing a connection relationship between the first SPI line and the second SPI line, so that the second component 20 simultaneously establishes direct SPI connections with the first component 10 and the third component 30,
wherein, in case that the direct SPI connection of the second component 20 with the first component 10 and the third component 30 is established, the SPI communication information sent by the second component 20 can be broadcast to the first component 10 and the respective third component 30.
According to the communication method, the SPI communication information sent by the second component is received, under the condition that the SPI communication information comprises a broadcast starting instruction, the connection relation between the first SPI circuit and the second SPI circuit is established, so that the second component can establish direct SPI connection with the first component and the third component at the same time, the SPI communication information sent by the second component can be simultaneously broadcast to the first component and the third components, and after the information is not required to be stored, the information is forwarded to the third component.
It should be noted that, in the embodiment of the present disclosure, a specific implementation manner of the first component 10, the second component 20, and the third component 30 is not limited, the first component 10 may be referred to as an upper computer, and the second component 20 and the plurality of third components 30 are in a master-slave relationship, where the second component 20 may be a master and the third component 30 may be a slave.
In one example, a component includes, but is not limited to, a single processor, or discrete components, or a combination of a processor and discrete components. The processor may comprise a controller having functionality to execute instructions in an electronic device, which may be implemented in any suitable manner, e.g., by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components. Within the processor, the executable instructions may be executed by hardware circuits such as logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers. In one example, the component may also be a Terminal or a server, where the Terminal is also called a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like, and is a device that provides voice and/or data connectivity to a User, for example, a handheld device with a wireless connection function, a vehicle-mounted device, or the like. Currently, some examples of terminals are: a Mobile Phone (Mobile Phone), a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in Industrial Control (Industrial Control), a wireless terminal in unmanned driving (self), a wireless terminal in Remote Surgery (Remote medical Surgery), a wireless terminal in Smart Grid, a wireless terminal in Transportation Safety, a wireless terminal in Smart City (Smart City), a wireless terminal in Smart Home (Smart Home), a wireless terminal in car networking, and the like.
In one example, the first, second and third components 10, 20 and 30 are each configured to support SPI communication, wherein the second component 20 serves as a host, and a plurality of SPI units may be provided to correspond to the first and third components 10 and 30, respectively, and for example, a first SPI line between the first and second components 10 and 20 may correspond to a first SPI unit and a second SPI line between the second and third components 20 and 30 may correspond to a second SPI unit.
The specific implementation manner of communicating by using the SPI is not limited in the embodiments of the present disclosure, and those skilled in the art can implement the SPI according to the related art, and the embodiments of the present disclosure do not limit the specific implementation of the SPI communication protocol, and the SPI communication mentioned in the present disclosure may be based on a four-wire SPI (for example, including a clock signal line CLK, a chip select line CS, a master-input slave-output MISO, and a master-output slave-input MOSI), may also include a three-wire SPI (for example, the clock signal line CLK, the chip select line CS, the master-input slave-output MISO, or the master-output slave-input MOSI, where a data line may be a MISO or a MOSI), and of course, the three-wire SPI may also include the clock signal line CLK, the master-input slave-output MISO, and the master-output slave-input MOSI.
Of course, the above description of the SPI signal line is exemplary, and in other embodiments, one skilled in the art may set it as desired.
In one example, it may be agreed in advance in the form of the broadcast start indication in the SPI communication protocol, and it is agreed that when the second component 20 receives the broadcast start indication, the connection relationship between the first SPI line and the second SPI line is established to establish the direct connection of the first component 10, the respective third components 30 and the second component 20 at the same time.
Of course, the embodiments of the present disclosure do not limit the specific protocol implementation, and those skilled in the art can implement the method according to the needs and practical situations.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating data transmission according to an embodiment of the disclosure.
In one example, when the second component 20 needs to perform broadcast communication, the second component 20 may send a broadcast start indication to the first component 10 through the SPI, so that the second component 20 establishes a connection relationship between the first SPI line and the second SPI line, and the broadcast communication system enters a broadcast mode, and the second component 20 may perform a write operation, i.e., send SPI communication information, on the first component 10 and each third component 30 at the same time.
In one example, as shown in fig. 4, in the broadcast mode, the SPI communication information (a) sent by the second component 20 includes the chip select signal CS, the clock signal CLK, and the SPI broadcast data MOSI, the exemplary SPI broadcast data MOSI is 01101100, and since the first component 10, the second component 20, and the third component 30 are directly connected, the SPI communication information sent by the second component 20 can be received by the first component 10, and the third component 30, wherein the SPI communication information (B) received by the first component 10 has a delay from the SPI communication information (a), and the delay is a transmission delay time from the first component 10 to the second component 20; the SPI communication information (C) received by the third component 30 is delayed from the SPI communication information (a), and the delay time is a transmission delay time from the first component 10 to the third component 30.
In one example, because the data written by the second component 20 to the first component 10 and the third component 30 is the same, the first component 10 and the second component 20 and the first component 10 and the third component 30 are both the same SPI communication protocol; therefore, the SPI signals for communicating the first component 10 and the second component 20 are directly connected to the SPI communication ports of the first component 10 and the third component 30 (the first SPI communication line between the first component 10 and the second component 20 is cut off), the SPI signals of the second component 20 are simultaneously sent to the first component 10 and the third component 30, the first component 10 and the third component 30 can receive the same SPI signals and data sent by the second component 20, and one-time SPI write communication completes the write operation of the same data to at least 2 lower computer cascade chips (the first component 10 and at least one third component 30). The SPI signal received by the third component 30 is delayed by tens of ns from the SPI signal received by the first component 10 because the SPI signal received by the third component 30 passes through more of the 2-stage connection PAD (out the PAD output of the first component 10, into the PAD input of the third component 30). However, since the clock signal CLK and the data signal MOSI in the SPI signals have the same delay, the third component 30 is not affected from receiving correct data.
Referring to table 1, table 1 shows an illustration of time consumed for transmitting data using the related art and transmitting data using the embodiments of the disclosure.
TABLE 1
Figure BDA0003008354060000091
As can be seen from table 1, the embodiments of the present disclosure greatly reduce the time for writing data to the slave compared to the related art.
Through the method, the embodiment of the disclosure can realize instant broadcast communication between the second component and the first component and among the third components, the second component can write the same data into the first component and the third components quickly, and the method is simple to operate and low in cost.
Referring to fig. 5, fig. 5 is a flow chart illustrating a communication method according to an embodiment of the disclosure.
In one possible implementation, as shown in fig. 5, after the connection relationship between the first SPI line and the second SPI line is established (step S12), the method further includes:
step S13, if the received SPI communication information includes a broadcast end instruction, disconnecting the connection relationship between the first SPI line and the second SPI line.
In one example, when the second component 20 does not need to perform broadcast communication, the second component 20 may send a broadcast end indication to the first component 10 through the SPI, and when the first component 10 receives the broadcast end indication, the first SPI line and the second SPI line are disconnected to disconnect the direct SPI connection between the second component 20 and the third component 30, so that the broadcast communication system exits from the broadcast mode, in which case, the first component 10 and the second component 20 may perform SPI communication directly through the first SPI line, and the first component 10 and the third component 30 may perform SPI communication directly through the second SPI line, but the second component 20 and the third component 30 cannot perform direct SPI communication.
In one example, it may be agreed in advance in the form of a broadcast end indication in the SPI communication protocol, and it is agreed that when the second component 20 receives the broadcast end indication, the first SPI line is disconnected from the second SPI line to disconnect the direct connection of the first component 10 from each third component 30.
Of course, the embodiments of the present disclosure do not limit the specific protocol implementation, and those skilled in the art can implement the method according to the needs and practical situations.
Referring to fig. 6, fig. 6 shows a schematic diagram of a communication system according to an embodiment of the disclosure.
In a possible implementation manner, as shown in fig. 6, a line switch 130 may be included in the first component 10, and in a case that a broadcast start instruction is included in the SPI communication information, establishing a connection relationship between the first SPI line and the second SPI line includes:
and under the condition that the SPI communication information includes a broadcast start instruction, establishing a connection relationship between the first SPI line and the second SPI line through the line selector switch 130.
In one example, as shown in fig. 6, first SPI unit 110 and second SPI unit 120 are included in first component 10, second component 20 includes third SPI unit 210, and third component 30 includes fourth SPI unit 310, and first SPI unit 110 and third SPI unit 310 establish an SPI connection to form a first SPI line, and second SPI unit and fourth SPI unit establish an SPI connection to form a second SPI line.
In one example, upon receiving the broadcast start indication, the line switcher 130 is enabled to connect the corresponding ports (e.g., CLK/CS/MISO) of the first SPI line and the second SPI line.
In a possible embodiment, in a case that a broadcast end instruction is included in the received SPI communication information, disconnecting the connection relationship between the first SPI line and the second SPI line includes:
in the case where a broadcast end instruction is included in the received SPI communication information, the second component 20 is switched to the first SPI line through the line switch 130.
In one example, when a broadcast end instruction is received, a line switch is enabled to disconnect the connection relationship of the first SPI line and the second SPI line.
The specific type of the switch is not limited in the embodiments of the present disclosure, and those skilled in the art can select the switch according to needs and actual situations, and in one example, the switch can be implemented based on a Metal-Oxide-Semiconductor Field Effect Transistor (MOSFET), an Insulated Gate Bipolar Transistor (IGBT), or other switching tubes.
According to another aspect of the present disclosure, a communication device is provided, as shown in fig. 3, the device is applied to a first component 10 in a broadcast communication system, the broadcast communication system further includes a second component 20 and at least one third component 30, the first component 10 and the second component 20 communicate with each other through a first SPI (serial peripheral interface) line, and the first component 10 and the at least one third component 30 communicate with each other through at least one second SPI line, wherein,
the first component 10 is configured to receive SPI communication information sent by the second component 20, and establish a connection relationship between the first SPI line and the second SPI line if a broadcast start instruction is included in the SPI communication information, so that the second component 20 simultaneously establishes direct SPI connections with the first component 10 and the third component 30,
wherein, in the case that the direct SPI connection of the second component 20 with the first component 10 and the third component 30 is established, the SPI communication information sent by the second component 20 can be broadcast to the first component 10 and each third component 30.
The device of the embodiment of the disclosure can establish the connection relationship between the first SPI line and the second SPI line by receiving the SPI communication information sent by the second component, under the condition that the SPI communication information includes a broadcast start instruction, so that the second component establishes direct SPI connections with the first component and the third component at the same time, and the SPI communication information sent by the second component can be broadcast to the first component and each third component without being stored, and then the information is forwarded to the third component.
In a possible embodiment, the first assembly 10 is also configured to:
in the case that a broadcast end instruction is included in the received SPI communication information, the second component 20 is switched to the first SPI line to disconnect the direct SPI connection of the second component 20 and the third component 30.
In a possible embodiment, a line switch is included in the first component 10, and the line switch is configured to establish a connection relationship between the first SPI line and the second SPI line if a broadcast start instruction is included in the SPI communication information.
In a possible embodiment, the switch is further configured to:
and under the condition that the received SPI communication information comprises a broadcast ending instruction, disconnecting the connection relation between the first SPI line and the second SPI line.
In a possible embodiment, the first and third assemblies 10 and 30 comprise a display, a smart phone or a portable device, and the second assembly 20 comprises an upper computer.
In one possible embodiment, the display includes any one of a liquid crystal display, an organic light emitting diode display, a quantum dot light emitting diode display, a mini light emitting diode display, and a micro light emitting diode display.
According to another aspect of the present disclosure, a broadcast communication system is provided, as shown in fig. 3, the broadcast communication system includes a first component 10, a second component 20 and at least one third component 30, the first component 10 and the second component 20 communicate with each other through a first SPI (serial peripheral interface) line, and the first component 10 and the at least one third component 30 communicate with each other through at least one second SPI line, wherein,
the first component 10 is configured to receive SPI communication information sent by the second component 20, and in a case that a broadcast start instruction is included in the SPI communication information, establish a connection relationship between the first SPI line and the second SPI line, so that the second component 20 simultaneously establishes direct SPI connections with the first component 10 and the third component 30,
wherein, in case that the direct SPI connection of the second component 20 with the first component 10 and the third component 30 is established, the SPI communication information sent by the second component 20 can be broadcast to the first component 10 and the respective third component 30.
The system of the embodiment of the disclosure can establish the connection relationship between the first SPI line and the second SPI line by receiving the SPI communication information sent by the second component, and when the SPI communication information includes a broadcast start instruction, the second component establishes the direct SPI connection with the first component and the third component at the same time, and broadcasts the SPI communication information sent by the second component to the first component and each third component without storing the SPI communication information, and then forwards the information to the third component.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A communication method, applied to a first component in a broadcast communication system, the broadcast communication system further comprising a second component and at least one third component, the first component and the second component communicating with each other through a first Serial Peripheral Interface (SPI) line, and the first component and the at least one third component communicating with each other through at least one second SPI line, wherein the method comprises:
receiving SPI communication information sent by the second component;
establishing a connection relationship of the first SPI line and the second SPI line so that the second component simultaneously establishes a direct SPI connection with the first component and the third component in a case that a broadcast start instruction is included in the SPI communication information,
when the direct SPI connections between the second component and the first and third components are established, the SPI communication information sent by the second component can be broadcast to the first and third components at the same time.
2. The method of claim 1, wherein after the first SPI line establishes a connection with the second SPI line, the method further comprises:
and under the condition that the received SPI communication information comprises a broadcast ending instruction, disconnecting the first SPI line from the second SPI line.
3. The method according to claim 2, wherein the first component includes a line switch, and in a case that the SPI communication information includes a broadcast start instruction, the establishing of the connection relationship between the first SPI line and the second SPI line includes:
and under the condition that the SPI communication information comprises a broadcast starting instruction, establishing the connection relation between the first SPI line and the second SPI line through the line selector switch.
4. The method of claim 3, wherein said disconnecting the first SPI line from the second SPI line in the event that a broadcast end indication is included in the received SPI communication information comprises:
and under the condition that the received SPI communication information comprises a broadcast ending instruction, the first SPI circuit is disconnected with the second SPI circuit through the circuit selector switch.
5. A communication device, applied to a first component in a broadcast communication system, wherein the broadcast communication system further comprises a second component and at least one third component, the first component and the second component communicate with each other through a first SPI line, and the first component and the at least one third component communicate with each other through at least one second SPI line, wherein,
the first component is used for receiving SPI communication information sent by the second component, and establishing the connection relation between the first SPI line and the second SPI line under the condition that the SPI communication information comprises a broadcast starting instruction, so that the second component simultaneously establishes direct SPI connection with the first component and the third component,
when the direct SPI connections between the second component and the first and third components are established, the SPI communication information sent by the second component can be broadcast to the first and third components at the same time.
6. The apparatus of claim 5, wherein the first component is further configured to:
and under the condition that a broadcast ending instruction is included in the received SPI communication information, disconnecting the first SPI line from the second SPI line so as to disconnect the direct SPI connection of the second component and the third component.
7. The apparatus according to claim 6, wherein the first component includes a line switch, and the line switch is configured to establish a connection relationship between the first SPI line and the second SPI line when a broadcast start instruction is included in the SPI communication information.
8. The apparatus of claim 7, wherein the switch is further configured to:
and under the condition that the received SPI communication information comprises a broadcast ending instruction, disconnecting the first SPI line from the second SPI line.
9. The apparatus of claim 5, wherein the first component, the third component comprises a display, a smartphone, or a portable device, and the second component comprises an upper computer.
10. A broadcast communication system comprising a first component, a second component and at least one third component, the first component and the second component communicating via a first SPI line and the first component and the at least one third component communicating via at least one second SPI line,
the first component is used for receiving SPI communication information sent by the second component, and under the condition that the SPI communication information comprises a broadcast starting instruction, the connection relation between the first SPI circuit and the second SPI circuit is established, so that the second component simultaneously establishes direct SPI connection with the first component and the third component,
when the direct SPI connections between the second component and the first and third components are established, the SPI communication information sent by the second component can be broadcast to the first and third components at the same time.
CN202110368448.9A 2021-04-06 2021-04-06 Communication method, device and system Active CN113037516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110368448.9A CN113037516B (en) 2021-04-06 2021-04-06 Communication method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110368448.9A CN113037516B (en) 2021-04-06 2021-04-06 Communication method, device and system

Publications (2)

Publication Number Publication Date
CN113037516A CN113037516A (en) 2021-06-25
CN113037516B true CN113037516B (en) 2022-07-22

Family

ID=76454465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110368448.9A Active CN113037516B (en) 2021-04-06 2021-04-06 Communication method, device and system

Country Status (1)

Country Link
CN (1) CN113037516B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4739323A (en) * 1986-05-22 1988-04-19 Chrysler Motors Corporation Serial data bus for serial communication interface (SCI), serial peripheral interface (SPI) and buffered SPI modes of operation
CN202956753U (en) * 2012-11-05 2013-05-29 汕尾芯灵电子科技有限公司 Programming device and programming system of flash memory chip in embedded system
CN103559053A (en) * 2013-10-30 2014-02-05 迈普通信技术股份有限公司 Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards
CN105812392A (en) * 2016-05-18 2016-07-27 西安航天民芯科技有限公司 Cascading SPI communication system applied to battery monitoring chip and communication method
CN206249050U (en) * 2016-11-18 2017-06-13 北京研华兴业电子科技有限公司 A kind of ring bus structure based on spi bus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3068797B1 (en) * 2017-07-04 2019-07-19 STMicroelectronics (Grand Ouest) SAS METHOD OF COMMUNICATION BETWEEN A MASTER DEVICE AND N SLAVES CONNECTED ON A SYNCHRONOUS DATA BUS OF THE SPI TYPE AND CORRESPONDING DEVICE

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4739323A (en) * 1986-05-22 1988-04-19 Chrysler Motors Corporation Serial data bus for serial communication interface (SCI), serial peripheral interface (SPI) and buffered SPI modes of operation
CN202956753U (en) * 2012-11-05 2013-05-29 汕尾芯灵电子科技有限公司 Programming device and programming system of flash memory chip in embedded system
CN103559053A (en) * 2013-10-30 2014-02-05 迈普通信技术股份有限公司 Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards
CN105812392A (en) * 2016-05-18 2016-07-27 西安航天民芯科技有限公司 Cascading SPI communication system applied to battery monitoring chip and communication method
CN206249050U (en) * 2016-11-18 2017-06-13 北京研华兴业电子科技有限公司 A kind of ring bus structure based on spi bus

Also Published As

Publication number Publication date
CN113037516A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
KR101237763B1 (en) Sharing single host controller with multiple functional devices
US8127065B2 (en) Storage card having selectable contact elements and method of its operation
KR101636456B1 (en) Apparatus and method for supporting sim card in multi modem mobile communication terminal
US20090307381A1 (en) Communication interface for an electronic device
EP2680664B1 (en) Wireless communication system and wireless network accessing device
CN109564557B (en) Single-wire communication method and equipment
US9347990B2 (en) Communication device, test system and test method thereof
US20090268743A1 (en) Data transmission bridge device and control chip thereof for transmitting data
TW202026900A (en) Mixed-mode radio frequency front-end interface
CN108475241B (en) SPI-based data transmission method and device
US10841783B2 (en) Method and apparatus for data communication using bluetooth low energy
US20150181644A1 (en) Circuit arrangement for a mobile communications unit of a motor vehicle, motor vehicle and method for operating a circuit arrangment
US7324835B2 (en) Motherboard and daughterboard multi-swap system with communication module for a GPRS system
CN103744478A (en) Bluetooth wireless display and control method thereof
CN106339348B (en) Data transmission method and device based on mobile terminal interface expansion
CN113037516B (en) Communication method, device and system
WO2015076009A1 (en) High-frequency device and method for controlling same
CN112860613B (en) Communication system
CN109586755B (en) Communication device, communication storage device, switching method and terminal equipment
CN111338671A (en) Hardware upgrading device of mobile terminal, mobile terminal and hardware upgrading method
CN116541331A (en) Interface device and data transmission system
US11947484B2 (en) Universal serial bus (USB) hub with host bridge function and control method thereof
CN216118787U (en) Module switching circuit and module switching device
CN215071624U (en) Protection circuit of USB interface equipment
CN219180884U (en) USB-C connection port expansion box with manual switching transmission function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant