A time-sensitive network verification device, method, apparatus, system and medium

Through the combination of integrated module and switching module, the verification mode is determined based on configuration information, which solves the problem of poor universality of time-sensitive network verification equipment, and realizes rapid verification in various scenarios, reducing resource waste and verification time.

CN115913960BActive Publication Date: 2024-12-10BEIJING CHJ AUTOMOTIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111013384.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-08-02
Filing Date
2021-08-31
Publication Date
2024-12-10
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

The poor universality of existing time-sensitive network verification equipment leads to the need for multiple equipment in different scenarios, resulting in waste of human and material resources and long verification time.

Method used

It provides a time-sensitive network verification device. Through the combination of integrated module and switching module, the verification mode is determined based on configuration information, and verification is realized in multiple scenarios, reducing device selection steps and improving verification speed.

Benefits of technology

It realizes universality of verification in various scenarios, reduces waste of human and material resources, improves verification speed, and simplifies operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115913960B_ABST
    Figure CN115913960B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a time-sensitive network verification device, method, apparatus, system and medium. The verification device includes an integrated module and a switching module. The integrated module includes a first processor and an Ethernet controller. The first processor and the Ethernet controller are connected via a device interface. The Ethernet controller includes an Ethernet interface, wherein the Ethernet interface has the properties of a time-sensitive network. The switching module includes a second processor and multiple Ethernet interfaces. The integrated module and the switching module are connected via the Ethernet interface. The verification device provided by the present disclosure has strong universality. It can verify a time-sensitive network based on different modes of a verification device. It does not require relevant personnel to select the device. It has a wide range of application scenarios, effectively reduces the waste of human and material resources, and can also speed up the verification of the time-sensitive network and reduce the verification time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a time-sensitive network authentication device, method, apparatus, system and medium. Background Art

[0002] At present, Time Sensitive Network (TSN) based on automotive Ethernet has gradually become a research focus. Time Sensitive Ethernet can accurately transmit data while ensuring the transmission bandwidth. Therefore, time-sensitive network verification equipment that can be quickly built and accurately verified is needed.

[0003] At present, time-sensitive network verification requires a variety of devices with different functions. Because the requirements of various time-sensitive network protocols are different and the application scenarios are different, the required equipment is also different. Therefore, relevant developers are required to conduct product research and selection on existing related equipment to determine the equipment for time-sensitive network verification under different requirements. The operation is cumbersome and easily causes waste of human and material resources. In addition, the universality of relevant verification equipment is relatively poor. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a time-sensitive network verification device, method, apparatus, system and medium. The verification device has good universality. By controlling the mode of the verification device, the verification device can be applied in a variety of scenarios, effectively reducing the waste of manpower and material resources.

[0005] In a first aspect, an embodiment of the present disclosure provides a time-sensitive network verification device, the verification device comprising an integration module and a switching module;

[0006] The integrated module includes a first processor and an Ethernet controller, the first processor and the Ethernet controller are connected via a device interface, the Ethernet controller includes an Ethernet interface, wherein the Ethernet interface has the attribute of a time-sensitive network;

[0007] The switching module includes a second processor and a plurality of Ethernet interfaces, and the integrated module and the switching module are connected via the Ethernet interfaces.

[0008] Optionally, the first processor is used to configure the integrated module and is also used to generate, receive, save and send data;

[0009] The second processor is used to configure the switching module and to generate, receive, store and send data.

[0010] In a second aspect, an embodiment of the present disclosure provides a time-sensitive network verification method, which is applied to the above verification device, and the method includes:

[0011] receiving a control instruction, wherein the control instruction includes configuration information of the verification device;

[0012] Determine the verification mode of the verification device according to the configuration information of the verification device;

[0013] In verification mode, the time-sensitive network is verified.

[0014] Optionally, determining a verification mode of the verification device according to configuration information of the verification device includes:

[0015] If the first processor configures the integrated module according to the configuration information, and the second processor configures the switching module according to the configuration information, determining that the verification mode of the verification device is the sending mode;

[0016] If only the second processor configures the switching module according to the configuration information, determining that the verification mode of the verification device is a forwarding mode;

[0017] If the first processor configures the integrated module according to the configuration information, and the switching module is controlled by the configured integrated module, it is determined that the verification mode of the verification device is the receiving mode.

[0018] In a third aspect, an embodiment of the present disclosure provides a time-sensitive network verification device, including:

[0019] A receiving unit, used to receive a control instruction, wherein the control instruction includes configuration information of the verification device;

[0020] A determination unit, configured to determine a verification mode of the verification device according to configuration information of the verification device;

[0021] The verification unit is used to verify the time sensitive network in the verification mode.

[0022] In a fourth aspect, an embodiment of the present disclosure provides a time-sensitive network authentication system, the authentication system comprising a plurality of authentication devices as described above; data is transmitted between the plurality of authentication devices via an Ethernet interface;

[0023] Multiple verification devices are configured into different verification modes through the above-mentioned time-sensitive network verification method, wherein the first verification device among the multiple verification devices is configured into the sending mode, the second verification device among the multiple verification devices is configured into the forwarding mode, and the third verification device among the multiple verification devices is configured into the receiving mode.

[0024] In a fifth aspect, an embodiment of the present disclosure provides a time-sensitive network verification method, which is applied to the above-mentioned time-sensitive network verification system, and the method includes:

[0025] The first verification device sends the generated first time data to the second verification device;

[0026] The second verification device performs time synchronization according to the first time data, and sends the generated second time data to the third verification device;

[0027] The third verification device performs time synchronization according to the second time data.

[0028] Optionally, the first verification device includes a first integration module and a first switching module; the first verification device sends the generated first time data to the second verification device, including:

[0029] The first integrated module sends the generated first time data to the first switching module; the first switching module performs time synchronization according to the first time data, and sends the updated first time data to the second verification device.

[0030] Optionally, the second verification device includes a second exchange module; the second verification device performs time synchronization according to the first time data, and sends the generated second time data to the third verification device, including:

[0031] The second exchange module performs time synchronization according to the updated first time data, and sends the generated second time data to the third verification device.

[0032] Optionally, the third verification device includes a third integration module and a third switching module; the third verification device performs time synchronization according to the second time data, including:

[0033] The third integration module controls the third switching module to perform time synchronization according to the second time data.

[0034] In a sixth aspect, an embodiment of the present disclosure provides an electronic device, including:

[0035] Memory;

[0036] Processor; and

[0037] Computer programs;

[0038] The computer program is stored in the memory and is configured to be executed by the processor to implement the time-sensitive network authentication method as described above.

[0039] In a seventh aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the time-sensitive network verification method as described above are implemented.

[0040] The embodiments of the present disclosure provide a time-sensitive network verification device, method, apparatus, system and medium, wherein the verification device includes an integrated module and a switching module, the integrated module includes a first processor and an Ethernet controller, the first processor and the Ethernet controller are connected via a device interface, the Ethernet controller includes an Ethernet interface, wherein the Ethernet interface has the properties of a time-sensitive network; the switching module includes a second processor and multiple Ethernet interfaces, the integrated module and the switching module are connected via the Ethernet interface. The verification device provided by the embodiments of the present disclosure has strong universality, and can verify time-sensitive networks in different modes of the verification device, does not require relevant personnel to select the device, has a wide range of application scenarios, effectively reduces the waste of human and material resources, and can also speed up the verification of time-sensitive networks and reduce verification time. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0043] Figure 1 A schematic diagram of the structure of a time-sensitive network verification device provided by an embodiment of the present disclosure;

[0044] Figure 2 A schematic diagram of a flow chart of a time-sensitive network verification method provided by an embodiment of the present disclosure;

[0045] Figure 3 A schematic diagram of a flow chart of a time-sensitive network verification method provided by an embodiment of the present disclosure;

[0046] Figure 4 A schematic diagram of the structure of a time-sensitive network verification system provided by an embodiment of the present disclosure;

[0047] Figure 5 A schematic diagram of a flow chart of a time-sensitive network verification method provided by an embodiment of the present disclosure;

[0048] Figure 6 A schematic diagram of the structure of a time-sensitive network verification system provided by an embodiment of the present disclosure;

[0049] Figure 7 A schematic diagram of the structure of another time-sensitive network authentication system provided by an embodiment of the present disclosure;

[0050] Figure 8 A schematic diagram of the structure of a time-sensitive network verification device provided by an embodiment of the present disclosure;

[0051] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0052] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0053] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0054] Specifically, in the automotive field, time-sensitive networks based on in-vehicle Ethernet have gradually become a research focus. Compared with the traditional controller area network (CAN) as an Ethernet bus, time-sensitive networks not only guarantee the network bandwidth in data transmission, but also guarantee the timing, delay and reliability of data transmission. Therefore, in order to support the planning of future vehicle body electronic and electrical architecture, it is necessary to quickly build and complete the verification of time-sensitive networks. For the verification of time-sensitive networks, at least the following should be included: a traffic generation module, which is used to generate and send data packets according to demand; an end node device with time-sensitive network characteristics, which is used to participate in the time synchronization and data scheduling of the time-sensitive network; a bridge node device with time-sensitive network characteristics, which is used to participate in the time synchronization, data scheduling, data forwarding, etc. of the time-sensitive network; a traffic analysis module, which is used to capture data packets and analyze traffic scheduling results. Through the combination of the above modules and devices, the verification of time synchronization, gate scheduling, frame preemption, frame replication and elimination, frame filtering and other functions defined in the time-sensitive network protocol is completed. However, due to the different functions to be implemented by the end node and the bridge node, two different devices are usually required to implement the functions of the end node and the bridge node, and relevant personnel need to determine the selection of the end node and the bridge node according to the scene requirements, that is, when performing time-sensitive network verification, a variety of different devices need to be used, which is very likely to cause a waste of manpower and material resources, and is time-consuming, and is not convenient for fast and accurate verification of time-sensitive networks in different scenarios. Therefore, in view of the above problems, the time-sensitive network verification device provided by the present disclosure is explained through one or more of the following embodiments.

[0055] Specifically, time synchronization is mainly achieved based on the defined master clock and slave clock. The data of the master clock is transmitted through the master clock interface, and the data of the slave clock is transmitted through the slave clock interface. The master clock refers to the generated time data as the time source, and the slave clock is synchronized with the current time data generated by the master clock.

[0056] Specifically, the time-sensitive network in the embodiments of the present disclosure may be a standard defined by the Institute of Electrical and Electronics Engineers (IEEE) Time Sensitive Network (TSN), for example, may be an IEEE 802.1 protocol.

[0057] Figure 1 The schematic diagram is a structural diagram of a time-sensitive network authentication device provided in an embodiment of the present disclosure. The authentication device 100 includes an integration module 110 and a switching module 120 .

[0058] It can be understood that the integrated module 110 can specifically be an integrated circuit or an integrated chip (System on Chip, SoC), in which all or most components of a computer or other electronic system are integrated, including a central processing unit (CPU), memory, input / output ports and secondary storage, and usually also including other components such as a radio modem and a graphics processing unit (GPU). The specific selection of the integrated module is not limited, and it only needs to have the above-mentioned functions.

[0059] It is understandable that the switching module 120 can specifically be an Ethernet switch (Ethernet Switch), also known as a switching hub, a bridging hub, or a bridge, which is a type of network hardware that receives and forwards data to a destination device through packet switching, thereby connecting devices on a computer network.

[0060] The integrated module 110 includes a first processor 111 and an Ethernet controller 112 . The Ethernet controller 112 includes an Ethernet interface 113 . The first processor 111 and the Ethernet controller 112 are connected via a device interface, wherein the Ethernet interface has the attribute of a time-sensitive network.

[0061] Optionally, the first processor is used to configure the integrated module, and is also used to generate, receive, save and send data.

[0062] It can be understood that the integrated module 110 includes a first processor 111 and an Ethernet controller 112; the first processor 111 can be a CPU, and an operating system (Linux operating system) can be run in the first processor 111. The first processor 111 can realize functions such as generating and sending data traffic, which is equivalent to the traffic generation module in the above-mentioned verification system, and can be used to generate and transmit time data, and can also realize traffic capture and storage, which is equivalent to the above-mentioned traffic analysis module, capturing and saving time data; the Ethernet controller 112 is also called an Ethernet adapter, specifically a network card, and the Ethernet controller 112 supports time-sensitive networks, that is, it has time-sensitive network characteristics. The Ethernet controller 112 also includes an Ethernet interface 113, which serves as an interface for time-sensitive network networking and is used for data transmission.

[0063] The switching module 120 includes a second processor 121 and a plurality of Ethernet interfaces 122 to 126 . The integrated module 110 and the switching module 120 are connected via the Ethernet interface 113 and the Ethernet interface 122 .

[0064] Optionally, the second processor is used to configure the switching module, and is also used to generate, receive, save and send data.

[0065] It can be understood that the switching module 120 includes a second processor 121 and multiple Ethernet interfaces 122 to 126. The second processor 121 can have the same functions as the first processor 111, and can realize functions such as generating and sending data traffic, and can also realize functions such as capturing and saving traffic; multiple Ethernet interfaces 122 to 126 have the properties of time-sensitive networks, and are used to carry and forward data packets in data transmission, and according to the configuration rules of the second processor 121, schedule, preempt, copy, filter and other operations on the data packets. The specific configuration rules can be determined according to the verification requirements in the current scenario, and the function of each Ethernet interface can be further determined according to the configuration rules, for example, as a transmission interface or a sending interface.

[0066] For example, see Figure 1, the switching module 120 includes 5 Ethernet interfaces. According to the configuration rules of the second processor 121, the Ethernet interface 122 can be used to receive data transmitted by the integrated module 110, that is, the integrated module 110 transmits data to the Ethernet interface 122 through the Ethernet interface 113, completing the data transmission between the integrated module 110 and the switching module 120; the Ethernet interface 123 and the Ethernet interface 124 can also be used as data receiving interfaces (slave clock interfaces) to receive data transmitted by other verification devices, and the Ethernet interface 125 and the Ethernet interface 126 can be used as sending interfaces (master clock interfaces) to transmit the time data generated by the second processor 121 to other verification devices; wherein, the number of Ethernet interfaces included in the switching module 120 can be determined according to the address (IP) of the time-sensitive network switch (switching module 120) actually used.

[0067] A time-sensitive network verification device provided by the embodiment of the present disclosure integrates an integration module and a switching module into one verification device. The mode of the verification device can be configured to achieve different functions according to the scenario requirements of the time-sensitive network verification, thereby reducing the operation steps for selecting the device, reducing the loss of manpower and material resources, and further accelerating the speed of verifying the time-sensitive network and reducing the verification time.

[0068] Figure 2 The flowchart of a time-sensitive network verification method provided by an embodiment of the present disclosure is as follows. Based on the above embodiment, the time-sensitive network verification method is described based on the verification device 100, including: Figure 2 The following steps S210 to S230 are shown:

[0069] S210: Receive a control instruction, where the control instruction includes configuration information of the verification device.

[0070] It is understandable that the verification device receives control instructions, which include configuration information of the verification device, wherein the control instructions may be issued by a terminal connected to the verification device, and the terminal sends the generated control instructions to the verification device. The control instructions may be generated by the terminal according to the target requirements of the time-sensitive network to be verified.

[0071] Understandably, the terminal obtains the target requirements of the time-sensitive network that has been built and is to be verified. The target requirements may include the protocol of the time-sensitive network application and the number of verification devices required for verification, etc. Different target requirements can be obtained according to different scenarios. Subsequently, a control instruction is generated according to the obtained target requirements, wherein the control instruction includes configuration information of the verification device, that is, information for configuring the integrated module and the switching module in the verification device. The configuration information may specifically include whether the integrated module and the switching module are in normal working state, whether they can participate in the networking of the time-sensitive network for data transmission, and the functions to be implemented by each Ethernet interface, etc.

[0072] S220: Determine a verification mode of the verification device according to configuration information of the verification device.

[0073] It is understandable that, based on the above S210, the verification device is configured according to the configuration information of the verification device in the control instruction, and then the verification mode of the verification device is determined, and the verification device can implement different functions in different modes. For example, a mode of the verification device can be configured to implement time synchronization and data scheduling, and the verification device in this mode is equivalent to the above-mentioned end node device; or another mode of the verification device can be configured to implement time synchronization, data scheduling and data forwarding, etc., and the verification device in this mode is equivalent to the above-mentioned bridge node device.

[0074] S230: In the verification mode, verify the time-sensitive network.

[0075] It can be understood that on the basis of the above S220, using the configured verification device, in each mode of the verification device, the time-sensitive network is verified in accordance with the devices based on different functions in the above-mentioned prior art, and various functions defined in the time-sensitive network are verified. That is, in a determined mode of the verification device, functions such as time synchronization and data scheduling are realized through the time-sensitive network, that is, different modes are configured for the same verification device to assume the functions of the device required in the time-sensitive network verification.

[0076] A time-sensitive network verification method provided by the embodiment of the present disclosure is applied to the above-mentioned verification device. The verification device receives a control instruction and determines a verification mode through the control instruction. In the verification mode, the time-sensitive network is verified. The verification of a time-sensitive network can be realized based on a verification device. By configuring the same verification device to assume different functions in the time-sensitive network verification, it can be applied to a variety of application scenarios, has strong universality, and does not require relevant personnel to conduct research and selection of equipment, saving a lot of manpower and material resources, and is easy to operate, further improving the verification speed.

[0077] Based on the above embodiment, optionally, the verification mode of the verification device is determined according to the configuration information of the verification device, specifically including: Figure 3 The following steps S310 to S330 are shown:

[0078] S310: If the first processor configures the integrated module according to the configuration information, and the second processor configures the switching module according to the configuration information, it is determined that the verification mode of the verification device is the sending mode.

[0079] It can be understood that the first processor in the integrated module in the verification device is used to configure the integrated module, and the second processor in the switching module in the verification device is used to configure the switching module. The configured integrated module and the configured switching module jointly determine the verification mode of the entire verification device.

[0080] It is understandable that the first processor configures the first integrated module according to the configuration information, and the second processor configures the switching module according to the configuration information. After the configuration is completed, the verification mode of the verification device is determined to be the sending mode; that is, the integrated module is configured to be in a working state, and time data can be generated and transmitted to the switching module; at the same time, the switching module is also configured to be in a working state, and time synchronization and time data can be sent to other verification devices (verification devices whose verification mode is the forwarding mode). The above configuration rules put the verification device in the sending mode. Among them, the sending mode can realize the functions of the traffic generation module, and can also perform functions such as time synchronization, data scheduling and data forwarding, that is, it undertakes the work of both the end node and the bridge node.

[0081] S320: If only the second processor configures the switching module according to the configuration information, determine that the verification mode of the verification device is a forwarding mode.

[0082] It is understandable that the first processor in the integrated module in the verification device does not configure the integrated module, that is, the second integrated module is in a non-working state. It can also be understood that the configuration information of the control instruction does not include information for configuring the integrated module; at the same time, the second processor configures the switching module according to the configuration information, that is, the second switching module is configured to a working state, which can realize the functions of time synchronization and data forwarding; according to the above configuration rules, the verification mode of the verification device is determined to be a forwarding mode, and the verification device in the forwarding mode can realize functions such as data reception and data forwarding, that is, it undertakes the work of a bridge node.

[0083] S330: If the first processor configures the integrated module according to the configuration information, and the switching module is controlled by the configured integrated module, it is determined that the verification mode of the verification device is a receiving mode.

[0084] It can be understood that the first processor in the integrated module in the verification device configures the integrated module and configures the integrated module to a working state. Then the configured integrated module configures the switching module, that is, the integrated module controls the switching module to transmit data. The switching module can be regarded as an internal component of the integrated module. The above configuration rules put the verification device in a receiving mode. The verification device in the receiving mode can be called a third verification device; the receiving mode mainly refers to receiving time data and performing time synchronization according to the received time data, that is, undertaking the work of the end node.

[0085] A time-sensitive network verification method provided by the embodiment of the present disclosure can determine the verification mode of the verification device through control instructions, and complete the verification of the time-sensitive network in the mode corresponding to each verification device. The verification speed is relatively fast, and the structure of each verification device is the same. It only needs to determine the mode of each verification device according to the control instruction. Different modes realize different functions. For time-sensitive network verification in various scenarios, there is no need to conduct equipment research and selection, which can reduce the waste of human and material resources and has strong universality.

[0086] Based on the above embodiments, Figure 4 This is a schematic diagram of the structure of a time-sensitive network authentication system provided by an embodiment of the present disclosure. The authentication system 400 may include multiple authentication devices 100 described above, and data is transmitted between the multiple authentication devices via an Ethernet interface.

[0087] Multiple verification devices are configured into different verification modes through the above-mentioned time-sensitive network verification method, wherein the first verification device among the multiple verification devices is configured into the sending mode, the second verification device among the multiple verification devices is configured into the forwarding mode, and the third verification device among the multiple verification devices is configured into the receiving mode.

[0088] It is understandable that the modes of the first verification device, the second verification device, and the third verification device can be configured into different modes according to application requirements. For example, the first verification device can be configured into a forwarding mode, the second verification device can be configured into a receiving mode, and the third verification device can be configured into a sending mode through the configuration information in the control instruction. Among them, the number of verification devices included in the time-sensitive network verification in the verification system is at least 3, and the 3 verification devices need to be configured into a sending mode, a forwarding mode, and a receiving mode, respectively. After meeting the requirements of the verification system defined above, the specific mode and quantity of each verification device configuration can be determined according to user requirements.

[0089] Understandable, Figure 4 The verification system 400 can determine the number of verification devices 100 required to be used according to the requirements of time-sensitive network verification in different scenarios.

[0090] For example, see Figure 4 , the verification system 400 for verifying the time-sensitive network includes three verification devices. In order to facilitate the distinction of the modes configured by the verification devices, the first verification device, the second verification device and the third verification device are used for illustration, which are the first verification device 410, the second verification device 420 and the third verification device 430 respectively, and each of them represents a verification mode, wherein the three verification devices have the same structure as the above-mentioned verification device 100, and the first verification device 410, the second verification device 420 and the third verification device 430 are respectively configured into different modes through the above-mentioned time-sensitive network verification method for verifying the time-sensitive network, wherein the first verification device 410 in the verification system 400 is configured into a sending mode, the second verification device 420 is configured into a forwarding mode, and the third verification device 430 is configured into a receiving mode.

[0091] Understandable, Figure 4 The first verification device 410 (a verification device whose verification mode is a sending mode) includes a first integrated module 411 and a first switching module 414. The first verification device 410 is configured as a sending mode through the above-mentioned time-sensitive network verification method, wherein the first integrated module 411 is in a working state, and the working state refers to an application participating in a time-sensitive network, that is, data can be transmitted in a time-sensitive network. The internal transmission of the first processor 412 specifically includes: the first processor 412 generates time data and transmits the time data to the Ethernet controller 413, and then the Ethernet controller 413 transmits the time data to the first switching module 414, and then the first switching module 414 generates time data and transmits it to the second verification device 420, wherein the second verification device 420 is equivalent to a verification device whose verification mode is a forwarding mode.

[0092] Understandable, Figure 4 The second verification device 420 in the embodiment includes a second switching module 421. According to the configuration rule configured as the forwarding mode, the second integrated module in the second verification device 420 is not used and is in a non-working state. Figure 4 The internal transmission of the second verification device 420 specifically includes: the second verification device 420 receives the time data sent by the first verification device 410, performs time synchronization according to the time data, the second processor 422 generates the time data, and sends the generated time data to the third verification device 430.

[0093] Understandable, Figure 4The third verification device 430 (the verification mode is the receiving mode) includes a third integrated module 431 and a third switching module 434. The internal transmission of the third verification device 430 specifically includes: the third integrated module 431 controls the third switching module 434 to receive the time data sent by the second verification device 420, and performs time synchronization according to the time data. The dotted line in the figure indicates that the first processor 432 sends configuration information to the second processor 435, and the configuration information can be transmitted by the Ethernet interface.

[0094] A time-sensitive network verification system provided by an embodiment of the present disclosure includes a plurality of the above-mentioned verification devices 100. By configuring each verification device, each verification device has different functions. Under the premise of meeting the verification requirements, the verification of the time-sensitive network can be achieved quickly and accurately through data transmission between the verification devices, and there is no need to select the device. The operation is simple and easy to implement.

[0095] Based on the above embodiments, Figure 5 A time-sensitive network verification method provided in an embodiment of the present disclosure is applied to the verification system 400, specifically comprising: Figure 5 The following steps S510 to S530 are shown:

[0096] S510: The first verification device sends the generated first time data to the second verification device.

[0097] Optionally, the first verification device sends the generated first time data to the second verification device, specifically including: the first integration module sends the generated first time data to the first switching module; the first switching module performs time synchronization according to the first time data, and sends the updated first time data to the second verification device.

[0098] It can be understood that the first integrated module in the first verification device (the verification device whose verification mode is the sending mode) generates the first time data. Specifically, the first processor in the first integrated module generates the first time data, and transmits the first time data to the first switching module through the Ethernet interface of the Ethernet controller; the first switching module receives the first time data through the Ethernet interface, and performs time synchronization according to the first time data. After completing the time synchronization, it generates updated first time data, and transmits the updated first time data to the second verification device (the verification device whose verification mode is the forwarding mode) through the Ethernet interface.

[0099] For example, see Figure 6, the verification mode of the first verification device 610 is the sending mode. In the sending mode, the first processor 513 in the first integrated module 611 generates the first time data, and transmits the first time data to the Ethernet interface 616 in the switching module 612 through the Ethernet interface 615 in the Ethernet controller 614; the Ethernet interface 616 in the switching module 612 receives the first time data, and performs time synchronization according to the first time data. After the time synchronization is completed, the second processor 617 generates the updated first time data, and transmits the updated first time data to the Ethernet interface 623 in the second sub-verification device 620 through the Ethernet interface 618. Among them, the remaining Ethernet interfaces in the first verification device 610, the second verification device 620 and the third verification device 630 are not performing data transmission for the time being.

[0100] S520: The second verification device performs time synchronization according to the first time data, and sends the generated second time data to the third verification device.

[0101] Optionally, the second verification device performs time synchronization and sends the generated second time data to the third verification device, specifically including: the second exchange module performs time synchronization according to the updated first time data, and sends the generated second time data to the third verification device.

[0102] It can be understood that based on the above S510, after determining that the second verification device is in forwarding mode, the second switching module in the second verification device performs time synchronization according to the received updated first time data. After completing the time synchronization, the second switching module generates second time data and sends the second time data to the third verification device (the verification device whose verification mode is receiving mode) through the Ethernet interface.

[0103] For example, see Figure 6 The second verification device 620 is in forwarding mode. In this forwarding mode, the second switching module 621 receives the updated first time data transmitted by the Ethernet interface 618 in the first verification device 610 through the Ethernet interface 623, and performs time synchronization according to the updated first time data. After the second switching module 621 completes the time synchronization, the second processor 622 generates the second time data and sends the second time data to the third verification device 630 (the verification device in the receiving mode) through the Ethernet interface 624.

[0104] S530: The third verification device performs time synchronization according to the second time data.

[0105] Optionally, the third verification device performs time synchronization according to the second time data, specifically including: the third integration module controls the third switching module to perform time synchronization according to the second time data.

[0106] It can be understood that, based on the above S520, in the forwarding mode of the third verification device, the third integrated module in the third verification device controls the Ethernet interface in the third switching module to receive the second time data transmitted by the second verification device, and the third integrated module and the third switching module perform time synchronization according to the second time data.

[0107] For example, see Figure 6 The third integrated module 631 in the third verification device 630 controls the Ethernet interface 638 in the third switching module 635 to receive the second time data transmitted by the Ethernet interface 624 in the second verification device 620. The third integrated module 631 and the third switching module 635 perform time synchronization according to the second time data. The third integrated module 631 transmits configuration information to the third switching module 635 through the Ethernet interface 634 in the Ethernet controller 633. The configuration information is used to control the third switching module 635 to perform time synchronization and data reception. The Ethernet interface 636 in the third switching module 635 receives the configuration information transmitted by the Ethernet interface 634. That is, the Ethernet interface 636 and the Ethernet interface 634 are internal interfaces and do not have the properties of time-sensitive Ethernet. They are only used for internal data communication. The Ethernet interface included in the third switching module 635 has the properties of time-sensitive Ethernet and can be used in the networking of time-sensitive networks.

[0108] The embodiment of the present disclosure provides a time-sensitive network verification method, which completes the verification of the time-sensitive network by configuring the mode of each verification device and in the mode corresponding to each verification device, a first verification device generates first time data and sends the first time data to a second verification device, and then the second verification device performs time synchronization according to the first time data. After the time synchronization is completed, the second time data is generated and sent to a third verification device, and the third verification device performs time synchronization according to the second time data to complete the verification of the time-sensitive network. By configuring different modes for each verification device, the verification device assumes different functions, and the verification of the time-sensitive network is realized in the mode corresponding to each verification device. It has strong flexibility and simple operation, can be applied in a variety of scenarios, has strong universality, and can realize the rapid verification of the time-sensitive network while ensuring the orderly transmission of time data.

[0109] Based on the above embodiments, the embodiments of the present disclosure also include: Figure 7 The structural diagram of the verification system shown in FIG. Figure 7The verification system for performing time-sensitive network verification includes a total of 7 verification devices 100, including a first verification device 710 in a sending mode, two second verification devices 730 and a second verification device 740 in a forwarding mode, and three third verification devices 720, 750, and 770 in a receiving mode. The specific transmission process of time data for verifying (time synchronization) the time-sensitive network based on the verification system 700 includes:

[0110] It can be understood that the following verification devices configured in the sending mode are collectively referred to as first verification devices, the verification devices configured in the forwarding mode are collectively referred to as second verification devices, and the verification devices configured in the receiving mode are collectively referred to as third verification devices.

[0111] The transmission process of time data in the first verification device 710 includes: the first processor 713 in the integrated module 711 generates the first time data, and transmits the first time data to the switching module 712 through the Ethernet interface in the Ethernet processor 714, the switching module 712 performs time synchronization according to the first time data, and after completing the time synchronization, the second processor 715 generates the updated first time data, and transmits the updated first time data to the second verification device 730 through the Ethernet interface 716; wherein, the Ethernet interface in the Ethernet processor 714 and the Ethernet interface 716 are equivalent to the master clock interface, and the Ethernet interface in the switching module 712 and the Ethernet interface in the Ethernet processor 714 for data transmission are equivalent to the slave clock interface.

[0112] The transmission process of time data in the second verification device 730 includes: the Ethernet interface 733 in the switching module 731 receives the updated first time data, the switching module 731 performs time synchronization according to the updated first time data, and after completing the time synchronization, the second processor 732 generates second time data, and transmits the second time data to the third verification device 750 through the Ethernet interface 734, transmits the second time data to the third verification device 760 through the time Ethernet interface 735, and transmits the second time data to the second verification device 740 through the time Ethernet interface 736; wherein the Ethernet interface 733 is equivalent to the slave clock interface, and the Ethernet interface 734, the Ethernet interface 735 and the Ethernet interface 736 are equivalent to the master clock interface.

[0113] The third verification device 750 receives the second time data through the Ethernet interface 756 and performs data synchronization according to the second time data, wherein the first processor 753 in the integrated module 751 transmits the configuration information to the switching module 752 through the Ethernet interface in the Ethernet controller 754 to configure the second processor 755; wherein the Ethernet interface 756 is equivalent to the slave clock interface.

[0114] The third verification device 760 receives the second time data through the Ethernet interface 766 and performs data synchronization according to the second time data, wherein the first processor 763 in the integrated module 761 transmits the configuration information to the switching module 762 through the Ethernet interface in the Ethernet controller 764 to configure the second processor 765; wherein the Ethernet interface 766 is equivalent to the slave clock interface.

[0115] The second verification device 740 receives the second time data through the Ethernet interface 743, and the switching module 741 performs time synchronization according to the second time data. After completing the time synchronization, the second processor 742 in the switching module 741 generates the third time data and transmits the third time data to the third verification device 720 through the Ethernet interface 744; wherein the Ethernet interface 743 is equivalent to the slave clock interface, and the Ethernet interface 744 is equivalent to the master clock interface.

[0116] The third verification device 720 receives the third time data through the Ethernet interface 726 and performs data synchronization according to the third time data, wherein the first processor 723 in the integrated module 721 transmits the configuration information to the switching module 722 through the Ethernet interface in the Ethernet controller 724 to configure the second processor 725; wherein the Ethernet interface 726 is equivalent to the slave clock interface.

[0117] Figure 8 The schematic diagram of the structure of the time-sensitive network verification device provided by the embodiment of the present disclosure is as follows. The time-sensitive network verification device provided by the embodiment of the present disclosure can execute the processing flow provided by the above-mentioned time-sensitive network verification method embodiment, such as Figure 8 As shown, the time-sensitive network verification device 800 includes:

[0118] It is understandable that the time-sensitive network verification apparatus may specifically be a time-sensitive network verification device, or the time-sensitive network verification apparatus may be a component, module or element in the time-sensitive network verification device.

[0119] A receiving unit 810 is used to receive a control instruction, wherein the control instruction includes configuration information of a verification device;

[0120] A determination unit 820, configured to determine a verification mode of the verification device according to configuration information of the verification device;

[0121] The verification unit 830 is used to verify the time sensitive network in the verification mode.

[0122] Optionally, the determining unit 820 determines the verification mode of the verification device according to the configuration information of the verification device, specifically for:

[0123] If the first processor configures the integrated module according to the configuration information and sends a control instruction to the second processor so that the second processor configures the switching module according to the configuration information, then the verification mode of the verification device is determined to be the sending mode; in another embodiment, if the first processor configures the integrated module according to the configuration information, and the second processor configures the switching module according to the configuration information, then the verification mode of the verification device is determined to be the sending mode.

[0124] If only the second processor configures the switching module according to the configuration information, it is determined that the verification mode of the verification device is the forwarding mode.

[0125] If the first processor configures the integrated module according to the configuration information, and the switching module is controlled by the configured integrated module, it is determined that the verification mode of the verification device is the receiving mode.

[0126] Figure 8 The time-sensitive network verification device of the illustrated embodiment can be used to execute the technical solution of the above-mentioned time-sensitive network verification method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0127] Fig. 9 The electronic device provided by the embodiment of the present disclosure can execute the processing flow provided by the above-mentioned time-sensitive network verification method embodiment, such as Fig. 9 As shown, the electronic device 900 includes: a processor 910, a communication interface 920 and a memory 930; wherein the computer program is stored in the memory 930 and is configured so that the processor 910 executes the time-sensitive network authentication method as described above.

[0128] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the time-sensitive network verification method described in the above embodiment.

[0129] In addition, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the time-sensitive network verification method as described above is implemented.

[0130] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0131] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A time-sensitive network authentication device, characterized in that: The verification device includes an integration module and a switching module; The integrated module includes a first processor and an Ethernet controller, wherein the first processor and the Ethernet controller are connected via a device interface, and the Ethernet controller includes an Ethernet interface, wherein the Ethernet interface has the attribute of a time-sensitive network; The switching module comprises a second processor and a plurality of the Ethernet interfaces, and the integrated module and the switching module are connected via the Ethernet interfaces; The first processor is used to configure the integrated module, the second processor is used to configure the switching module, and the configured integrated mode and the configured switching mode are used to determine the verification mode of the verification device. Specifically, In the case where the first processor configures the integrated module and the second processor configures the switching module, the verification mode is a sending mode; In the case where only the second processor configures the switching module, the verification mode is a forwarding mode; In the case where the first processor configures the integrated module and the switching module is controlled by the configured integrated module, the verification mode is a receiving mode.

2. The verification device according to claim 1, characterized in that: The first processor is also used to generate, receive, save and send data; The second processor is also used to generate, receive, save and send data.

3. A time-sensitive network verification method, characterized in that: Applied to the verification device described in any one of claims 1 to 2 above, the method comprises: receiving a control instruction, wherein the control instruction includes configuration information of the verification device; Determining a verification mode of the verification device according to the configuration information of the verification device; In the verification mode, the time sensitive network is verified.

4. The method according to claim 3, characterized in that The step of determining the verification mode of the verification device according to the configuration information of the verification device includes: If the first processor configures the integrated module according to the configuration information, and the second processor configures the switching module according to the configuration information, determining that the verification mode of the verification device is a sending mode; If only the second processor configures the switching module according to the configuration information, determining that the verification mode of the verification device is a forwarding mode; If the first processor configures the integrated module according to the configuration information, and the switching module is controlled by the configured integrated module, it is determined that the verification mode of the verification device is a receiving mode.

5. A time-sensitive network verification device, characterized in that: include: A receiving unit, configured to receive a control instruction, wherein the control instruction includes configuration information of a verification device; a determination unit, configured to determine a verification mode of the verification device according to configuration information of the verification device; A verification unit, used to verify the time sensitive network in the verification mode; The verification device includes an integrated module and a switching module, the integrated module includes a first processor, the switching module includes a second processor, the first processor is used to configure the integrated module, the second processor is used to configure the switching module, and the configured integrated mode and the configured switching mode are used to determine the verification mode of the verification device; The determining unit is used for: When the first processor configures the integrated module and the second processor configures the switching module, the verification mode is determined to be the sending mode; when only the second processor configures the switching module, the verification mode is determined to be the forwarding mode; when the first processor configures the integrated module and the switching module is controlled by the configured integrated module, the verification mode is determined to be the receiving mode.

6. A time-sensitive network authentication system, characterized in that: The verification system comprises a plurality of verification devices as described in any one of claims 1 to 2; the plurality of verification devices perform data transmission via an Ethernet interface; The multiple verification devices are configured into different verification modes by the method described in any one of claims 3 to 4 above, wherein the first verification device among the multiple verification devices is configured into a sending mode, the second verification device among the multiple verification devices is configured into a forwarding mode, and the third verification device among the multiple verification devices is configured into a receiving mode.

7. A time-sensitive network verification method, characterized in that: Applied to the verification system of claim 6 above, the method comprises: The first verification device sends the generated first time data to the second verification device; The second verification device performs time synchronization according to the first time data, and sends the generated second time data to the third verification device; The third verification device performs time synchronization according to the second time data.

8. The method according to claim 7, characterized in that The first verification device includes a first integration module and a first switching module; the first verification device sends the generated first time data to the second verification device, including: The first integration module sends the generated first time data to the first switching module; the first switching module performs time synchronization according to the first time data, and sends the updated first time data to the second verification device; The second verification device includes a second exchange module; the second verification device performs time synchronization according to the first time data and sends the generated second time data to the third verification device, including: The second exchange module performs time synchronization according to the updated first time data, and sends the generated second time data to the third verification device; The third verification device includes a third integration module and a third switching module; the third verification device performs time synchronization according to the second time data, including: The third integration module controls the third switching module to perform time synchronization according to the second time data.

9. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the time-sensitive network authentication method as described in any one of claims 3 to 4.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the time-sensitive network authentication method according to any one of claims 3 to 4 are implemented.