Signal transmission system, signal transmission control method, and readable storage medium
By introducing a signal mapping unit and shared signal lines within the processing chip, multiple service detection modules can share signal line transmission, solving the problems of high internal wiring resource consumption and difficulty in the processing chip, and improving communication flexibility.
Patent Information
- Application Number
- CN202211580403.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-07
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-12-07
AI Technical Summary
The communication wiring between multiple hardware modules within the processing chip consumes a lot of resources, is difficult to wire, and has rigid logic, resulting in insufficient communication flexibility.
The design employs a signal mapping unit and a shared signal line, enabling multiple service detection modules to share the same signal line for signal transmission. The signal mapping unit maps service signals onto the shared signal line, which is then received by the target receiving module. Data content conversion is performed using a signal transmission configuration file.
It effectively reduces the consumption of hardware resources and the difficulty of wiring inside the chip, and improves the flexibility of the communication logic inside the chip.
Smart Images

Figure CN116303168B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of chip communication technology, and more specifically, to a signal transmission system, a signal transmission control method, and a readable storage medium. Background Technology
[0002] With the continuous development of science and technology, processing chips (such as switching chips and network chips) are increasingly widely used in various industries. Processing chips are typically divided into multiple hardware modules with different functions (e.g., a detection module for detecting one or more service events, a processing module for processing received signals, and a forwarding module for forwarding received signals). Dedicated signal lines are then deployed between any two hardware modules that need to establish communication to transmit signals, thus embedding the signal communication logic between the multiple hardware modules within the processing chip. It is worth noting that this wiring communication scheme for implementing communication between multiple hardware modules within a processing chip consumes a significant amount of wiring hardware resources, leading to problems such as high wiring difficulty and the need for fixed internal communication logic within the chip. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide a signal transmission system, a signal transmission control method, and a readable storage medium, which enables multiple service detection modules within a processing chip that need to communicate with the same hardware module to share the same signal line for signal transmission. This ensures the internal communication effect of the processing chip while effectively reducing the hardware resource consumption and difficulty of internal wiring of the processing chip, and improving the flexibility of the internal communication logic of the processing chip.
[0004] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:
[0005] In a first aspect, this application provides a signal transmission system applied to a processing chip, the processing chip including a target receiving module and multiple service detection modules, wherein each of the multiple service detection modules is used to detect at least one service event, and the signal transmission system includes multiple signal mapping units and a shared signal line;
[0006] The signal output terminal of each service detection module is electrically connected to the signal input terminal of a signal mapping unit. The signal output terminal of the signal mapping unit to which each service detection module is connected is electrically connected to the first signal transmission terminal of the shared signal line. Each service detection module generates a service signal matching the service event when it detects a service event. Each signal mapping unit connected to the service detection module is used to map the service signal generated by the corresponding connected service detection module to the shared signal line for signal content transmission.
[0007] The signal input terminal of the target receiving module is electrically connected to the signal output terminal of a signal mapping unit. The signal input terminal of the signal mapping unit connected to the target receiving module is electrically connected to the second signal transmission terminal of the shared signal line. The signal mapping unit connected to the target receiving module is used to map the corresponding service signal from the signal content transmitted by the shared signal line and send the mapped service signal to the target receiving module.
[0008] In an optional implementation, the shared signal line includes at least one service type line and multiple signal data lines;
[0009] The at least one service type line is used to transmit service type information of the service signals mapped to the shared signal line;
[0010] The multiple signal data lines cooperate with each other to transmit the signal data content of the service signals mapped to the shared signal lines.
[0011] Secondly, this application provides a signal transmission control method applied to a processing chip equipped with the signal transmission system described in the foregoing embodiments, wherein the processing chip includes a target receiving module and multiple service detection modules, wherein each of the multiple service detection modules is used to detect at least one service event, and the multiple service detection modules are communicatively connected to the target receiving module through the signal transmission system; the control method includes:
[0012] When a service detection module detects a service event, it generates a target service signal that matches the service event and calls the signal mapping unit connected to the service detection module to map the target service signal to a shared signal line for signal content transmission.
[0013] The target receiving module calls the signal mapping unit connected to it to map the corresponding target service signal from the signal content transmitted by the shared signal line for reception.
[0014] In an optional implementation, each service detection module stores a signal transmission configuration file corresponding to each of all service events it is responsible for detecting; the step of calling the signal mapping unit connected to the service detection module to map the target service signal to a shared signal line for signal content transmission includes:
[0015] Based on the service type information of the target service signal, extract the first transmission configuration file that matches the service type information of the target service signal from all stored signal transmission configuration files;
[0016] According to the first transmission configuration file, the signal data content of the target service signal is converted to obtain the data content to be transmitted that matches the multiple signal data lines included in the shared signal line;
[0017] The signal mapping unit connected to the service detection module is invoked to map the service type information of the target service signal onto at least one service type line included in the shared signal line for transmission, and the signal mapping unit is invoked to map the data content to be transmitted onto multiple signal data lines included in the shared signal line for transmission.
[0018] In an optional implementation, the target receiving module stores signal transmission configuration files for each type of service event detected by each of the service detection modules; the step of the target receiving module calling the signal mapping unit connected to it to map the corresponding target service signal from the signal content transmitted on the shared signal line for reception includes:
[0019] The signal mapping unit connected to the target receiving module is invoked to extract the target service type information of the target service signal from at least one service type line included in the shared signal line;
[0020] Based on the target service type information, a second transmission configuration file matching the target service type information is selected from the signal transmission configuration files of all stored service events;
[0021] The signal mapping unit connected to the target receiving module is invoked to perform data content conversion on the data content to be received on the multiple signal data lines included in the shared signal line, according to the second transmission configuration file, so as to obtain the signal data content of the target service signal.
[0022] Thirdly, this application provides a signal transmission control method applied to each service detection module included in a processing chip that deploys the signal transmission system described in the foregoing embodiments, wherein the processing chip further includes a target receiving module, each service detection module is communicatively connected to the target receiving module through the signal transmission system, and each service detection module is used to detect at least one service event; the control method includes:
[0023] Upon detecting a business event, a target business signal matching that business event is generated;
[0024] The connected signal mapping unit is invoked to map the target service signal to a shared signal line for signal content transmission, so that the target receiving module can receive the target service signal transmitted on the shared signal line.
[0025] In an optional implementation, each service detection module stores a signal transmission configuration file corresponding to each of all service events it is responsible for detecting; the step of calling the connected signal mapping unit to map the target service signal to a shared signal line for signal content transmission includes:
[0026] Based on the service type information of the target service signal, extract the first transmission configuration file that matches the service type information of the target service signal from all stored signal transmission configuration files;
[0027] According to the first transmission configuration file, the signal data content of the target service signal is converted to obtain the data content to be transmitted that matches the multiple signal data lines included in the shared signal line;
[0028] The signal mapping unit connected to the service detection module is invoked to map the service type information of the target service signal onto at least one service type line included in the shared signal line for transmission, and the signal mapping unit is invoked to map the data content to be transmitted onto multiple signal data lines included in the shared signal line for transmission.
[0029] Fourthly, this application provides a signal transmission control method applied to a target receiving module included in a processing chip that has deployed the signal transmission system described in the foregoing embodiments, wherein the processing chip further includes multiple service detection modules, each of which is used to detect at least one service event, and the multiple service detection modules are communicatively connected to the target receiving module through the signal transmission system; the control method includes:
[0030] The signal mapping unit connected to the target receiving module is invoked to map and extract the target service signal from any one of the service detection modules from the signal content transmitted on the shared signal line, wherein the target service signal matches the service event detected by the corresponding service detection module.
[0031] The extracted target service signals are processed for signal reception.
[0032] In an optional implementation, the target receiving module stores signal transmission configuration files for each type of service event detected by each of the service detection modules; the step of calling the signal mapping unit connected to the target receiving module to extract the target service signal from any one of the service detection modules from the signal content transmitted on the shared signal line includes:
[0033] Invoke the signal mapping unit connected to the target receiving module to extract the target service type information of the target service signal from at least one service type line included in the shared signal line;
[0034] Based on the target service type information, a second transmission configuration file matching the target service type information is selected from the signal transmission configuration files of all stored service events;
[0035] The signal mapping unit connected to the target receiving module is invoked to perform data content conversion on the data content to be received on the multiple signal data lines included in the shared signal line, according to the second transmission configuration file, so as to obtain the signal data content of the target service signal.
[0036] Fifthly, this application provides a readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the signal transmission control method described in any of the foregoing embodiments.
[0037] In this case, the beneficial effects of the embodiments of this application may include the following:
[0038] This application electrically connects the signal output terminal of each service detection module within the processing chip to the signal input terminal of a signal mapping unit, and electrically connects the signal output terminal of each signal mapping unit connected to the service detection module to the first signal transmission terminal of a shared signal line. This ensures that each signal mapping unit can map the service signal generated by the corresponding service detection module that matches the detected service event onto the shared signal line for signal content transmission. Furthermore, by electrically connecting the signal input terminal of the target receiving module within the processing chip to the signal output terminal of a signal mapping unit, and electrically connecting the signal input terminal of the signal mapping unit connected to the target receiving module to the second signal transmission terminal of the shared signal line, this ensures that the target receiving module can map the corresponding service signal from the signal content transmitted on the shared signal line through the connected signal mapping unit. This allows multiple service detection modules within the processing chip that need to communicate with the same hardware module to share the same signal line for signal transmission. This approach ensures effective communication within the processing chip while effectively reducing the hardware resource consumption and difficulty of internal wiring, and improving the flexibility of the processing chip's internal communication logic.
[0039] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0040] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a schematic diagram of the deployment of a signal transmission system provided in an embodiment of this application;
[0042] Figure 2 A flowchart illustrating the first signal transmission control method provided in this application embodiment;
[0043] Figure 3 for Figure 2 A flowchart illustrating the sub-steps included in step S210;
[0044] Figure 4 for Figure 2 A flowchart illustrating the sub-steps included in step S220;
[0045] Figure 5 A flowchart illustrating the second signal transmission control method provided in this application embodiment;
[0046] Figure 6 This is a flowchart illustrating the third signal transmission control method provided in this application embodiment.
[0047] Icons: 10-Signal transmission system; 11-Signal mapping unit; 12-Shared signal line; 121-Service type line; 122-Signal data line; 20-Processing chip; 21-Service detection module; 22-Target receiving module. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0049] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0050] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0051] In the description of this application, it should be understood that relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. Those skilled in the art will understand the specific meaning of the above terms in this application based on the specific circumstances.
[0052] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0053] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the deployment of the signal transmission system 10 provided in this application embodiment. In this application embodiment, the signal transmission system 10 can be deployed inside the processing chip 20 to allow multiple service detection modules 21 within the processing chip 20 that need to communicate with the same hardware module to share the same signal line for signal transmission. This ensures the internal communication effect of the processing chip 20 while effectively reducing the hardware resource consumption and difficulty of internal wiring of the processing chip 20, and improves the problem of the solidification of internal communication logic of the processing chip 20, thereby enhancing the flexibility of the internal communication logic of the processing chip 20.
[0054] Each of the service detection modules 21 is used to monitor the generation status of at least one service event in real time. The specific service type of the service event detected by each of the multiple service detection modules 21 included in the processing chip 20 is matched with the actual operating environment of the processing chip 20. Taking the processing chip 20 in a switch operating environment or a gateway operating environment as an example, the specific service type of the service event detected by each of the multiple service detection modules 21 included in the processing chip 20 can be a message forwarding event of different communication protocols (e.g., Layer 2 communication protocol, Layer 3 communication protocol, tunnel communication protocol). The hardware module included in the processing chip 20 that needs to communicate with the multiple service detection modules 21 is the target receiving module 22 for the multiple service detection modules 21. The target receiving module 22 is used to receive service signals sent from any of the aforementioned service detection modules 21, wherein the service signals are used to characterize that the corresponding service detection module 21 has detected a certain service event. The target receiving module 22 may be an additional service detection module that needs to communicate with other hardware modules included in the processing chip 20, or it may be a signal forwarding module or a signal processing module included in the processing chip 20. The specific settings of the target receiving module 22 can be configured by the user of the processing chip 20 according to specific needs.
[0055] In this embodiment, the signal transmission system 10 may include multiple signal mapping units 11 and a shared signal line 12. The total number of signal mapping units 11 is equal to the total number of hardware modules within the processing chip 20 that require communication connections.
[0056] Each service detection module 21 has its signal output terminal electrically connected to the signal input terminal of a signal mapping unit 11. The signal output terminals of the signal mapping units 11 to which each service detection module 21 is connected are electrically connected to the first signal transmission terminal of the shared signal line 12. When each service detection module 21 detects a specific service event it is responsible for, it generates a service signal matching that event. Then, it maps the generated service signal onto the shared signal line 12 via the signal mapping unit 11 connected to it for signal content transmission.
[0057] The signal input terminal of the target receiving module 22 is electrically connected to the signal output terminal of a signal mapping unit 11, and the signal input terminal of the signal mapping unit 11 connected to the target receiving module 22 is electrically connected to the second signal transmission terminal of the shared signal line 12. The target receiving module 22 can directly map the service signal from a certain service detection module 21 from the signal content transmitted on the shared signal line 12 by calling the signal mapping unit 11 connected to it, and perform signal reception processing on the mapped service signal. This allows multiple service detection modules 21 included in the processing chip 20 to share a single shared signal line 12 to transmit signals to the target receiving module 22. This effectively reduces the hardware resource consumption and difficulty of internal wiring of the processing chip 20 while ensuring the internal communication effect of the processing chip 20, and improves the flexibility of the internal communication logic of the processing chip 20.
[0058] In this embodiment, the shared signal line 12 may include at least one service type line 121 and multiple signal data lines 122. The at least one service type line 121 is used to transmit service type information of the service signals mapped to the shared signal line 12; the multiple signal data lines 122 cooperate with each other to transmit the signal data content of the service signals mapped to the shared signal line 12.
[0059] In this embodiment, each service detection module 21 stores a signal transmission configuration file corresponding to all service events it is responsible for detecting. The target receiving module 22 stores a signal transmission configuration file for each service event detected by each service detection module 21 that needs to communicate with it. The signal transmission configuration file describes the specific representation of the signal data content of the service signal of the corresponding service event in the multiple signal data lines 122 included in the shared signal line 12. The specific representation can be that different signal data lines 122 use different or partially different high and low level states to represent the signal data content of the corresponding service signal, or different signal data lines 122 use different or partially different voltage values to represent the signal data content of the corresponding service signal, or different signal data lines 122 use different or partially different current values to represent the signal data content of the corresponding service signal. Therefore, the specific configuration of the signal transmission configuration file can be configured differently by the user of the processing chip 20 according to communication requirements.
[0060] In this case, after generating a service signal that matches the service event it has detected, each service detection module 21 can perform data content conversion on the specific signal data content of the generated service signal based on its stored signal transmission configuration file that substantially matches the service type of the detected service event. This results in data content to be transmitted that can be effectively entrusted to the multiple signal data lines 122 included in the shared signal line 12 for transmission. Then, by calling the signal mapping unit 11 directly connected to the service detection module 21, the service type information of the aforementioned service signal is mapped onto at least one service type line 121 included in the shared signal line 12 for transmission. The signal mapping unit 11 is also called to map the data content to be transmitted onto the multiple signal data lines 122 included in the shared signal line 12 for transmission, thereby effectively mapping the generated service signal onto the shared signal line 12 for transmission to the target receiving module 22.
[0061] The target receiving module 22 can extract the service type information of the service signal to be received from at least one service type line 121 included in the shared signal line 12 by calling the signal mapping unit 11 connected to itself. Then, based on the signal transmission configuration files corresponding to all service events stored in itself, it determines the signal transmission configuration file that substantially matches the service type information of the service signal to be received. Next, it calls the signal mapping unit 11 connected to itself to extract the data content to be received from the multiple signal data lines 122 included in the shared signal line 12, and performs data content conversion on the extracted data content to be received based on the determined signal transmission configuration file to obtain the actual signal data content of the service signal to be received.
[0062] Therefore, this application can enable multiple service detection modules 21 within the processing chip 20 that need to communicate with the target receiving module 22 to share the same signal line for signal transmission through the signal transmission system 10. This effectively reduces the hardware resource consumption and difficulty of internal wiring of the processing chip 20 while ensuring the internal communication effect of the processing chip 20, and improves the flexibility of the internal communication logic of the processing chip 20.
[0063] In this application, to ensure that the processing chip 20 equipped with the aforementioned signal transmission system 10 can effectively achieve internal communication and improve the flexibility of internal communication logic, this application provides a signal transmission control method applied to the aforementioned processing chip 20 to achieve the aforementioned objectives. The signal transmission control method provided in this application will be described in detail below.
[0064] Please refer to Figure 2 , Figure 2This is a flowchart illustrating the first signal transmission control method provided in this application embodiment. In this application embodiment, the first signal transmission control method is applied to a processing chip 20 on which the above-mentioned signal transmission system 10 is deployed, and the first signal transmission control method may include steps S210 and S220.
[0065] In step S210, when a service detection module detects a service event, it generates a target service signal that matches the service event and calls the signal mapping unit connected to the service detection module to map the target service signal to the shared signal line for signal content transmission.
[0066] In this embodiment, when a service detection module 21 detects a service event, the service detection module 21 will generate a target service signal that matches the detected service event. Based on the actual service type information of the detected service event, the module will select a signal transmission configuration file that substantially matches the actual service type information of the detected service event from the signal transmission configuration files of the various service events it is responsible for. Then, the module will call the signal mapping unit 11 connected to it to map the generated target service signal to the shared signal line 12 based on the selected signal transmission configuration file for signal content transmission, so as to transmit the target service signal to the target receiving module 22.
[0067] Alternatively, please refer to Figure 3 , Figure 3 yes Figure 2 The flowchart of step S210 includes the sub-steps. In this embodiment of the application, the step "calling the signal mapping unit connected to the service detection module to map the target service signal to the shared signal line for signal content transmission" in step S210 may include sub-steps S211 to S213, so as to realize the signal transmission operation of the service signal generated by the single service detection module 21 using the shared signal line 12.
[0068] Sub-step S211: Based on the service type information of the target service signal, extract the first transmission configuration file that matches the service type information of the target service signal from all stored signal transmission configuration files.
[0069] Sub-step S212: The signal data content of the target service signal is converted according to the first transmission configuration file to obtain the data content to be transmitted that matches the multiple signal data lines included in the shared signal line.
[0070] Sub-step S213: Call the signal mapping unit connected to the service detection module to map the service type information of the target service signal to at least one service type line included in the shared signal line for transmission, and call the signal mapping unit to map the data content to be transmitted to multiple signal data lines included in the shared signal line for transmission.
[0071] Therefore, this application can implement the signal transmission operation of the service signal generated by the single service detection module 21 using the shared signal line 12 by executing the above sub-steps S211 to S213.
[0072] In step S220, the target receiving module calls the signal mapping unit connected to the target receiving module to map the corresponding target service signal from the signal content transmitted on the shared signal line for reception.
[0073] In this embodiment, the target receiving module 22 can extract the service type information of the transmitted service signal from the signal content transmitted by the shared signal line 12 by calling the signal mapping unit 11 connected to it. Then, it can filter out the signal transmission configuration file that substantially matches the extracted service type information of the transmitted service signal from the signal transmission configuration files of all service events stored in its own storage. After that, it can call the signal mapping unit 11 connected to it to extract the specific signal data content of the transmitted service signal from the signal content transmitted by the shared signal line 12 based on the filtered signal transmission configuration file, thereby realizing the signal reception processing of the transmitted service signal.
[0074] Alternatively, please refer to Figure 4 , Figure 4 yes Figure 2 The flowchart of step S220 includes the sub-steps. In this embodiment, step S220 may include sub-steps S221 to S223 to accurately extract the service signal from any one of the service detection modules 21 from the signal content transmitted by the shared signal line 12 for signal reception.
[0075] Sub-step S221: Invoke the signal mapping unit connected to the target receiving module to extract the target service type information of the target service signal from at least one service type line included in the shared signal line.
[0076] Sub-step S222: Based on the target service type information, select the second transmission configuration file that matches the target service type information from the signal transmission configuration files of all stored service events.
[0077] Sub-step S223: The signal mapping unit connected to the target receiving module is invoked to perform data content conversion on the data to be received on the multiple signal data lines included in the shared signal line according to the second transmission configuration file, so as to obtain the signal data content of the target service signal.
[0078] Therefore, this application can accurately extract the service signal from any one of the service detection modules 21 from the signal content transmitted by the shared signal line 12 by executing the above sub-steps S221 to S223 for signal reception.
[0079] This application can ensure that the processing chip 20 with the above signal transmission system 10 can effectively achieve the internal communication effect of the chip and improve the flexibility of the internal communication logic by performing the above steps S210 and S220.
[0080] In this application, to ensure that the service detection module 21 in the processing chip 20, which is equipped with the aforementioned signal transmission system 10, can cooperate with the target receiving module 22 to achieve the internal communication effect of the chip and improve the flexibility of the internal communication logic, this application provides a signal transmission control method applied to each service detection module 21 included in the aforementioned processing chip 20 to achieve the aforementioned objective. The signal transmission control method provided in this application will be described in detail below.
[0081] Please refer to Figure 5 , Figure 5 This is a flowchart illustrating the second signal transmission control method provided in this application embodiment. In this application embodiment, the second signal transmission control method is applied to each service detection module 21 included in the processing chip 20, and the second signal transmission control method may include steps S310 and S320.
[0082] Step S310: If a service event is detected, a target service signal matching the service event is generated.
[0083] Step S320: The connected signal mapping unit is invoked to map the target service signal to the shared signal line for signal content transmission, so that the target receiving module can receive the target service signal transmitted on the shared signal line.
[0084] During this process, each service detection module 21 stores the signal transmission configuration file corresponding to all service events it is responsible for detecting. For a single service detection module 21, the step of calling the connected signal mapping unit 11 to map the target service signal to the shared signal line 12 for signal content transmission may include:
[0085] Based on the service type information of the target service signal, extract the first transmission configuration file that matches the service type information of the target service signal from all stored signal transmission configuration files;
[0086] According to the first transmission configuration file, the signal data content of the target service signal is converted to obtain the data content to be transmitted that matches the multiple signal data lines 122 included in the shared signal line 12.
[0087] The signal mapping unit 11 connected to the service detection module 21 is invoked to map the service type information of the target service signal onto at least one service type line 121 included in the shared signal line 12 for transmission, and the signal mapping unit 11 is invoked to map the data content to be transmitted onto multiple signal data lines 122 included in the shared signal line 12 for transmission.
[0088] It is understood that step S320 and its specific steps are basically the same as the specific steps S210 and sub-steps S211 to S213 mentioned above. The specific execution process of step S320 and its specific steps can be referred to the above description of the execution of step S210 and sub-steps S211 to S213, and will not be repeated here.
[0089] Therefore, by executing the above steps S310 and S320, the service detection module 21 in the processing chip 20 with the above signal transmission system 10 deployed can cooperate with the target receiving module 22 to achieve the internal communication effect of the chip and improve the flexibility of the internal communication logic of the chip.
[0090] In this application, to ensure that the target receiving module 22 in the processing chip 20, which is equipped with the aforementioned signal transmission system 10, can effectively cooperate with each service detection module 21 to achieve internal chip communication and improve the flexibility of internal chip communication logic, this application provides a signal transmission control method applied to the target receiving module 22 included in the aforementioned processing chip 20 to achieve the aforementioned objective. The signal transmission control method provided in this application will be described in detail below.
[0091] Please refer to Figure 6 , Figure 6 This is a flowchart illustrating the third signal transmission control method provided in this application embodiment. In this application embodiment, the third signal transmission control method is applied to the target receiving module 22 included in the processing chip 20, and the third signal transmission control method may include steps S410 and S420.
[0092] Step S410: Invoke the signal mapping unit connected to the target receiving module to map and extract the target service signal from any service detection module from the signal content transmitted on the shared signal line, wherein the target service signal matches the service event detected by the corresponding service detection module.
[0093] During this process, the target receiving module 22 stores the signal transmission configuration files for each type of service event detected by each of the service detection modules 21. The step of the target receiving module 22 calling the signal mapping unit 11 connected to it to map and extract the target service signal from any one of the service detection modules 21 from the signal content transmitted on the shared signal line 12 may include:
[0094] The signal mapping unit 11 connected to the target receiving module 22 is invoked to extract the target service type information of the target service signal from at least one service type line 121 included in the shared signal line 12;
[0095] Based on the target service type information, a second transmission configuration file matching the target service type information is selected from the signal transmission configuration files of all stored service events;
[0096] The signal mapping unit 11 connected to the target receiving module 22 is invoked to perform data content conversion on the data content to be received mapped to the multiple signal data lines 122 included in the shared signal line 12 according to the second transmission configuration file, so as to obtain the signal data content of the target service signal.
[0097] It is understood that step S410 and its specific steps are basically the same as the specific steps S220 and sub-steps S221 to S223 mentioned above. The specific execution process of step S410 and its specific steps can be referred to the above description of the execution of step S220 and sub-steps S221 to S223, and will not be repeated here.
[0098] Step S420: Perform signal reception processing on the extracted target service signal.
[0099] Therefore, by executing the above steps S410 and S420, this application can ensure that the target receiving module 22 in the processing chip 20 with the above signal transmission system 10 can effectively cooperate with each service detection module 21 to achieve the internal communication effect of the chip and improve the flexibility of the internal communication logic of the chip.
[0100] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of the apparatus, methods, and computer program products according to embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0101] Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part. If the function is implemented as a software functional module and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned readable storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.
[0102] In summary, in the signal transmission system, signal transmission control method, and readable storage medium provided in the embodiments of this application, this application electrically connects the signal output terminal of each service detection module in the processing chip to the signal input terminal of a signal mapping unit, and electrically connects the signal output terminal of each signal mapping unit connected to the service detection module to the first signal transmission terminal of the shared signal line. This ensures that each signal mapping unit can map the service signal generated by the corresponding service detection module that matches the detected service event to the shared signal line for signal content transmission. Then, by electrically connecting the signal input terminal of the target receiving module in the processing chip to the signal output terminal of a signal mapping unit, and electrically connecting the signal input terminal of the signal mapping unit connected to the target receiving module to the second signal transmission terminal of the shared signal line, this ensures that the target receiving module can map the corresponding service signal from the signal content transmitted on the shared signal line through the connected signal mapping unit. This allows multiple service detection modules in the processing chip that need to communicate with the same hardware module to share the same signal line for signal transmission. This ensures the internal communication effect of the processing chip while effectively reducing the hardware resource consumption and internal wiring difficulty of the processing chip, and improving the flexibility of the internal communication logic of the processing chip.
[0103] The above descriptions are merely various embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A signal transmission system, characterized in that, The system is applied to a processing chip, which includes a target receiving module and multiple service detection modules, wherein each of the multiple service detection modules is used to detect at least one service event, and the signal transmission system includes multiple signal mapping units and a shared signal line. The signal output terminal of each service detection module is electrically connected to the signal input terminal of a signal mapping unit. The signal output terminal of the signal mapping unit to which each service detection module is connected is electrically connected to the first signal transmission terminal of the shared signal line. Each service detection module generates a service signal matching the service event when it detects a service event. Each signal mapping unit connected to the service detection module is used to map the service signal generated by the corresponding connected service detection module to the shared signal line for signal content transmission. The signal input terminal of the target receiving module is electrically connected to the signal output terminal of a signal mapping unit. The signal input terminal of the signal mapping unit connected to the target receiving module is electrically connected to the second signal transmission terminal of the shared signal line. The signal mapping unit connected to the target receiving module is used to map the corresponding service signal from the signal content transmitted by the shared signal line and send the mapped service signal to the target receiving module. The shared signal line includes at least one service type line and multiple signal data lines; the at least one service type line is used to transmit service type information of the service signals mapped to the shared signal line; the multiple signal data lines cooperate with each other to transmit the signal data content of the service signals mapped to the shared signal line.
2. A signal transmission control method, characterized in that, A processing chip is applied to a signal transmission system according to claim 1, wherein the processing chip includes a target receiving module and a plurality of service detection modules, wherein each of the plurality of service detection modules is used to detect at least one service event, and the plurality of service detection modules are communicatively connected to the target receiving module through the signal transmission system; The control method includes: When a service detection module detects a service event, it generates a target service signal that matches the service event and calls the signal mapping unit connected to the service detection module to map the target service signal to a shared signal line for signal content transmission. The target receiving module calls the signal mapping unit connected to it to map the corresponding target service signal from the signal content transmitted by the shared signal line for reception.
3. The control method according to claim 2, characterized in that, Each service detection module stores a signal transmission configuration file corresponding to all service events it is responsible for detecting; the step of calling the signal mapping unit connected to the service detection module to map the target service signal to a shared signal line for signal content transmission includes: Based on the service type information of the target service signal, extract the first transmission configuration file that matches the service type information of the target service signal from all stored signal transmission configuration files; According to the first transmission configuration file, the signal data content of the target service signal is converted to obtain the data content to be transmitted that matches the multiple signal data lines included in the shared signal line; The signal mapping unit connected to the service detection module is invoked to map the service type information of the target service signal onto at least one service type line included in the shared signal line for transmission, and the signal mapping unit is invoked to map the data content to be transmitted onto multiple signal data lines included in the shared signal line for transmission.
4. The control method according to claim 2 or 3, characterized in that, The target receiving module stores signal transmission configuration files for each type of service event detected by each of the service detection modules; the step of the target receiving module calling the signal mapping unit connected to it to map the corresponding target service signal from the signal content transmitted on the shared signal line for reception includes: The signal mapping unit connected to the target receiving module is invoked to extract the target service type information of the target service signal from at least one service type line included in the shared signal line; Based on the target service type information, a second transmission configuration file matching the target service type information is selected from the signal transmission configuration files of all stored service events; The signal mapping unit connected to the target receiving module is invoked to perform data content conversion on the data content to be received on the multiple signal data lines included in the shared signal line, according to the second transmission configuration file, so as to obtain the signal data content of the target service signal.
5. A signal transmission control method, characterized in that, Each service detection module is applied to a processing chip that is deployed with the signal transmission system of claim 1, wherein the processing chip further includes a target receiving module, each service detection module is communicatively connected to the target receiving module through the signal transmission system, and each service detection module is used to detect at least one service event; The control method includes: Upon detecting a business event, a target business signal matching that business event is generated; The connected signal mapping unit is invoked to map the target service signal to a shared signal line for signal content transmission, so that the target receiving module can receive the target service signal transmitted on the shared signal line.
6. The control method according to claim 5, characterized in that, Each business detection module stores the signal transmission configuration file corresponding to all business events it is responsible for detecting. The step of the signal mapping unit of the call connection mapping the target service signal to the shared signal line for signal content transmission includes: Based on the service type information of the target service signal, extract the first transmission configuration file that matches the service type information of the target service signal from all stored signal transmission configuration files; According to the first transmission configuration file, the signal data content of the target service signal is converted to obtain the data content to be transmitted that matches the multiple signal data lines included in the shared signal line; The signal mapping unit connected to the service detection module is invoked to map the service type information of the target service signal onto at least one service type line included in the shared signal line for transmission, and the signal mapping unit is invoked to map the data content to be transmitted onto multiple signal data lines included in the shared signal line for transmission.
7. A signal transmission control method, characterized in that, A target receiving module is applied to a processing chip deployed with the signal transmission system of claim 1, wherein the processing chip further includes multiple service detection modules, each of which is used to detect at least one service event, and the multiple service detection modules are communicatively connected to the target receiving module through the signal transmission system; the control method includes: The signal mapping unit connected to the target receiving module is invoked to map and extract the target service signal from any one of the service detection modules from the signal content transmitted on the shared signal line, wherein the target service signal matches the service event detected by the corresponding service detection module. The extracted target service signals are processed for signal reception.
8. The control method according to claim 7, characterized in that, The target receiving module stores signal transmission configuration files for each type of service event detected by each of the service detection modules; the step of calling the signal mapping unit connected to the target receiving module to extract the target service signal from any one of the service detection modules from the signal content transmitted on the shared signal line includes: Invoke the signal mapping unit connected to the target receiving module to extract the target service type information of the target service signal from at least one service type line included in the shared signal line; Based on the target service type information, a second transmission configuration file matching the target service type information is selected from the signal transmission configuration files of all stored service events; The signal mapping unit connected to the target receiving module is invoked to perform data content conversion on the data content to be received on the multiple signal data lines included in the shared signal line, according to the second transmission configuration file, so as to obtain the signal data content of the target service signal.
9. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the signal transmission control method according to any one of claims 2-8.
Citation Information
Patent Citations
Web content sharing method, and web content providing apparatus and receiving terminal
CN104660672A
Industrial field bus virtualization system, method and apparatus
CN109002405A