Optical network unit point-to-point communication method and system under vehicle-mounted TS-PON
Patent Information
- Application Number
- CN202611266685.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-10-16
AI Technical Summary
[0003]传统TS-PON采用中心调度节点与车载终端单元星型通信模式,所有车载终端单元之间交互数据必须经过中心调度节点二次转发,一方面会产生 3~10ms 非确定传输时延,无法满足自动驾驶微秒级实时传输需求;另一方面中心调度节点成为全网唯一性能瓶颈,多设备并发通信易造成网络拥塞;同时传统架构无法原生支持 SOA 所需的组播服务发现,现有二层交换优化方案会大幅提升协议复杂度,难以适配高实时车载业务
[0009] The technical solution of this invention, by receiving vehicle service data, constructing a global service mapping database, and generating exclusive point-to-point identification data, achieves unified registration of vehicle services and allocation of unique identifiers for communication pairing. This solves the technical problems of devices lacking exclusive identities and being unable to distinguish point-to-point communication flows, achieving the technical effects of accurate matching of interactive devices and native support for SOA service discovery. By allocating bidirectional exclusive time slot resources based on pre-divided standard transmission frames and shadow frames, and switching the physical broadcast mode of the central scheduling node, it solves the technical problems of centralized forwarding of all traffic and lack of isolation of time slot resources in traditional architectures, achieving the technical effects of service transmission resource isolation and eliminating the forwarding bottleneck of the central node. By completing optical signal broadcasting and identifier verification data transmission and reception in exclusive time slots, it avoids the secondary data forwarding process of the central scheduling node, solving the technical problems of high transmission latency and uncertain latency jitter, achieving end-to-end transmission latency reduction. It realizes direct point-to-point communication between vehicle terminal units without the need for central scheduling node relay, is compatible with existing vehicle optical network hardware, and adapts to vehicle SOA full-scenario service interaction.
Smart Images

Figure CN122934121A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle-mounted time-division synchronous passive optical network communication technology, and more particularly to a point-to-point communication method and system for optical network units under vehicle-mounted TS-PON. Background Technology
[0002] This application belongs to the field of TS-PON (Time Synchronous Passive Optical Network) automotive optical network communication technology. Currently, the electronic and electrical architecture of intelligent vehicles is evolving towards a domain-centralized model. The requirements for communication bandwidth and real-time transmission from vehicle-mounted LiDAR, cameras, and other sensing devices are continuously increasing. TS-PON, with its high bandwidth and resistance to electromagnetic interference, has become the backbone communication solution for vehicles. Vehicle software generally adopts SOA (Service Oriented Architecture), which relies on direct point-to-point interaction between devices and multicast service discovery.
[0003] Traditional TS-PON uses a star-shaped communication mode between a central scheduling node and vehicle terminal units. All data exchanged between vehicle terminal units must be forwarded twice through the central scheduling node. On the one hand, this will generate a non-deterministic transmission latency of 3~10ms, which cannot meet the microsecond-level real-time transmission requirements of autonomous driving. On the other hand, the central scheduling node becomes the only performance bottleneck in the entire network, and concurrent communication of multiple devices can easily cause network congestion. At the same time, the traditional architecture cannot natively support the multicast service discovery required by SOA, and the existing Layer 2 switching optimization scheme will significantly increase the protocol complexity, making it difficult to adapt to high real-time vehicle services. Summary of the Invention
[0004] This invention provides a point-to-point communication method and system for optical network units under vehicle-mounted TS-PON, so as to reduce the point-to-point transmission latency between terminals and be natively compatible with multicast and real-time service interaction of vehicle-mounted service-oriented architecture.
[0005] According to one aspect of the present invention, a method for point-to-point communication of optical network units under vehicle-mounted TS-PON is provided, the method comprising: Receive vehicle service data reported by each vehicle terminal unit, construct a global service mapping database based on the vehicle service data, and generate exclusive point-to-point identification data for each group of vehicles with interaction needs corresponding to the vehicle terminal unit. Based on the pre-divided standard transmission frame and reserved shadow frame structure, bidirectional dedicated time slot resources are allocated to the corresponding vehicle terminal unit according to the dedicated point-to-point identification data to obtain time slot allocation scheduling data; wherein, the central scheduling node in the transmission period corresponding to the bidirectional dedicated time slot resources is in physical broadcast working mode. During the transmission period corresponding to the allocated bidirectional dedicated time slot resources, the transmitting end vehicle terminal unit encapsulates service transmission data carrying dedicated point-to-point identification data and completes optical signal transmission. The central scheduling node then performs a network-wide physical broadcast of the optical signal. The receiving vehicle terminal unit verifies the broadcast optical signal based on the locally stored exclusive point-to-point identification data. If the verification matches, it parses the service transmission data and outputs it to the upper-layer vehicle service. If the verification does not match, it discards the broadcast optical signal.
[0006] According to another aspect of the present invention, a point-to-point optical network unit communication system under vehicle-mounted TS-PON is provided, the system comprising: The mapping database construction module is used to receive vehicle service data reported by each vehicle terminal unit, construct a global service mapping database based on the vehicle service data, and generate exclusive point-to-point identification data for each group of vehicles with interaction needs corresponding to the vehicle terminal unit. The time slot allocation and scheduling module is used to allocate bidirectional dedicated time slot resources to the corresponding vehicle terminal unit based on the pre-divided standard transmission frame and reserved shadow frame frame structure and the dedicated point-to-point identification data, thereby obtaining time slot allocation and scheduling data. In the transmission period corresponding to the bidirectional dedicated time slot resources, the central scheduling node is in physical broadcast working mode. The signal broadcast module is used to encapsulate service transmission data carrying exclusive point-to-point identification data and complete optical signal transmission by the transmitting end vehicle terminal unit within the transmission period corresponding to the allocated bidirectional dedicated time slot resources, and the central scheduling node performs network-wide physical broadcast of the optical signal. The verification module is used by the receiving vehicle terminal unit to verify the broadcast optical signal based on the locally stored exclusive point-to-point identification data. If the verification matches, the service transmission data is parsed and output to the upper-layer vehicle service. If the verification does not match, the broadcast optical signal is discarded.
[0007] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and memory that is communicatively connected to at least one processor; The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that at least one processor can execute the point-to-point communication method of optical network unit under vehicle-mounted TS-PON according to any embodiment of the present invention.
[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement the point-to-point communication method of optical network unit under vehicle-mounted TS-PON of any embodiment of the present invention.
[0009] The technical solution of this invention, by receiving vehicle service data, constructing a global service mapping database, and generating exclusive point-to-point identification data, achieves unified registration of vehicle services and allocation of unique identifiers for communication pairing. This solves the technical problems of devices lacking exclusive identities and being unable to distinguish point-to-point communication flows, achieving the technical effects of accurate matching of interactive devices and native support for SOA service discovery. By allocating bidirectional exclusive time slot resources based on pre-divided standard transmission frames and shadow frames, and switching the physical broadcast mode of the central scheduling node, it solves the technical problems of centralized forwarding of all traffic and lack of isolation of time slot resources in traditional architectures, achieving the technical effects of service transmission resource isolation and eliminating the forwarding bottleneck of the central node. By completing optical signal broadcasting and identifier verification data transmission and reception in exclusive time slots, it avoids the secondary data forwarding process of the central scheduling node, solving the technical problems of high transmission latency and uncertain latency jitter, achieving end-to-end transmission latency reduction. It realizes direct point-to-point communication between vehicle terminal units without the need for central scheduling node relay, is compatible with existing vehicle optical network hardware, and adapts to vehicle SOA full-scenario service interaction.
[0010] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 A flowchart illustrating a point-to-point communication method for optical network units under vehicle-mounted TS-PON provided in an embodiment of the present invention; Figure 2 A flowchart illustrating another point-to-point communication method for optical network units under vehicle-mounted TS-PON provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of a point-to-point optical network unit communication system under vehicle-mounted TS-PON provided in an embodiment of the present invention; Figure 4A schematic diagram of the structure of an electronic device for implementing a point-to-point communication method of an optical network unit under a vehicle-mounted TS-PON according to an embodiment of the present invention. Detailed Implementation
[0013] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0014] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0015] Figure 1 This is a flowchart illustrating a point-to-point communication method for optical network units under a vehicle-mounted TS-PON, provided by an embodiment of the present invention. This embodiment is applicable to situations where a time-division synchronous passive optical network is configured and a service-oriented architecture for intelligent vehicle backbone communication is deployed. This method can be executed by a point-to-point communication system for optical network units under a vehicle-mounted TS-PON. This device can be implemented in hardware and / or software, and the system can be configured in a service-oriented software architecture vehicle-mounted domain-centralized electronic communication device. Figure 1 As shown, the method specifically includes the following steps: S110. Receive vehicle service data reported by each vehicle terminal unit, construct a global service mapping database based on the vehicle service data, and generate exclusive point-to-point identification data for each group of vehicles with interaction needs corresponding to the vehicle terminal unit.
[0016] Among them, the vehicle-mounted terminal unit can be understood as an on-board passive optical network terminal device, ONU (Optical Network Unit), used to connect on-board sensing hardware such as LiDAR and cameras, and has the functions of optical signal transmission and reception, service reporting, and message encapsulation and parsing; vehicle-mounted service data can be understood as the software service information carried by the vehicle-mounted terminal unit, including service types such as sensing data output and vehicle body control, service ID (Identity), and service interaction requirements; the global service mapping database can be understood as the table data stored in the central scheduling node, recording the one-to-one correspondence between each vehicle-mounted terminal unit and the on-board services it carries; interaction requirements can be understood as the business requirements for service calls and data transmission between different vehicle-mounted terminal units; and exclusive point-to-point identification data can be understood as the unique matching identity tag data of two paired and interacting vehicle-mounted terminal units, used to distinguish point-to-point communication data streams, corresponding to (Virtual Point-to-Point Identifier).
[0017] Specifically, after all on-board terminal units in the vehicle complete link registration, they proactively report all on-board service data they carry to the central scheduling node. The central scheduling node summarizes all reported on-board service data, organizes and generates a global service mapping database, and fully records the binding relationship between devices and services. When an on-board terminal unit initiates a service discovery request and generates a cross-device data interaction requirement, the central scheduling node retrieves the global service mapping database, locates two groups of on-board terminal units with an interaction pairing relationship, and generates unique exclusive point-to-point identification data for each pairing device to achieve communication flow identity differentiation. The bit length and generation algorithm of the exclusive point-to-point identification data can be preset according to the number of concurrent services in the vehicle. This embodiment does not impose specific numerical limitations on them.
[0018] Optionally, receiving the vehicle service data reported by each vehicle terminal unit includes: when each vehicle terminal unit has completed link registration after powering on, each vehicle terminal unit reports the vehicle service data it carries to the central scheduling node through an extended link control message. The central scheduling node synchronously distributes the global service mapping database to all vehicle-mounted terminal units via extended management messages.
[0019] Among them, the extended link control message (MPCP, Multi-Point Control Protocol) can be understood as an extended control message that adds a service reporting field to the standard PON multi-point control message; the extended management message (OAM, Operation Administration and Maintenance Protocol) can be understood as a management frame that extends the global service mapping table distribution field of the standard network management message.
[0020] Specifically, after each vehicle-mounted terminal unit powers on and completes optical link registration, each vehicle-mounted terminal unit reports its own vehicle service data to the central scheduling node through extended link control messages. After receiving all reported data and constructing a global service mapping database, the central scheduling node synchronously distributes the complete global service mapping database to all vehicle-mounted terminal units in the network through extended management messages. This enables each vehicle-mounted terminal unit to know the binding relationship between all network devices and services in advance, complete the pre-service discovery preparation in advance, and reduce the subsequent point-to-point communication pairing latency.
[0021] Optionally, generating dedicated point-to-point identification data for each group of in-vehicle terminal units with interaction requirements includes at least one of the following methods: The dedicated point-to-point identification data is generated using a fixed bit length; The exclusive point-to-point identifier data is automatically generated based on vehicle service data through hash calculation; The unique point-to-point identification data is generated by combining the inherent link labels of the vehicle-mounted transmission link.
[0022] Specifically, the first method uses a fixed bit length to generate unique point-to-point identification data. The bit length can be 12 bits, 16 bits, 24 bits, 32 bits, etc., and the bit length value can be preset according to the number of concurrent communication devices in the vehicle. Alternatively, unique point-to-point identification data can be automatically generated through hash calculation based on the acquired vehicle service data, eliminating the need for centralized number allocation by the central scheduling node and reducing the main control computing overhead. Or, unique point-to-point identification data can be generated by reusing the inherent link labels of the vehicle transmission link. The link label includes the Ethernet destination MAC (Media Access Control) address and VLAN (Virtual Local Area Network) label. No new dedicated identification field is required, and it is compatible with existing standard Ethernet frame formats. The three generation methods can be implemented individually or in combination, and all can achieve unique identification of paired devices.
[0023] Preferably, the dedicated point-to-point identification data can also adopt various extended allocation schemes: the identification bit length is not limited to 16 bits, and 12 bits, 20 bits, 24 bits, and 32 bits can be selected; distributed negotiation allocation, where paired vehicle terminal units autonomously negotiate to generate dedicated point-to-point identification data, without the need for unified allocation by a central scheduling node; factory pre-allocation scheme, where fixed service-identifier mapping relationships are pre-configured during the equipment's manufacturing stage; and the vehicle's onboard main control equipment replaces the central scheduling node in maintaining the global service mapping database to complete the identification generation and distribution. All of the above methods can achieve unique communication differentiation between paired terminals without changing the overall communication process of this method.
[0024] Optionally, in addition to extending multi-point control messages and operation management and maintenance messages, the control signaling for reporting service data by the vehicle terminal unit and issuing identifiers by the central dispatch node can also include: custom dedicated control messages carrying service registration and identifier issuance information; in-band signaling schemes that embed service data and dedicated point-to-point identifiers into reserved fields of service transmission data frames; and extended link layer discovery protocols that carry vehicle service reporting data and adapt to the existing vehicle Ethernet communication system.
[0025] S120. Based on the pre-divided standard transmission frame and reserved shadow frame structure, allocate bidirectional dedicated time slot resources to the corresponding vehicle terminal unit according to the dedicated point-to-point identification data to obtain time slot allocation scheduling data.
[0026] In this context, the central scheduling node operates in physical broadcast mode during the transmission period corresponding to the bidirectional dedicated time slot resources. The standard transmission frame can be understood as the regular uplink data transmission cycle frame of the TS-PON (Time Synchronous Passive Optical Network) system, used for regular service interaction between the central scheduling node and the vehicle-mounted terminal unit. The shadow frame can be understood as an additional independent transmission interval reserved at the end of the standard uplink transmission frame, specifically used for point-to-point direct transmission services by the vehicle-mounted terminal unit. The frame structure can be understood as the arrangement rules of various time slots and frame intervals within the optical signal transmission cycle. The bidirectional dedicated time slot resources can be understood as a pair of independent transmit and receive time slot windows divided within the shadow frame, allocated only to a pair of paired vehicle-mounted terminal units. The time slot allocation scheduling data can be understood as the time slot allocation record table generated by the central scheduling node, recording the binding relationship between the dedicated point-to-point identification data and the bidirectional dedicated time slot resources. The central scheduling node can be understood as the main control device of the vehicle-mounted optical network, the OLT (Optical Line Terminal). Terminal (optical line terminal) is responsible for global service management, time slot scheduling, and optical signal broadcasting. The physical broadcast working mode can be understood as the central scheduling node only broadcasting the optical signal as is at the physical layer, without parsing, buffering, or forwarding the service payload data.
[0027] Specifically, the system pre-compiles the frame structure division of standard transmission frames and shadow frames. The shadow frames are equally divided into multiple time slot units as basic time slot resources. The central scheduling node reads the generated dedicated point-to-point identification data, retrieves the paired vehicle terminal units, allocates a pair of forward and reverse bidirectional dedicated time slot resources from the basic time slot resource pool, binds the set of identifiers, and generates time slot allocation scheduling data. When the transmission timing enters the time interval corresponding to the bidirectional dedicated time slot resources, the central scheduling node switches to physical broadcast working mode, only transmitting optical signals and not performing traditional store-and-forward operations. The total duration of the shadow frames and the duration of a single time slot unit can be pre-set according to the real-time service traffic of the whole vehicle. This embodiment does not impose specific numerical limitations.
[0028] Optionally, before allocating bidirectional dedicated time slot resources to the corresponding vehicle terminal unit based on the pre-divided standard transmission frame and reserved shadow frame frame structure and obtaining time slot allocation scheduling data according to the dedicated point-to-point identification data, the method further includes: collecting the message transmission and reception frequency and the total number of messages to be transmitted of each vehicle terminal unit to generate real-time vehicle service traffic data; dividing a continuous interval at the end of the standard uplink transmission frame as a shadow frame, and equally dividing the shadow frame into several time slot units as basic time slot resources; adjusting the duration of a single time slot unit based on the real-time vehicle service traffic data, or expanding the time slot resources by combining time division and wavelength division multiplexing.
[0029] Among them, real-time vehicle service traffic data can be understood as the summary data of the message transmission and reception frequency and the total number of messages to be transmitted of each vehicle terminal unit, which are statistically analyzed in real time by the central scheduling node; basic time slot resources can be understood as the set of all time slot units obtained after the shadow frame is equally divided; the combination of time division and wavelength division multiplexing can be understood as allocating independent optical wavelengths to different communication pairs on the basis of time division time slot scheduling, thereby expanding the time slot transmission channel.
[0030] Specifically, before allocating bidirectional dedicated time slot resources, the central scheduling node continuously collects the message transmission and reception frequency and the total number of messages to be transmitted from all vehicle-mounted terminal units across the network, and summarizes and statistically generates real-time vehicle service traffic data. A continuous optical transmission interval is designated as a shadow frame at the end of the standard uplink transmission frame, and the complete shadow frame is equally divided into several time slot units. All time slot units constitute the basic time slot resource pool. The central scheduling node dynamically adjusts the duration of a single time slot unit based on the real-time vehicle service traffic data. When the traffic is high, the time slot is extended, and when the traffic is low, the time slot is shortened. A time-division combined with wavelength-division multiplexing combination scheme can also be used to expand the time slot resource channel and improve the parallel communication carrying capacity. The traffic judgment threshold and the time slot duration adjustment step size can be preset according to the vehicle communication performance requirements. This embodiment does not impose specific limitations.
[0031] Preferably, the shadow time slot resource allocation can also adopt additional extended scheduling schemes: 1. The fixed duration of the shadow time slot unit can be selected as 62.5μs, 125μs, or 250μs, with 125μs being the preferred value in this embodiment; 2. Pure wavelength division multiplexing scheduling, allocating an independent optical wavelength to each group of interactive vehicle terminal units, and achieving point-to-point transmission by relying on physical wavelength isolation; 3. Time division and wavelength division hybrid multiplexing, while utilizing the time slot dimension and wavelength dimension dual-layer isolation to expand the parallel communication capacity.
[0032] It is worth noting that traditional central scheduling node communication forwarding modes include three types, all of which have inherent defects: 1. Store-and-forward mode, which fully receives and buffers all service packets before forwarding, introducing additional buffering latency; 2. Layer 2 switching forwarding, which relies on MAC address switching tables to complete forwarding, resulting in complex protocol logic and difficulty in adapting to high real-time SOA services in vehicles; 3. SDN hardware flow table forwarding, which relies on dedicated flow table chips, leading to high hardware modification costs. This invention adopts a physical layer pass-through broadcast mode, which does not buffer or parse service payloads, eliminating all the defects of the above solutions.
[0033] S130. During the transmission period corresponding to the allocated bidirectional dedicated time slot resources, the transmitting end vehicle terminal unit encapsulates service transmission data carrying dedicated point-to-point identification data and completes the transmission of optical signals. The central scheduling node performs a network-wide physical broadcast of the optical signals.
[0034] Among them, the transmitting end vehicle terminal unit can be understood as a vehicle terminal unit that generates service data and actively initiates transmission in a pair of devices; the service transmission data can be understood as perception and control service messages generated by vehicle SOA (Service Oriented Architecture) services; and the optical signal can be understood as the optical carrier signal for data transmission in the vehicle passive optical network.
[0035] Specifically, after the timing sequence enters the corresponding time period of the allocated bidirectional dedicated time slot resources, the sending end vehicle terminal unit extracts the allocated dedicated point-to-point identification data, encapsulates the identification field into the upper-layer SOA service message header, and generates complete service transmission data; the sending end vehicle terminal unit modulates the encapsulated service transmission data into an optical signal and sends it to the uplink optical path within the dedicated time slot window; after the optical signal is transmitted to the central scheduling node, the central scheduling node broadcasts and distributes the optical signal to all vehicle terminal units in the network as is based on the physical broadcast working mode, without parsing the internal content of the service transmission data throughout the process.
[0036] Optionally, the receiving vehicle terminal unit verifies the broadcast optical signal based on locally stored exclusive point-to-point identification data, including: extracting the identification data to be verified carried by the broadcast optical signal, reading all valid exclusive point-to-point identification data in the local identification storage form; and comparing the identification data to be verified with all valid exclusive point-to-point identification data one by one to verify the broadcast optical signal.
[0037] Among them, the local identifier storage form can be understood as the form cached locally by the receiving vehicle terminal unit, which stores the exclusive point-to-point identifier data issued by the central scheduling node and authorized to be received by itself; the identifier data to be verified can be understood as the exclusive point-to-point identifier encapsulated in the header of the broadcast optical signal message and used for identity comparison.
[0038] Specifically, the receiving vehicle-mounted terminal unit pre-builds a local identifier storage form. Each time the central scheduling node sends out a set of dedicated point-to-point identifier data, the receiving vehicle-mounted terminal unit synchronously updates the local identifier storage form. When receiving a broadcast optical signal, it first extracts the identifier data to be verified carried in the header of the broadcast optical signal message, and reads all the legal dedicated point-to-point identifier data in the local identifier storage form. The extracted identifier data to be verified is compared with all the legal identifiers in the form one by one. The validity of the broadcast optical signal is determined based on the result of whether the comparison is consistent, thus completing the complete verification logic and preventing invalid business data from being transmitted to the upper-layer software.
[0039] Optionally, the sending-end vehicle terminal unit encapsulates service transmission data carrying dedicated point-to-point identification data, including: the sending-end vehicle terminal unit has a built-in protocol adaptation module that performs message encapsulation and conversion operations based on the original message of the upper-layer vehicle service framework and the dedicated point-to-point identification data to generate the service transmission data adapted to the optical fiber transmission link.
[0040] Among them, the protocol adaptation module can be understood as the message conversion hardware / software module built into the sending end vehicle terminal unit, such as the P2 adapter (Virtual Point to Point Adapter); the original message of the upper-layer vehicle service framework can be understood as the original service message output by the vehicle SOA architecture; the optical fiber transmission link can be understood as the physical optical path composed of optical fiber and optical splitter of the vehicle passive optical network.
[0041] Specifically, the sending-end vehicle terminal unit has a built-in protocol adaptation module. The module receives the raw messages output by the upper-layer vehicle service framework and reads the allocated dedicated point-to-point identification data. Based on the raw messages of the upper-layer vehicle service framework and the dedicated point-to-point identification data, it performs a complete message encapsulation and conversion operation, embeds the identification field into the message header, removes redundant fields that are incompatible with fiber optic transmission from the native SOA protocol, and generates service transmission data adapted to the fiber optic transmission link format. This achieves transparent and compatible transmission of the SOA protocol without modifying the upper-layer SOA software code.
[0042] Preferably, in this embodiment, the protocol adaptation module, i.e., the virtual point-to-point adapter, can automatically complete the bidirectional conversion between vehicle service-oriented architecture messages and optical transmission frames with dedicated point-to-point identifiers without modifying the upper-layer SOME / IP-SD multicast service code. It natively adapts to the AUTOSAR Adaptive vehicle real-time communication standard, greatly reducing the amount of middleware software modification and lowering the development cost of migrating existing vehicle SOA services to TS-PON networks.
[0043] S140. The receiving vehicle terminal unit verifies the broadcast optical signal based on the locally stored exclusive point-to-point identification data. If the verification matches, it parses the service transmission data and outputs it to the upper-layer vehicle service. If the verification does not match, it discards the broadcast optical signal.
[0044] Among them, the receiving end vehicle terminal unit can be understood as the vehicle terminal unit in a pair of devices that needs to receive business data and consume services; the locally stored exclusive point-to-point identifier data can be understood as all exclusive point-to-point identifiers that the receiving end vehicle terminal unit has locally cached and authorized to receive; the verification and matching can be understood as the identifier carried by the broadcast optical signal and the locally cached identifier having a consistent item; the upper-layer vehicle services can be understood as the software services such as perception fusion and vehicle control running under the vehicle SOA architecture.
[0045] Specifically, all vehicle-mounted terminal units across the network synchronously receive broadcast optical signals from the central dispatch node. The receiving vehicle-mounted terminal unit extracts the verification identifier data carried in the header of the optical signal message and reads all the dedicated point-to-point identifier data stored locally to complete the comparison. If the verification matches, the receiving vehicle-mounted terminal unit strips the dedicated point-to-point identifier field from the message header, parses the internal business transmission data, and outputs the parsed valid data to the upper-layer vehicle service for use by autonomous driving, body control, and other services. If the verification does not match, the receiving vehicle-mounted terminal unit directly discards the current broadcast optical signal and does not forward invalid messages to the upper layer, saving terminal computing resources.
[0046] It is worth noting that in this embodiment of the invention, a three-layer collaborative execution logic is used to fully realize direct communication between the vehicle terminal unit and the service: the first layer is the service awareness and virtual point-to-point identifier establishment layer, which completes service reporting, global service mapping database construction, and dedicated point-to-point identifier allocation and distribution; the second layer is the shadow time slot scheduling layer, which completes shadow frame division, bidirectional dedicated time slot binding, and central scheduling node physical broadcast mode switching; the third layer is the vehicle terminal unit target awareness and receiving layer, which completes message encapsulation, broadcast optical signal identifier verification, and service data parsing and output. The three layers of logic are linked sequentially, avoiding the OLT secondary forwarding bottleneck without changing the TS-PON physical topology. In addition to the broadcast discovery in this embodiment, the vehicle service discovery mechanism can also be used in conjunction with: a centralized service registration center storing information on service instances across the entire network, with vehicle terminal units actively querying and obtaining interactive pairings; a pre-configured static service mapping table during the vehicle development stage, eliminating the need for dynamic reporting at runtime; and a publish-subscribe message middleware to relay service requests, adapting to multi-domain vehicle asynchronous communication scenarios.
[0047] The technical solution of this invention, by receiving vehicle service data, constructing a global service mapping database, and generating exclusive point-to-point identification data, achieves unified registration of vehicle services and allocation of unique identifiers for communication pairing. This solves the technical problems of devices lacking exclusive identities and being unable to distinguish point-to-point communication flows, achieving the technical effects of accurate matching of interactive devices and native support for SOA service discovery. By allocating bidirectional exclusive time slot resources based on pre-divided standard transmission frames and shadow frames, and switching the physical broadcast mode of the central scheduling node, it solves the technical problems of centralized forwarding of all traffic and lack of isolation of time slot resources in traditional architectures, achieving the technical effects of service transmission resource isolation and eliminating the forwarding bottleneck of the central node. By completing optical signal broadcasting and identifier verification data transmission and reception in exclusive time slots, it avoids the secondary data forwarding process of the central scheduling node, solving the technical problems of high transmission latency and uncertain latency jitter, achieving end-to-end transmission latency reduction. It realizes direct point-to-point communication between vehicle terminal units without the need for central scheduling node relay, is compatible with existing vehicle optical network hardware, and adapts to vehicle SOA full-scenario service interaction.
[0048] Figure 2This is a flowchart of another point-to-point communication method for optical network units under vehicular TS-PON provided by an embodiment of the present invention. Based on the above embodiments, this embodiment is a further optimization of the above embodiments, and its specific implementation can be found in the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here. Optionally, the method further includes: when the service interaction session corresponding to the vehicular terminal unit is completed or the session times out, the vehicular terminal unit sends a resource release command to the central scheduling node; the central scheduling node cancels the corresponding dedicated point-to-point identification data and reclaims the bidirectional dedicated time slot resources, and re-incorporates the reclaimed time slot resources into the time slot resource pool for allocation.
[0049] like Figure 2 As shown, the method specifically includes the following steps: S210. When the service interaction session corresponding to the vehicle terminal unit is completed or the session times out, the vehicle terminal unit sends a resource release instruction to the central scheduling node. The central scheduling node cancels the corresponding dedicated point-to-point identification data and reclaims the bidirectional dedicated time slot resources, and then re-includes the reclaimed time slot resources into the time slot resource pool for allocation.
[0050] Among them, the service interaction session can be understood as a complete business cycle in which a group of paired vehicle terminal units continuously conduct point-to-point data transmission; the resource release instruction can be understood as a time slot and identifier reclamation request message sent by the vehicle terminal unit to the central scheduling node; and the time slot resource pool can be understood as the set of all unallocated and reusable basic time slot resources in the entire network.
[0051] Specifically, when the service interaction session corresponding to the vehicle terminal unit is completed or the session times out, the session timeout threshold can be preset according to the duration of the vehicle service. This embodiment does not impose a specific numerical limit. The vehicle terminal unit that generates data interaction sends a resource release instruction to the central scheduling node. After receiving the resource release instruction, the central scheduling node cancels the dedicated point-to-point identification data corresponding to the current pairing and reclaims the bidirectional dedicated time slot resources previously allocated to the group of devices. The central scheduling node re-includes the reclaimed time slot resources into the time slot resource pool, waiting for the next group of vehicle terminal units that generate interaction needs to allocate and use them.
[0052] The technical solution of this invention achieves proactive reporting of idle communication resources by having the vehicle-mounted terminal unit send a resource release command after the service session ends or times out; avoids invalid identifiers occupying local storage resources of the terminal by having the central scheduling node cancel the corresponding dedicated point-to-point identifier data; and achieves cyclic reuse of time slot resources by having the central scheduling node reclaim bidirectional dedicated time slot resources and re-include the time slot resources in the time slot resource pool. This solves the technical problems of traditional static pre-allocation of time slots, long-term occupation of idle resources, and low utilization rate of time slot resources across the entire network, and achieves the beneficial effects of improving the time slot resource reuse rate of vehicle-mounted optical networks, reducing the upper limit of concurrent communication resource occupation, and reducing the local storage overhead of the terminal.
[0053] The hardware entities corresponding to this communication system include a central dispatch node (OLT, Optical Line Terminal) with a built-in dedicated point-to-point identifier allocation unit, a multi-point control message extension processing unit, an operation management and maintenance message processing unit, and a shadow time slot scheduling unit; vehicle-mounted terminal units (ONUs, Optical Network Units) with built-in local identifier storage forms, virtual point-to-point adapters, optical signal transceiver units, and upper-layer service processing units; the system is also equipped with a passive optical distribution network to complete the optical signal distribution from the central dispatch node to all vehicle-mounted terminal units.
[0054] Figure 3 This is a schematic diagram of a point-to-point optical network unit communication device under a vehicle-mounted TS-PON according to an embodiment of the present invention. Figure 3 As shown, the device includes: a mapping database construction module 310, a time slot allocation and scheduling module 320, a signal broadcasting module 330, and a verification module 340.
[0055] The technical solution of this invention, by receiving vehicle service data, constructing a global service mapping database, and generating exclusive point-to-point identification data, achieves unified registration of vehicle services and allocation of unique identifiers for communication pairing. This solves the technical problems of devices lacking exclusive identities and being unable to distinguish point-to-point communication flows, achieving the technical effects of accurate matching of interactive devices and native support for SOA service discovery. By allocating bidirectional exclusive time slot resources based on pre-divided standard transmission frames and shadow frames, and switching the physical broadcast mode of the central scheduling node, it solves the technical problems of centralized forwarding of all traffic and lack of isolation of time slot resources in traditional architectures, achieving the technical effects of service transmission resource isolation and eliminating the forwarding bottleneck of the central node. By completing optical signal broadcasting and identifier verification data transmission and reception in exclusive time slots, it avoids the secondary data forwarding process of the central scheduling node, solving the technical problems of high transmission latency and uncertain latency jitter, achieving end-to-end transmission latency reduction. It realizes direct point-to-point communication between vehicle terminal units without the need for central scheduling node relay, is compatible with existing vehicle optical network hardware, and adapts to vehicle SOA full-scenario service interaction.
[0056] Optionally, the mapping database construction module 310 is specifically used to include at least one of the following methods for generating dedicated point-to-point identifier data: The first identifier generation unit is used to generate the dedicated point-to-point identifier data using a fixed bit length; The second identifier generation unit is used to automatically generate the exclusive point-to-point identifier data based on vehicle service data through hash calculation; The third identifier generation unit is used to generate the exclusive point-to-point identifier data by reusing the inherent link label combination of the vehicle transmission link.
[0057] Optionally, the system further includes: The real-time data generation module is used to collect the message transmission and reception frequency and the total number of messages to be transmitted of each vehicle terminal unit before the time slot allocation scheduling data is obtained by allocating bidirectional dedicated time slot resources to the corresponding vehicle terminal unit based on the pre-divided standard transmission frame and reserved shadow frame frame structure and dedicated point-to-point identification data. The basic time slot resource determination module is used to divide a continuous interval at the end of the standard uplink transmission frame as a shadow frame, and to equally divide the shadow frame into several time slot units as basic time slot resources. The time slot resource expansion module is used to adjust the duration of a single time slot unit based on the real-time vehicle service traffic data, or to expand time slot resources by combining time division and wavelength division multiplexing.
[0058] Optionally, the mapping database construction module 310 includes: The service data reporting unit is used to report the vehicle service data it carries to the central scheduling node through extended link control messages when each of the vehicle terminal units has completed link registration after power-on. The mapping database distribution unit is used by the central scheduling node to synchronously distribute the global service mapping database to all the vehicle terminal units through extended management messages.
[0059] Optionally, the verification module 340 includes: The identification data reading unit is used to extract the identification data to be verified carried by the broadcast optical signal and read all the valid exclusive point-to-point identification data in the local identification storage form; The verification unit is used to compare the identification data to be verified with all the valid dedicated point-to-point identification data one by one in order to verify the broadcast optical signal.
[0060] Optionally, the signal broadcasting module 330 includes: The transmitting end vehicle terminal unit has a built-in protocol adaptation module that performs message encapsulation and conversion operations based on the original message of the upper-layer vehicle service framework and the dedicated point-to-point identification data to generate the service transmission data adapted to the optical fiber transmission link.
[0061] Optionally, the system further includes: The time slot resource reclamation module is used to send a resource release command to the central scheduling node when the service interaction session corresponding to the vehicle terminal unit is completed or the session times out; the central scheduling node cancels the corresponding dedicated point-to-point identification data and reclaims the bidirectional dedicated time slot resources, and re-incorporates the reclaimed time slot resources into the time slot resource pool for allocation.
[0062] The point-to-point optical network unit communication system under vehicle-mounted TS-PON provided in this embodiment of the invention can execute the point-to-point optical network unit communication method under vehicle-mounted TS-PON provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution.
[0063] Figure 4 This is a schematic diagram of the structure of an electronic device for implementing the point-to-point communication method of an optical network unit under a vehicle-mounted TS-PON according to an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0064] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0065] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0066] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as point-to-point communication of optical network units under onboard TS-PON.
[0067] In some embodiments, the optical network unit point-to-point communication method under vehicle-mounted TS-PON can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the optical network unit point-to-point communication method under vehicle-mounted TS-PON described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the optical network unit point-to-point communication method under vehicle-mounted TS-PON by any other suitable means (e.g., by means of firmware).
[0068] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0069] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0070] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0071] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0072] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0073] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0074] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0075] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A point-to-point communication method for optical network units under vehicle-mounted TS-PON, characterized in that, include: Receive vehicle service data reported by each vehicle terminal unit, construct a global service mapping database based on the vehicle service data, and generate exclusive point-to-point identification data for each group of vehicles with interaction needs corresponding to the vehicle terminal unit. Based on the pre-divided standard transmission frame and reserved shadow frame structure, bidirectional dedicated time slot resources are allocated to the corresponding vehicle terminal unit according to the dedicated point-to-point identification data to obtain time slot allocation scheduling data. Among them, the central scheduling node in the transmission period corresponding to the bidirectional dedicated time slot resources is in physical broadcast working mode. During the transmission period corresponding to the allocated bidirectional dedicated time slot resources, the transmitting end vehicle terminal unit encapsulates service transmission data carrying dedicated point-to-point identification data and completes optical signal transmission, and the central scheduling node performs network-wide physical broadcast of the optical signal. The receiving vehicle terminal unit verifies the broadcast optical signal based on the locally stored exclusive point-to-point identification data. If the verification matches, it parses the service transmission data and outputs it to the upper-layer vehicle service. If the verification does not match, it discards the broadcast optical signal.
2. The method according to claim 1, characterized in that, The generation of unique point-to-point identifier data for each group of in-vehicle terminal units with interaction requirements includes at least one of the following methods: The dedicated point-to-point identification data is generated using a fixed bit length; The exclusive point-to-point identifier data is automatically generated based on vehicle service data through hash calculation; The unique point-to-point identification data is generated by combining the inherent link labels of the vehicle-mounted transmission link.
3. The method according to claim 1, characterized in that, Before obtaining the time slot allocation scheduling data by allocating bidirectional dedicated time slot resources to the corresponding vehicle terminal unit based on the pre-divided standard transmission frame and reserved shadow frame frame structure and dedicated point-to-point identification data, the following steps are also included: Collect the message transmission and reception frequency and the total number of messages to be transmitted of each vehicle terminal unit to generate real-time vehicle service traffic data; A continuous interval is divided at the end of the standard uplink transmission frame as a shadow frame, and the shadow frame is equally divided into several time slot units as basic time slot resources. The duration of a single time slot unit can be adjusted based on the real-time vehicle service traffic data, or time slot resources can be expanded by combining time division and wavelength division multiplexing.
4. The method according to claim 1, characterized in that, The receipt of vehicle service data reported by each vehicle terminal unit includes: When each of the vehicle-mounted terminal units has completed link registration after power-on, each of the vehicle-mounted terminal units reports the vehicle service data it carries to the central scheduling node through extended link control messages; The central scheduling node synchronously distributes the global service mapping database to all vehicle-mounted terminal units via extended management messages.
5. The method according to claim 1, characterized in that, The receiving vehicle-mounted terminal unit verifies the broadcast optical signal based on locally stored dedicated point-to-point identification data, including: Extract the identification data to be verified carried by the broadcast optical signal, and read all the valid exclusive point-to-point identification data in the local identification storage form; The broadcast optical signal is verified by comparing the identification data to be verified with all the valid dedicated point-to-point identification data one by one.
6. The method according to claim 1, characterized in that, The transmitting end vehicle terminal unit encapsulates service transmission data carrying dedicated point-to-point identification data, including: The transmitting end vehicle terminal unit has a built-in protocol adaptation module that performs message encapsulation and conversion operations based on the original message of the upper-layer vehicle service framework and the dedicated point-to-point identification data to generate the service transmission data adapted to the optical fiber transmission link.
7. The method according to claim 1, characterized in that, Also includes: When the service interaction session corresponding to the vehicle terminal unit is completed or the session times out, the vehicle terminal unit sends a resource release command to the central scheduling node. The central scheduling node cancels the corresponding dedicated point-to-point identification data and reclaims the bidirectional dedicated time slot resources, and then re-includes the reclaimed time slot resources into the time slot resource pool for allocation.
8. A point-to-point optical network unit communication system under vehicle-mounted TS-PON, characterized in that, include: The mapping database construction module is used to receive vehicle service data reported by each vehicle terminal unit, construct a global service mapping database based on the vehicle service data, and generate exclusive point-to-point identification data for each group of vehicles with interaction needs corresponding to the vehicle terminal unit. The time slot allocation and scheduling module is used to allocate bidirectional dedicated time slot resources to the corresponding vehicle terminal unit based on the pre-divided standard transmission frame and reserved shadow frame frame structure and the dedicated point-to-point identification data, thereby obtaining time slot allocation and scheduling data. In the transmission period corresponding to the bidirectional dedicated time slot resources, the central scheduling node is in physical broadcast working mode. The signal broadcast module is used to encapsulate service transmission data carrying exclusive point-to-point identification data and complete optical signal transmission by the transmitting end vehicle terminal unit within the transmission period corresponding to the allocated bidirectional dedicated time slot resources, and the central scheduling node performs network-wide physical broadcast of the optical signal. The verification module is used by the receiving vehicle terminal unit to verify the broadcast optical signal based on the locally stored exclusive point-to-point identification data. If the verification matches, the service transmission data is parsed and output to the upper-layer vehicle service. If the verification does not match, the broadcast optical signal is discarded.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the point-to-point optical network unit communication method under vehicle-mounted TS-PON as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the point-to-point communication method of optical network unit under vehicle-mounted TS-PON as described in any one of claims 1-7.