CN115801671A - Data forwarding table generation and data forwarding method - Google Patents

Data forwarding table generation and data forwarding method Download PDF

Info

Publication number
CN115801671A
CN115801671A CN202211061409.5A CN202211061409A CN115801671A CN 115801671 A CN115801671 A CN 115801671A CN 202211061409 A CN202211061409 A CN 202211061409A CN 115801671 A CN115801671 A CN 115801671A
Authority
CN
China
Prior art keywords
data forwarding
data
forwarding table
updating
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211061409.5A
Other languages
Chinese (zh)
Inventor
涂少波
朱乾勇
龙政方
邓凌天
陈建伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chengdu Seres Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Seres Technology Co Ltd filed Critical Chengdu Seres Technology Co Ltd
Priority to CN202211061409.5A priority Critical patent/CN115801671A/en
Publication of CN115801671A publication Critical patent/CN115801671A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to a data forwarding table generating and data forwarding method. The method comprises the following steps: and acquiring a data forwarding table to be processed and updating information of access equipment, and updating the data forwarding table to be processed according to the updating information. The method can solve the problem that the adaptation of the access equipment is not facilitated when the network identifier is statically configured.

Description

Data forwarding table generation and data forwarding method
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for generating a data forwarding table and forwarding data, a computer device, and a storage medium.
Background
A Controller Area Network (CAN) is widely used in the field of automobiles as a serial communication Network that effectively supports distributed control or real-time control. However, because of the communication based on the CAN, both the network Identification (ID) and the physical ID used in the data transmission are static configurations, which results in that if a new access device is to be provided in the CAN gateway, the CAN gateway needs to be upgraded to change the original static ID configuration, but the current automobile tends to face the service-oriented intelligent development direction, and the ID configuration is changed in the CAN gateway upgrading manner, which is more complicated and is not beneficial to the development of the automobile intelligence.
Disclosure of Invention
Based on the above, a data forwarding table generation method, a data forwarding table generation device, a data forwarding method, a computer device and a storage medium are provided, so that the problem that adaptation of access equipment is not facilitated during static configuration of network identifiers in the prior art is solved.
In a first aspect, a method for generating a data forwarding table is provided, where the method includes: and acquiring a data forwarding table to be processed and updating information of access equipment, and updating the data forwarding table to be processed according to the updating information.
In one embodiment, acquiring a data forwarding table to be processed and update information of an access device, and updating the data forwarding table to be processed according to the update information includes: acquiring a data frame of the access equipment, and acquiring updating information of the access equipment according to the data frame, wherein the updating information comprises a corresponding relation between a network identifier to be received and a physical identifier to be received; and updating the data forwarding table to be processed according to the corresponding relation.
In one embodiment, updating the to-be-processed data forwarding table according to the correspondence includes: obtaining the configuration information of the access equipment according to the updating information; and judging whether the configuration information is static configuration, if not, updating the data forwarding table to be processed according to the corresponding relation.
In one embodiment, after obtaining the configuration information of the access device according to the update information, the method further includes: judging whether the configuration information supports aging; if not, acquiring an off-line signal of the access equipment, and deleting the corresponding relation according to the off-line signal.
In one embodiment, determining whether the configuration information is static configuration, and if not, updating the to-be-processed data forwarding table according to the corresponding relationship includes: judging whether the configuration information is static configuration, if not, obtaining a corresponding update time threshold according to the configuration information; and periodically updating the data forwarding table to be processed according to the updating time threshold and the corresponding relation.
In a second aspect, a data forwarding method is provided, the method including: and forwarding the data by using the data forwarding table obtained by the data forwarding table generating method to obtain the data to be sent.
In one embodiment, the data forwarding includes: acquiring a network identifier to be received, and acquiring a corresponding physical identifier to be received from a data forwarding table according to the network identifier to be received; and acquiring data to be sent, and forwarding the data to be sent according to the physical identifier to be received.
In one embodiment, acquiring data to be transmitted and forwarding the data to be transmitted according to the physical identifier to be received includes: acquiring data to be sent and a corresponding physical mark to be sent, and comparing whether the indoor mark to be sent and the physical mark to be received are the same; and if not, forwarding the data to be transmitted according to the physical identifier to be received.
In one embodiment, the method for obtaining data to be sent and a corresponding physical identifier to be sent, and comparing whether the identity of the house to be sent and the physical identifier to be received are the same further includes: and if so, discarding the obtained data to be sent.
In another aspect, an apparatus for generating a data forwarding table is provided, where the apparatus includes: and the information updating module is used for acquiring the data forwarding table to be processed and the updating information of the access equipment and updating the data forwarding table to be processed according to the updating information.
In another aspect, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when executing the computer program: and acquiring a data forwarding table to be processed and updating information of access equipment, and updating the data forwarding table to be processed according to the updating information.
In yet another aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of: and acquiring a data forwarding table to be processed and updating information of access equipment, and updating the data forwarding table to be processed according to the updating information.
According to the data forwarding table generating and data forwarding method, the data forwarding table to be processed and the updating information of the access device are obtained, and the data forwarding table to be processed is updated according to the updating information, so that the problem that in a vehicle-mounted CAN network, the embedded software of a CAN gateway needs to be changed to enable the new access device to carry out data communication is solved, and the network identifier adaptability of the access device is improved.
Drawings
FIG. 1 is a diagram of an application environment of a method for generating a data forwarding table in one embodiment;
FIG. 2 is a flow diagram illustrating a method for generating a data forwarding table in one embodiment;
FIG. 3 is a diagram of a CAN network forwarding table in one embodiment;
FIG. 4 is a block diagram illustrating data forwarding according to an embodiment;
FIG. 5 is a block diagram of an apparatus for data forwarding in one embodiment;
FIG. 6 is a diagram of the internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data forwarding table generation method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 and the server 104 communicate over a network. In the application, a data forwarding table to be processed and update information of access equipment CAN be acquired through a server 104, and the data forwarding table to be processed is updated according to the update information. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a method for generating a data forwarding table is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step 201, acquiring a data forwarding table to be processed and update information of the access device, and updating the data forwarding table to be processed according to the update information.
At present, vehicle data is mainly communicated based on a CAN network, but because the network communication ID and network equipment are statically configured during CAN communication, when new equipment is accessed to the CAN network, the ID configuration cannot be updated in real time according to changed IDs for communication, but the CAN gateway needs to be upgraded to identify the IDs, which is not beneficial to data forwarding communication.
In step 201, it is exemplarily illustrated that a data forwarding table to be processed and update information of an access device are obtained, and the data forwarding table to be processed is updated according to the update information, for example, a corresponding data forwarding table may be generated according to a newly accessed CAN device, and the data forwarding table includes a corresponding relationship between a network identifier to be received and a physical identifier to be received, so that when data needs to be sent, a to-be-sent end sends the network identifier to be received to a CAN gateway, and the CAN gateway finds the physical identifier to be received corresponding to the network identifier to be received from the data forwarding table. In some implementation processes, when a CAN device sends a request CAN ID, that is, a network identifier to be received, and a CAN gateway receives the network identifier to be received, corresponding information and a physical identifier to be received are searched in a corresponding data forwarding table, another CAN device in communication with the CAN device CAN be obtained through the physical identifier to be received and the network identifier to be received, and the another CAN device generates a CAN ID for response, that is, a network identifier to be sent, and similarly, the CAN gateway searches information corresponding to the network identifier to be sent in the data forwarding table, and sends data to the CAN device for communication through the searched corresponding information, for example, as shown in fig. 4, an ECUA1 first sends 0x2A to the CAN gateway, and after receiving 0x2A, the CAN gateway finds that the data should be sent to a CAN forwarding table port 2 by searching the CAN network; ECUB1 generates a response CAN ID of 0x1A after receiving the CAN ID of 0x2A, sends the CAN ID of 0x1A to the CAN gateway, the CAN gateway searches a network forwarding table after receiving 0x1A and finds that 0x1A is to be sent to CAN port 1, and CAN port 1 establishes communication with CAN port 2 after receiving 0x1A and forwards the data to CAN port 2 through the CAN gateway. Similarly, the corresponding data can be forwarded to each domain according to the data forwarding table by the method.
As a specific implementation manner of the foregoing embodiment, acquiring a data forwarding table to be processed and update information of an access device, and updating the data forwarding table to be processed according to the update information includes: acquiring a data frame of access equipment, and acquiring updating information of the access equipment according to the data frame, wherein the updating information comprises a corresponding relation between a network identifier to be received and a physical identifier to be received; and updating the data forwarding table to be processed according to the corresponding relation.
It should be noted that the data frame may be a broadcast frame in a CAN network. For example, when a new CAN device is accessed to the CAN gateway, the CAN device may allow the CAN gateway to obtain the network identifier to be received in the form of a broadcast frame of the CAN network, and the CAN gateway may record the corresponding physical identifier to be received through the network identifier to be received, and generate a data forwarding table of the corresponding relationship between the network identifier to be received and the physical identifier to be received. Further, in order to improve the flexibility of updating the CAN ID, a corresponding data forwarding table may be generated by including more configuration information in the data frame, as shown in fig. 3, the data forwarding table may include information such as access time of the CAN device, whether it is aged, whether it supports cross-domain forwarding, whether it is statically configured, and aging time, where whether it is aged to solve whether the corresponding relationship between the CAN device and the CAN ID is deleted under the condition that the access CAN device has dropped; whether cross-domain solution CAN gateway is supported or not is judged whether corresponding CAN ID receiving is opened or not; whether static configuration is supported or not is judged to solve the forwarding requirement whether the CAN ID supports the fixed CAN ID or not; the aging time is the time for updating the corresponding data forwarding table of the CAN equipment, the CAN gateway needs to be notified of the relevant updated access time when the CAN equipment is accessed or at regular time, and if the aging time is reached, the notification is not carried out yet, so that the equipment is marked to be disconnected and does not need to be recorded. In addition, after the CAN gateway receives the data frame, all ports after the port that receives the data frame need to be excluded from forwarding, so that the lower-level CAN gateway CAN record the corresponding CAN ID.
As a specific implementation manner of the foregoing embodiment, updating a data forwarding table to be processed according to a corresponding relationship includes: acquiring configuration information of the access equipment according to the updating information; and judging whether the configuration information is static configuration, and if not, updating the data forwarding table to be processed according to the corresponding relation.
It should be noted that, further, in order to improve the flexibility of updating the CAN ID, more configuration information may be generated through the data frame, as shown in fig. 3, the configuration information may include information such as access time of the CAN device, whether it is aged, whether it supports cross-domain forwarding, whether it is statically configured, and aging time, where whether it is aged to solve whether the corresponding relationship between the CAN device and the CAN ID is deleted under the condition that the access CAN device has been disconnected; whether the cross-domain solution CAN gateway is supported or not is judged whether the corresponding CAN ID is opened or not; whether static configuration is supported or not is judged to solve the forwarding requirement whether the CAN ID supports the fixed CAN ID or not; the aging time is the time for updating the corresponding data forwarding table of the CAN equipment, the CAN gateway needs to be notified of the relevant updated access time when the CAN equipment is accessed or at regular time, and if the aging time is reached, the notification is not carried out yet, so that the equipment is marked to be disconnected and does not need to be recorded. The data forwarding table may include whether the network identifier is statically configured, which determines whether the data forwarding method in the present application is compatible with the previous method for fixedly configuring the CAN ID, and if the data forwarding method is statically configured, the corresponding relationship of the CAN ID of the CAN device does not change, so that the data forwarding table does not need to be updated in real time, but if the data forwarding table is dynamically configured, the data forwarding table corresponding to the CAN device needs to be updated.
As a specific implementation manner of the foregoing embodiment, after obtaining the configuration information of the access device according to the update information, the method further includes: judging whether the configuration information supports aging; if not, acquiring an off-line signal of the access equipment, and deleting the corresponding relation according to the off-line signal.
It should be noted that, further, in order to improve flexibility of updating the CAN ID, a corresponding data forwarding table may be generated by including more configuration information in the data frame, as shown in fig. 3, the data forwarding table may include information such as access time of the CAN device, whether it is aged, whether it supports cross-domain forwarding, whether it is statically configured, and aging time, where whether it is aged to solve whether it is the case that the access CAN device has dropped, the corresponding relationship between the CAN device and the CAN ID is deleted, and if it is supported, the corresponding relationship between the CAN device and the CAN ID is not deleted, and if it is not supported, the corresponding relationship between the CAN device and the CAN ID is deleted.
As a specific implementation manner of the foregoing embodiment, determining whether the configuration information is static configuration, and if not, updating the data forwarding table to be processed according to the corresponding relationship includes: judging whether the configuration information is static configuration, if not, obtaining a corresponding update time threshold according to the configuration information; and according to the update time threshold and the corresponding relation, periodically updating the data forwarding table to be processed.
It should be noted that configuration information, such as aging time, may be added through a data frame, where the aging time may be used as an update time threshold of a data forwarding table of a CAN device, when the CAN device is in a dynamic configuration, the data forwarding table including network identification information needs to be updated, and an update period may be based on the update time threshold, optionally, the aging time may be set to 5 minutes or 10 minutes, where no specific limitation is made here, and when the update time threshold is reached, an update aging time message is sent to update the data forwarding table.
In one embodiment, a data forwarding method is provided, comprising the steps of:
and forwarding the data by using the data forwarding table obtained by the data forwarding table generating method to obtain the data to be sent.
As a specific implementation manner of the foregoing embodiment, performing data forwarding includes: acquiring a network identifier to be received, and acquiring a corresponding physical identifier to be received from a data forwarding table according to the network identifier to be received; and acquiring data to be transmitted, and forwarding the data to be transmitted according to the physical identifier to be received.
The network identification refers to a CAN ID, the physical identification refers to a physical CAN port, namely the network identification to be received refers to a CAN ID of a terminal to be received, the physical identification to be received refers to a physical CAN port of the terminal to be received, the network identification to be sent refers to a CAN ID of a terminal to be sent, and the physical identification to be sent refers to a physical CAN port of the terminal to be sent.
As a specific implementation manner of the foregoing embodiment, acquiring data to be transmitted and forwarding the data to be transmitted according to a physical identifier to be received includes: acquiring data to be sent and a corresponding physical identifier to be sent, and comparing whether the identification in the house to be sent and the physical identifier to be received are the same or not; if not, forwarding the data to be transmitted according to the physical identification to be received.
It should be noted that, the data forwarding includes cross-domain forwarding and co-domain forwarding, whether the data forwarding is the cross-domain forwarding CAN be determined through a physical port where two pieces of CAN equipment performing communication are located, that is, when the physical identifier to be received is different from the physical identifier to be sent, the data forwarding is the cross-domain forwarding, and when the physical identifier to be received is different from the physical identifier to be sent, the data forwarding is the co-domain forwarding, and it is determined that the data forwarding belongs to the cross-domain forwarding or the co-domain forwarding, and accordingly, different data processing modes are provided. The data is forwarded after the corresponding information is searched in the data forwarding table through the CAN gateway.
As a specific implementation manner of the foregoing embodiment, acquiring data to be sent and a corresponding physical identifier to be sent, and comparing whether the identifier in the room to be sent and the physical identifier to be received are the same, the method further includes: and if so, discarding the obtained data to be sent.
It should be noted that, when data is forwarded in the same domain, the data may not be forwarded through the CAN gateway, so that when the CAN gateway forwards the data in the same domain again, secondary reception occurs, which results in a situation of receiving repeated data, in order to avoid repeated reception of the data, it may be determined whether the data is forwarded in the same domain according to whether the physical identifier to be received and the physical identifier to be sent are the same, and when the data is forwarded in the same domain, the CAN gateway discards the received data to be sent, as shown in fig. 4, when the ECU _ A1 and the ECU _ B1 communicate with each other, the data is directly forwarded through the CAN gateway due to cross-domain forwarding, and when the ECU _ C1 and the ECU _ C3 communicate with each other, the data may be directly forwarded through the CAN bus, and therefore, when the CAN gateway finds that the physical ports of the ECU _ C1 and the ECU _ C3 are both CAN ports 3, the CAN gateway discards the data to be sent.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a data forwarding table generating apparatus, including: an information update module, wherein:
and the information updating module is used for acquiring the data forwarding table to be processed and the updating information of the access equipment and updating the data forwarding table to be processed according to the updating information.
Optionally, the information updating module is further configured to collect a data frame of the access device, and obtain update information of the access device according to the data frame, where the update information includes a correspondence between the network identifier to be received and the physical identifier to be received; and updating the data forwarding table to be processed according to the corresponding relation.
Optionally, the information updating module is further configured to obtain configuration information of the access device according to the update information; and judging whether the configuration information is static configuration, and if not, updating the data forwarding table to be processed according to the corresponding relation.
Optionally, the information updating module is further configured to determine whether the configuration information supports aging; if not, acquiring an off-line signal of the access equipment, and deleting the corresponding relation according to the off-line signal.
Optionally, the information updating module is further configured to determine whether the configuration information is static configuration, and if not, obtain a corresponding update time threshold according to the configuration information; and according to the update time threshold and the corresponding relation, periodically updating the data forwarding table to be processed.
For specific limitations of the data forwarding table generating device, reference may be made to the above limitations of the data forwarding method, and details are not described here. The modules in the data forwarding device can be implemented in whole or in part by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of data forwarding. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: and acquiring a data forwarding table to be processed and updating information of the access equipment, and updating the data forwarding table to be processed according to the updating information.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a data frame of access equipment, and acquiring updating information of the access equipment according to the data frame, wherein the updating information comprises a corresponding relation between a network identifier to be received and a physical identifier to be received; and updating the data forwarding table to be processed according to the corresponding relation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring configuration information of the access equipment according to the updating information; and judging whether the configuration information is static configuration, and if not, updating the data forwarding table to be processed according to the corresponding relation.
In one embodiment, the processor when executing the computer program further performs the steps of: judging whether the configuration information supports aging; if not, acquiring an off-line signal of the access equipment, and deleting the corresponding relation according to the off-line signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: judging whether the configuration information is static configuration, if not, obtaining a corresponding update time threshold according to the configuration information; and according to the update time threshold and the corresponding relation, periodically updating the data forwarding table to be processed.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: and acquiring a data forwarding table to be processed and updating information of the access equipment, and updating the data forwarding table to be processed according to the updating information.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a data frame of access equipment, and acquiring updating information of the access equipment according to the data frame, wherein the updating information comprises a corresponding relation between a network identifier to be received and a physical identifier to be received; and updating the data forwarding table to be processed according to the corresponding relation.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring configuration information of the access equipment according to the updating information; and judging whether the configuration information is static configuration, and if not, updating the data forwarding table to be processed according to the corresponding relation.
In one embodiment, the computer program when executed by the processor further performs the steps of: judging whether the configuration information supports aging; if not, acquiring an off-line signal of the access equipment, and deleting the corresponding relation according to the off-line signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: judging whether the configuration information is static configuration, if not, obtaining a corresponding update time threshold according to the configuration information; and according to the update time threshold and the corresponding relation, periodically updating the data forwarding table to be processed.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A method for generating a data forwarding table, comprising:
and acquiring a data forwarding table to be processed and updating information of access equipment, and updating the data forwarding table to be processed according to the updating information.
2. The method for generating a data forwarding table according to claim 1, wherein the step of obtaining a data forwarding table to be processed and update information of an access device, and updating the data forwarding table to be processed according to the update information comprises:
acquiring a data frame of the access equipment, and acquiring update information of the access equipment according to the data frame, wherein the update information comprises a corresponding relation between a network identifier to be received and a physical identifier to be received;
and updating the data forwarding table to be processed according to the corresponding relation.
3. The method for generating a data forwarding table according to claim 2, wherein updating the data forwarding table to be processed according to the correspondence includes:
obtaining the configuration information of the access equipment according to the updating information;
and judging whether the configuration information is static configuration, if not, updating the data forwarding table to be processed according to the corresponding relation.
4. The method for generating a data forwarding table according to claim 3, wherein after obtaining the configuration information of the access device according to the update information, the method further comprises:
judging whether the configuration information supports aging;
if not, acquiring an off-line signal of the access equipment, and deleting the corresponding relation according to the off-line signal.
5. The method for generating a data forwarding table according to claim 3, wherein determining whether the configuration information is static configuration, and if not, updating the data forwarding table to be processed according to the corresponding relationship comprises:
judging whether the configuration information is static configuration, if not, obtaining a corresponding update time threshold according to the configuration information;
and periodically updating the data forwarding table to be processed according to the updating time threshold and the corresponding relation.
6. A method of data forwarding, comprising:
the data forwarding table obtained by the data forwarding table generating method according to any one of claims 1 to 5 is used for data forwarding, and data to be sent is obtained.
7. The data forwarding method of claim 6, wherein performing data forwarding comprises:
acquiring a network identifier to be received, and acquiring a corresponding physical identifier to be received from a data forwarding table according to the network identifier to be received;
and acquiring data to be sent, and forwarding the data to be sent according to the physical identifier to be received.
8. The data forwarding method of claim 7, wherein obtaining data to be sent and forwarding the data to be sent according to the physical identifier to be received comprises:
acquiring data to be sent and a corresponding physical mark to be sent, and comparing whether the indoor mark to be sent and the physical mark to be received are the same;
and if not, forwarding the data to be transmitted according to the physical identifier to be received.
9. The data forwarding method according to claim 8, wherein obtaining data to be sent and a corresponding physical identifier to be sent, and comparing whether the house identifier to be sent and the physical identifier to be received are the same, further comprises:
and if so, discarding the obtained data to be sent.
10. A data forwarding table generating apparatus, comprising:
and the information updating module is used for acquiring the data forwarding table to be processed and the updating information of the access equipment and updating the data forwarding table to be processed according to the updating information.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 5 are implemented when the computer program is executed by the processor.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202211061409.5A 2022-08-31 2022-08-31 Data forwarding table generation and data forwarding method Pending CN115801671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211061409.5A CN115801671A (en) 2022-08-31 2022-08-31 Data forwarding table generation and data forwarding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211061409.5A CN115801671A (en) 2022-08-31 2022-08-31 Data forwarding table generation and data forwarding method

Publications (1)

Publication Number Publication Date
CN115801671A true CN115801671A (en) 2023-03-14

Family

ID=85431656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211061409.5A Pending CN115801671A (en) 2022-08-31 2022-08-31 Data forwarding table generation and data forwarding method

Country Status (1)

Country Link
CN (1) CN115801671A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547149A (en) * 2009-04-20 2009-09-30 浙江大学 Dynamic scheduling method for OSEK COM messages based on CAN network
CN109600350A (en) * 2017-10-03 2019-04-09 李尔公司 System and method for the secure communication between the controller in vehicle network
CN111800344A (en) * 2020-07-08 2020-10-20 深圳市共进电子股份有限公司 Data forwarding method and device, router and readable storage medium
CN112910749A (en) * 2021-01-18 2021-06-04 国汽智控(北京)科技有限公司 CAN channel connection equipment identification method and data transmission method and system
CN114697387A (en) * 2020-12-11 2022-07-01 中国联合网络通信集团有限公司 Data packet transmission method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547149A (en) * 2009-04-20 2009-09-30 浙江大学 Dynamic scheduling method for OSEK COM messages based on CAN network
CN109600350A (en) * 2017-10-03 2019-04-09 李尔公司 System and method for the secure communication between the controller in vehicle network
CN111800344A (en) * 2020-07-08 2020-10-20 深圳市共进电子股份有限公司 Data forwarding method and device, router and readable storage medium
CN114697387A (en) * 2020-12-11 2022-07-01 中国联合网络通信集团有限公司 Data packet transmission method, device and storage medium
CN112910749A (en) * 2021-01-18 2021-06-04 国汽智控(北京)科技有限公司 CAN channel connection equipment identification method and data transmission method and system

Similar Documents

Publication Publication Date Title
CN110008118B (en) Page data testing method and device, computer equipment and storage medium
CN110209652B (en) Data table migration method, device, computer equipment and storage medium
CN108924274B (en) Domain name system DNS processing method and device, storage medium and electronic equipment
US9585022B2 (en) Profile integration management
CN110213392B (en) Data distribution method and device, computer equipment and storage medium
CN110597918A (en) Account management method and device and computer readable storage medium
CN110750267A (en) Service information updating method and device, computer equipment and storage medium
CN107682426B (en) Interface proxy method and application server
CN113940037B (en) Resource subscription method, device, computer equipment and storage medium
CN110602169A (en) Service calling method and device, computer equipment and storage medium
CN110601981A (en) Service routing method, service provider cloud domain and service calling cloud domain
US20210321358A1 (en) Sim card registration method and apparatus, computer device, and storage medium
CN110708247A (en) Message routing method, message routing device, computer equipment and storage medium
CN112527835A (en) Authentication request processing method and device based on cache and related equipment
CN111858588A (en) Distributed application index service platform and data processing method
CN112637338B (en) Method, device, equipment and storage medium for managing node service of Internet of things
CN110933192A (en) Local area network IP address allocation method, device, system and computer equipment
EP3846054A1 (en) Data processing method for security authentication, server, client device, and medium
CN113886496A (en) Data synchronization method and device of block chain, computer equipment and storage medium
CN111159233B (en) Distributed caching method, system, computer equipment and storage medium
CN115801671A (en) Data forwarding table generation and data forwarding method
CN110650132A (en) Access method and device of edge computing node, computer equipment and storage medium
CN107766212B (en) Method and device for determining installation state of application program
CN115599070A (en) Vehicle diagnosis method, system, computer equipment and storage medium
CN115695077A (en) Bus data receiving method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240119

Address after: No. 13 Xingxiang Road, Zengjia Town, High tech Zone, Jiulongpo District, Chongqing, 400039

Applicant after: Chongqing Selis Phoenix Intelligent Innovation Technology Co.,Ltd.

Address before: 610095 No. 2901, floor 29, unit 1, building 1, No. 151, Tianfu Second Street, high tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan Province

Applicant before: Chengdu Thalys Technology Co.,Ltd.

TA01 Transfer of patent application right