Communication transmission method, device and equipment of distributed bus, medium and product

Through the distributed bus design, the bus path separated by commands and data is used to realize parallel communication between multiple masters, solving the problem of inefficiency of traditional buses and improving the flexibility and efficiency of the bus.

CN119088737APending Publication Date: 2024-12-06CORE YUNSHENG (HANGZHOU) ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410987683.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Traditional bus communication methods are inefficient when multiple masters exist, resulting in long-term occupation of the bus and other masters being unable to use. Even the conflict-free masters and Targets need to arbitrate and queue, resulting in inefficiency of the bus.

Method used

Adopt a distributed bus design, including command bus, pull ID bus, pull data bus and push data bus, determine the bus path by determining the operation commands and target objects of the main devices of each node, and realize parallel communication when the paths do not overlap. Transfer tasks.

Benefits of technology

Improves the flexibility and use efficiency of the bus, reduces transmission delay, and avoids waiting and arbitration problems in traditional bus design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088737A_ABST
    Figure CN119088737A_ABST
Patent Text Reader

Abstract

The invention provides a communication transmission method, device and equipment of a distributed bus, a medium and a product, and the method comprises the steps: determining an operation command issued by main equipment in each node, and determining a target object operated by each operation command; based on each operation command and the target object operated by the operation command, determining a bus path related to each operation command; and when it is determined that the bus paths related to the operation commands of the at least two main devices on the target object are not overlapped, the at least two main devices execute communication transmission tasks corresponding to the operation commands on the target object in parallel according to the corresponding bus paths. According to the invention, a centralized design of a traditional bus is converted into a distributed bus design with separated commands and data, and by using a communication transmission strategy of the distributed bus, the flexibility and the use efficiency of the bus can be improved, and the transmission time delay in the bus is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a communication transmission method, device, equipment, medium and product of a distributed bus. Background Art

[0002] In traditional bus design, there is only one path on the bus, and usually only one Master (master device) has control over the bus, which allows the Master to send data or commands on the bus. When there are multiple Masters, if the Master with control does not exit the bus occupation, that is, other Masters are not allowed to use the bus before completing their transmission tasks. Only when the Master currently with control releases the bus (that is, the bus is in an idle state), other Masters have the opportunity to gain control.

[0003] At present, the traditional bus communication method has the following defects: 1) When the Target (target object) receiving the execution command needs a long period of time to correctly respond to the Master, the Master will spend a long time occupying the bus to wait, and other Masters cannot use the bus at this time, resulting in low bus efficiency; 2) Even if there are two pairs of Masters and Targets that do not conflict at all and need to communicate at the same time, they have to arbitrate and queue, and wait for one of them to exit the bus after using it. Therefore, an effective distributed bus data transmission method is urgently needed to solve the above problems. Summary of the invention

[0004] In view of the above problems, the present invention is proposed to provide a distributed bus data transmission method, device, equipment, medium and product that overcome the above problems or at least partially solve the above problems.

[0005] To achieve the above-mentioned object and other related objects, the present invention provides a distributed bus data transmission method, which is applied to a distributed bus system, wherein the distributed bus system includes a plurality of nodes, each of which includes a master device and a target object, and the plurality of nodes are connected by distributed bus communication, wherein the distributed bus includes a command bus, a pull ID bus, a pull data bus, and a push data bus, and the method includes:

[0006] Determine the operation commands issued by the master device in each node, and determine the target object operated by each operation command;

[0007] Based on each operation command and the target object operated by it, a bus path involved in each operation command is determined; wherein the bus path is a transmission path of a distributed bus involved in the operation command between a master device and the target object operated by it;

[0008] When it is determined that the bus paths involved in the operation commands of at least two master devices on the target object do not overlap, the at least two master devices execute the communication transmission tasks corresponding to the respective operation commands on the target object in parallel according to the corresponding bus paths.

[0009] Optionally, when the distributed bus includes at least three nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes:

[0010] The first node master device sends a write command to the second node target object through the command bus; wherein the write command includes the data storage location and signal notification location of the third node master device;

[0011] When the second node target object receives the write command, it fills in the data storage location, the signal notification location, and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location, and the signal notification location to the pull ID bus, and sends them to the third node master device through the pull ID bus;

[0012] After receiving the pull ID bus, the third node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus;

[0013] In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the third node master device that the requested data has been read.

[0014] Optionally, when the distributed bus includes at least three nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes:

[0015] The first node master device sends a read command to the second node target object through the command bus, wherein the read command includes the request data position and signal notification position of the third node master device;

[0016] When the second node target object receives the read command, it fills in the request data position and the signal notification position according to the read command, reads the request data from the data storage position of the second node target object, and fills in the request data, the request data position and the signal notification position to the push data bus, and sends them to the third node master device through the push data bus;

[0017] In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the third node master device that the requested data has been read.

[0018] Optionally, in the case where the distributed bus includes at least two nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes:

[0019] The first node master device sends a write command to the second node target object through the command bus; wherein the write command includes the data storage location and signal notification location of the first node master device;

[0020] When the second node target object receives the write command, it fills in the data storage location, the signal notification location, and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location, and the signal notification location to the pull ID bus, and sends them to the first node master device through the pull ID bus;

[0021] After receiving the pull ID bus, the first node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus;

[0022] In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the requested data has been read.

[0023] Optionally, in the case where the distributed bus includes at least two nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes:

[0024] The first node master device sends a read command to the second node target object through the command bus; wherein the read command includes the request data position and signal notification position of the first node master device;

[0025] When the second node target object receives the read command, it fills in the request data position and the signal notification position according to the read command, reads the request data from the data storage position of the second node target object, fills in the request data, the request data position and the signal notification position into the push data bus, and sends them to the first node master device through the push data bus;

[0026] In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the requested data has been read.

[0027] Optionally, in the case where the distributed bus includes at least two nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes:

[0028] The first node master device sends a write command to the second master target object through a command bus; wherein the write command includes a data storage location and a signal notification location of the first node master device;

[0029] When the second node target object receives the write command, it fills in the data storage location, the signal notification location, and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location, and the signal notification location to the pull ID bus, and sends them to the first node master device through the pull ID bus;

[0030] After receiving the pull ID bus, the first node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus;

[0031] After receiving the request data, the second node target object reads out the original data at the request data location, fills the original data into the push data bus, and sends the original data to the data storage location of the first node master device through the push data bus;

[0032] In the last cycle of the original data transmission, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the reading of the original data has been completed.

[0033] In a second aspect, the present invention further provides a communication transmission device of a distributed bus, which is applied to a distributed bus system, wherein the distributed bus system includes a plurality of nodes, each of which includes a master device and a target object, and the plurality of nodes are connected by distributed bus communication, wherein the distributed bus includes a command bus, a pull ID bus, a pull data bus, and a push data bus, and the device includes:

[0034] A determination module is used to determine the operation commands issued by the master device in each node and determine the target object operated by each operation command;

[0035] An operation module, configured to determine a bus path involved in each operation command based on each operation command and a target object operated by the operation command; wherein the bus path is a transmission path of a distributed bus involved in the operation command between a master device and a target object operated by the operation command;

[0036] The parallel module is used to, when it is determined that the bus paths involved in the operation commands of at least two master devices to the target object do not overlap, at least two master devices execute the communication transmission tasks corresponding to the operation commands to the target object in parallel according to the corresponding bus paths.

[0037] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the electronic device performs the steps of communication transmission of the distributed bus as described above.

[0038] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by an electronic device, implements the steps of the distributed bus communication transmission method as described above.

[0039] In a fifth aspect, the present invention provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer implements the steps of the distributed bus communication transmission method as described above.

[0040] The above one or more technical solutions provided by the present invention may have the following advantages or at least achieve the following technical effects:

[0041] The communication transmission method, system, device and medium of a distributed bus of the present invention are applied to a distributed bus system, wherein the distributed bus system includes multiple nodes, each node includes a master device and a target object, and the multiple nodes are connected through distributed bus communication. The distributed bus includes a command bus, a pull ID bus, a pull data bus and a push data bus. The method includes: determining the operation command issued by the master device in each node, and determining the target object operated by each operation command; based on each operation command and the target object operated by it, determining the bus path involved in each operation command; wherein the bus path is the transmission path of the distributed bus involved in the operation command between the master device and the target object operated; when it is determined that the bus paths involved in the operation commands of at least two master devices to the target object do not overlap, at least two master devices perform the communication transmission tasks corresponding to each operation command to the target object in parallel according to the corresponding bus paths.

[0042] Therefore, the present invention transforms the centralized design of the traditional bus into a distributed bus design with separated commands and data. By utilizing the communication transmission strategy of the distributed bus, the flexibility and utilization efficiency of the bus can be improved, and the transmission delay in the bus can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 Shown is a schematic diagram of a conventional bus connection in one embodiment of the present invention;

[0044] Figure 2 It is a schematic diagram showing the connection of each node (Island) in a distributed bus system according to a full cross bar structure in one embodiment of the present invention;

[0045] Figure 3 It is a schematic diagram showing bus connections when a distributed bus system includes four nodes (Islands) in one embodiment of the present invention;

[0046] Figure 4 It is a schematic diagram showing a bus using multiple M and multiple T in parallel in one embodiment of the present invention;

[0047] Figure 5 Shown is a schematic diagram of the shortest and most efficient critical path for each node (Island) in a distributed bus system in one embodiment of the present invention;

[0048] Figure 6 Shown is a flow chart of a communication transmission method of a distributed bus according to an embodiment of the present invention;

[0049] Figure 7 A schematic diagram showing a flow chart of a signal definition diagram of a distributed bus in one embodiment of the present invention;

[0050] Figure 8 Shown is a schematic diagram of the process of a standard write operation of multiple Master operations (Island B.Target B writes to Island C.Master C) in one embodiment of the present invention;

[0051] Fig. 9 Shown is a schematic diagram of the process of a standard read operation of multiple Master operations (Island B. Target B reads from Island C. Master C) in one embodiment of the present invention;

[0052] Fig.10 Shown is a schematic diagram of the process of a standard write operation (Island A.Master A writes to Island B.Target B) in one embodiment of the present invention;

[0053] Fig.11Shown is a schematic flow chart of a standard read operation (Island A.Master A reads from Island B.Target B) in one embodiment of the present invention;

[0054] Fig.12 Shown is a flow chart of a read-modify-write operation (IslandA.Master A to IslandB.Target B) in one embodiment of the present invention;

[0055] Fig.13 It is a schematic diagram showing the functional modules of a communication transmission device of a distributed bus in one embodiment of the present invention;

[0056] Fig.14 Shown is a schematic diagram of an electronic device according to an embodiment of the present invention.

[0057] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

[0058] Figure 7 Explanation of symbols

[0059] (1) Command bus

[0060]

[0061] (2) Pull ID bus

[0062]

[0063]

[0064] (3) Pull Data Bus

[0065]

[0066] (4) Push Data Bus

[0067]

[0068] DETAILED DESCRIPTION

[0069] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0070] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0071] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0072] The terms "first", "second", etc. in the specification and claims of the disclosed embodiments and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the disclosed embodiments described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0073] Unless otherwise stated, the term "plurality" means two or more.

[0074] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0075] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0076] For ease of understanding, the following first explains the relevant nouns or terms used in the embodiments of the present invention:

[0077] <1> , Node (Island), in a distributed bus system, refers to an independent subsystem or network partition, which is physically or logically isolated from other parts. Each node (Island) can contain multiple master devices (Master) and corresponding target objects (Target).

[0078] The master device (Master) and target object (Target) in each node (Island) need to follow a specific communication protocol to ensure data consistency and operation coordination.

[0079] Master, in a distributed bus system, is used to initiate commands on the bus.

[0080] Target object (Target), in a distributed bus system, is used to execute subsequent operations of a command.

[0081] <2> , Command bus, sent from Master to Target, used to initiate operation commands; operation commands can be write commands, read commands, and read-modify-write commands, etc.

[0082] The command bus can contain small amounts of data.

[0083] <3> , Pull ID bus, sent from Target to Master, telling the Master which data needs to be transmitted via Pull DATABus.

[0084] Pulling the ID bus is generally used for write operations.

[0085] <4> , pull data (Pull DATA) bus, sent from Master to Target, provides datapath (data channel) for commands, used for large-scale data transmission; such as write (write) commands.

[0086] <5> , Push DATA bus, sent from Target to Master, provides datapath for commands, used for large-scale data transmission; such as read commands.

[0087] The technical solutions in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0088] See also Figure 1 , Figure 1 This is a schematic diagram of the design of the traditional bus; Figure 1There is only one bus in the system, and there are two pairs of completely non-conflicting master devices (Master) and target objects (Target) that need to communicate at the same time. They have to arbitrate and queue, and they can only communicate after one of them has finished using the bus and exits (such as Figure 1 The first master device (Master1), the first target object (Target1) and the second master device (Master2), the second target object (Target2)).

[0089] As an example, when it is determined that Master1 has control over the bus and Master1 sends an operation command to Target1 on the bus, Master2 will not be able to obtain the right to use the bus before Target1 completes its operation command, which may cause the bus to be occupied for a long time, resulting in low bus efficiency.

[0090] See also Figure 2 , Figure 2 This is a schematic diagram of the connection of each node (Island) in a distributed bus system according to an embodiment of the present invention according to a full cross bar structure, which can realize flexible connection between inputs and outputs of multiple nodes (Islands); wherein the full cross bar structure can be used to realize multiplexing, allowing multiple nodes to transmit simultaneously through different paths.

[0091] The present invention transforms the centralized design of the traditional bus into a distributed bus design with separated commands and data, including: a command bus, a pull ID bus, a pull data bus and a push data bus. These four separated buses constitute a distributed bus design. By utilizing the communication transmission strategy of the distributed bus, when it is determined that the bus paths involved in the operation commands of at least two master devices (Master) to the target object (Target) do not overlap, the two master devices (Master) can perform communication tasks to the target object (Target) in parallel according to the corresponding bus paths, further improving the bus efficiency. The communication transmission method of the distributed bus provided by the embodiment of the present invention is particularly suitable for multi-core or multi-master device (Master) chip solutions, which can improve the flexibility and utilization efficiency of the bus and reduce the worst delay.

[0092] As an example, see Figure 3-4 , Figure 3 The diagram is a schematic diagram of bus connection when the distributed bus system includes four nodes (Islands). Figure 4The schematic diagram of bus parallel use of multiple M and multiple T (paths do not overlap); assuming that the master device of node A (IslandA.Master A, which can be referred to as IA.MA) accesses the target object of node B (Island B.Target B, which can be referred to as IB.TB), the master device of node B (IslandB.Master B, which can be referred to as IB.MB) accesses the target object of node C (Island C.TargetC, which can be referred to as IC.TC), the master device of node C (Island C.Master C, which can be referred to as IC.MC) accesses the target object of node D (Island D.Target D, which can be referred to as ID.TD), and the master device of node D (Island D.Master D, which can be referred to as ID.MD) accesses the target object of node A (Island A.Target A, which can be referred to as IA.TA); and in the case that the bus paths involved in the operation commands of the four nodes do not overlap, the master devices of the four nodes can perform communication tasks for the target objects in parallel according to the corresponding bus paths.

[0093] Also, see Figure 5 , Figure 5 The diagram is a diagram of the shortest and most efficient critical path for each node (Island) in the distributed bus system; the distributed bus system can achieve more flexible path configuration, and can also use effective routing algorithms to select the shortest transmission path to ensure the shortest and most efficient critical path as required.

[0094] See also Figure 6 An embodiment of the present invention provides a communication transmission method of a distributed bus, which is applied to a distributed bus system. The distributed bus system includes multiple nodes, each node includes a master device and a target object, and the multiple nodes are connected through a distributed bus communication. The distributed bus includes a command bus, a pull ID bus, a pull data bus, and a push data bus. The method may include the following steps S10 to S30:

[0095] Step S10, determining the operation commands sent by the master device in each node, and determining the target object operated by each operation command.

[0096] Among them, the distributed bus can separate the data signal and the command signal to improve the flexibility and scalability of the distributed bus system; it can include: a command bus, a pull ID bus, a pull data bus and a push data bus.

[0097] It should be noted that the signal definitions of the command bus, pull ID bus, pull data bus and push data bus can be found in Figure 7 , Figure 7 Define a schematic diagram for the signals of a distributed bus.

[0098] An operation command may be an instruction sent by a node master device to another node target object to perform a specific task; it may include: one of: write, read and read-modify-write commands.

[0099] A read command can be a read command sent by a node master device to another node target object, requesting the other node target object to return its stored data. The read command usually contains the data storage address of the other node target object and the address of the data area to be read.

[0100] A Write command can be a write command sent by a node master device to another node target object, requiring the other node target object to write specific data in its storage area. A write command usually contains the address of the other node target object, the data storage address of a node master device, and the data to be written.

[0101] The Read-Modify-Write (RMW) command is a compound operation designed to first read data, then modify the data, and finally write it back to another node target object.

[0102] In a specific implementation, a distributed bus system includes multiple nodes, each node includes a master device and a target object, and multiple nodes are connected through distributed bus communication; wherein the distributed bus includes a command bus, a pull ID bus, a pull data bus and a push data bus; the operation commands issued by the master devices of each node in the distributed bus system can be determined first, and then the target objects operated by each operation command can be determined according to each operation command.

[0103] As an example, assume that the distributed bus system includes at least three nodes, namely node A, node B and node C; wherein, the node A master device (IA.MA) can send a write command to the node B target object (IB.TB), and the node B master device (IB.MB) can send a read command to the node C target object (IC.TC).

[0104] Step S20, based on each operation command and the target object it operates, determine the bus path involved in each operation command; wherein the bus path is the transmission path of the distributed bus involved in the operation command between the master device and the target object it operates.

[0105] The bus path may be a transmission path of a distributed bus involved in an operation command between a master device and a target object being operated.

[0106] In a specific implementation, for an operation command issued by a single node master device, the bus path involved in the operation command can be determined according to the operation command and the target device operated by the operation command.

[0107] As an example, assume that the node A master device (IA.MA) writes to the node B target object (IB.TB), and the bus path determined is:

[0108] Step 1: The master device (IA.MA) of node A sends a write command to the target object (IB.TB) of node B through the command bus, wherein the write command includes the data storage location and signal notification location of the master device (IA.MA) of node A;

[0109] Step 2: After receiving the command bus, the node B target object (IB.TB) fills in the data storage location, signal notification location and its own requested data location according to the instructions of the write command, and fills in the data storage location, signal notification location and requested data location in the pull ID bus, and sends it to the node A master device (IA.MA) through the pull ID bus;

[0110] Step 3: After receiving the pull ID bus, the node A master device (IA.MA) reads the request data according to the data storage location, correctly fills the request data into the pull data bus, and sends it to the node B target object (IB.TB);

[0111] Step 4: After the requested data transmission is completed (when the control signal (last) is valid), the node B target object (IB.TB) notifies the signal notification location that the requested data has been read, so that the node A master device (IA.MA) can perform signal operations and release related resources.

[0112] Step S30, when it is determined that the bus paths involved in the operation commands of at least two master devices to the target object do not overlap, at least two master devices execute the communication transmission tasks corresponding to the operation commands to the target object in parallel according to the corresponding bus paths.

[0113] In a specific implementation, after obtaining the bus paths involved in each operation command, it can be determined whether the bus paths therebetween overlap; and then, when it is determined that the bus paths involved in the operation commands of at least two master devices on the target object do not overlap, at least two master devices execute the communication transmission tasks corresponding to each operation command on the target object in parallel according to the corresponding bus paths.

[0114] In this embodiment, the operation commands issued by the master device in each node are determined, and the target objects operated by each operation command are determined; based on each operation command and the target objects operated by each operation command, the bus paths involved in each operation command are determined; when it is determined that the bus paths involved in the operation commands of at least two master devices to the target object do not overlap, at least two master devices perform the communication transmission tasks corresponding to each operation command to the target object in parallel according to the corresponding bus paths. The present invention transforms the centralized design of the traditional bus into a distributed bus design with separated commands and data, and by utilizing the communication transmission strategy of the distributed bus, the flexibility and utilization efficiency of the bus can be improved, and the transmission delay in the bus can be reduced.

[0115] Based on the above embodiments, a second embodiment of the communication transmission method of the distributed bus of the present invention is proposed. Figure 8 In this embodiment, step S20 may further include the following sub-steps A10 to A40:

[0116] Sub-step A10, the first node master device sends a write command to the second node target object through the command bus; wherein the write command includes the data storage location and signal notification location of the third node master device.

[0117] The data storage location (datamaster / ref) may indicate a location where the data is stored in a node master device (eg, IA.MA).

[0118] The signal notification location (signal master / ref) may be a location that indicates that the node master device (eg, IA.MA) needs to be notified after the data reading is completed.

[0119] In a specific implementation, when the distributed bus system includes at least three nodes, the first node master device (IA.MA) sends a write command to the second node target object (IB.TB) through the command bus, wherein the write command may include the data storage location and signal notification location of the third node master device (IC.MC).

[0120] Sub-step A20, when the second node target object receives the write command, it fills in the data storage location, the signal notification location and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location and the signal notification location to the pull ID bus, and sends it to the third node master device through the pull ID bus.

[0121] Among them, requesting data location (target island, port, ref) can be a node target object (IB.TB) informing another node master device (such as IA.MA) that it should write data to a certain location of itself; it can also be a node master device (such as IA.MA) informing another node target object (IB.TB) that it should write data to a certain location of itself.

[0122] In a specific implementation, when the second node target object (IB.TB) receives a write command, it fills in the data storage location, signal notification location and the requested data location of the second node target object (IB.TB) according to the instructions of the write command, and fills in the requested data location, data storage location and signal notification location to the pull ID bus, and sends the data storage location, signal notification location and requested data location to the third node master device (IC.MC) through the pull ID bus.

[0123] Sub-step A30, after receiving the pull ID bus, the third node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus.

[0124] In the specific implementation, after receiving the pull ID bus, the third node master device (IC.MC) reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object (IB.TB) through the pull data bus.

[0125] Sub-step A40, in the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the third node master device that the requested data has been read.

[0126] In the specific implementation, in the last cycle of the requested data transmission completion, the second node target object (IB.TB) sets the control signal high (that is, when last is valid), and notifies the signal notification location that the requested data has been read, so that the third node master device (IC.MC) can perform signal operations and release related resources.

[0127] In this embodiment, when the distributed bus includes at least three nodes, the first-node master device sends a write command to the second-node target object through the command bus, informing the second-node target object that it needs to read data from the third-node master device; and then determines the bus path involved in the write command between the first-node master device, the second-node target object and the third-node master device, so as to subsequently determine whether there is overlap in the bus paths involved in the operation commands of each master device on the target object.

[0128] Based on the above embodiments, a third embodiment of the communication transmission method of the distributed bus of the present invention is proposed. Fig. 9 In this embodiment, step S20 may further include the following sub-steps B10 to B30:

[0129] Sub-step B10: the first-node master device sends a read command to the second-node target object via a command bus, wherein the read command includes a request data location and a signal notification location of the third-node master device.

[0130] In a specific implementation, when a distributed bus system includes at least three nodes, a first node master device (IA.MA) sends a read command to a second node target object (IB.TB) through a command bus, wherein the read command may include a request data location and a signal notification location of a third node master device (IC.MC).

[0131] Sub-step B20, when the second node target object receives the read command, it fills in the request data location and the signal notification location according to the read command, reads the request data from the data storage location of the second node target object, and fills in the request data, the request data location and the signal notification location into the push data bus, and sends it to the third node master device via the push data bus.

[0132] In the specific implementation, when the second node target object (IB.TB) receives a read command, it fills in the request data position and the signal notification position according to the read command, reads the request data from the data storage position of the second node target object (IB.TB), and fills in the request data, the request data position and the signal notification position into the push data bus, and sends the request data, the request data position and the signal notification position to the third node master device (IC.MC) through the push data bus.

[0133] Sub-step B30, in the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the third node master device that the requested data has been read.

[0134] In a specific implementation, in the last cycle of requesting data transmission to be completed, the second node target object (IB.TB) sets the control signal high (ie, when last is valid), notifying the signal notification location that the requested data has been read.

[0135] In this embodiment, when the distributed bus includes at least three nodes, the first-node master device sends a read command to the second-node target object through the command bus, informing the second-node target object to write data to the third-node master device; and then determines the bus path involved in the write command between the first-node master device, the second-node target object and the third-node master device, so as to subsequently determine whether there is overlap in the bus paths involved in the operation commands of each master device on the target object.

[0136] Based on the above embodiments, a fourth embodiment of the communication transmission method of the distributed bus of the present invention is proposed. Fig.10 In this embodiment, step S20 may further include the following sub-steps C10 to C40:

[0137] Sub-step C10, the first node master device sends a write command to the second node target object through the command bus; wherein the write command includes the data storage location and signal notification location of the first node master device.

[0138] In a specific implementation, when a distributed bus system includes at least two nodes, a first node master device (IA.MA) sends a write command to a second node target object (IB.TB) through a command bus, wherein the write command may include a data storage location and a signal notification location of the first node master device (IA.MA).

[0139] Sub-step C20, when the second node target object receives the write command, it fills in the data storage location, the signal notification location and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location and the signal notification location into the pull ID bus, and sends it to the first node master device through the pull ID bus.

[0140] In a specific implementation, when the second node target object (IB.TB) receives a write command, it fills in the data storage location, signal notification location and the requested data location of the second node target object (IB.TB) according to the write command, and fills in the requested data location, data storage location and signal notification location to the pull ID bus, and sends the data storage location, signal notification location and requested data location to the first node master device (IA.MA) through the pull ID bus.

[0141] Sub-step C30, after receiving the pull ID bus, the first node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus.

[0142] In the specific implementation, after receiving the pull ID bus, the first node master device (IA.MA) reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object (IB.TB) through the pull data bus.

[0143] Sub-step C40, in the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the requested data has been read.

[0144] In the specific implementation, in the last cycle of the requested data transmission completion, the second node target object (IB.TB) sets the control signal high (that is, when last is valid), and notifies the signal notification location that the requested data has been read, so that the first node master device (IA.MA) can perform signal operations and release related resources.

[0145] In this embodiment, when the distributed bus includes at least two nodes, the first node master device sends a write command to the second node target object through the command bus, informing the second node target object that it needs to read data from the first node master device; and then determines the bus path involved in the write command between the first node master device and the second node target object, so as to subsequently determine whether there is overlap in the bus paths involved in the operation commands of each master device on the target object.

[0146] Based on the above embodiments, a fifth embodiment of the communication transmission method of the distributed bus of the present invention is proposed. Fig.11 In this embodiment, step S20 may further include the following sub-steps D10 to D30:

[0147] Sub-step D10, the first node master device sends a read command to the second node target object through the command bus; wherein the read command includes the request data position and signal notification position of the first node master device.

[0148] In a specific implementation, when a distributed bus system includes at least two nodes, a first node master device (IA.MA) sends a read command to a second node target object (IB.TB) through a command bus, wherein the read command may include a request data location and a signal notification location of the first node master device (IA.MA).

[0149] Sub-step D20, when the second node target object receives the read command, it fills in the request data location and the signal notification location according to the read command, reads the request data from the data storage location of the second node target object, and fills the request data, the request data location and the signal notification location into the push data bus, and sends it to the first node master device through the push data bus.

[0150] In a specific implementation, when the second node target object (IB.TB) receives a read command, it fills in the request data position and the signal notification position according to the read command, reads the request data from the data storage position of the second node target object (IB.TB), and fills in the request data, the request data position and the signal notification position into the push data bus, and sends the request data, the request data position and the signal notification position to the request data position of the first node master device (IA.MA) through the push data bus.

[0151] Sub-step D30, in the last cycle after the requested data transmission is completed, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the requested data has been read.

[0152] In the specific implementation, in the last cycle of the requested data transmission completion, the second node target object (IB.TB) sets the control signal high (that is, when last is valid), and notifies the signal notification location that the requested data has been read, so that the first node master device (IA.MA) can perform signal operations and release related resources.

[0153] In this embodiment, when the distributed bus includes at least two nodes, the first node master device sends a read command to the second node target object through the command bus, informing the second node target object to write data into the first node master device; and then determines the bus path involved in the write command between the first node master device and the second node target object, so as to subsequently determine whether there is overlap in the bus paths involved in the operation commands of each master device on the target object.

[0154] Based on the above embodiments, a sixth embodiment of the communication transmission method of the distributed bus of the present invention is proposed. Fig.12 In this embodiment, step S20 may further include the following sub-steps E10 to E50:

[0155] Sub-step E10, the first node master device sends a write command to the second main target object through a command bus; wherein the write command includes the data storage location and signal notification location of the first node master device.

[0156] In a specific implementation, when a distributed bus system includes at least two nodes, a first node master device (IA.MA) sends a write command to a second node target object (IB.TB) through a command bus, wherein the write command may include a data storage location and a signal notification location of the first node master device (IA.MA).

[0157] Sub-step E20, when the second node target object receives the write command, it fills in the data storage location, the signal notification location and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location and the signal notification location to the pull ID bus, and sends it to the first node master device through the pull ID bus.

[0158] In a specific implementation, when the second node target object (IB.TB) receives a write command, it fills in the data storage location, signal notification location and the requested data location of the second node target object (IB.TB) according to the write command, and fills in the requested data location, data storage location and signal notification location to the pull ID bus, and sends the data storage location, signal notification location and requested data location to the first node master device (IA.MA) through the pull ID bus.

[0159] Sub-step E30, after receiving the pull ID bus, the first node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus.

[0160] In the specific implementation, after receiving the pull ID bus, the first node master device (IA.MA) reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object (IB.TB) through the pull data bus.

[0161] Sub-step E40, after receiving the request data, the second node target object reads out the original data at the request data location, fills the original data into the push data bus, and sends the original data to the data storage location of the first node master device through the push data bus.

[0162] In the specific implementation, after receiving the request data, the second node target object (IB.TB) reads the original data at the request data location, fills the original data into the push data bus, and sends the original data to the data storage location of the first node master device (IA.MA) through the push data bus.

[0163] Sub-step E50, in the last cycle after the original data transmission is completed, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the original data has been read.

[0164] In a specific implementation, at the last cycle of the original data transmission, the second node target object (IB.TB) sets the control signal high and notifies the first node master device (IA.MA) of the signal notification position that the original data has been read.

[0165] In this embodiment, when the distributed bus includes at least two nodes, the first node master device sends a read-modify-write command to the second node target object through the command bus, informing the second node target object that it needs to read data from the first node master device, and after the data reading is completed, writes the original data in its own data storage location to the first node master device; and then determines the bus path involved in the write command between the first node master device and the second node target object, so as to subsequently determine whether there is overlap in the bus paths involved in the operation commands of each master device on the target object.

[0166] Based on the same inventive concept, the seventh embodiment of the present invention also provides a distributed bus communication transmission device corresponding to the distributed bus communication transmission method of the previous embodiment. Since the principle of solving the problem by the device in the seventh embodiment of the present invention is similar to the distributed bus communication transmission method of the previous embodiment of the present invention, the implementation of the system can refer to the implementation of the method, and the repeated parts will not be repeated. Fig.13 , the communication transmission device of the distributed bus of the present invention may include:

[0167] The determination module 10 is used to determine the operation commands issued by the master device in each node, and determine the target object operated by each operation command;

[0168] The operation module 20 is used to determine the bus path involved in each operation command based on each operation command and the target object operated by the operation command; wherein the bus path is the transmission path of the distributed bus involved in the operation command between the master device and the target object operated by the operation command;

[0169] The execution module 30 is used to, when it is determined that the bus paths involved in the operation commands of at least two master devices to the target object do not overlap, have at least two master devices execute the communication transmission tasks corresponding to the operation commands to the target object in parallel according to the corresponding bus paths.

[0170] In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the communication transmission method of the distributed bus is implemented.

[0171] Fig.14 is a schematic block diagram of an electronic device provided in an embodiment of the present application. Fig.14 As shown, the electronic device includes: at least one processor 401, a memory 402, at least one network interface 403 and a user interface 405. The various components in the electronic device are coupled together through a bus system 404. It can be understood that the bus system 404 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 404 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.14 In the specification, various buses are labeled as bus systems.

[0172] The user interface 405 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.

[0173] It is understood that the memory 402 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.

[0174] The memory 402 in the embodiment of the present invention is used to store various categories of data to support the operation of the electronic device 400. Examples of these data include: any executable program for operating on the electronic device 400, such as an operating system 4021 and an application 4022; the operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 4022 may include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The communication transmission method for implementing the distributed bus provided in the embodiment of the present invention may be included in the application 4022.

[0175] The method disclosed in the above embodiment of the present invention can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 401 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 401 can be a microprocessor or any conventional processor, etc. In combination with the steps of the method for determining the real height of a web page provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to perform, or it can be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0176] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.

[0177] In summary, the present invention transforms the centralized design of the traditional bus into a distributed bus design with separated commands and data. By utilizing the communication transmission strategy of the distributed bus, the flexibility and utilization efficiency of the bus can be improved, and the transmission delay in the bus can be reduced.

[0178] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A communication transmission method of a distributed bus, characterized in that: Applied to a distributed bus system, the distributed bus system includes a plurality of nodes, each node includes a master device and a target object, the plurality of nodes are connected through a distributed bus communication, the distributed bus includes a command bus, a pull ID bus, a pull data bus and a push data bus, the method includes: Determine the operation commands issued by the master device in each node, and determine the target object operated by each operation command; Based on each operation command and the target object operated by it, a bus path involved in each operation command is determined; wherein the bus path is a transmission path of a distributed bus involved in the operation command between a master device and the target object operated by it; When it is determined that the bus paths involved in the operation commands of at least two master devices on the target object do not overlap, the at least two master devices execute the communication transmission tasks corresponding to the respective operation commands on the target object in parallel according to the corresponding bus paths.

2. The method according to claim 1, characterized in that In the case where the distributed bus includes at least three nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes: The first node master device sends a write command to the second node target object through the command bus; wherein the write command includes the data storage location and signal notification location of the third node master device; When the second node target object receives the write command, it fills in the data storage location, the signal notification location, and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location, and the signal notification location to the pull ID bus, and sends them to the third node master device through the pull ID bus; After receiving the pull ID bus, the third node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus; In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the third node master device that the requested data has been read.

3. The method according to claim 1, characterized in that In the case where the distributed bus includes at least three nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes: The first node master device sends a read command to the second node target object through the command bus, wherein the read command includes the request data position and signal notification position of the third node master device; When the second node target object receives the read command, it fills in the request data position and the signal notification position according to the read command, reads the request data from the data storage position of the second node target object, and fills in the request data, the request data position and the signal notification position to the push data bus, and sends them to the third node master device through the push data bus; In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the third node master device that the requested data has been read.

4. The method according to claim 1, characterized in that: In the case where the distributed bus includes at least two nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes: The first node master device sends a write command to the second node target object through the command bus; wherein the write command includes the data storage location and signal notification location of the first node master device; When the second node target object receives the write command, it fills in the data storage location, the signal notification location, and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location, and the signal notification location to the pull ID bus, and sends them to the first node master device through the pull ID bus; After receiving the pull ID bus, the first node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus; In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the requested data has been read.

5. The method according to claim 1, characterized in that In the case where the distributed bus includes at least two nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes: The first node master device sends a read command to the second node target object through the command bus; wherein the read command includes the request data position and signal notification position of the first node master device; When the second node target object receives the read command, it fills in the request data position and the signal notification position according to the read command, reads the request data from the data storage position of the second node target object, fills in the request data, the request data position and the signal notification position into the push data bus, and sends them to the first node master device through the push data bus; In the last cycle of the requested data transmission being completed, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the requested data has been read.

6. The method according to claim 1, characterized in that In the case where the distributed bus includes at least two nodes, determining the bus path involved in each operation command based on each operation command and the target object operated by the operation command includes: The first node master device sends a write command to the second master target object through a command bus; wherein the write command includes a data storage location and a signal notification location of the first node master device; When the second node target object receives the write command, it fills in the data storage location, the signal notification location, and the requested data location of the second node target object according to the write command, and fills in the requested data location, the data storage location, and the signal notification location to the pull ID bus, and sends them to the first node master device through the pull ID bus; After receiving the pull ID bus, the first node master device reads the request data according to the data storage location, fills the request data into the pull data bus, and sends the request data to the request data location of the second node target object through the pull data bus; After receiving the request data, the second node target object reads out the original data at the request data location, fills the original data into the push data bus, and sends the original data to the data storage location of the first node master device through the push data bus; In the last cycle of the original data transmission, the second node target object sets the control signal high and notifies the signal notification position of the first node master device that the reading of the original data has been completed.

7. A communication transmission device for a distributed bus, characterized in that: Applied to a distributed bus system, the distributed bus system includes a plurality of nodes, each node includes a master device and a target object, the plurality of nodes are connected through a distributed bus communication, the distributed bus includes a command bus, a pull ID bus, a pull data bus and a push data bus, the device includes: A determination module is used to determine the operation commands issued by the master device in each node and determine the target object operated by each operation command; An operation module, configured to determine a bus path involved in each operation command based on each operation command and a target object operated by the operation command; wherein the bus path is a transmission path of a distributed bus involved in the operation command between a master device and a target object operated by the operation command; The parallel module is used to, when it is determined that the bus paths involved in the operation commands of at least two master devices to the target object do not overlap, at least two master devices execute the communication transmission tasks corresponding to the operation commands to the target object in parallel according to the corresponding bus paths.

8. An electronic device, characterized in that: The electronic device comprises: a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device performs the steps of the method as claimed in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, and when the program is run, it is used to implement the steps of the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product includes computer program codes, and when the computer program codes are executed on a computer, the computer is enabled to implement the steps of the method according to any one of claims 1 to 6.