WO2020244399A1 - 一种通信方法和装置 - Google Patents
一种通信方法和装置 Download PDFInfo
- Publication number
- WO2020244399A1 WO2020244399A1 PCT/CN2020/092047 CN2020092047W WO2020244399A1 WO 2020244399 A1 WO2020244399 A1 WO 2020244399A1 CN 2020092047 W CN2020092047 W CN 2020092047W WO 2020244399 A1 WO2020244399 A1 WO 2020244399A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- component object
- data
- communication
- channel
- server
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/14—Multichannel or multilink protocols
Definitions
- This application relates to the field of communication technology, and in particular to a communication method and a communication device.
- unmanned vehicles are used in more and more fields. For example, warehouse unmanned vehicles, mine unmanned vehicles, etc.
- the unmanned vehicle needs to have a set of data communication system that can maintain low latency and high reliability, so that the unmanned vehicle can synchronize data with the server in time, and receive instructions from the server at the same time.
- the embodiments of the present application are proposed to provide a communication method and a corresponding communication device that overcome the above problems or at least partially solve the above problems.
- an embodiment of the present application discloses a communication method applied to an in-vehicle system.
- the in-vehicle system includes a multi-channel communication component object and an internal component object.
- the method includes:
- the multi-channel communication component object is used to respectively receive the second data sent by the server on the multiple communication channels, and send the second data to the internal component object.
- the establishing multiple communication channels with the server by using the multi-channel communication component object includes:
- the multi-channel communication component object is used to establish communication channels of multiple communication protocols with the server.
- said using the multi-channel communication component object to establish communication channels of multiple communication protocols with the server includes:
- the multi-channel communication component object is used to establish communication channels of multiple communication protocols with the server in accordance with the message queue telemetry transmission protocol MQTT.
- the method before sending the second data to the internal component object, the method further includes:
- the multi-channel communication component object is used to filter duplicate data in the second data received by the multiple communication channels.
- the multi-channel communication component object has an internal unified interface object; the use of the multi-channel communication component object to receive the first data sent by the internal component object includes:
- the internal unified interface object is used to receive the first data sent by the internal component object.
- the sending the second data to the internal component object includes:
- the second data is sent to the internal component object by using the internal unified interface object.
- the embodiment of the present application also discloses a communication device, which is applied to a vehicle-mounted system.
- vehicle-mounted system includes a multi-channel communication component object and an internal component object.
- the device includes:
- the communication channel establishment module is used to establish multiple communication channels with the server by using the multi-channel communication component object;
- the first data transmission module is configured to use the multi-channel communication component object to receive the first data sent by the internal component object, and to send the first data to the server through the multiple communication channels respectively;
- the second data transmission module is configured to use the multi-channel communication component object to respectively receive the second data sent by the server on the multiple communication channels, and send the second data to the internal component object.
- the communication channel establishment module includes:
- the communication channel establishment sub-module is used to establish communication channels of multiple communication protocols with the server by using the multi-channel communication component object.
- the communication channel establishment submodule includes:
- the communication channel establishment unit is configured to use the multi-channel communication component object to establish communication channels of multiple communication protocols with the server in accordance with the message queue telemetry transmission protocol MQTT.
- it also includes:
- the data filtering module is configured to use the multi-channel communication component object to filter the second data received in the multiple communication channels before the second data transmission module sends the second data to the internal component object Duplicate data in.
- the multi-channel communication component object has an internal unified interface object;
- the first data transmission module includes:
- the first data sending submodule is configured to use the internal unified interface object to receive the first data sent by the internal component object.
- the second data transmission module includes:
- the second data sending submodule is configured to use the internal unified interface object to send the second data to the internal component object.
- the embodiment of the application also discloses a device, including:
- One or more processors are One or more processors.
- One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the apparatus to perform one or more of the methods described above.
- the embodiment of the present application also discloses one or more machine-readable media, on which instructions are stored, which, when executed by one or more processors, cause the processors to execute one or more of the methods described above.
- a multi-channel communication component object is used to establish multiple communication channels with the server.
- the multi-channel communication component object can send the first data sent by the internal component object to the server through multiple communication channels; Second, the data is sent to the multi-channel communication component object in multiple communication channels, and the multi-channel communication component object is sent to the corresponding internal component object, ensuring low-latency and high reliability of communication.
- Figure 1 is a flow chart of the steps of Embodiment 1 of a communication method of the present application
- FIG. 2 is a flowchart of the steps of Embodiment 2 of a communication method of the present application
- FIG. 3 is a schematic diagram of communication between the vehicle-mounted system and the server in an embodiment of the present application
- Fig. 4 is a structural block diagram of an embodiment of a communication device of the present application.
- Embodiment 1 of a communication method of the present application there is shown a step flow chart of Embodiment 1 of a communication method of the present application.
- the communication method is applied to an in-vehicle system.
- the in-vehicle system includes a multi-channel communication component object and an internal component object.
- the method may specifically Including the following steps:
- Step 101 using the multi-channel communication component object to establish multiple communication channels with the server;
- the multi-channel communication component object is a component object used to implement multi-channel communication
- the internal component object is various component objects included in the vehicle-mounted system, and may include control component objects and business component objects.
- the control component object may be a component object for controlling the vehicle to implement various automatic driving functions (for example, automatic cruise function, automatic lane changing function, lane keeping function, automatic parking function, etc.).
- the service component object may be a component object used to implement user services other than non-autonomous driving (for example, online entertainment functions, voice call functions).
- the vehicle-mounted system can use multi-channel communication component objects to establish multiple communication channels with the server when the vehicle is started.
- the multiple communication channels can be communication channels of different wireless communication protocols, such as 3G, 4G, 5G, WIFI communication channels, and each communication channel can realize two-way communication between the multi-channel communication component object and the server.
- 3G, 4G, 5G, WIFI communication channels can be communication channels of different wireless communication protocols, such as 3G, 4G, 5G, WIFI communication channels, and each communication channel can realize two-way communication between the multi-channel communication component object and the server.
- the embodiment of the present application adopts a multi-channel data communication method including 4G and WIFI connections at the same time to ensure low-latency and high-reliability data communication.
- Step 102 Use the multi-channel communication component object to receive the first data sent by the internal component object, and send the first data to the server through the multiple communication channels respectively;
- All internal component objects of the in-vehicle system need to transmit data through the multi-channel communication component object.
- the internal component object sends the first data that needs to be sent to the server to the multi-channel communication component object.
- Multiple communication channels send the first data. That is to say, multi-channel communication component objects will send the first data in multiple communication channels. Even if one communication channel is disconnected, data can be transmitted by other communication channels, which ensures the reliability and low latency of data uplink.
- Step 103 Use the multi-channel communication component object to receive the second data sent by the server in the multiple communication channels, and send the second data to the internal component object.
- the server When the server wants to send data to the internal component objects of the in-vehicle system, it sends second data to the multi-channel communication component objects in multiple communication channels. That is to say, the multi-channel communication component object can receive the second data in multiple communication channels. Even if one communication channel is disconnected, it can also receive the second data in other communication channels, which ensures the reliability and low downlink of received data. Delay.
- the multi-channel communication component object After receiving the second data, the multi-channel communication component object determines which internal component object the second data is to be sent to, and then sends it to the corresponding internal component object.
- a multi-channel communication component object is used to establish multiple communication channels with the server.
- the multi-channel communication component object can send the first data sent by the internal component object to the server through multiple communication channels; Second, the data is sent to the multi-channel communication component object in multiple communication channels, and the multi-channel communication component object is sent to the corresponding internal component object, ensuring low-latency and high reliability of communication.
- the communication method is applied to a vehicle-mounted system.
- the vehicle-mounted system includes a multi-channel communication component object and an internal component object.
- the method may specifically Including the following steps:
- Step 201 using the multi-channel communication component object to establish multiple communication channels with the server;
- a multi-channel communication component object may be used to establish communication channels of multiple communication protocols with the server.
- communication protocols For example, 3G, 4G, 5G, WIFI communication channels, each communication channel can realize the two-way communication between the multi-channel communication component object and the server.
- a multi-channel communication component object can be used to establish communication channels of multiple communication protocols with the server in accordance with MQTT (Message Queuing Telemetry Transport).
- MQTT Message Queuing Telemetry Transport
- MQTT is a message protocol based on the publish/subscribe paradigm. It works on the TCP/IP protocol suite. It is a publish/subscribe message protocol designed for remote devices with low hardware performance and poor network conditions.
- Native MQTT does not support multi-channel communication.
- MQTT is modified so that MQTT can support multi-channel communication. Based on the modification of MQTT, development costs can be reduced and development cycles can be shortened.
- a communication protocol that supports multi-channel transmission can also be built by itself, which is not limited in this application.
- Step 202 Use the multi-channel communication component object to receive the first data sent by the internal component object, and respectively send the first data to the server through the multiple communication channels;
- the internal component object has an internal unified interface object
- the internal unified interface object is an interface object used to uniformly send and receive multiple internal component objects.
- the step of using the multi-channel communication component object to receive the first data sent by the internal component object may include: using the internal unified interface object to receive the first data sent by the internal component object.
- Step 203 Use the multi-channel communication component object to receive the second data sent by the server on the multiple communication channels respectively;
- Step 204 Filter duplicate data in the second data received by the multiple communication channels by using the multi-channel communication component object;
- the multi-channel communication component object Since the second data is received in multiple communication channels, the multi-channel communication component object will get duplicate second data. In order to prevent data redundancy, the multi-channel communication component object can perform deduplication and filtering on the received data. To remove duplicate data.
- Step 205 Send the second data to the internal component object.
- the step of sending the second data to the internal component object may include: using the internal unified interface object to send the second data to the internal component object.
- a multi-channel communication component object is used to establish multiple communication channels with the server.
- the multi-channel communication component object can send the first data sent by the internal component object to the server through multiple communication channels; Second, the data is sent to the multi-channel communication component object in multiple communication channels, and the multi-channel communication component object is sent to the corresponding internal component object, ensuring low-latency and high reliability of communication.
- Figure 3 is a schematic diagram of the communication between the vehicle-mounted system and the server in an embodiment of the application.
- the in-vehicle system may include a multi-channel communication component object and multiple internal component objects, for example, a business component object and a control component object.
- the multi-channel communication component object of the in-vehicle system has an internal unified interface object, and the server has a multi-channel communication component object.
- the multi-channel component object of the vehicle system and the multi-channel component object of the server establish multiple communication channels, including 4G channels and WIFI channels.
- the internal component object can send the first data to the multi-channel communication component object of the vehicle system through the internal unified interface object, and the multi-channel communication component object of the vehicle system sends the first data to the multi-channel communication component object of the server through multiple communication channels.
- the server sends the second data to the multi-channel communication component object of the vehicle system through its own multi-channel communication component object, and the multi-channel communication component object of the vehicle system filters the received second data to remove duplicate data.
- the multi-channel communication component object sends the filtered second data to the corresponding internal component object through the internal unified interface object.
- the communication device is applied to a vehicle-mounted system.
- the vehicle-mounted system includes a multi-channel communication component object and an internal component object.
- the device may specifically include the following Module:
- the communication channel establishment module 401 is configured to establish multiple communication channels with the server by using the multi-channel communication component object;
- the first data transmission module 402 is configured to use the multi-channel communication component object to receive the first data sent by the internal component object, and to send the first data to the server through the multiple communication channels respectively;
- the second data transmission module 403 is configured to use the multi-channel communication component object to respectively receive the second data sent by the server on the multiple communication channels, and send the second data to the internal component object.
- the communication channel establishing module 401 may include:
- the communication channel establishment sub-module is used to establish communication channels of multiple communication protocols with the server by using the multi-channel communication component object.
- the communication channel establishment submodule may include:
- the communication channel establishment unit is configured to use the multi-channel communication component object to establish communication channels of multiple communication protocols with the server in accordance with the message queue telemetry transmission protocol MQTT.
- the device may further include:
- the data filtering module is configured to use the multi-channel communication component object to filter the second data received in the multiple communication channels before the second data transmission module sends the second data to the internal component object Duplicate data in.
- the multi-channel communication component object has an internal unified interface object;
- the first data transmission module 402 may include:
- the first data sending submodule is configured to use the internal unified interface object to receive the first data sent by the internal component object.
- the second data transmission module 403 may include:
- the second data sending submodule is configured to use the internal unified interface object to send the second data to the internal component object.
- a multi-channel communication component object is used to establish multiple communication channels with the server.
- the multi-channel communication component object can send the first data sent by the internal component object to the server through multiple communication channels; Second, the data is sent to the multi-channel communication component object in multiple communication channels, and the multi-channel communication component object is sent to the corresponding internal component object, ensuring low-latency and high reliability of communication.
- the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
- the embodiment of the present application also provides a device, including:
- One or more processors are One or more processors.
- One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the device to execute the method described in the embodiment of the present application.
- the embodiments of the present application also provide one or more machine-readable media on which instructions are stored, which when executed by one or more processors, cause the processors to execute the methods described in the embodiments of the present application.
- the embodiments of the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
- the instruction device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提供了一种通信方法和装置,应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述方法包括:采用所述多通道通信组件对象与服务器建立多个通信通道;采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据,并将所述第二数据发送至所述内部组件对象。本申请实施例通过多通信通道传输保证了通信的低延时、高可靠。
Description
本申请要求2019年06月04日递交的申请号为201910483537.0、发明名称为“一种通信方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信技术领域,特别是涉及一种通信方法和一种通信装置。
随着无人驾驶技术的发展,无人车被运用到越来越多的领域。例如,仓库无人车、矿山无人车等等。
无人车上需要有一套能保持低延时、高可靠的数据通讯系统,使得无人车能够与服务器及时同步运行数据,同时接收来自服务器的指令操作。
但是目前无人车的通信系统在实际运行是,无法满足低延时、高可靠的要求。
发明内容
鉴于上述问题,提出了本申请实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种通信方法和相应的一种通信装置。
为了解决上述问题,本申请实施例公开了一种通信方法,应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述方法包括:
采用所述多通道通信组件对象与服务器建立多个通信通道;
采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;
采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据,并将所述第二数据发送至所述内部组件对象。
可选地,所述采用所述多通道通信组件对象与服务器建立多个通信通道,包括:
采用所述多通道通信组件对象与服务器建立多个通信协议的通信通道。
可选地,所述采用所述多通道通信组件对象与服务器建立多个通信协议的通信通道,包括:
采用所述多通道通信组件对象按照消息队列遥测传输协议MQTT,与服务器建立多个通信协议的通信通道。
可选地,在将所述第二数据发送至所述内部组件对象之前,还包括:
采用所述多通道通信组件对象过滤在所述多个通信通道接收的第二数据中的重复数据。
可选地,所述多通道通信组件对象具有内部统一接口对象;所述采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,包括:
采用所述内部统一接口对象接收所述内部组件对象发送的第一数据。
可选地,所述将所述第二数据发送至所述内部组件对象,包括:
采用所述内部统一接口对象将所述第二数据发送至所述内部组件对象。
本申请实施例还公开了一种通信装置,应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述装置包括:
通信通道建立模块,用于采用所述多通道通信组件对象与服务器建立多个通信通道;
第一数据传输模块,用于采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;
第二数据传输模块,用于采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据,并将所述第二数据发送至所述内部组件对象。
可选地,所述通信通道建立模块包括:
通信通道建立子模块,用于采用所述多通道通信组件对象与服务器建立多个通信协议的通信通道。
可选地,所述通信通道建立子模块包括:
通信通道建立单元,用于采用所述多通道通信组件对象按照消息队列遥测传输协议MQTT,与服务器建立多个通信协议的通信通道。
可选地,还包括:
数据过滤模块,用于在所述第二数据传输模块将所述第二数据发送至所述内部组件对象之前,采用所述多通道通信组件对象过滤在所述多个通信通道接收的第二数据中的重复数据。
可选地,所述多通道通信组件对象具有内部统一接口对象;所述第一数据传输模块包括:
第一数据发送子模块,用于采用所述内部统一接口对象接收所述内部组件对象发送的第一数据。
可选地,所述第二数据传输模块包括:
第二数据发送子模块,用于采用所述内部统一接口对象将所述第二数据发送至所述内部组件对象。
本申请实施例还公开了一种装置,包括:
一个或多个处理器;和
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述装置执行如上所述的一个或多个的方法。
本申请实施例还公开了一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如上所述的一个或多个的方法。
本申请实施例包括以下优点:
本申请实施例中,采用多通道通信组件对象与服务器建立多个的通信通道,多通道通信组件对象可以将内部组件对象发送的第一数据,通过多个通信通道发送至服务器;服务器发送的第二数据在多个通信通道发送至多通道通信组件对象,由多通道通信组件对象发送给相应的内部组件对象,保证了通信的低延时、高可靠。
图1是本申请的一种通信方法实施例一的步骤流程图
图2是本申请的一种通信方法实施例二的步骤流程图;
图3是本申请实施例中车载系统与服务器通信的示意图;
图4是本申请的一种通信装置实施例的结构框图。
参照图1,示出了本申请的一种通信方法实施例一的步骤流程图,该通信方法应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述方法具体可以包括如下步骤:
步骤101,采用所述多通道通信组件对象与服务器建立多个通信通道;
本申请实施例中,多通道通信组件对象是用于实现多通道通信的组件对象,内部组件对象是车载系统包括的各种组件对象,可以包括控制组件对象和业务组件对象。控制组件对象可以是用于控制车辆的实现各种自动驾驶功能(例如,自动巡航功能、自动变道功能、车道保持功能、自动泊车功能等等)的组件对象。业务组件对象可以是用于实现非自动驾驶之外的用户业务(例如,在线娱乐功能,语音通话功能)的组件对象。
车载系统可以在车辆启动时,采用多通道通信组件对象与服务器建立多个通信通道。
多个通信通道可以是不同无线通信协议的通信信道,例如3G、4G、5G、WIFI的通信通道,每个通信通道都可以实现多通道通信组件对象与服务器之间的双向通信。
在实际中,如果仅采用单一的4G连接进行数据传输,4G信号的不稳定性会是一个较大的隐患。如果采用单一的WIFI连接,无人车全路段行驶的WIFI部署是一个巨大的施工难题。因此,本申请实施例采用同时支持包括4G、WIFI连接的多通道数据通信方法来保障低延时、高可靠的数据通信。
步骤102,采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;
车载系统的所有内部组件对象都需要通过多通道通信组件对象来进行数据传输,内部组件对象将需要发送给服务器的第一数据发送至多通道通信组件对象,由多通道通信组件对象分别在已经建立的多个通信通道发送第一数据。也就是说多通道通信组件对象在多个通信通道都会发送第一数据,即使某一个通信通道断开,也可以由其他的通信通道进行数据传输,保证了数据上行的可靠和低延时。
步骤103,采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据,并将所述第二数据发送至所述内部组件对象。
服务器要向车载系统的内部组件对象发送数据时,分别在多个通信通道向多通道通信组件对象发送第二数据。也就是说多通道通信组件对象可以在多个通信通道接收到第二数据,即使某一个通信通道断开,也可以在其他通信信道接收到第二数据,保证了接收数据下行的可靠性和低延时。
多通道通信组件对象接收到第二数据后,确定第二数据是要发送给哪个内部组件对象,然后发送至相应的内部组件对象。
本申请实施例中,采用多通道通信组件对象与服务器建立多个的通信通道,多通道通信组件对象可以将内部组件对象发送的第一数据,通过多个通信通道发送至服务器;服务器发送的第二数据在多个通信通道发送至多通道通信组件对象,由多通道通信组件对象发送给相应的内部组件对象,保证了通信的低延时、高可靠。
参照图2,示出了本申请的一种通信方法实施例二的步骤流程图,该通信方法应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述方法具体可以包括如下步骤:
步骤201,采用所述多通道通信组件对象与服务器建立多个通信通道;
在本申请实施例中,可以采用多通道通信组件对象与服务器建立多个通信协议的通信通道。例如3G、4G、5G、WIFI的通信通道,每个通信通道都可以实现多通道通信组件对象与服务器之间的双向通信。
具体的,可以采用多通道通信组件对象按照消息队列遥测传输协议MQTT(Message Queuing Telemetry Transport),与服务器建立多个通信协议的通信通道。
MQTT是基于发布/订阅范式的消息协议,工作在TCP/IP协议族上,是为硬件性能低下的远程设备以及网络状况糟糕的情况下而设计的发布/订阅型消息协议。
原生的MQTT是不支持多通道通信的,本申请实施例中通过对MQTT进行修改,使得MQTT可以支持多通道通信,基于对MQTT的修改可以降低开发成本,缩短开发周期。当然在实际中,也可以通过自建支持多通道传输的通信协议,本申请对此不做限定。
步骤202,采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;
在本申请实施例中,内部组件对象具有内部统一接口对象,内部统一接口对象是用于与多个内部组件对象进行统一发送和接收的接口对象。
所述采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据的步骤可以包括:采用所述内部统一接口对象接收所述内部组件对象发送的第一数据。
步骤203,采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据;
步骤204,采用所述多通道通信组件对象过滤在所述多个通信通道接收的第二数据中的重复数据;
由于在多个通信通道都接收了第二数据,因此多通道通信组件对象会得到重复的第二数据,为了防止数据冗余,多通道通信组件对象可以对接收到的数据进行去重过滤处理,以去除重复数据。
步骤205,将所述第二数据发送至所述内部组件对象。
所述将所述第二数据发送至所述内部组件对象的步骤可以包括:采用所述内部统一接口对象将所述第二数据发送至所述内部组件对象。
本申请实施例中,采用多通道通信组件对象与服务器建立多个的通信通道,多通道通信组件对象可以将内部组件对象发送的第一数据,通过多个通信通道发送至服务器;服务器发送的第二数据在多个通信通道发送至多通道通信组件对象,由多通道通信组件 对象发送给相应的内部组件对象,保证了通信的低延时、高可靠。
为了使本领域技术人员能够更好地理解本申请实施例,下面通过一个例子对本申请实施例加以说明:
如图3所示为本申请实施例中车载系统与服务器通信的示意图。
车载系统可以包括多通道通信组件对象和多个内部组件对象,例如,业务组件对象、控制组件对象,车载系统的多通道通信组件对象具有内部统一接口对象,服务器具有多通道通信组件对象。
车载系统的多通道组件对象与服务器的多通道组件对象建立多个通信通道,包括4G通道和WIFI通道。
内部组件对象可以通过内部统一接口对象将第一数据发送至车载系统的多通道通信组件对象,车载系统的多通道通信组件对象在多个通信通道向服务器的多通道通信组件对象发送第一数据。
服务器通过自身的多通道通信组件对象向车载系统的多通道通信组件对象发送第二数据,车载系统的多通道通信组件对象对接收的第二数据进行过滤,以去除重复数据。多通道通信组件对象通过内部统一接口对象,将过滤后的第二数据发送至相应的内部组件对象。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。
参照图4,示出了本申请的一种通信装置实施例的结构框图,该通信装置应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述装置具体可以包括如下模块:
通信通道建立模块401,用于采用所述多通道通信组件对象与服务器建立多个通信通道;
第一数据传输模块402,用于采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;
第二数据传输模块403,用于采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据,并将所述第二数据发送至所述内部组件对象。
在本申请实施例中,所述通信通道建立模块401可以包括:
通信通道建立子模块,用于采用所述多通道通信组件对象与服务器建立多个通信协议的通信通道。
在本申请实施例中,所述通信通道建立子模块可以包括:
通信通道建立单元,用于采用所述多通道通信组件对象按照消息队列遥测传输协议MQTT,与服务器建立多个通信协议的通信通道。
在本申请实施例中,所述的装置还可以包括:
数据过滤模块,用于在所述第二数据传输模块将所述第二数据发送至所述内部组件对象之前,采用所述多通道通信组件对象过滤在所述多个通信通道接收的第二数据中的重复数据。
在本申请实施例中,所述多通道通信组件对象具有内部统一接口对象;所述第一数据传输模块402可以包括:
第一数据发送子模块,用于采用所述内部统一接口对象接收所述内部组件对象发送的第一数据。
在本申请实施例中,所述第二数据传输模块403可以包括:
第二数据发送子模块,用于采用所述内部统一接口对象将所述第二数据发送至所述内部组件对象。
本申请实施例中,采用多通道通信组件对象与服务器建立多个的通信通道,多通道通信组件对象可以将内部组件对象发送的第一数据,通过多个通信通道发送至服务器;服务器发送的第二数据在多个通信通道发送至多通道通信组件对象,由多通道通信组件对象发送给相应的内部组件对象,保证了通信的低延时、高可靠。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本申请实施例还提供了一种装置,包括:
一个或多个处理器;和
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述装置执行本申请实施例所述的方法。
本申请实施例还提供了一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行本申请实施例所述的方法。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其 他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包 括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本申请所提供的一种通信方法和一种通信装置,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
Claims (14)
- 一种通信方法,其特征在于,应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述方法包括:采用所述多通道通信组件对象与服务器建立多个通信通道;采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据,并将所述第二数据发送至所述内部组件对象。
- 根据权利要求1所述的方法,其特征在于,所述采用所述多通道通信组件对象与服务器建立多个通信通道,包括:采用所述多通道通信组件对象与服务器建立多个通信协议的通信通道。
- 根据权利要求2所述的方法,其特征在于,所述采用所述多通道通信组件对象与服务器建立多个通信协议的通信通道,包括:采用所述多通道通信组件对象按照消息队列遥测传输协议MQTT,与服务器建立多个通信协议的通信通道。
- 根据权利要求1所述的方法,其特征在于,在将所述第二数据发送至所述内部组件对象之前,还包括:采用所述多通道通信组件对象过滤在所述多个通信通道接收的第二数据中的重复数据。
- 根据权利要求1所述的方法,其特征在于,所述多通道通信组件对象具有内部统一接口对象;所述采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,包括:采用所述内部统一接口对象接收所述内部组件对象发送的第一数据。
- 根据权利要求5所述的方法,其特征在于,所述将所述第二数据发送至所述内部组件对象,包括:采用所述内部统一接口对象将所述第二数据发送至所述内部组件对象。
- 一种通信装置,其特征在于,应用于车载系统,所述车载系统包括多通道通信组件对象以及内部组件对象,所述装置包括:通信通道建立模块,用于采用所述多通道通信组件对象与服务器建立多个通信通道;第一数据传输模块,用于采用所述多通道通信组件对象接收所述内部组件对象发送的第一数据,并分别在所述多个通信通道向所述服务器发送所述第一数据;第二数据传输模块,用于采用所述多通道通信组件对象分别在所述多个通信通道接收所述服务器发送的第二数据,并将所述第二数据发送至所述内部组件对象。
- 根据权利要求7所述的装置,其特征在于,所述通信通道建立模块包括:通信通道建立子模块,用于采用所述多通道通信组件对象与服务器建立多个通信协议的通信通道。
- 根据权利要求8所述的装置,其特征在于,所述通信通道建立子模块包括:通信通道建立单元,用于采用所述多通道通信组件对象按照消息队列遥测传输协议MQTT,与服务器建立多个通信协议的通信通道。
- 根据权利要求7所述的装置,其特征在于,还包括:数据过滤模块,用于在所述第二数据传输模块将所述第二数据发送至所述内部组件对象之前,采用所述多通道通信组件对象过滤在所述多个通信通道接收的第二数据中的重复数据。
- 根据权利要求7所述的装置,其特征在于,所述多通道通信组件对象具有内部统一接口对象;所述第一数据传输模块包括:第一数据发送子模块,用于采用所述内部统一接口对象接收所述内部组件对象发送的第一数据。
- 根据权利要求11所述的装置,其特征在于,所述第二数据传输模块包括:第二数据发送子模块,用于采用所述内部统一接口对象将所述第二数据发送至所述内部组件对象。
- 一种通信装置,其特征在于,包括:一个或多个处理器;和其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述装置执行如权利要求1-6所述的一个或多个的方法。
- 一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如权利要求1-6所述的一个或多个的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910483537.0 | 2019-06-04 | ||
CN201910483537.0A CN110365643A (zh) | 2019-06-04 | 2019-06-04 | 一种通信方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020244399A1 true WO2020244399A1 (zh) | 2020-12-10 |
Family
ID=68215136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/092047 WO2020244399A1 (zh) | 2019-06-04 | 2020-05-25 | 一种通信方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110365643A (zh) |
WO (1) | WO2020244399A1 (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365643A (zh) * | 2019-06-04 | 2019-10-22 | 菜鸟智能物流控股有限公司 | 一种通信方法和装置 |
CN111970340B (zh) * | 2020-07-30 | 2023-06-16 | 北京大米科技有限公司 | 信息传输方法、可读存储介质和电子设备 |
CN113905350B (zh) * | 2021-08-27 | 2023-09-15 | 华人运通(上海)自动驾驶科技有限公司 | 数据上行、下行传输方法、车载智能终端、服务器及系统 |
CN114173144A (zh) * | 2021-12-02 | 2022-03-11 | 北京优祥智恒科技有限公司 | 一种直播设备及其控制方法和直播背包 |
CN115225398A (zh) * | 2022-07-22 | 2022-10-21 | 蔚来汽车科技(安徽)有限公司 | 一种车辆报警信息处理系统以及方法 |
CN115225399A (zh) * | 2022-07-22 | 2022-10-21 | 蔚来汽车科技(安徽)有限公司 | 一种车辆报警信息处理系统以及方法 |
CN117439941A (zh) * | 2023-12-20 | 2024-01-23 | 厦门金龙联合汽车工业有限公司 | 一种面向无人车的基于多链路数据传输方法及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170214760A1 (en) * | 2016-01-27 | 2017-07-27 | Autofactory, Inc. | Proxy device for car and method for managing the data from car |
CN108667870A (zh) * | 2017-03-30 | 2018-10-16 | 华为技术有限公司 | 一种IoT数据上报的方法、装置和系统 |
CN108873831A (zh) * | 2018-06-01 | 2018-11-23 | 南京理工大学 | 一种通用多通道车间数据采集方法 |
CN110365643A (zh) * | 2019-06-04 | 2019-10-22 | 菜鸟智能物流控股有限公司 | 一种通信方法和装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101693566B1 (ko) * | 2013-01-07 | 2017-01-06 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 오프로드 처리 방법, 및 제어 유닛과 시스템 |
CN104980988A (zh) * | 2014-04-03 | 2015-10-14 | 上海宽带技术及应用工程研究中心 | 多链路聚合的无线通信系统及方法 |
CN108322708B (zh) * | 2018-02-12 | 2020-07-31 | 福州大学 | 一种基于多路并行传输技术的实时视频传输系统及其方法 |
CN108616298B (zh) * | 2018-04-19 | 2021-02-26 | Oppo广东移动通信有限公司 | 兼容wifi模组和移动通信模组的mimo系统和移动终端 |
-
2019
- 2019-06-04 CN CN201910483537.0A patent/CN110365643A/zh active Pending
-
2020
- 2020-05-25 WO PCT/CN2020/092047 patent/WO2020244399A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170214760A1 (en) * | 2016-01-27 | 2017-07-27 | Autofactory, Inc. | Proxy device for car and method for managing the data from car |
CN108667870A (zh) * | 2017-03-30 | 2018-10-16 | 华为技术有限公司 | 一种IoT数据上报的方法、装置和系统 |
CN108873831A (zh) * | 2018-06-01 | 2018-11-23 | 南京理工大学 | 一种通用多通道车间数据采集方法 |
CN110365643A (zh) * | 2019-06-04 | 2019-10-22 | 菜鸟智能物流控股有限公司 | 一种通信方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN110365643A (zh) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020244399A1 (zh) | 一种通信方法和装置 | |
KR102110698B1 (ko) | 단말기 상호 연결 방법, 장치 및 저장 매체 | |
WO2020187279A1 (zh) | 一种传输处理方法、装置和计算机可读存储介质 | |
JP2019102064A (ja) | スマート装置のタスク処理方法および装置 | |
US10212236B2 (en) | Information transmitting method and apparatus in robot operating system | |
CN106254468B (zh) | 一种用于智能后视镜的控制系统及方法 | |
CN102904959A (zh) | 网络加速方法和网关 | |
WO2019080222A1 (zh) | 移动终端的数据传输方法、装置和移动终端 | |
CN110990482A (zh) | 异步数据库之间的数据同步方法及装置 | |
CN105141603A (zh) | 通信数据传输方法及系统 | |
US9237197B2 (en) | Method and apparatus of using separate reverse channel for user input in mobile device display replication | |
CN105245612A (zh) | 一种终端的文件传输方法及系统 | |
CN106850554B (zh) | 双系统定向连接的方法和装置 | |
CN106330833A (zh) | 基于因特网内容适配协议的通信方法、客户端和服务器 | |
CN112713969B (zh) | 数据传输方法和使用该方法的装置、系统 | |
CN111818010B (zh) | 一种数据传输方法、装置、电子设备及存储介质 | |
CN103181140A (zh) | 识别服务请求类型的方法、媒体服务器和终端设备 | |
CN109981778B (zh) | 内容分发网络的服务实现方法、装置、设备及存储介质 | |
WO2023040984A1 (zh) | 基于无人机的多路视频直播方法、系统、设备及存储介质 | |
CN113891393B (zh) | 链路自适应传输方法、装置、设备及存储介质 | |
WO2022110919A1 (zh) | 一种信息订阅的方法及装置 | |
WO2017092315A1 (zh) | 一种控制电视的方法及装置 | |
CN104753821A (zh) | 一种网络连接方法、信息反馈方法、终端及网络接入设备 | |
CN115696231A (zh) | 组队方法、电子设备及介质 | |
CN113939007A (zh) | 一种用于跨屏幕同步导航的方法与设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20818077 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20818077 Country of ref document: EP Kind code of ref document: A1 |