Traffic scheduling method, apparatus, device, storage medium, and program product
Patent Information
- Application Number
- CN202511363241.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-23
- Publication Date
- 2026-10-13
- Estimated Expiration
- 2045-09-23
AI Technical Summary
[0005]本发明提供一种流量调度方法、装置、设备、存储介质及程序产品,用以解决单波长车载PON网络时分复用无法满足不同数据差异化QoS需求的问题,能够实现多波长调度,保障高优先级数据传输
[0011]本发明提供的流量调度方法、装置、设备、存储介质及程序产品,由于可以根据预设映射关系为网络中传输的车载报文数据添加调度标签,并根据所述优先级标识确定车载报文数据的处理优先级,根据所述波长标识确定车载报文数据的传输路径,因此可以使高服务质量需求的车载数据获得更高的处理优先级,避免其在传输过程中因低优先级数据占用资源而产生时延与抖动,从而精准满足车载场景下不同优先级数据的差异化QoS需求,保障智能驾驶核心数据的实时性与可靠性。
Smart Images

Figure CN121239629B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission technology, and in particular to a traffic scheduling method, apparatus, device, storage medium, and program product. Background Technology
[0002] In the development of intelligent driving in automobiles, in-vehicle networks need to transmit various types of data, such as LiDAR data, camera video data, and Advanced Driving Assistance Systems Control Flow (ADAS Control Flow). Different types of data have significantly different requirements for communication service quality (QoS), such as communication latency and packet loss rate. For example, data such as emergency braking and steering control in Autonomous Emergency Braking (AEB) have the highest QoS requirements, followed by window control and battery management data, and then panoramic surround view video and Over-The-Air (OTA) technology data. Against this background, building a reliable in-vehicle network platform that can meet the differentiated communication needs of various types of data has become a key issue in promoting the implementation of intelligent driving technology.
[0003] Passive Optical Network (PON) networks have a high bandwidth advantage, and the use of optical fiber connections can avoid electromagnetic interference from high-speed electrical signals. At the same time, their tree structure can achieve natural isolation between communication nodes of each Optical Network Unit (ONU), avoiding the carrier sensing and collision detection problems of communication nodes in Ethernet, thus greatly improving communication security and efficiency. Therefore, they show good application prospects in the field of vehicle communication.
[0004] Currently, vehicular passive optical networks (PONs) mostly adopt a single-wavelength architecture, using time-division multiple access (TDMA) and dynamic bandwidth allocation technology to manage time slots and ensure QoS for various types of data. However, this TDMA-based solution has inherent limitations: when faced with sudden bursts of traffic common in vehicular networks (such as sudden safety warning data transmission needs), it cannot effectively control communication latency and jitter, making it difficult to meet the transmission requirements of data with extremely high QoS requirements, such as AEB emergency braking and steering control. This makes it difficult for single-wavelength PON networks to adapt to the differentiated communication guarantee needs of different priority data in vehicular scenarios, thus hindering their further application in the field of intelligent driving. Summary of the Invention
[0005] This invention provides a traffic scheduling method, apparatus, device, storage medium, and program product to solve the problem that time-division multiplexing in single-wavelength vehicle-mounted PON networks cannot meet the differentiated QoS requirements of different data, and can realize multi-wavelength scheduling to ensure high-priority data transmission.
[0006] This invention provides a traffic scheduling method, comprising: adding scheduling tags to vehicular message data transmitted in a network according to a preset mapping relationship, wherein the scheduling tags include wavelength identifiers and priority identifiers; determining the processing priority of the vehicular message data according to the priority identifiers; and determining the transmission path of the vehicular message data according to the wavelength identifiers; wherein the preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers, and the level of the priority identifier is positively correlated with the quality of service requirements of the vehicular message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
[0007] The present invention also provides a traffic scheduling device, comprising the following modules: an adding module and a processing module; the adding module is used to add scheduling tags to vehicular message data transmitted in the network according to a preset mapping relationship, the scheduling tags including wavelength identifiers and priority identifiers; the processing module is used to determine the processing priority of the vehicular message data according to the priority identifiers and to determine the transmission path of the vehicular message data according to the wavelength identifiers; wherein, the preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers, and the level of the priority identifier is positively correlated with the quality of service requirements of the vehicular message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
[0008] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the traffic scheduling methods described above.
[0009] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the traffic scheduling method as described above.
[0010] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements any of the traffic scheduling methods described above.
[0011] The traffic scheduling method, apparatus, device, storage medium, and program product provided by this invention can add scheduling tags to vehicle-mounted message data transmitted in the network according to a preset mapping relationship, determine the processing priority of vehicle-mounted message data according to the priority identifier, and determine the transmission path of vehicle-mounted message data according to the wavelength identifier. Therefore, vehicle-mounted data with high service quality requirements can obtain higher processing priority, avoiding latency and jitter caused by low-priority data occupying resources during transmission. This accurately meets the differentiated QoS requirements of different priority data in vehicle-mounted scenarios and ensures the real-time performance and reliability of core data for intelligent driving. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0013] Figure 1 This is a flowchart illustrating the traffic scheduling method provided by the present invention; Figure 2 This is a schematic diagram of the multi-wavelength vehicle-mounted passive optical network structure provided by the present invention; Figure 3 This is a schematic diagram of the traffic scheduling device provided by the present invention; Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0014] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions 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, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0015] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0016] It should be noted that, in this document, 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 that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0017] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.
[0018] This application describes some exemplary embodiments for illustrative purposes. It should be understood that this application may be implemented in other ways not specifically shown in the accompanying drawings.
[0019] The multi-wavelength vehicle-mounted passive optical network in this application embodiment may include an optical line terminal (OLT), an optical wavelength splitter (AWG), and multiple optical network units (ONUs); the OLT aggregates multiple pairs of uplink and downlink wavelengths through the AWG, and the multiple ONUs are matched with the corresponding wavelengths in the multiple pairs of uplink and downlink wavelengths and are respectively connected to different vehicle-mounted data nodes.
[0020] The wavelengths in the multi-wavelength vehicle-mounted passive optical network include dedicated wavelengths and shared wavelengths, and the priority identification level corresponding to the dedicated wavelengths is higher than that corresponding to the shared wavelengths.
[0021] Specifically, such as Figure 1As shown, a multi-wavelength vehicle-mounted passive optical network can include an optical line terminal (OLT), an optical wavelength splitter (AWG), an optical brancher, and four optical network units (ONUs), namely ONU1, ONU2, ONU3, and ONU4. The OLT can be connected to the AWG through a backbone fiber, and the AWG performs aggregation and splitting of three pairs of uplink and downlink wavelengths (i.e., wavelength 1, wavelength 2, and wavelength 3, each wavelength containing uplink and downlink paired channels). Each ONU connects to different vehicle-mounted data nodes (cameras, LiDAR, safety sensors, etc.), and communication between the ONUs and the vehicle-mounted data nodes can be achieved through an Ethernet data interface.
[0022] like Figure 1 As shown, the OLT can have a built-in switching module and a PON module, and in some scenarios, it includes a Dynamic Bandwidth Allocation (DBA) module. The switching module and the PON module have a "1:N" connection relationship, that is, the switching module has only 1 port for uplink and N ports for downlink corresponding to the PON module.
[0023] The PON module is used to map scheduling tags. Each wavelength corresponds to one PON port. All PON ports are aggregated to the switching module, and traffic scheduling is completed through scheduling tags.
[0024] The switching module is used to undertake core scheduling functions, scheduling vehicle message data based on priority identifiers, solving the bandwidth allocation problem under "1:N" connection, and ensuring the priority transmission of high QoS data.
[0025] The DBA module is adapted to traditional Time Division Multiple Access (TDMA) scenarios. For the shared wavelength mode of wavelength 1, it serves as a secondary QoS guarantee module, working with TDMA to achieve dynamic bandwidth allocation and optimize resource utilization for data with low QoS requirements.
[0026] like Figure 1 As shown, three pairs of wavelength scheduling tags can be pre-configured on the OLT. The priority tags of wavelength 2 and wavelength 3 can be configured as high-level. Wavelength 2 corresponds to the Automatic Emergency Braking (AEB) system, wavelength 3 corresponds to the Electronic Stability Program (ESP), and the priority tag of wavelength 1 (corresponding to camera 1 and camera 2) can be configured as low-level. Priority differentiation ensures the transmission priority of data with high safety requirements.
[0027] It should be noted that the authorization process for ONU1, ONU2, ONU3, and ONU4 can be completed on the OLT. Only authorized ONUs can access the network through the corresponding wavelength, thereby ensuring the security of in-vehicle data transmission and the controllability of network access.
[0028] like Figure 1 As shown, this application provides a traffic scheduling method applied to the aforementioned multi-wavelength vehicular passive optical network. The execution entity of this traffic scheduling method can be a traffic scheduling device. The traffic scheduling method may include steps S101-S102: S101. The traffic scheduling device adds scheduling tags to the vehicle message data transmitted in the network according to a preset mapping relationship. The scheduling tags include wavelength identifiers and priority identifiers.
[0029] The aforementioned preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers. The priority identifier level is positively correlated with the quality of service requirements of the vehicle message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
[0030] Optionally, the vehicle-mounted message data includes uplink message data; the traffic scheduling device adds scheduling tags to the vehicle-mounted message data transmitted in the network according to a preset mapping relationship, including: adding scheduling tags to the uplink message data according to the optical wavelength splitter port corresponding to the uplink message data and the preset mapping relationship.
[0031] Specifically, when the uplink message data of the vehicle data node enters the PON module through the AWG port, since the optical wavelength splitter port is fixed and the wavelength corresponding to the optical wavelength splitter port is also fixed, the traffic scheduling device can add wavelength identifiers and priority identifiers to the uplink message data according to the optical wavelength splitter port and the preset mapping relationship.
[0032] It should be noted that the association (i.e., the preset mapping relationship) between the scheduling tag and the optical wavelength splitter port is pre-configured according to user needs. Wavelengths that are expected to be forwarded first should be configured with high priority, otherwise they should be configured with low priority.
[0033] Optionally, the vehicle-mounted message data includes downlink message data; the traffic scheduling device adds scheduling tags to the vehicle-mounted message data transmitted in the network according to a preset mapping relationship, including: adding scheduling tags to the downlink message data according to the network identifier of the downlink message data and the preset mapping relationship; wherein, the network identifier includes a media access control address and a virtual local area network identifier, used to locate the target receiving device of the downlink message data, and the target receiving device has a corresponding relationship with the optical wavelength splitter port.
[0034] Specifically, after the downlink packet data enters the switching module, the traffic scheduling device can find the corresponding target receiving device based on the Media Access Control Address (MAC) and Virtual Local Area Network (VLAN) identifier. After determining the target receiving device, the optical wavelength splitter port and wavelength can be determined accordingly. Then, based on the preset mapping relationship, the scheduling tag is determined and the scheduling tag is added to the downlink packet data.
[0035] S102. The traffic scheduling device determines the processing priority of the vehicle message data according to the priority identifier and determines the transmission path of the vehicle message data according to the wavelength identifier.
[0036] Optionally, the priority identifier can be divided into 8 priorities, represented by 0-7 respectively. The switching module can use 8 queues to cache data of 8 priorities respectively, and forward the higher priority data first to ensure QoS requirements.
[0037] Optionally, after determining the transmission path of the vehicle message data based on the wavelength identifier, the traffic scheduling device can remove the scheduling tag from the vehicle message data.
[0038] Specifically, after uplink packet data with added scheduling tags enters the interaction module, the traffic scheduling device can parse and record the correspondence between the scheduling tags and network identifiers through the interaction module, and perform DBA scheduling according to the priority identifiers. High-priority packets are forwarded first, while low-priority packets are buffered for forwarding. After the packet leaves the switching module, the scheduling tag can be cleared, and it becomes a standard Ethernet packet for processing by relevant devices.
[0039] When downlink data carrying a scheduling tag enters the PON module, the PON module can parse the wavelength identifier in the tag, match the corresponding optical wavelength splitter (AWG) port and transmission wavelength based on the wavelength identifier, clear the scheduling tag, and accurately send the downlink data to the target optical network unit (ONU) through the matched AWG port and wavelength.
[0040] In this embodiment, since scheduling tags can be added to the vehicle message data transmitted in the network according to a preset mapping relationship, and the processing priority of the vehicle message data can be determined according to the priority identifier, and the transmission path of the vehicle message data can be determined according to the wavelength identifier, vehicle data with high service quality requirements can obtain higher processing priority, avoiding latency and jitter caused by low-priority data occupying resources during transmission. This accurately meets the differentiated QoS requirements of different priority data in vehicle scenarios and ensures the real-time performance and reliability of core intelligent driving data.
[0041] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0042] The traffic scheduling method provided in this application can be executed by a traffic scheduling device or a control module for traffic scheduling within that device. This application uses the example of a traffic scheduling device executing the traffic scheduling method to illustrate the traffic scheduling device provided in this application.
[0043] It should be noted that the embodiments of this application can divide the traffic scheduling device into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. Optionally, the module division in the embodiments of this application is illustrative and is only a logical functional division; other division methods may be used in actual implementation.
[0044] like Figure 3 As shown in the figure, this application embodiment provides a traffic scheduling device 300. The traffic scheduling device 300 includes an adding module 301 and a processing module 302. The adding module 301 can be used to add scheduling tags to vehicular message data transmitted in the network according to a preset mapping relationship. The scheduling tags include wavelength identifiers and priority identifiers. The processing module 302 can be used to determine the processing priority of the vehicular message data according to the priority identifier and determine the transmission path of the vehicular message data according to the wavelength identifier. The preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers. The priority identifier level is positively correlated with the quality of service requirements of the vehicular message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
[0045] Optionally, the vehicle-mounted message data includes uplink message data; the adding module 301 is used to add a scheduling tag to the uplink message data according to the optical wavelength splitter port corresponding to the uplink message data and the preset mapping relationship.
[0046] Optionally, the vehicle-mounted message data includes downlink message data; the adding module 301 is used to add a scheduling tag to the downlink message data according to the network identifier of the downlink message data and the preset mapping relationship; wherein, the network identifier includes a media access control address and a virtual local area network identifier, used to locate the target receiving device of the downlink message data, and the target receiving device has a corresponding relationship with the optical wavelength splitter port.
[0047] Optionally, after determining the transmission path of the vehicle message data based on the wavelength identifier, the processing module 302 can be used to remove the scheduling tag from the vehicle message data.
[0048] Optionally, the multi-wavelength vehicle-mounted passive optical network includes an optical line terminal (OLT), an optical wavelength splitter (AWG), and multiple optical network units (ONUs); the OLT aggregates multiple pairs of uplink and downlink wavelengths through the AWG, and the multiple ONUs are matched with corresponding wavelengths in the multiple pairs of uplink and downlink wavelengths and are respectively connected to different vehicle-mounted data nodes.
[0049] Optionally, the wavelengths in the multi-wavelength vehicle-mounted passive optical network include dedicated wavelengths and shared wavelengths, and the priority identification level corresponding to the dedicated wavelengths is higher than the priority identification level corresponding to the shared wavelengths.
[0050] In this embodiment, since scheduling tags can be added to the vehicle message data transmitted in the network according to a preset mapping relationship, and the processing priority of the vehicle message data can be determined according to the priority identifier, and the transmission path of the vehicle message data can be determined according to the wavelength identifier, vehicle data with high service quality requirements can obtain higher processing priority, avoiding latency and jitter caused by low-priority data occupying resources during transmission. This accurately meets the differentiated QoS requirements of different priority data in vehicle scenarios and ensures the real-time performance and reliability of core intelligent driving data.
[0051] Figure 4 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 4As shown, the electronic device may include a processor 410, a communications interface 420, a memory 430, and a communication bus 440. The processor 410, communications interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute a traffic scheduling method. This method includes: adding scheduling tags to vehicular message data transmitted in the network according to a preset mapping relationship; the scheduling tags include wavelength identifiers and priority identifiers; determining the processing priority of the vehicular message data according to the priority identifiers; and determining the transmission path of the vehicular message data according to the wavelength identifiers. The preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers. The priority identifier level is positively correlated with the quality of service requirements of the vehicular message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
[0052] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a 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 the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0053] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the traffic scheduling method provided by the above methods. The method includes: adding scheduling tags to vehicular message data transmitted in the network according to a preset mapping relationship, wherein the scheduling tags include wavelength identifiers and priority identifiers; determining the processing priority of the vehicular message data according to the priority identifiers; and determining the transmission path of the vehicular message data according to the wavelength identifiers. The preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers, wherein the level of the priority identifier is positively correlated with the quality of service requirements of the vehicular message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
[0054] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the traffic scheduling method provided by the above methods. The method includes: adding scheduling tags to vehicular message data transmitted in the network according to a preset mapping relationship, the scheduling tags including wavelength identifiers and priority identifiers; determining the processing priority of the vehicular message data according to the priority identifiers; and determining the transmission path of the vehicular message data according to the wavelength identifiers. The preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers, and the priority identifier level is positively correlated with the quality of service requirements of the vehicular message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
[0055] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0056] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0057] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A traffic scheduling method, characterized in that, The method, applied to multi-wavelength automotive passive optical networks, includes: According to a preset mapping relationship, a scheduling tag is added to the vehicle message data transmitted in the network. The scheduling tag includes a wavelength identifier and a priority identifier. The processing priority of the vehicle message data is determined according to the priority identifier, and the transmission path of the vehicle message data is determined according to the wavelength identifier. The preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers. The priority identifier level is positively correlated with the quality of service requirements of the vehicle message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
2. The traffic scheduling method according to claim 1, characterized in that, The vehicle-mounted message data includes uplink message data; the step of adding scheduling tags to the vehicle-mounted message data transmitted in the network according to a preset mapping relationship includes: Based on the optical wavelength splitter port corresponding to the uplink message data and the preset mapping relationship, a scheduling tag is added to the uplink message data.
3. The traffic scheduling method according to claim 1, characterized in that, The vehicle-mounted message data includes downlink message data; the step of adding scheduling tags to the vehicle-mounted message data transmitted in the network according to a preset mapping relationship includes: Based on the network identifier of the downlink message data and the preset mapping relationship, a scheduling tag is added to the downlink message data; The network identifier includes a media access control address and a virtual local area network identifier, which are used to locate the target receiving device of the downlink packet data. The target receiving device has a corresponding relationship with the optical wavelength splitter port.
4. The traffic scheduling method according to claim 1, characterized in that, After determining the transmission path of the vehicle-mounted message data based on the wavelength identifier, the method further includes: Remove the scheduling tag from the vehicle message data.
5. The traffic scheduling method according to claim 1, characterized in that, The multi-wavelength vehicle-mounted passive optical network includes an optical line terminal (OLT), an optical wavelength splitter (AWG), and multiple optical network units (ONUs). The OLT aggregates multiple pairs of uplink and downlink wavelengths through the AWG, and the multiple ONUs are matched with the corresponding wavelengths in the multiple pairs of uplink and downlink wavelengths and are respectively connected to different vehicle-mounted data nodes.
6. The traffic scheduling method according to claim 1 or 5, characterized in that, The wavelengths in the multi-wavelength vehicle-mounted passive optical network include dedicated wavelengths and shared wavelengths, and the priority identification level corresponding to the dedicated wavelengths is higher than that corresponding to the shared wavelengths.
7. A flow scheduling device, characterized in that, include: Add modules and process modules; The adding module is used to add scheduling tags to the vehicle message data transmitted in the network according to a preset mapping relationship. The scheduling tags include wavelength identifiers and priority identifiers. The processing module is used to determine the processing priority of the vehicle message data according to the priority identifier and to determine the transmission path of the vehicle message data according to the wavelength identifier. The preset mapping relationship is a pre-configured correspondence between optical wavelength splitter ports, wavelength identifiers, and priority identifiers. The priority identifier level is positively correlated with the quality of service requirements of the vehicle message data transmitted through the corresponding optical wavelength splitter port and wavelength identifier.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the traffic scheduling method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the traffic scheduling method as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the traffic scheduling method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method of distributing wavelength channels in passive optical network, optical line terminal and system
CN106331904A
Method and System for Allocating Wavelength Channels in Passive Optical Network, and Optical Line Terminal
US20180367235A1