CN110661588B - Message transmission method, switching device, wireless communication equipment and storage medium - Google Patents
Message transmission method, switching device, wireless communication equipment and storage medium Download PDFInfo
- Publication number
- CN110661588B CN110661588B CN201810690007.9A CN201810690007A CN110661588B CN 110661588 B CN110661588 B CN 110661588B CN 201810690007 A CN201810690007 A CN 201810690007A CN 110661588 B CN110661588 B CN 110661588B
- Authority
- CN
- China
- Prior art keywords
- packet
- clock
- message
- type
- switching device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种报文传输方法,应用于无线通讯设备中的交换装置,交换装置用于向无线通讯设备中的中央处理器传输报文,所述方法包括:接收至少一个报文;从至少一个报文中提取出至少一个类型表征信息;根据至少一个类型表征信息,从至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取时钟报文对应的接收端口信息;通过第一接口将时钟报文和接收端口信息发送给中央处理器;其中,第一接口为交换装置中配置为传输时钟类型报文的接口。
An embodiment of the present invention discloses a message transmission method, which is applied to a switching device in a wireless communication device. The switching device is used to transmit a message to a central processor in the wireless communication device. The method includes: receiving at least one message ; Extract at least one type representation information from at least one message; According to at least one type representation information, from at least one message, determine that the message type is a clock message of the clock type, and obtain the corresponding reception of the clock message port information; send the clock packet and the receiving port information to the central processing unit through the first interface; wherein the first interface is an interface configured to transmit clock type packets in the switching device.
Description
技术领域technical field
本发明涉及无线通信技术领域,尤其涉及一种报文传输方法装置、交换装置、无线通讯设备及存储介质。The present invention relates to the technical field of wireless communication, and in particular, to a message transmission method device, a switching device, a wireless communication device and a storage medium.
背景技术Background technique
随着通信技术的不断发展,无线通讯设备需要获得高精度的时间信号,以支持对时间敏感的业务。With the continuous development of communication technology, wireless communication equipment needs to obtain high-precision time signals to support time-sensitive services.
目前,由于IEEE1588协议,即网络测量和控制系统的精密时钟同步协议标准,能够通过以太网实现严格的时钟同步,精度可达100ns级别,因此,无线通讯设备普遍将从传输网接收的1588报文作为时钟同步信号。无线通讯设备的交换装置上通常对外有多个网口,可以同时连接传输网,每个网口上都会运行1588协议来进行高精度时间同步。At present, because the IEEE1588 protocol, the precision clock synchronization protocol standard for network measurement and control systems, can achieve strict clock synchronization through Ethernet, and the accuracy can reach the level of 100ns. Therefore, wireless communication devices generally receive 1588 packets from the transmission network. as a clock synchronization signal. There are usually multiple network ports on the switching device of wireless communication equipment, which can be connected to the transmission network at the same time. Each network port will run the 1588 protocol for high-precision time synchronization.
在现有技术中,无线通讯设备根据1588报文选择最优时钟源时,其中央处理器(Central Processing Unit,CPU)需要获取1588报文的来源端口信息,即接收1588报文的网口的端口信息。无线通讯设备的CPU必须使用与交换装置上的网口数量相同的网卡,每一个网卡接收一个网口收到的1588报文,从而明确接收1588报文的网口的端口信息,如图1所示。因此,无线通讯设备面板的网口数目受CPU支持的最大网卡数量限制,传输1588报文的灵活性较低。In the prior art, when a wireless communication device selects an optimal clock source according to a 1588 message, its central processing unit (CPU) needs to obtain the source port information of the 1588 message, that is, the source port information of the network port receiving the 1588 message. port information. The CPU of the wireless communication device must use the same network card as the number of network ports on the switching device. Each network card receives the 1588 message received by one network port, so as to specify the port information of the network port that receives the 1588 message, as shown in Figure 1. Show. Therefore, the number of network ports on the panel of the wireless communication device is limited by the maximum number of network cards supported by the CPU, and the flexibility to transmit 1588 packets is low.
发明内容SUMMARY OF THE INVENTION
为解决现有存在的技术问题,本发明实施例期望提供一种报文传输方法、交换装置、无线通讯设备及存储介质,交换装置配置有一个特定接口,通过该特定接口,以特定通道将每一个时钟报文和对应的接收端口信息同时传输给CPU,CPU也就不需要设置大量网卡,从而提高了报文传输的灵活性。In order to solve the existing technical problems, the embodiment of the present invention expects to provide a message transmission method, a switching device, a wireless communication device, and a storage medium. The switching device is configured with a specific interface, and through the specific interface, each channel is A clock message and the corresponding receiving port information are transmitted to the CPU at the same time, and the CPU does not need to set up a large number of network cards, thus improving the flexibility of message transmission.
为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the embodiment of the present invention is realized as follows:
本发明实施例提供了一种报文传输方法,应用于无线通讯设备中的交换装置,所述交换装置用于向所述无线通讯设备中的中央处理器传输报文,所述方法包括:An embodiment of the present invention provides a message transmission method, which is applied to a switching device in a wireless communication device, where the switching device is used to transmit a message to a central processor in the wireless communication device, and the method includes:
接收至少一个报文;receive at least one message;
从所述至少一个报文中提取出至少一个类型表征信息;extracting at least one type representation information from the at least one message;
根据所述至少一个类型表征信息,从所述至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取所述时钟报文对应的接收端口信息;According to the at least one type representation information, from the at least one packet, determine that the packet type is a clock packet of the clock type, and obtain the receiving port information corresponding to the clock packet;
通过第一接口将所述时钟报文和所述接收端口信息发送给所述中央处理器;其中,所述第一接口为所述交换装置中配置为传输时钟类型报文的接口。The clock packet and the receiving port information are sent to the central processing unit through a first interface; wherein, the first interface is an interface configured to transmit a clock type packet in the switching device.
本发明实施例提供了一种交换装置,所述交换装置用于向无线通讯设备中的中央处理器传输报文,所述交换装置包括:接收模块、获取模块、确定模块、发送模块和第一接口;其中,An embodiment of the present invention provides a switching device, the switching device is used to transmit a message to a central processing unit in a wireless communication device, and the switching device includes: a receiving module, an obtaining module, a determining module, a sending module, and a first interface; where,
所述接收模块,用于接收至少一个报文;the receiving module, configured to receive at least one message;
所述获取模块,用于从所述至少一个报文中提取出至少一个类型表征信息;the obtaining module, configured to extract at least one type representation information from the at least one message;
所述确定模块,用于根据所述至少一个类型表征信息,从所述至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取所述时钟报文对应的接收端口信息;The determining module is configured to determine, from the at least one message, according to the at least one type representation information, a clock message whose message type is a clock type, and obtain receiving port information corresponding to the clock message ;
所述发送模块,用于通过所述第一接口将所述时钟报文和所述接收端口信息发送给中央处理器;其中,所述第一接口为所述交换装置中配置为传输时钟类型报文的接口。The sending module is configured to send the clock packet and the receiving port information to the central processing unit through the first interface; wherein, the first interface is configured in the switching device to transmit clock type packets. interface of the text.
本发明实施例提供了一种无线通讯设备,所述设备包括:An embodiment of the present invention provides a wireless communication device, and the device includes:
上述交换装置;the aforementioned exchange device;
中央处理器;其中,所述交换装置用于向所述中央处理器发送报文。A central processing unit; wherein, the switching device is configured to send a message to the central processing unit.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可以被一个或者多个处理器执行,以实现上述报文传输方法。An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned The message transmission method.
由此可见,在本发明实施例的技术方案中,应用于交换装置,交换装置用于向中央处理器传输报文,无线通讯设备包括:交换装置和中央处理器。交换装置接收至少一个报文;从至少一个报文中提取出至少一个类型表征信息;根据至少一个类型表征信息,从至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取时钟报文对应的接收端口信息;通过第一接口将时钟报文和接收端口信息发送给中央处理器;其中,第一接口为交换装置中配置为传输时钟类型报文的接口。在本发明的技术方案中,交换装置配置有一个特定的第一接口,通过该第一接口,可以将每一个时钟报文和对应的接收端口信息同时传输给中央处理器,中央处理器也就不需要设置大量网卡就可以进行数据的传输,从而提高了报文传输的灵活性。It can be seen that, in the technical solution of the embodiment of the present invention, it is applied to a switching device, and the switching device is used to transmit a message to a central processing unit, and the wireless communication device includes a switching device and a central processing unit. The switching device receives at least one message; extracts at least one type representation information from the at least one message; according to the at least one type representation information, from the at least one message, determines that the message type is a clock message of the clock type, and Obtaining the receiving port information corresponding to the clock message; sending the clock message and the receiving port information to the central processing unit through the first interface; wherein the first interface is an interface configured to transmit clock type messages in the switching device. In the technical solution of the present invention, the switching device is configured with a specific first interface, and through the first interface, each clock packet and the corresponding receiving port information can be simultaneously transmitted to the central processing unit, and the central processing unit also Data transmission can be performed without setting up a large number of network cards, thereby improving the flexibility of message transmission.
附图说明Description of drawings
图1为现有技术中的报文传输的示意图;1 is a schematic diagram of message transmission in the prior art;
图2为本发明实施例提供的一种报文传输方法的流程示意图一;2 is a schematic flowchart 1 of a message transmission method according to an embodiment of the present invention;
图3为本发明实施例提供的一种报文传输方法的流程示意图二;FIG. 3 is a second schematic flowchart of a message transmission method according to an embodiment of the present invention;
图4为本发明实施例提供的一种示例性的报文传输的示意图一;FIG. 4 is a schematic diagram 1 of an exemplary packet transmission provided by an embodiment of the present invention;
图5为本发明实施例提供的一种示例性的报文传输的示意图二;FIG. 5 is a schematic diagram 2 of an exemplary packet transmission provided by an embodiment of the present invention;
图6为本发明实施例提供的一种交换装置的结构示意图一;FIG. 6 is a schematic structural diagram 1 of a switching device according to an embodiment of the present invention;
图7为本发明实施例提供的一种交换装置的结构示意图二;FIG. 7 is a second schematic structural diagram of a switching device according to an embodiment of the present invention;
图8为本发明实施例提供的一种无线通讯设备的结构示意图。FIG. 8 is a schematic structural diagram of a wireless communication device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
实施例一Example 1
本发明实施例提供了一种报文传输方法,应用于无线通讯设备中的交换装置,该交换装置用于向无线通讯设备中的中央处理器传输报文。图2为本发明实施例提供的一种报文传输方法的流程示意图一。如图2所示,主要包括以下步骤:An embodiment of the present invention provides a message transmission method, which is applied to a switching device in a wireless communication device, where the switching device is used to transmit a message to a central processor in the wireless communication device. FIG. 2 is a schematic flowchart 1 of a packet transmission method according to an embodiment of the present invention. As shown in Figure 2, it mainly includes the following steps:
S201、接收至少一个报文。S201. Receive at least one packet.
在本发明的实施例中,交换装置可以接收到至少一个报文。In the embodiment of the present invention, the switching device may receive at least one packet.
需要说明的是,在本发明的实施例中,无线通讯设备中的交换装置上设置有至少一个对外网口,交换装置可以通过至少一个对外网口接收至少一个报文。具体的对外网口数量本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the switching device in the wireless communication device is provided with at least one external network port, and the switching device can receive at least one message through the at least one external network port. The specific number of external network ports is not limited in this embodiment of the present invention.
需要说明的是,在本发明的实施例中,交换装置接收到的至少一个报文可以为是从一个对外网口接收到的,也可以是从不同对外网口接收到的。具体接收报文的网口和具体报文本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, at least one packet received by the switching device may be received from one external network port, or may be received from different external network ports. The specific network port for receiving the message and the specific message text are not limited in the embodiments of the present invention.
需要说明的是,在本发明的实施例中,无线通讯设备可以为无线基站设备,具体的无线通讯设备本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the wireless communication device may be a wireless base station device, and the specific wireless communication device is not limited in the embodiment of the present invention.
需要说明的是,在本发明的实施例中,交换装置接收到的至少一个报文来源于外界传输网,交换装置即通过对外网口可以接收到传输网通过以太网传输的报文。It should be noted that, in the embodiment of the present invention, at least one packet received by the switching device comes from an external transmission network, and the switching device can receive the packet transmitted by the transmission network through the Ethernet through the external network port.
需要说明的是,在本发明的实施例中,无线通讯设备可能部署于边远地区,因此,交换装置通过对外网口接收到的报文可能是层二组播报文,或者层三用户数据报协议(User Datagram Protocol,UDP)单播报文,本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the wireless communication device may be deployed in a remote area. Therefore, the packet received by the switching device through the external network port may be a Layer 2 multicast packet or a Layer 3 user data packet. A protocol (User Datagram Protocol, UDP) unicast message, which is not limited in this embodiment of the present invention.
S202、从至少一个报文中提取出至少一个类型表征信息。S202. Extract at least one type representation information from at least one packet.
在本发明的实施例中,交换装置在通过对外网口接收到至少一个报文之后,可以从至少一个报文中提取出至少一个类型表征信息。In the embodiment of the present invention, after receiving the at least one packet through the external network port, the switching device may extract at least one type representation information from the at least one packet.
可以理解的是,在本发明的实施例中,交换装置接收到的至少一个报文中,每一个报文内都包含类型表征信息,因此,交换装置可以直接从每一个报文中提取相对应的类型表征信息,即从至少一个报文中提取出至少一个类型表征信息。具体的类型表征信息本发明实施例不作限定。It can be understood that, in the embodiment of the present invention, in at least one packet received by the switching device, each packet contains type representation information, therefore, the switching device can directly extract corresponding information from each packet. type representation information, that is, at least one type representation information is extracted from at least one packet. The specific type representation information is not limited in this embodiment of the present invention.
可选的,在本发明的实施例中,类型表征信息可以为目的物理(Media AccessControl,MAC)地址,或者,以太网协议类型和源端口信息。Optionally, in this embodiment of the present invention, the type representation information may be a destination physical (Media Access Control, MAC) address, or an Ethernet protocol type and source port information.
示例性的,在本发明的实施例中,类型表征信息为目的物理地址,交换装置可以直接从至少一个报文中提取出至少一个目的物理地址,即交换装置从每一个报文中提取出该报文相对应的目的物理地址。Exemplarily, in this embodiment of the present invention, the type representation information is the destination physical address, and the switching device can directly extract at least one destination physical address from at least one packet, that is, the switching device extracts the destination physical address from each packet. The destination physical address corresponding to the packet.
示例性的,在本发明的实施例中,类型表征信息为以太网协议类型和源端口信息,交换装置可以直接从至少一个报文中提取出至少一个以太网协议类型和至少一个源端口信息,即交换装置从每一个报文中提取出该报文相对应的以太网协议类型和源端口信息。Exemplarily, in the embodiment of the present invention, the type representation information is Ethernet protocol type and source port information, and the switching device can directly extract at least one Ethernet protocol type and at least one source port information from at least one packet, That is, the switching device extracts the Ethernet protocol type and source port information corresponding to the packet from each packet.
S203、根据至少一个类型表征信息,从至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取时钟报文对应的接收端口信息。S203 , according to at least one type representation information, from at least one packet, determine that the packet type is a clock packet of the clock type, and acquire the receiving port information corresponding to the clock packet.
在本发明的实施例中,交换装置在从至少一个报文中提取出至少一个类型表征信息之后,可以根据至少一个类型表征信息,从至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取时钟报文对应的接收端口信息。In the embodiment of the present invention, after extracting the at least one type representation information from the at least one packet, the switching device may, according to the at least one type representation information, determine from the at least one packet that the packet type is a clock type. Clock packets, and obtain the receiving port information corresponding to the clock packets.
可以理解的是,在本发明的实施例中,交换装置由于可以提取不同的类型表征信息,因此,可以按照不同的方法从至少一个报文中,确定出报文类型为时钟类型的时钟报文。It can be understood that, in the embodiment of the present invention, since the switching device can extract different types of representation information, it can determine from at least one packet according to different methods that the packet type is a clock packet of the clock type. .
具体的,在本发明的实施例中,类型表征信息为目的物理地址,交换装置从至少一个报文中,将与至少一个报文对应的至少一个目的物理地址与预设目的物理地址进行匹配,获得至少一个匹配结果,再将至少一个匹配结果中,匹配成功的目的物理地址对应的报文确定为时钟报文。Specifically, in the embodiment of the present invention, the type representation information is the destination physical address, and the switching device matches at least one destination physical address corresponding to the at least one packet with the preset destination physical address from the at least one packet, At least one matching result is obtained, and in the at least one matching result, a packet corresponding to a successfully matched destination physical address is determined as a clock packet.
示例性的,交换装置接收到两个报文,分别为第一报文和第二报文,之后,交换装置提取第一报文对应的目的物理地址,即第一物理地址,并提取第二报文对应的目的物理地址,即第二物理地址,将第一物理地址和第二物理地址分别与预设物理地址进行匹配,获得第一匹配结果和第二匹配结果。最后,如果第一匹配结果为匹配成功,则第一物理地址对应的第一报文为时钟报文,如果第二匹配结果为匹配成功,则第二物理地址对应的第二报文为时钟报文。Exemplarily, the switching device receives two packets, which are the first packet and the second packet, respectively. After that, the switching device extracts the destination physical address corresponding to the first packet, that is, the first physical address, and extracts the second packet. For the destination physical address corresponding to the message, that is, the second physical address, the first physical address and the second physical address are respectively matched with the preset physical addresses to obtain the first matching result and the second matching result. Finally, if the first matching result is successful, the first packet corresponding to the first physical address is a clock packet, and if the second matching result is successful, then the second packet corresponding to the second physical address is a clock packet arts.
具体的,在本发明的实施例中,交换装置还可以从与至少一个报文对应的至少一个类型表征信息中,确定出以太网协议类型为预设类型,且源端口信息为预设源端口信息的第一类型表征信息,再将第一类型表征信息对应的报文确定为时钟报文。Specifically, in the embodiment of the present invention, the switching device may further determine, from at least one type representation information corresponding to at least one packet, that the Ethernet protocol type is a preset type, and the source port information is a preset source port The first type of information represents information, and then the message corresponding to the first type of representation information is determined as a clock message.
可以理解的是,在本发明的实施例中,类型表征信息可以包括:以太网协议类型和源端口信息,也就是说,一个报文对应的类型表征信息,可以为该报文对应的以太网协议类型和源端口信息,当该报文对应的类型表征信息中,以太网协议类型为预设类型,且源端口信息为预设源端口信息时,即该报文对应的类型表征信息为第一类型表征信息,因此,交换装置确定该报文为时钟报文。It can be understood that, in the embodiment of the present invention, the type representation information may include: Ethernet protocol type and source port information, that is, the type representation information corresponding to a packet may be the Ethernet protocol corresponding to the packet. Protocol type and source port information, when the type representation information corresponding to the message, the Ethernet protocol type is the preset type, and the source port information is the preset source port information, that is, the type representation information corresponding to the message is the first A type of representation information, therefore, the switching device determines that the message is a clock message.
示例性的,交换装置接收到两个报文,分别为第一报文和第二报文,之后,交换装置提取第一报文对应的以太网协议类型,即第一以太网协议类型,以及第一报文对应的源端口信息,即第一源端口信息,并提取第二报文对应的以太网协议类型,即第二以太网协议类型,以及第二报文对应的源端口信息,即第二源端口信息。如果第一以太网协议类型为预设类型,且第一源端口信息为预设源端口信息,交换装置将第一以太网协议类型和第一源端口信息确定为第一类型表征信息,从而将第一报文确定为时钟报文。同样,如果第二以太网协议类型为预设类型,且第二源端口信息为预设源端口信息,交换装置将第二以太网协议类型和第二源端口信息确定为第一类型表征信息,从而将第二报文确定为时钟报文。Exemplarily, the switching device receives two packets, namely the first packet and the second packet, and then the switching device extracts the Ethernet protocol type corresponding to the first packet, that is, the first Ethernet protocol type, and The source port information corresponding to the first packet, that is, the first source port information, and extracting the Ethernet protocol type corresponding to the second packet, that is, the second Ethernet protocol type, and the source port information corresponding to the second packet, that is Second source port information. If the first Ethernet protocol type is the preset type, and the first source port information is the preset source port information, the switching device determines the first Ethernet protocol type and the first source port information as the first type representation information, so as to The first message is determined to be a clock message. Similarly, if the second Ethernet protocol type is the preset type, and the second source port information is the preset source port information, the switching device determines the second Ethernet protocol type and the second source port information as the first type representation information, Thus, the second message is determined as a clock message.
示例性的,预设类型为UDP,预设源端口信息为319和320。交换装置接收到第一报文,提取第一报文对应的以太网协议类型,即第一以太网协议类型,以及第一报文对应的源端口信息,即第一源端口信息。当第一报文对应的第一以太网协议类型为UDP,且第一报文对应的第一源端口信息为319,或者320时,交换装置确定报文的报文类型为时钟类型,报文为1588报文。Exemplarily, the preset type is UDP, and the preset source port information is 319 and 320. The switching device receives the first packet, and extracts the Ethernet protocol type corresponding to the first packet, that is, the first Ethernet protocol type, and the source port information corresponding to the first packet, that is, the first source port information. When the first Ethernet protocol type corresponding to the first packet is UDP, and the first source port information corresponding to the first packet is 319 or 320, the switching device determines that the packet type of the packet is the clock type, and the packet is 1588 packets.
需要说明的是,在本发明的实施例中,由于交换装置可以接收到至少一个报文,因此,对于接收到的报文,只要对应的类型表征信息可以表征出其报文类型为时钟类型,即可确定该报文为时钟报文,也就是说,时钟报文可以为多个,只要类型表征信息满足相关条件即可。具体的时钟报文数量本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, since the switching device can receive at least one packet, for the received packet, as long as the corresponding type representation information can indicate that the packet type is the clock type, It can be determined that the packet is a clock packet, that is, there can be multiple clock packets, as long as the type representation information satisfies relevant conditions. The specific number of clock packets is not limited in this embodiment of the present invention.
在本发明的实施例中,交换装置在确定出时钟报文之后,还可以直接获取时钟报文对应的接收端口信息。In the embodiment of the present invention, after determining the clock packet, the switching device may directly acquire the receiving port information corresponding to the clock packet.
可以理解的是,在本发明的实施例中,由于交换装置上设置有至少一个对外网口,因此,每一个对外网口都配置有相对应的端口号。交换装置可以直接获取到接收时钟报文的对外网口的端口号,即为该时钟报文对应的接收端口信息。具体的时钟报文对应的接收端口信息本发明实施例不作限定。It can be understood that, in the embodiment of the present invention, since the switching device is provided with at least one external network port, each external network port is configured with a corresponding port number. The switching device can directly obtain the port number of the external network port that receives the clock message, that is, the receiving port information corresponding to the clock message. The specific receiving port information corresponding to the clock packet is not limited in this embodiment of the present invention.
示例性的,交换装置中设置有3个对外网口,分别为网口1、网口2和网口3,网口1对应的端口号为A,网口2对应的端口号为B,网口3对应的端口号为C。交换装置通过网口1接收到第一报文,通过网口3接收到第二报文。其中,第一报文确定为时钟报文,因此,交换装置可以直接获取到第一报文对应的接收端口信息为A。Exemplarily, the switching device is provided with three external network ports, namely network port 1, network port 2 and network port 3, the port number corresponding to network port 1 is A, the port number corresponding to network port 2 is B, and the network port number corresponding to network port 2 is B. The port number corresponding to port 3 is C. The switching device receives the first packet through network port 1, and receives the second packet through network port 3. The first packet is determined to be a clock packet. Therefore, the switching device can directly obtain the receiving port information corresponding to the first packet as A.
S204、通过第一接口将时钟报文和接收端口信息发送给中央处理器;其中,第一接口为交换装置中配置为传输时钟类型报文的接口。S204. Send the clock packet and the receiving port information to the central processing unit through the first interface, wherein the first interface is an interface configured to transmit the clock type packet in the switching device.
在本发明的实施例中,交换装置在确定时钟报文,并获取时钟报文对应的接收端口信息之后,可以通过第一接口将时钟报文和时钟报文对应的接收端口信息发送给CPU。In the embodiment of the present invention, after determining the clock packet and acquiring the receiving port information corresponding to the clock packet, the switching device may send the clock packet and the receiving port information corresponding to the clock packet to the CPU through the first interface.
可以理解的是,在本发明的实施例中,对于时钟报文,需要关注交换装置接收时钟报文的第一网口的端口信息。因此,交换装置在获取时钟报文对应的接收端口信息之后,在发送时钟报文给CPU的同时将时钟报文对应的接收端口信息发送给CPU。It can be understood that, in the embodiment of the present invention, for the clock packet, it is necessary to pay attention to the port information of the first network port through which the switching device receives the clock packet. Therefore, after acquiring the receiving port information corresponding to the clock packet, the switching device sends the receiving port information corresponding to the clock packet to the CPU while sending the clock packet to the CPU.
需要说明的是,在本发明的实施例中,交换装置上设置有第一接口,第一接口为交换装置中配置为传输时钟类型报文的接口。It should be noted that, in the embodiment of the present invention, the switching device is provided with a first interface, and the first interface is an interface configured to transmit a clock type message in the switching device.
需要说明的是,在本发明的实施例中,由于扩展外围组件互联(ExtendPeripheral Component Interconnect,PCIE)接口可以同时传输报文和相关信息,因此,第一接口可以为(Extend Peripheral Component Interconnect,PCIE)接口。交换装置可以通过PCIE接口将时钟报文和时钟报文对应的接收端口信息发送给CPU。It should be noted that, in the embodiment of the present invention, since the Extended Peripheral Component Interconnect (PCIE) interface can transmit messages and related information at the same time, the first interface may be (Extend Peripheral Component Interconnect, PCIE) interface. The switching device may send the clock packet and the receiving port information corresponding to the clock packet to the CPU through the PCIE interface.
具体的,在本发明的实施例中,交换装置可以根据时钟报文,生成时钟报文对应的附加信息,之后将时钟报文对应的接收端口信息写入时钟报文对应的附加信息,最后,通过第一接口将时钟报文和时钟报文对应的附加信息发送给CPU。Specifically, in the embodiment of the present invention, the switching device may generate additional information corresponding to the clock packet according to the clock packet, and then write the receiving port information corresponding to the clock packet into the additional information corresponding to the clock packet, and finally, The clock packet and the additional information corresponding to the clock packet are sent to the CPU through the first interface.
需要说明的是,在本发明的实施例中,时钟报文对应的附加信息,可以为时钟报文的基本信息,即时钟报文的一个概述信息。具体的时钟报文的附加信息本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the additional information corresponding to the clock packet may be basic information of the clock packet, that is, an overview information of the clock packet. The specific additional information of the clock packet is not limited in this embodiment of the present invention.
可以理解的是,在本发明的实施例中,交换装置通过第一接口将时钟报文对应的附加信息和时钟报文发送给CPU,CPU就可以根据时钟报文对应的附加信息,获知交换装置中接收时钟报文的对外网口具体是哪一个,从而进行后续时钟协议处理,例如选择最优时钟源。It can be understood that, in the embodiment of the present invention, the switching device sends the additional information corresponding to the clock packet and the clock packet to the CPU through the first interface, and the CPU can know the switching device according to the additional information corresponding to the clock packet. The specific external network port that receives the clock packet is used to perform subsequent clock protocol processing, such as selecting the optimal clock source.
需要说明的是,在本发明的实施例中,交换装置通过第一接口将时钟报文对应的接收端口信息和时钟报文发送给CPU之前,由于已经确定为时钟报文,因此,还可以读取交换装置内部的时钟计数器,获取时钟报文的驻留时间,之后,将时钟报文的驻留时间写入时钟报文的配置(Config Field,CF)字段。It should be noted that, in the embodiment of the present invention, before the switching device sends the receiving port information corresponding to the clock packet and the clock packet to the CPU through the first interface, since it has been determined as the clock packet, it can also read The clock counter inside the switching device is obtained to obtain the dwell time of the clock packet, and then the dwell time of the clock packet is written into the configuration (Config Field, CF) field of the clock packet.
需要说明的是,在本发明的实施例中,时钟报文的驻留时间,实际上就是交换装置接收到时钟报文至发出时钟报文的时长,具体的时钟报文的驻留时间本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the residence time of the clock message is actually the time period from when the switching device receives the clock message to the time when the clock message is sent, and the specific residence time of the clock message of the present invention The embodiment is not limited.
可以理解的是,在本发明的实施例中,交换装置将时钟报文的驻留时间写入时钟报文的配置字段,CPU在接收到第一报文时,通过读取时钟报文的配置字段,即可获知时钟报文的驻留时间,从而可以进行后续时钟协议处理。It can be understood that, in the embodiment of the present invention, the switching device writes the residence time of the clock packet into the configuration field of the clock packet, and the CPU reads the configuration field of the clock packet by reading the configuration field of the clock packet when receiving the first packet. field, the residence time of the clock packet can be known, so that subsequent clock protocol processing can be performed.
需要说明的是,在本发明的实施例中,交换装置在从至少一个报文中确定出时钟报文之后,对于非时钟报文的报文也需要按照其它方式来发送到CPU,进行传输,中央处理器也就不需要设置大量网卡就可以进行数据的传输,从而提高了报文传输的灵活性。It should be noted that, in the embodiment of the present invention, after the switching device determines the clock packet from at least one packet, the packet that is not the clock packet also needs to be sent to the CPU in other ways for transmission. The central processing unit can also transmit data without setting a large number of network cards, thereby improving the flexibility of message transmission.
图3为本发明实施例提供的一种报文传输方法的流程示意图二。如图3所示,步骤S203之后,还可包括步骤S301~S302,具体步骤如下:FIG. 3 is a second schematic flowchart of a message transmission method according to an embodiment of the present invention. As shown in FIG. 3, after step S203, steps S301 to S302 may also be included, and the specific steps are as follows:
S301、将至少一个报文中,非时钟报文的报文确定为报文类型为数据类型的数据报文。S301. Determine a message that is not a clock message in at least one message as a data message whose message type is a data type.
在本发明的实施例中,交换装置在从至少一个报文中确定出时钟报文之后,将至少一个报文中,非时钟报文的报文确定为报文类型为数据类型的数据报文。In the embodiment of the present invention, after determining the clock packet from the at least one packet, the switching device determines a packet that is not a clock packet in the at least one packet as a data packet whose packet type is the data type .
示例性的,交换装置接收到两个报文,分别为第一报文和第二报文,其中,从这两个报文中,确定出第一报文为时钟报文,因此,直接可以将第二报文确定为数据报文。Exemplarily, the switching device receives two packets, which are a first packet and a second packet, wherein, from the two packets, it is determined that the first packet is a clock packet. Therefore, it can be directly The second message is determined as a data message.
需要说明的是,在本发明的实施例中,由于交换装置可以接收到至少一个报文,因此,数据报文可能为多个。具体的数据报文数量本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, since the switching device can receive at least one packet, there may be multiple data packets. The specific number of data packets is not limited in this embodiment of the present invention.
S302、通过第二接口将数据报文发送给中央处理器;其中,第二接口为交换装置中配置为传输数据类型报文的接口。S302. Send the data packet to the central processing unit through the second interface; wherein the second interface is an interface configured to transmit data type packets in the switching device.
在本发明的实施例中,交换装置在确定数据报文之后,通过第二接口将数据报文发送给CPU。In the embodiment of the present invention, after determining the data packet, the switching device sends the data packet to the CPU through the second interface.
需要说明的是,在本发明的实施例中,交换装置上设置有第二接口,第二接口为交换装置中配置为传输数据类型报文的接口。具体的第二接口本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the switching device is provided with a second interface, and the second interface is an interface configured to transmit data type packets in the switching device. The specific second interface is not limited in this embodiment of the present invention.
可以理解的是,在本发明的实施例中,对于数据报文,不需要关注交换装置中接收数据报文对应的接收端口信息。因此,交换装置可以直接通过第二接口,以以太网将数据报文发送给CPU。CPU在接收到数据报文之后,即可根据数据报文,进行后续数据报文处理。It can be understood that, in the embodiment of the present invention, for the data packet, it is not necessary to pay attention to the receiving port information corresponding to the data packet received in the switching device. Therefore, the switching device can directly send the data message to the CPU via the second interface via the Ethernet. After receiving the data message, the CPU can process the subsequent data message according to the data message.
需要说明的是,在本发明的实施例中,无线通讯设备可以包括多个CPU。具体的CPU个数本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the wireless communication device may include multiple CPUs. The specific number of CPUs is not limited in this embodiment of the present invention.
图4为本发明实施例提供的一种示例性的报文传输的示意图一。如图4所示,若无线通讯设备仅包括一个CPU,当交换装置通过对外网口接收到的报文为时钟报文时,交换装置可以通过第一接口将时钟报文对应的接收端口信息和时钟报文,发送给该CPU,具体发送给该CPU中用于处理时钟报文的模块,第一接口为PCIE接口,该通道为PCIE通道。当交换装置通过对外网口接收到的为数据报文时,交换装置可以将数据报文通过第二接口发送给CPU,具体发送给该CPU中用于处理数据报文的模块。FIG. 4 is a schematic diagram 1 of an exemplary packet transmission provided by an embodiment of the present invention. As shown in FIG. 4 , if the wireless communication device includes only one CPU, when the message received by the switching device through the external network port is a clock message, the switching device can use the first interface to convert the receiving port information corresponding to the clock message to the clock message. The clock packet is sent to the CPU, specifically to a module in the CPU for processing the clock packet, the first interface is a PCIE interface, and the channel is a PCIE channel. When the data packet received by the switching device through the external network port is a data packet, the switching device can send the data packet to the CPU through the second interface, and specifically to a module in the CPU for processing the data packet.
图5为本发明实施例提供的一种示例性的报文传输的示意图二。如图5所示,若CPU包括两个CPU,分别为第一CPU和第二CPU,其中第一CPU包括用于处理时钟报文的模块,第二CPU包括用于处理数据报文的模块。当交换装置通过对外网口接收到的报文为时钟报文时,交换装置可以通过第一接口将时钟报文对应的接收端口信息和时钟报文,,具体发送给第一CPU中用于处理时钟报文的模块,第一接口为PCIE接口,该通道为PCIE通道。当交换装置通过对外网口接收到的为数据报文时,交换装置可以将数据报文通过第二接口发送给第二CPU,具体发送给第二CPU中用于处理数据报文的模块。FIG. 5 is a second schematic diagram of an exemplary packet transmission provided by an embodiment of the present invention. As shown in FIG. 5 , if the CPU includes two CPUs, namely a first CPU and a second CPU, the first CPU includes a module for processing clock packets, and the second CPU includes a module for processing data packets. When the packet received by the switching device through the external network port is a clock packet, the switching device can specifically send the receiving port information and the clock packet corresponding to the clock packet to the first CPU for processing through the first interface. The module of the clock message, the first interface is a PCIE interface, and the channel is a PCIE channel. When the data packet received by the switching device through the external network port is a data packet, the switching device can send the data packet to the second CPU through the second interface, specifically to a module in the second CPU for processing the data packet.
本发明实施例提供了一种报文传输方法,应用于交换装置,交换装置用于向中央处理器传输报文,无线通讯设备包括:交换装置和中央处理器。交换装置接收至少一个报文;从至少一个报文中提取出至少一个类型表征信息;根据至少一个类型表征信息,从至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取时钟报文对应的接收端口信息;通过第一接口将时钟报文和接收端口信息发送给中央处理器;其中,第一接口为交换装置中配置为传输时钟类型报文的接口。也就是说,在现有技术中,为了使CPU获知交换装置中接收时钟报文的网口的端口信息,必须在CPU中为交换装置中的每一个网口配置相对应的网卡,来接收相对应网口接收到的时钟报文,报文传输不够灵活。在本发明的技术方案中,交换装置配置有一个特定的第一接口,通过该第一接口,可以将每一个时钟报文和对应的接收端口信息同时传输给中央处理器,中央处理器也就不需要设置大量网卡就可以进行数据的传输,从而提高了报文传输的灵活性。An embodiment of the present invention provides a message transmission method, which is applied to a switching device, and the switching device is used to transmit a message to a central processing unit. The wireless communication device includes a switching device and a central processing unit. The switching device receives at least one message; extracts at least one type representation information from the at least one message; according to the at least one type representation information, from the at least one message, determines that the message type is a clock message of the clock type, and Obtaining the receiving port information corresponding to the clock message; sending the clock message and the receiving port information to the central processing unit through the first interface; wherein the first interface is an interface configured to transmit clock type messages in the switching device. That is to say, in the prior art, in order for the CPU to know the port information of the network port in the switching device that receives the clock message, it is necessary to configure a corresponding network card for each network port in the switching device in the CPU to receive the corresponding network card. Corresponding to the clock packet received by the network port, the packet transmission is not flexible enough. In the technical solution of the present invention, the switching device is configured with a specific first interface, and through the first interface, each clock packet and the corresponding receiving port information can be simultaneously transmitted to the central processing unit, and the central processing unit also Data transmission can be performed without setting up a large number of network cards, thereby improving the flexibility of message transmission.
实施例二Embodiment 2
图6为本发明实施例提供的一种交换装置的结构示意图。如图6所示,所述交换装置1,所述交换装置1用于向无线通讯设备中的中央处理器传输报文,包括:接收模块601、获取模块602、确定模块603、发送模块604和第一接口605;其中,FIG. 6 is a schematic structural diagram of a switching device according to an embodiment of the present invention. As shown in FIG. 6 , the switching device 1, which is used for transmitting messages to the central processing unit in the wireless communication device, includes: a receiving
所述接收模块601,用于接收至少一个报文;The receiving
所述获取模块602,用于从所述至少一个报文中提取出至少一个类型表征信息;The obtaining
所述确定模块603,用于根据所述至少一个类型表征信息,从所述至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取所述时钟报文对应的接收端口信息;The determining
所述发送模块604,用于通过第一接口605将所述时钟报文和所述接收端口信息发送给中央处理器;其中,所述第一接口605为所述交换装置中配置为传输时钟类型报文的接口。The sending
可选的,所述至少一个类型表征信息为至少一个目的物理地址,所述确定模块603,具体用于从所述至少一个报文中,将与所述至少一个报文对应的所述至少一个目的物理地址与预设目的物理地址进行匹配,获得至少一个匹配结果;将所述至少一个匹配结果中,匹配成功的目的物理地址对应的报文确定为所述时钟报文。Optionally, the at least one type representation information is at least one destination physical address, and the determining
所述确定模块603,还具体用于从与所述至少一个报文对应的所述至少一个类型表征信息中,确定出以太网协议类型为预设类型,且源端口信息为预设源端口信息的第一类型表征信息;将所述第一类型表征信息对应的报文确定为所述时钟报文。The determining
可选的,所述发送模块604,具体用于根据所述时钟报文,生成所述时钟报文对应的附加信息;将所述接收端口信息写入所述附加信息;通过所述第一接口605将所述时钟报文和所述附加信息发送给所述中央处理器。Optionally, the sending
可选的,所述交换装置1还包括:写入模块606;其中,Optionally, the switching device 1 further includes: a writing module 606; wherein,
所述写入模块606,用于在所述通过第一接口605将所述时钟报文和所述接收端口信息发送给所述中央处理器之前,获取所述时钟报文的驻留时间;将所述时钟报文的驻留时间写入所述时钟报文的配置字段。The writing module 606 is configured to acquire the residence time of the clock packet before sending the clock packet and the receiving port information to the central processing unit through the
可选的,图7为本发明实施例提供的一种交换装置的结构示意图,如图7所示,所述交换装置1还包括:第二接口607;Optionally, FIG. 7 is a schematic structural diagram of a switching device according to an embodiment of the present invention. As shown in FIG. 7 , the switching device 1 further includes: a
所述确定模块603,还用于在所述确定出报文类型为时钟类型的时钟报文之后,将所述至少一个报文中,非所述时钟报文的报文确定为报文类型为数据类型的数据报文;The determining
所述发送模块604,还用于通过所述第二接口607将数据报文发送给所述中央处理器;其中,所述第二接口607为所述交换装置中配置为传输数据类型报文的接口。The sending
本发明实施例提供了一种交换装置,该交换装置包括:接收模块、获取模块、确定模块、发送模块和第一接口;其中,接收模块601,用于接收至少一个报文;获取模块,用于从至少一个报文中提取出至少一个类型表征信息;确定模块,用于根据至少一个类型表征信息,从至少一个报文中,确定出报文类型为时钟类型的时钟报文,并获取时钟报文对应的接收端口信息;发送模块,用于通过第一接口605将时钟报文和接收端口信息发送给中央处理器;其中,第一接口为交换装置中配置为传输时钟类型报文的接口。也就是说,在现有技术中,为了使CPU获知交换装置中接收时钟报文的网口的端口信息,必须在CPU中为交换装置中的每一个网口配置相对应的网卡,来接收相对应网口接收到的时钟报文,报文传输不够灵活。在本发明的技术方案中,交换装置配置有一个特定的第一接口,通过该第一接口,可以将每一个时钟报文和对应的接收端口信息同时传输给中央处理器,中央处理器也就不需要设置大量网卡就可以进行数据的传输,从而提高了报文传输的灵活性。An embodiment of the present invention provides a switching device, the switching device includes: a receiving module, an obtaining module, a determining module, a sending module, and a first interface; wherein, the receiving
本发明实施例提供了一种无线通讯设备,图8为本发明实施例提供的一种无线通讯设备的结构示意图。如图8所示,所述设备包括:An embodiment of the present invention provides a wireless communication device, and FIG. 8 is a schematic structural diagram of a wireless communication device according to an embodiment of the present invention. As shown in Figure 8, the device includes:
上述交换装置1;The above-mentioned exchange device 1;
中央处理器2;其中,所述交换装置1用于向所述中央处理器2发送报文。Central processing unit 2 ; wherein, the switching device 1 is configured to send a message to the central processing unit 2 .
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可以被一个或者多个处理器执行,以实现上述报文传输方法。计算机可读存储介质可以是是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatilememory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);也可以是包括上述存储器之一或任意组合的各自设备,如移动电话、计算机、平板设备、个人数字助理等。An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned The message transmission method. The computer-readable storage medium may be a volatile memory (volatile memory), such as a random-access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read- Only Memory (ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); it can also be a respective device including one or any combination of the above memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程信号处理设备的处理器以产生一个机器,使得通过计算机或其他可编程信号处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable signal processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable signal processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程信号处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable signal processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程信号处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable signal processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (13)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810690007.9A CN110661588B (en) | 2018-06-28 | 2018-06-28 | Message transmission method, switching device, wireless communication equipment and storage medium |
PCT/CN2019/088401 WO2020001213A1 (en) | 2018-06-28 | 2019-05-24 | Message transmission method, switching apparatus, wireless communication device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810690007.9A CN110661588B (en) | 2018-06-28 | 2018-06-28 | Message transmission method, switching device, wireless communication equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110661588A CN110661588A (en) | 2020-01-07 |
CN110661588B true CN110661588B (en) | 2022-04-22 |
Family
ID=68985416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810690007.9A Expired - Fee Related CN110661588B (en) | 2018-06-28 | 2018-06-28 | Message transmission method, switching device, wireless communication equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110661588B (en) |
WO (1) | WO2020001213A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111585642B (en) | 2020-05-11 | 2021-08-13 | 中电科航空电子有限公司 | Airborne short message communication method, apparatus, device, system and readable storage medium |
CN114039622B (en) * | 2021-11-06 | 2023-07-28 | 四川恒湾科技有限公司 | Method for realizing switching of synchronous surface between network ports on radio frequency unit |
CN114245411A (en) * | 2021-11-08 | 2022-03-25 | 深圳震有科技股份有限公司 | Method, device, terminal equipment and storage medium for testing message delay time |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106953814A (en) * | 2017-03-07 | 2017-07-14 | 国电南瑞科技股份有限公司 | A kind of Substation process-level network exchanging chip system and its message forwarding method, time measurement labeling method |
CN107948157A (en) * | 2017-11-24 | 2018-04-20 | 锐捷网络股份有限公司 | A kind of message processing method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739011B (en) * | 2009-12-08 | 2012-09-05 | 中国科学院声学研究所 | CPCI bus-based high-accuracy clock synchronization method and system thereof |
US8873588B2 (en) * | 2011-05-11 | 2014-10-28 | Vitesse Semiconductor Corporation | Network distributed packet-based synchronization |
CN105281932A (en) * | 2014-06-23 | 2016-01-27 | 中兴通讯股份有限公司 | A clock time source selection method and device and network elements |
JP6566205B2 (en) * | 2015-10-30 | 2019-08-28 | パナソニックIpマネジメント株式会社 | Communication apparatus and communication system |
-
2018
- 2018-06-28 CN CN201810690007.9A patent/CN110661588B/en not_active Expired - Fee Related
-
2019
- 2019-05-24 WO PCT/CN2019/088401 patent/WO2020001213A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106953814A (en) * | 2017-03-07 | 2017-07-14 | 国电南瑞科技股份有限公司 | A kind of Substation process-level network exchanging chip system and its message forwarding method, time measurement labeling method |
CN107948157A (en) * | 2017-11-24 | 2018-04-20 | 锐捷网络股份有限公司 | A kind of message processing method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2020001213A1 (en) | 2020-01-02 |
CN110661588A (en) | 2020-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103929415B (en) | The method, apparatus and network system of reading and writing data under RDMA | |
WO2019052532A1 (en) | Information interaction method, apparatus and device for internet of things device | |
CN110661588B (en) | Message transmission method, switching device, wireless communication equipment and storage medium | |
CN103368722A (en) | Systems and methods for enhancing privacy of bluetooth low energy circuits | |
CN109150677B (en) | Cross-domain access processing method and device and electronic equipment | |
WO2019144742A1 (en) | Binding method for user terminal and device, apparatus, and system | |
CN106775434A (en) | A kind of implementation method of NVMe networkings storage, terminal, server and system | |
WO2018103405A1 (en) | Method for identifying access point and hotspot, and related product | |
JP2019507926A (en) | Bus bridge for converting requests between module bus and AXI bus | |
WO2017067179A1 (en) | Method, apparatus and system for allocating communication address to smart meter | |
CN104965676B (en) | A kind of access method of random access memory, device and control chip | |
CN103024766A (en) | Method for acquiring and providing configuration data, base station equipment and network management system | |
JPWO2021181910A5 (en) | Communication equipment, data recording methods, and programs | |
CN103618780A (en) | Method and device for realizing multiple virtual machine mounted externally-arranged components | |
CN107968848A (en) | A method for obtaining an IP address, a terminal device and a storage medium | |
WO2020132984A1 (en) | Ipv6 address configuration method and router device | |
US11960720B2 (en) | Data processing method and device | |
CN112422485B (en) | Communication method and device of transmission control protocol | |
CN109714337B (en) | Data encryption transmission method and equipment | |
CN105472054A (en) | Message transmission method and access equipment | |
EP3659274B1 (en) | Dynamic calibration for audio data transfer | |
US20200341653A1 (en) | Method, network adapter and computer program product for processing data | |
CN109565405B (en) | RRC signaling validation time determination method, terminal, base station, and computer storage medium | |
CN111131548A (en) | Information processing method, apparatus and computer readable storage medium | |
CN106708755A (en) | PCIE interface realization method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220422 |