A method, device, storage medium and equipment for avoiding gateway signal changes

By pre-creating ID and network segment information in the gateway and replacing the original ID and control signal routing when receiving the signal change instruction, the problem of changing signal routing paths in scenarios such as plateau environments requires modification of the underlying code logic, which has been achieved to reduce the problem of changing the signal routing path in the context of highland environments. A way to transform costs and costs.

CN115037668BActive Publication Date: 2024-11-22GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111043623.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2024-11-22
Estimated Expiration
2041-09-07

AI Technical Summary

Technical Problem

After mass production of cars, when the signal routing path needs to be changed in scenarios such as plateau environments, the existing technology needs to modify the underlying code logic of the gateway, resulting in an increase in the cost of automobile transformation.

Method used

By pre-creating IDs and generating corresponding network segment information, adding these IDs and network segment information to the gateway routing table. When receiving the signal change command, select the ID that meets the preset conditions as the target ID to be replaced by the original signal to be changed. ID, and control the gateway to start the signal routing process, so that the packets can be routed to the destination address through the source address of the destination network segment information, thereby realizing the change of the signal routing path.

Benefits of technology

There is no need to modify the underlying code logic of the gateway, which realizes the change of signal routing paths, reducing the cost of automobile transformation and the costs of signal changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115037668B_ABST
    Figure CN115037668B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, storage medium and equipment for avoiding gateway signal changes. One or more IDs are created in advance, and the network segment information corresponding to each ID is generated. Each ID and the network segment information corresponding to each ID are added to the routing table of the gateway. When a signal change instruction from the user is received, an ID whose corresponding network segment information meets the preset conditions is selected from each ID as the target ID. The target ID is used to replace the original ID of the message to which the signal to be changed belongs. The control gateway starts the signal routing process so that the message is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information. Using the scheme shown in the present application, it is possible to change the signal routing path while avoiding gateway signal changes, thereby effectively reducing the gateway transformation work caused by various signal change requirements of enterprise users, and reducing the costs caused by gateway signal changes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, storage medium and equipment for avoiding gateway signal changes. Background Art

[0002] After mass production of automobiles, automotive electronic products (i.e., gateways) often need to change the signal routing path for individual scenarios. For example, in plateau environments, vehicles need to add additional atmospheric pressure logic to calculate tire pressure. After calculating the tire pressure, the electronic control unit (ECU) in the vehicle will send the tire pressure to the gateway, and the gateway will send the tire pressure to the ECU in the vehicle that displays the tire pressure to the user. See Figure 1 As shown, for example, the tire pressure is calculated by ECU1, and then sent to the gateway, and the gateway then forwards the tire pressure to, for example, ECU5.

[0003] Changing the signal routing path usually requires changing the gateway signal (i.e. creating a new signal or modifying the original signal). Changing the gateway signal requires modifying the underlying code logic of the gateway. However, modifying the underlying code logic of the gateway requires additional costs and man-hours, thereby increasing the cost of vehicle modification. Summary of the invention

[0004] The present application provides a method, apparatus, storage medium and device for avoiding gateway signal changes, the purpose of which is to achieve changes to the signal routing path while avoiding gateway signal changes.

[0005] In order to achieve the above objectives, this application provides the following technical solutions:

[0006] A method for avoiding gateway signal changes, comprising:

[0007] Pre-create one or more IDs, and generate network segment information corresponding to each ID; the network segment information includes a first network segment and a second network segment; the first network segment represents the source address of the signal; the second network segment represents the destination address of the signal;

[0008] Add each of the IDs and the network segment information corresponding to each of the IDs to the routing table of the gateway;

[0009] When receiving a signal change instruction from a user, an ID whose corresponding network segment information meets a preset condition is selected from each of the IDs as a target ID;

[0010] Using the target ID, replacing the original ID of the message to which the signal to be changed belongs; the signal to be changed is the signal indicated by the signal change instruction;

[0011] Control the gateway to start a signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information; the target network segment information is the network segment information corresponding to the target ID.

[0012] Optionally, the preset conditions include:

[0013] The source address indicated in the network segment information is the address of the signal sender indicated in the signal change instruction, and the destination address indicated in the network segment information is the address of the signal receiver indicated in the signal change instruction.

[0014] Optionally, controlling the gateway to start a signal routing process so that a message carrying the target ID is routed to a destination address indicated by the target network segment information via a source address indicated by the target network segment information includes:

[0015] Control the gateway to start a signal routing process, the signal routing process is used to: parse the message to obtain the target ID; query the network segment information corresponding to the target ID from the routing table; identify the network segment information corresponding to the target ID as the target network segment information; and route the message from the signal sender indicated by the signal change instruction to the signal receiver indicated by the signal change instruction according to the source address and destination address indicated by the target network segment information.

[0016] Optionally, using the target ID to replace the original ID of the message to which the signal to be changed belongs includes:

[0017] When it is detected that the message to which the signal to be changed belongs is not set with the original ID, the target ID is used as the ID of the message; or, when it is detected that the message to which the signal to be changed belongs is set with the original ID, the target ID is used to replace the original ID.

[0018] A gateway signal change avoidance device, comprising:

[0019] A reservation unit, used to pre-create one or more IDs and generate network segment information corresponding to each of the IDs; the network segment information includes a first network segment and a second network segment; the first network segment represents a source address of a signal; the second network segment represents a destination address of the signal;

[0020] An adding unit, used to add each of the IDs and the network segment information corresponding to each of the IDs in the routing table of the gateway;

[0021] A selection unit, configured to select, from among the IDs, an ID whose corresponding network segment information meets a preset condition as a target ID when receiving a signal change instruction from the user;

[0022] A replacement unit, used to replace the original ID of the message to which the signal to be changed belongs with the target ID; the signal to be changed is the signal indicated by the signal change instruction;

[0023] A control unit is used to control the gateway to start a signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information; the target network segment information is the network segment information corresponding to the target ID.

[0024] Optionally, the selection unit is specifically used for:

[0025] From each of the IDs, select an ID whose corresponding network segment information meets the preset conditions as the target ID; the preset conditions include: the source address shown in the network segment information is the address of the signal sender shown in the signal change instruction, and the destination address shown in the network segment information is the address of the signal receiver shown in the signal change instruction.

[0026] Optionally, the control unit is specifically used for:

[0027] Control the gateway to start a signal routing process, the signal routing process is used to: parse the message to obtain the target ID; query the network segment information corresponding to the target ID from the routing table; identify the network segment information corresponding to the target ID as the target network segment information; and route the message from the signal sender indicated by the signal change instruction to the signal receiver indicated by the signal change instruction according to the source address and destination address indicated by the target network segment information.

[0028] Optionally, the replacement unit is specifically used for:

[0029] When it is detected that the message to which the signal to be changed belongs is not set with the original ID, the target ID is used as the ID of the message; or, when it is detected that the message to which the signal to be changed belongs is set with the original ID, the target ID is used to replace the original ID.

[0030] A computer-readable storage medium includes a stored program, wherein the program executes the method for avoiding gateway signal changes.

[0031] A gateway signal change avoidance device comprises: a processor, a memory and a bus; the processor and the memory are connected via the bus;

[0032] The memory is used to store a program, and the processor is used to run the program, wherein the method for avoiding gateway signal changes is executed when the program is run.

[0033] The technical solution provided by the present application creates one or more IDs in advance and generates network segment information corresponding to each ID. The network segment information includes a first network segment and a second network segment, the first network segment represents the source address of the signal, and the second network segment represents the destination address of the signal. Add each ID and the network segment information corresponding to each ID in the routing table of the gateway. In the case of receiving the user's signal change instruction, select the ID whose corresponding network segment information meets the preset conditions from each ID as the target ID. Use the target ID to replace the original ID of the message to which the signal to be changed belongs, wherein the signal to be changed is the signal shown in the signal change instruction. Control the gateway to start the signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information, and the target network segment information is the network segment information corresponding to the target ID. Using the solution shown in the present application, it is possible to change the signal routing path while avoiding the change of the gateway signal, so that after the mass production of the car, it can effectively reduce the gateway transformation work caused by the needs of various signal changes for enterprise users, and reduce the costs caused by the change of the gateway signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 A signal routing diagram provided for an embodiment of the present application;

[0036] Figure 2 Another signal routing diagram provided for an embodiment of the present application;

[0037] Figure 3 A schematic diagram of a method for avoiding gateway signal changes provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of the architecture of a gateway signal change avoidance device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0040] It should be noted that the implementation of the change of the signal routing path shown in the embodiment of the present application actually refers to the implementation of the change of the signal routing path between the controller area network (CAN)-gateway (GW)-CAN. The so-called routing refers to the process in which the gateway receives a signal from a CAN interface (CANIF), directs it according to the destination address of the signal, and forwards the signal to another CANIF.

[0041] The change of the signal routing path between CAN-GW-CAN is characterized by: the message (i.e. the specific form of the signal) needs to start from, for example, the powertrain CAN (Power Train Controller Area Network, PT CAN) and be forwarded to, for example, the body CAN (Body Controller Area Network, BD CAN) through the gateway. Generally speaking, the communication rate of the signal between CAN-GW-CAN is 500k.

[0042] In addition, the gateway includes a CAN transceiver, a CANIF, a protocol data unit router (PDUR), and a microcontroller unit (MCU). Among them, the MCU is pre-configured with a routing table, which records the signal ID and the network segment information corresponding to the ID. In the embodiment of the present application, the network segment information includes the source address (i.e., the sender of the signal) and the destination address (i.e., the receiver of the signal) of the signal to which the ID belongs.

[0043] Based on the internal structure of the gateway, the gateway can realize the signal routing function, that is, realize the logic of signal routing between CAN-GW-CAN, which can be seen in Figure 2 As shown. Figure 2 In the process, ECU1 transmits a message to the CAN transceiver via PT CAN (the message is the carrier of the signal, Figure 2The ID of the message is set to 0x319), the CAN transceiver transmits the message to PDUR via CANIF, PDUR parses the message and obtains the ID of the message, PDUR queries the network segment information corresponding to the ID of the message from the routing table of the gateway and obtains the PT-BD (that is, the source address of the signal is the PT network segment, and the destination address is the BD network segment), PDUR parses the network segment information and obtains the destination address (that is, the BD network segment), PDUR sends the message and the destination address to the CAN transceiver via CANIF, and the CAN transceiver transmits the message to ECU2 through the BD CAN shown in the destination address.

[0044] Through the implementation logic of the signal routing path mentioned above, the inventor unexpectedly discovered that the signal routing between CAN-GW-CAN can be processed without any processing by the MCU of the gateway. Therefore, the inventor tried to implement the signal routing between any two CANs without the application layer (i.e. Figure 2 In the pre-configured routing table, one or more IDs and the network segment information corresponding to each ID are embedded for signals that may change after the mass production of the car (which can be regarded as signals to be changed). It is surprising to find that after the mass production of the car, there is no need to change the signals to be changed, that is, there is no need to modify the underlying code logic of the gateway, and the signal routing path can be changed, thereby reducing the modification cost of the car.

[0045] like Figure 3 As shown, it is a schematic diagram of a gateway signal change avoidance method provided in an embodiment of the present application, including steps S301-S305.

[0046] In S301, one or more IDs are created in advance, and network segment information corresponding to each ID is generated.

[0047] The number of IDs can be set by the technician according to the actual situation. In addition, the pre-created ID is different from the ID recorded in the routing table of the gateway.

[0048] It should be noted that the network segment information includes a first network segment and a second network segment, the first network segment represents the source address of the signal, and the second network segment represents the destination address of the signal.

[0049] In S302, each ID and the network segment information corresponding to each ID are added to the routing table of the gateway.

[0050] Among them, each ID and the network segment information corresponding to each ID are added to the routing table of the gateway without changing the underlying logic of the gateway.

[0051] In S303, when a signal change instruction from a user is received, an ID whose corresponding network segment information meets a preset condition is selected from each ID as a target ID.

[0052] Among them, the preset condition is: the source address shown in the network segment information is the address of the signal sender shown in the signal change instruction, and the destination address shown in the network segment information is the address of the signal receiver shown in the signal change instruction.

[0053] In S304, the original ID of the message to which the signal to be changed belongs is replaced by the target ID.

[0054] The signal to be changed is the signal indicated by the signal change instruction.

[0055] It should be noted that when it is detected that the message to which the signal to be changed belongs is not set with the original ID, the target ID is used as the ID of the message; or, when it is detected that the message to which the signal to be changed belongs is set with the original ID, the target ID is used to replace the original ID.

[0056] In S305, the control gateway starts a signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information.

[0057] The target network segment information is the network segment information corresponding to the target ID.

[0058] It should be noted that the signal routing process is used to: parse the message to obtain the target ID; query the network segment information corresponding to the target ID from the routing table; identify the network segment information corresponding to the target ID as the target network segment information; and route the message from the signal sender indicated by the signal change instruction to the signal receiver indicated by the signal change instruction based on the source address and destination address shown in the target network segment information.

[0059] Specifically, by reserving a first ID (for example, 0x319, the first ID will only be used when the car is mass-produced and is not currently used) and a second ID (for example, 0x320, the second ID will only be used when the car is mass-produced and is not currently used), the network segment information corresponding to the first ID (marked as the first network segment information, for example, PT-GW-BD, the PT network segment is the first network segment, and the BD network segment is the second network segment), and the network segment information corresponding to the second ID (marked as the second network segment information, for example, BD-GW-PT, the BD network segment is the first network segment, and the PT network segment is the second network segment). Based on the first network segment information and the second network segment information, bidirectional routing between the PT network segment and the BD network segment is realized. In the routing table of the gateway, the first ID, the second ID, the first network segment information, and the second network segment information are added or subtracted. After the car is mass-produced, the user issues a signal change instruction, and the address of the signal sender shown in the signal change instruction is the PT network segment, and the address of the signal receiver is the BD network segment. To this end, when a signal change instruction is received, the control gateway starts the signal routing process and routes the message carrying 0x319 (the message is sent by the signal sender indicated by the signal change instruction) from the PT network segment to the BD network segment, so that the signal receiver indicated by the signal change instruction can receive the message carrying 0x319.

[0060] To sum up, by using the scheme shown in this embodiment, it is possible to change the signal routing path while avoiding changes in the gateway signal. Therefore, after mass production of automobiles, it is possible to effectively reduce the gateway modification work caused by various signal change requirements for enterprise users and reduce the costs caused by gateway signal changes.

[0061] Corresponding to the method for avoiding gateway signal changes provided in the above-mentioned embodiment of the present application, the embodiment of the present application also provides a device for avoiding gateway signal changes.

[0062] like Figure 4 As shown, it is a schematic diagram of the architecture of a gateway signal change avoidance device provided in an embodiment of the present application, including:

[0063] The reservation unit 100 is used to pre-create one or more IDs and generate network segment information corresponding to each ID; the network segment information includes a first network segment and a second network segment; the first network segment represents the source address of the signal; the second network segment represents the destination address of the signal.

[0064] The adding unit 200 is used to add each ID and the network segment information corresponding to each ID to the routing table of the gateway.

[0065] The selection unit 300 is used to select, from each ID, an ID whose corresponding network segment information meets a preset condition as a target ID when receiving a signal change instruction from the user;

[0066] Among them, the preset condition is: the source address shown in the network segment information is the address of the signal sender shown in the signal change instruction, and the destination address shown in the network segment information is the address of the signal receiver shown in the signal change instruction.

[0067] The replacement unit 400 is used to replace the original ID of the message to which the signal to be changed belongs with the target ID; the signal to be changed is the signal indicated by the signal change instruction.

[0068] The replacement unit 400 is specifically used to: when it is detected that the message to which the signal to be changed belongs is not set with the original ID, use the target ID as the message ID; or, when it is detected that the message to which the signal to be changed belongs is set with the original ID, use the target ID to replace the original ID.

[0069] The control unit 500 is used to control the gateway to start the signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information; the target network segment information is the network segment information corresponding to the target ID.

[0070] Among them, the signal routing process is used to: parse the message to obtain the target ID; query the network segment information corresponding to the target ID from the routing table; identify the network segment information corresponding to the target ID as the target network segment information; and route the message from the signal sender indicated by the signal change instruction to the signal receiver indicated by the signal change instruction based on the source address and destination address indicated by the target network segment information.

[0071] To sum up, by using the scheme shown in this embodiment, it is possible to change the signal routing path while avoiding changes in the gateway signal. Therefore, after mass production of automobiles, it is possible to effectively reduce the gateway modification work caused by various signal change requirements for enterprise users and reduce the costs caused by gateway signal changes.

[0072] The present application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the gateway signal change avoidance method provided by the present application.

[0073] The present application also provides a gateway signal change avoidance device, including: a processor, a memory and a bus. The processor and the memory are connected via a bus, the memory is used to store programs, and the processor is used to run programs, wherein when the program is running, the gateway signal change avoidance method provided by the present application is executed, including the following steps:

[0074] Pre-create one or more IDs, and generate network segment information corresponding to each ID; the network segment information includes a first network segment and a second network segment; the first network segment represents the source address of the signal; the second network segment represents the destination address of the signal;

[0075] Add each of the IDs and the network segment information corresponding to each of the IDs to the routing table of the gateway;

[0076] When receiving a signal change instruction from a user, an ID whose corresponding network segment information meets a preset condition is selected from each of the IDs as a target ID;

[0077] Using the target ID, replacing the original ID of the message to which the signal to be changed belongs; the signal to be changed is the signal indicated by the signal change instruction;

[0078] Control the gateway to start a signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information; the target network segment information is the network segment information corresponding to the target ID.

[0079] Optionally, the preset conditions include:

[0080] The source address indicated in the network segment information is the address of the signal sender indicated in the signal change instruction, and the destination address indicated in the network segment information is the address of the signal receiver indicated in the signal change instruction.

[0081] Optionally, controlling the gateway to start a signal routing process so that a message carrying the target ID is routed to a destination address indicated by the target network segment information via a source address indicated by the target network segment information includes:

[0082] Control the gateway to start a signal routing process, the signal routing process is used to: parse the message to obtain the target ID; query the network segment information corresponding to the target ID from the routing table; identify the network segment information corresponding to the target ID as the target network segment information; and route the message from the signal sender indicated by the signal change instruction to the signal receiver indicated by the signal change instruction according to the source address and destination address indicated by the target network segment information.

[0083] Optionally, using the target ID to replace the original ID of the message to which the signal to be changed belongs includes:

[0084] When it is detected that the message to which the signal to be changed belongs is not set with the original ID, the target ID is used as the ID of the message; or, when it is detected that the message to which the signal to be changed belongs is set with the original ID, the target ID is used to replace the original ID.

[0085] If the functions described in the method of the embodiment of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a storage medium readable by a computing device. Based on this understanding, the part of the embodiment of the present application that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computing device (which can be a personal computer, server, mobile computing device or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0086] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0087] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for avoiding gateway signal changes, characterized in that: include: Pre-create one or more IDs and generate network segment information corresponding to each of the IDs; The ID is an ID that is not used by various messages of the vehicle; the network segment information includes a first network segment and a second network segment; the first network segment represents the source address of the signal; The second network segment represents a destination address of the signal; Add each of the IDs and the network segment information corresponding to each of the IDs to the routing table of the gateway; When receiving a signal change instruction from a user, an ID whose corresponding network segment information meets a preset condition is selected from each of the IDs as a target ID; Using the target ID to replace the original ID of the message to which the signal to be changed belongs, including: when it is detected that the message to which the signal to be changed belongs is not set with the original ID, using the target ID as the ID of the message, or when it is detected that the message to which the signal to be changed belongs is set with the original ID, using the target ID to replace the original ID; the signal to be changed is the signal indicated by the signal change instruction; Control the gateway to start a signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information; The target network segment information is the network segment information corresponding to the target ID.

2. The method according to claim 1, characterized in that The preset conditions include: The source address indicated in the network segment information is the address of the signal sender indicated in the signal change instruction, and the destination address indicated in the network segment information is the address of the signal receiver indicated in the signal change instruction.

3. The method according to claim 1, characterized in that The controlling the gateway to start a signal routing process so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information, includes: Control the gateway to start a signal routing process, the signal routing process is used to: parse the message to obtain the target ID; query the network segment information corresponding to the target ID from the routing table; identify the network segment information corresponding to the target ID as the target network segment information; and route the message from the signal sender indicated by the signal change instruction to the signal receiver indicated by the signal change instruction according to the source address and destination address indicated by the target network segment information.

4. A gateway signal change avoidance device, characterized in that: include: A reservation unit, used to pre-create one or more IDs and generate network segment information corresponding to each of the IDs; The ID is an ID that is not used by various messages of the vehicle; the network segment information includes a first network segment and a second network segment; The source address of the first network segment characterization signal; The second network segment represents a destination address of the signal; An adding unit, used to add each of the IDs and the network segment information corresponding to each of the IDs in the routing table of the gateway; A selection unit, configured to select, from among the IDs, an ID whose corresponding network segment information meets a preset condition as a target ID when receiving a signal change instruction from the user; A replacement unit, used to replace the original ID of the message to which the signal to be changed belongs with the target ID; the signal to be changed is the signal indicated by the signal change instruction; The replacement unit is specifically used to: when it is detected that the message to which the signal to be changed belongs is not set with the original ID, use the target ID as the ID of the message, or, when it is detected that the message to which the signal to be changed belongs is set with the original ID, use the target ID to replace the original ID; A control unit, used for controlling the gateway to start a signal routing process, so that the message carrying the target ID is routed to the destination address shown in the target network segment information via the source address shown in the target network segment information; The target network segment information is the network segment information corresponding to the target ID.

5. The device according to claim 4, characterized in that The selection unit is specifically used for: From each of the IDs, select an ID whose corresponding network segment information meets the preset conditions as the target ID; the preset conditions include: the source address shown in the network segment information is the address of the signal sender shown in the signal change instruction, and the destination address shown in the network segment information is the address of the signal receiver shown in the signal change instruction.

6. The device according to claim 4, characterized in that The control unit is specifically used for: Control the gateway to start a signal routing process, the signal routing process is used to: parse the message to obtain the target ID; query the routing table to obtain the network segment information corresponding to the target ID; identify the network segment information corresponding to the target ID as the target network segment information; According to the source address and the destination address indicated by the target network segment information, the message is routed from the signal sender indicated by the signal change instruction to the signal receiver indicated by the signal change instruction.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program, when executed by a processor, executes the method for avoiding gateway signal changes described in any one of claims 1 to 3.

8. A gateway signal change avoidance device, characterized in that: include: processor, memory, and bus; The processor is connected to the memory via the bus; The memory is used to store programs, and the processor is used to run programs, wherein the method for avoiding gateway signal changes described in any one of claims 1 to 3 is executed when the program is run.