CN105916015A - Vehicle-mounted multi-equipment audio and video data sharing method, device and system - Google Patents

Vehicle-mounted multi-equipment audio and video data sharing method, device and system Download PDF

Info

Publication number
CN105916015A
CN105916015A CN201510952979.7A CN201510952979A CN105916015A CN 105916015 A CN105916015 A CN 105916015A CN 201510952979 A CN201510952979 A CN 201510952979A CN 105916015 A CN105916015 A CN 105916015A
Authority
CN
China
Prior art keywords
video data
smart machine
audio
instruction
protocol
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.)
Pending
Application number
CN201510952979.7A
Other languages
Chinese (zh)
Inventor
郑吉剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510952979.7A priority Critical patent/CN105916015A/en
Publication of CN105916015A publication Critical patent/CN105916015A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth®, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2805Home Audio Video Interoperability [HAVI] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种车载多设备共享音视频数据的方法、装置及系统,其中,该方法包括:在通过蓝牙协议连接第一智能设备后,接收第二智能设备通过DLNA协议发送的连接请求;判断第二智能设备是否为可连接设备,在第二智能设备为可连接设备时,通过DLNA协议与第二智能设备建立通信连接;接收第二智能设备通过DLNA协议发送的控制指令,并根据控制指令执行相应的操作。该方法不需要额外的数据线或U盘等存储设备,方法简单,可以快速实现车载多设备之间的数据共享。

The invention discloses a method, a device and a system for sharing audio and video data among multiple vehicle-mounted devices, wherein the method includes: after connecting the first smart device through the Bluetooth protocol, receiving a connection request sent by the second smart device through the DLNA protocol; Judging whether the second smart device is a connectable device, when the second smart device is a connectable device, establishing a communication connection with the second smart device through the DLNA protocol; receiving a control instruction sent by the second smart device through the DLNA protocol, and according to the control instruction to perform the corresponding operation. The method does not require additional storage devices such as data lines or U disks, is simple, and can quickly realize data sharing between multiple devices on the vehicle.

Description

一种车载多设备共享音视频数据的方法、装置及系统A method, device and system for sharing audio and video data with multiple devices in a vehicle

技术领域technical field

本发明涉及数据共享技术领域,具体地,涉及一种车载多设备共享音视频数据的方法、装置及系统。The present invention relates to the technical field of data sharing, in particular to a method, device and system for sharing audio and video data between multiple devices in a vehicle.

背景技术Background technique

汽车的车载系统通常是通过蓝牙来连接手机和车载系统,车载系统通过蓝牙协议来控制手机,来实现接打电话,播放音视频资料等。但是在手机设备通过蓝牙协议链接车载时,车载不能再链接第二个手机,任意时刻,车载系统只能通过蓝牙来连接一台设备。The vehicle-mounted system of a car usually connects the mobile phone and the vehicle-mounted system through Bluetooth. The vehicle-mounted system controls the mobile phone through the Bluetooth protocol to make and receive calls, play audio and video materials, etc. However, when the mobile device is connected to the vehicle through the Bluetooth protocol, the vehicle cannot be connected to the second mobile phone. At any time, the vehicle system can only connect to one device through Bluetooth.

目前传统的方案是使用蓝牙协议来连接手机和车载系统,但是蓝牙仅能用于一台手机上。当我们想通过蓝牙连接一台手机的同时,共享其他用户手机的音视频资料时就无能为力了。The current traditional solution is to use the bluetooth protocol to connect the mobile phone and the vehicle system, but bluetooth can only be used on one mobile phone. When we want to connect a mobile phone via Bluetooth, we can't do anything when sharing audio and video data of other users' mobile phones.

此外,虽然可以通过U盘来实现共享,但是U盘并没有手机方便有效。In addition, although sharing can be achieved through a USB flash drive, the USB flash drive is not as convenient and effective as a mobile phone.

发明内容Contents of the invention

本发明是为了克服现有技术中车载系统无法方便实现数据共享的缺陷,根据本发明的一个方面,提出一种车载多设备共享音视频数据的方法。The purpose of the present invention is to overcome the defect that the vehicle-mounted system in the prior art cannot conveniently realize data sharing. According to one aspect of the present invention, a method for sharing audio and video data between multiple vehicle-mounted devices is proposed.

本发明实施例提供的一种车载多设备共享音视频数据的方法,包括:A method for sharing audio and video data between multiple vehicle-mounted devices provided by an embodiment of the present invention includes:

在通过蓝牙协议连接第一智能设备后,接收第二智能设备通过DLNA协议发送的连接请求,连接请求包括第二智能设备的设备标识;After connecting the first smart device through the Bluetooth protocol, receiving a connection request sent by the second smart device through the DLNA protocol, the connection request includes the device identification of the second smart device;

判断第二智能设备是否为可连接设备,在第二智能设备为可连接设备时,通过DLNA协议与第二智能设备建立通信连接;Judging whether the second smart device is a connectable device, and establishing a communication connection with the second smart device through the DLNA protocol when the second smart device is a connectable device;

接收第二智能设备通过DLNA协议发送的控制指令,并根据控制指令执行相应的操作;控制指令包括音视频数据上传指令、播放指令、暂停指令、停止指令、搜索指令、快进指令或快退指令,且音视频数据上传指令中封装有相应的音视频数据。Receive the control command sent by the second smart device through the DLNA protocol, and perform corresponding operations according to the control command; the control command includes audio and video data upload command, play command, pause command, stop command, search command, fast forward command or fast reverse command , and the corresponding audio and video data is encapsulated in the audio and video data upload instruction.

在上述技术方案中,判断第二智能设备是否为可连接设备,包括:In the above technical solution, judging whether the second smart device is a connectable device includes:

判断第二智能设备的设备标识是否与设备白名单中的设备标识相匹配,设备白名单中存储有可连接设备的设备标识;Judging whether the device identifier of the second smart device matches the device identifier in the device whitelist, and the device identifier of the connectable device is stored in the device whitelist;

在二者相匹配时确定第二智能设备为可连接设备。When the two match, it is determined that the second smart device is a connectable device.

在上述技术方案中,还包括:通过DLNA协议向第二智能设备发送音视频数据下传指令,将音视频数据下传指令中封装的音视频数据下传至第二智能设备。In the above technical solution, it also includes: sending an audio and video data download instruction to the second smart device through the DLNA protocol, and downloading the audio and video data encapsulated in the audio and video data download instruction to the second smart device.

在上述技术方案中,DLNA协议包括:uPnP协议、HTTP/RTP协议、TCP/IP协议、Wi-Fi协议和以太网协议中的一项或多项。In the above technical solution, the DLNA protocol includes: one or more of uPnP protocol, HTTP/RTP protocol, TCP/IP protocol, Wi-Fi protocol and Ethernet protocol.

基于同样的发明构思,本发明实施例还提供一种共享音视频数据的车载装置包括:Based on the same inventive concept, the embodiment of the present invention also provides a vehicle-mounted device for sharing audio and video data including:

接收模块,用于在通过蓝牙协议连接第一智能设备后,接收第二智能设备通过DLNA协议发送的连接请求,连接请求包括第二智能设备的设备标识;The receiving module is used to receive the connection request sent by the second smart device through the DLNA protocol after the first smart device is connected through the Bluetooth protocol, and the connection request includes the device identification of the second smart device;

判断模块,用于判断第二智能设备是否为可连接设备,在第二智能设备为可连接设备时,通过DLNA协议与第二智能设备建立通信连接;A judging module, configured to judge whether the second smart device is a connectable device, and establish a communication connection with the second smart device through the DLNA protocol when the second smart device is a connectable device;

处理模块,用于接收第二智能设备通过DLNA协议发送的控制指令,并根据控制指令执行相应的操作;控制指令包括音视频数据上传指令、播放指令、暂停指令、停止指令、搜索指令、快进指令或快退指令,且音视频数据上传指令中封装有相应的音视频数据。The processing module is used to receive the control instructions sent by the second smart device through the DLNA protocol, and perform corresponding operations according to the control instructions; the control instructions include audio and video data upload instructions, play instructions, pause instructions, stop instructions, search instructions, fast forward command or rewind command, and the corresponding audio and video data is encapsulated in the audio and video data upload command.

在上述技术方案中,判断模块包括:In the above technical solution, the judging module includes:

判断单元,用于判断第二智能设备的设备标识是否与设备白名单中的设备标识相匹配,设备白名单中存储有可连接设备的设备标识;A judging unit, configured to judge whether the device identifier of the second smart device matches the device identifier in the device whitelist, and the device identifier of the connectable device is stored in the device whitelist;

处理单元,用于在二者相匹配时确定第二智能设备为可连接设备。A processing unit is configured to determine that the second smart device is a connectable device when the two match.

在上述技术方案中,还包括:In the above-mentioned technical scheme, also include:

发送模块,用于通过DLNA协议向第二智能设备发送音视频数据下传指令,将音视频数据下传指令中封装的音视频数据下传至第二智能设备。The sending module is configured to send an audio and video data download instruction to the second smart device through the DLNA protocol, and download the audio and video data encapsulated in the audio and video data download instruction to the second smart device.

在上述技术方案中,DLNA协议包括:uPnP协议、HTTP/RTP协议、TCP/IP协议、Wi-Fi协议和以太网协议中的一项或多项。In the above technical solution, the DLNA protocol includes: one or more of uPnP protocol, HTTP/RTP protocol, TCP/IP protocol, Wi-Fi protocol and Ethernet protocol.

基于同样的发明构思,本发明实施例还提供一种共享音视频数据的车载系统,包括:如上所述的车载装置、第一智能设备和至少一个第二智能设备;Based on the same inventive concept, an embodiment of the present invention also provides a vehicle-mounted system for sharing audio and video data, including: the above-mentioned vehicle-mounted device, a first smart device, and at least one second smart device;

第一智能设备通过蓝牙协议与车载装置相连,第二智能设备通过DLNA协议与车载装置相连。The first smart device is connected to the vehicle-mounted device through the Bluetooth protocol, and the second smart device is connected to the vehicle-mounted device through the DLNA protocol.

本发明实施例提供的一种车载多设备共享音视频数据的方法、装置及系统在车载装置的蓝牙处于使用状态时,通过DLNA协议与其他智能设备进行连接,从而可以实现数据共享。该方法不需要额外的数据线或U盘等存储设备,方法简单,可以快速实现车载多设备之间的数据共享。同时,多个智能设备之间互不干扰,可以相互独立的与车载装置建立连接并实现数据共享。The embodiment of the present invention provides a method, device and system for sharing audio and video data between multiple vehicle-mounted devices. When the Bluetooth of the vehicle-mounted device is in use, it connects with other smart devices through the DLNA protocol, so as to realize data sharing. The method does not require additional storage devices such as data cables or U disks, is simple, and can quickly realize data sharing between multiple devices on the vehicle. At the same time, multiple smart devices do not interfere with each other, and can independently establish connections with vehicle-mounted devices and realize data sharing.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:

图1为本发明实施例中车载多设备共享音视频数据的方法流程图;Fig. 1 is the flow chart of the method for sharing audio and video data among vehicle-mounted multi-device in the embodiment of the present invention;

图2为实施例一中车载多设备共享音视频数据的方法流程图;Fig. 2 is the flow chart of the method for sharing audio and video data among vehicle-mounted multi-device in embodiment one;

图3为本发明实施例中车载装置的第一结构图;Fig. 3 is the first structural diagram of the vehicle-mounted device in the embodiment of the present invention;

图4为本发明实施例中判断模块的结构图;Fig. 4 is the structural diagram of judging module in the embodiment of the present invention;

图5为本发明实施例中车载装置的第二结构图;5 is a second structural diagram of the vehicle-mounted device in the embodiment of the present invention;

图6为本发明实施例中车载系统的结构图。FIG. 6 is a structural diagram of an on-vehicle system in an embodiment of the present invention.

具体实施方式detailed description

下面结合附图,对本发明的具体实施方式进行详细描述,但应当理解本发明的保护范围并不受具体实施方式的限制。The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.

根据本发明实施例,提供了一种车载多设备共享音视频数据的方法,参见图1所示,该方法包括:According to an embodiment of the present invention, there is provided a method for sharing audio and video data between multiple vehicle-mounted devices, as shown in FIG. 1 , the method includes:

步骤101:在通过蓝牙协议连接第一智能设备后,接收第二智能设备通过DLNA协议发送的连接请求,连接请求包括第二智能设备的设备标识。Step 101: After connecting the first smart device through the Bluetooth protocol, receive a connection request sent by the second smart device through the DLNA protocol, where the connection request includes the device identifier of the second smart device.

在第一智能设备通过蓝牙协议与车载装置连接后,不能再通过蓝牙协议与其他智能设备(即上述的第二智能设备)相连。本发明实施例中,通过DLNA协议实现与其他的智能设备之间的连接,该智能设备具体可以为智能手机、平板电脑、个人电脑等。After the first smart device is connected to the vehicle-mounted device through the Bluetooth protocol, it cannot be connected to other smart devices (ie, the above-mentioned second smart device) through the Bluetooth protocol. In the embodiment of the present invention, the connection with other smart devices is realized through the DLNA protocol, and the smart devices may specifically be smart phones, tablet computers, personal computers, and the like.

数字生活网络联盟(Digital Living Network Alliance,DLNA)是一种数字家庭设备规范,目的是无需额外配置情况下实现消费电子设备之间的内容共享,即所谓的自动数字化内容共享(automatic digital content share),作为未来数字家庭的基本协议,DLNA得到终端厂商、芯片厂商、标准组织和运营商的广泛支持。支持DLNA功能的设备通过局域网接入到同一个广播域内,最常见的就是支持DLNA功能的消费电子设备通过家庭网络接入到同一个广播域,然后通过DLNA协议,各个家庭电子设备上的数字化内容比如视频可以被其他设备自动发现和跨设备共享。Digital Living Network Alliance (Digital Living Network Alliance, DLNA) is a digital home device specification, the purpose is to achieve content sharing between consumer electronic devices without additional configuration, the so-called automatic digital content share (automatic digital content share) , as the basic protocol of the future digital home, DLNA has been widely supported by terminal manufacturers, chip manufacturers, standard organizations and operators. Devices that support DLNA functions are connected to the same broadcast domain through a local area network. The most common is that consumer electronic devices that support DLNA functions are connected to the same broadcast domain through a home network, and then through the DLNA protocol, digital content on each home electronic device For example, videos can be automatically discovered by other devices and shared across devices.

步骤102:判断第二智能设备是否为可连接设备,在第二智能设备为可连接设备时,通过DLNA协议与第二智能设备建立通信连接。Step 102: Determine whether the second smart device is a connectable device, and establish a communication connection with the second smart device through a DLNA protocol if the second smart device is a connectable device.

其中,DLNA协议包括:uPnP协议、HTTP/RTP协议、TCP/IP协议、Wi-Fi协议和以太网协议中的一项或多项。根据具体情况选取其中一种协议。Wherein, the DLNA protocol includes: one or more of uPnP protocol, HTTP/RTP protocol, TCP/IP protocol, Wi-Fi protocol and Ethernet protocol. Choose one of the protocols according to the specific situation.

优选的,本发明实施例中,步骤102中判断第二智能设备是否为可连接设备,包括:判断第二智能设备的设备标识是否与设备白名单中存储的可连接设备的设备标识相匹配;Preferably, in the embodiment of the present invention, judging whether the second smart device is a connectable device in step 102 includes: judging whether the device identifier of the second smart device matches the device identifier of the connectable device stored in the device whitelist;

在第二智能设备的设备标识与设备白名单中的可连接设备的设备标识相匹配时确定第二智能设备为可连接设备。When the device identifier of the second smart device matches the device identifiers of connectable devices in the device whitelist, it is determined that the second smart device is a connectable device.

具体的,设备标识为可以唯一标记智能设备的标识,其具有唯一性,具体可以为设备的MAC(Media Access Control,媒体访问控制)地址,移动类设备的IMEI(International Mobile Equipment Identity,国际移动设备身份码)、IMSI(International Mobile Subscriber Identification Number,国际移动用户识别码)、Phone Number(手机号)等。本地的车载装置中存储有设备白名单,具体可以以列表形式存储智能设备的设备标识。在第二智能设备的设备标识与设备白名单中的设备标识相匹配时,说明第二智能设备为可连接设备。Specifically, the device identifier is an identifier that can uniquely mark a smart device, and it is unique. Specifically, it can be the MAC (Media Access Control, Media Access Control) address of the device, and the IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity) of the mobile device. Identity code), IMSI (International Mobile Subscriber Identification Number, International Mobile Subscriber Identification Code), Phone Number (mobile phone number), etc. A device whitelist is stored in the local vehicle-mounted device, specifically, the device identifiers of the smart devices may be stored in a list form. When the device identifier of the second smart device matches the device identifier in the device whitelist, it indicates that the second smart device is a connectable device.

或者,判断第二智能设备的设备标识是否与设备黑名单中存储的可连接设备的设备标识相匹配;在二者不匹配时确定第二智能设备为可连接设备。具体的,根据实际情况可以选择采用设备白名单或者设备黑名单。Alternatively, it is judged whether the device identifier of the second smart device matches the device identifier of the connectable device stored in the device blacklist; if the two do not match, it is determined that the second smart device is a connectable device. Specifically, a device whitelist or a device blacklist may be selected according to actual conditions.

步骤103:接收第二智能设备通过DLNA协议发送的控制指令,并根据控制指令执行相应的操作;控制指令包括音视频数据上传指令、播放指令、暂停指令、停止指令、搜索指令、快进指令或快退指令,且音视频数据上传指令中封装有相应的音视频数据。Step 103: Receive the control instruction sent by the second smart device through the DLNA protocol, and perform corresponding operations according to the control instruction; the control instruction includes audio and video data upload instruction, play instruction, pause instruction, stop instruction, search instruction, fast forward instruction or Fast rewind command, and corresponding audio and video data is encapsulated in the audio and video data upload command.

本发明实施例中,该音视频数据上传指令为第二智能设备向车载装置发送的指令,用于向车载装置发送音视频数据;同时,车载装置也可以通过DLNA协议向第二智能设备发送音视频数据下传指令,将音视频数据下传指令中封装的音视频数据下传至第二智能设备,从而车载装置与智能设备之间通过DLNA协议实现数据共享。In the embodiment of the present invention, the audio and video data upload instruction is an instruction sent by the second smart device to the vehicle-mounted device, and is used to send audio and video data to the vehicle-mounted device; at the same time, the vehicle-mounted device can also send audio and video data to the second smart device through the DLNA protocol. The video data download command downloads the audio and video data encapsulated in the audio and video data download command to the second smart device, so that data sharing between the vehicle-mounted device and the smart device is realized through the DLNA protocol.

本发明实施例提供的一种车载多设备共享音视频数据的方法,在车载装置的蓝牙处于使用状态时,通过DLNA协议与其他智能设备进行连接,从而可以实现数据共享。该方法不需要额外的数据线或U盘等存储设备,方法简单,可以快速实现车载多设备之间的数据共享。The embodiment of the present invention provides a method for sharing audio and video data among multiple vehicle-mounted devices. When the Bluetooth of the vehicle-mounted device is in use, it connects with other smart devices through the DLNA protocol, so as to realize data sharing. The method does not require additional storage devices such as data cables or U disks, is simple, and can quickly realize data sharing between multiple devices on the vehicle.

下面通过一个实施例详细介绍该方法的流程。The flow of the method will be described in detail below through an embodiment.

实施例一Embodiment one

在实施例一中,第一智能设备首先通过蓝牙协议与车载装置相连,之后的其他智能设备通过DLNA协议与该车载装置相连,进行数据共享。具体的,包括步骤201-207:In Embodiment 1, the first smart device is first connected to the vehicle-mounted device through the Bluetooth protocol, and then other smart devices are connected to the vehicle-mounted device through the DLNA protocol for data sharing. Specifically, steps 201-207 are included:

步骤201:第一智能设备通过蓝牙协议与车载装置相连。Step 201: The first smart device is connected to the vehicle-mounted device through the Bluetooth protocol.

步骤202:第二智能设备需要与车载装置相连时,通过DLNA协议向车载装置发送连接请求。Step 202: When the second smart device needs to be connected to the vehicle-mounted device, it sends a connection request to the vehicle-mounted device through the DLNA protocol.

该连接请求中包括第二智能设备的设备标识。The connection request includes the device identifier of the second smart device.

步骤203:车载装置确定本地存储的设备白名单以及设备白名单中的设备标识。Step 203: The vehicle-mounted device determines the locally stored device whitelist and the device identifiers in the device whitelist.

步骤204:判断第二智能设备的设备标识与设备白名单中的设备标识是否匹配,在相匹配时继续步骤205,否则流程结束。Step 204: Judging whether the device identifier of the second smart device matches the device identifier in the device whitelist, and if they match, continue to step 205, otherwise, the process ends.

步骤205:车载装置通过DLNA协议与第二智能设备建立通信连接。Step 205: The vehicle-mounted device establishes a communication connection with the second smart device through the DLNA protocol.

步骤206:车载装置接收第二智能设备通过DLNA协议发送的控制指令,并根据控制指令执行相应的操作。Step 206: The vehicle-mounted device receives the control instruction sent by the second smart device through the DLNA protocol, and performs corresponding operations according to the control instruction.

步骤207:车载装置通过DLNA协议向第二智能设备发送音视频数据下传指令,将音视频数据下传指令中封装的音视频数据下传至第二智能设备。Step 207: The vehicle-mounted device sends an audio and video data download instruction to the second smart device through the DLNA protocol, and downloads the audio and video data encapsulated in the audio and video data download instruction to the second smart device.

在实施例一中,第一智能设备通过蓝牙与车载装置相连后,若第一智能设备为手机,则车载装置可以通过蓝牙控制手机接打电话;同时,该第一智能设备通过蓝牙协议也可以控制车载装置播放音视频,而第二智能设备也可以通过DLNA协议控制车载装置播放音视频,多个智能设备之间互不干扰,可以相互独立的与车载装置建立连接并实现数据共享。In Embodiment 1, after the first smart device is connected to the vehicle-mounted device through Bluetooth, if the first smart device is a mobile phone, the vehicle-mounted device can control the mobile phone to make and receive calls through Bluetooth; at the same time, the first smart device can also Control the vehicle-mounted device to play audio and video, and the second smart device can also control the vehicle-mounted device to play audio and video through the DLNA protocol. Multiple smart devices do not interfere with each other, and can establish connections with the vehicle-mounted device independently of each other and realize data sharing.

以上详细介绍了一种车载多设备共享音视频数据的方法流程,该方法也可以通过相应的装置实现,下面详细介绍该装置的结构和功能。The above describes in detail the flow of a method for sharing audio and video data among multiple vehicle-mounted devices, and the method can also be realized by a corresponding device. The structure and functions of the device are described in detail below.

根据本发明实施例,提供了一种共享音视频数据的车载装置,参见3所示,该装置包括:According to an embodiment of the present invention, a vehicle-mounted device for sharing audio and video data is provided, as shown in 3, the device includes:

接收模块31,用于在通过蓝牙协议连接第一智能设备后,接收第二智能设备通过DLNA协议发送的连接请求,连接请求包括第二智能设备的设备标识;The receiving module 31 is used to receive the connection request sent by the second smart device through the DLNA protocol after the first smart device is connected through the Bluetooth protocol, and the connection request includes the device identification of the second smart device;

判断模块32,用于判断第二智能设备是否为可连接设备,在第二智能设备为可连接设备时,通过DLNA协议与第二智能设备建立通信连接;A judging module 32, configured to judge whether the second smart device is a connectable device, and establish a communication connection with the second smart device through the DLNA protocol when the second smart device is a connectable device;

处理模块33,用于接收第二智能设备通过DLNA协议发送的控制指令,并根据控制指令执行相应的操作;控制指令包括音视频数据上传指令、播放指令、暂停指令、停止指令、搜索指令、快进指令或快退指令,且音视频数据上传指令中封装有相应的音视频数据。The processing module 33 is used to receive the control instruction sent by the second smart device through the DLNA protocol, and perform corresponding operations according to the control instruction; the control instruction includes audio and video data upload instruction, play instruction, pause instruction, stop instruction, search instruction, fast Forward command or rewind command, and the corresponding audio and video data is encapsulated in the audio and video data upload command.

优选的,参见图4所示,判断模块32包括:Preferably, referring to shown in Figure 4, the judging module 32 includes:

判断单元321,用于判断第二智能设备的设备标识是否与设备白名单中的设备标识相匹配,设备白名单中存储有可连接设备的设备标识;The judging unit 321 is configured to judge whether the device identifier of the second smart device matches the device identifier in the device whitelist, and the device identifier of the connectable device is stored in the device whitelist;

处理单元322,用于在二者相匹配时确定第二智能设备为可连接设备。The processing unit 322 is configured to determine that the second smart device is a connectable device when the two match.

优选的,参见图5所示,该车载装置还包括:Preferably, as shown in Figure 5, the vehicle-mounted device also includes:

发送模块34,用于通过DLNA协议向第二智能设备发送音视频数据下传指令,将音视频数据下传指令中封装的音视频数据下传至第二智能设备。The sending module 34 is configured to send an audio and video data download instruction to the second smart device through the DLNA protocol, and download the audio and video data encapsulated in the audio and video data download instruction to the second smart device.

优选的,DLNA协议包括:uPnP协议、HTTP/RTP协议、TCP/IP协议、Wi-Fi协议和以太网协议中的一项或多项。Preferably, the DLNA protocol includes: one or more of uPnP protocol, HTTP/RTP protocol, TCP/IP protocol, Wi-Fi protocol and Ethernet protocol.

基于同样的发明构思,本发明实施例还提供一种共享音视频数据的车载系统,擦那几年图6所示,包括:如上述的车载装置、第一智能设备和至少一个第二智能设备(图6中以三个第二智能设备为例);第一智能设备通过蓝牙协议与车载装置相连,第二智能设备通过DLNA协议与车载装置相连。Based on the same inventive concept, an embodiment of the present invention also provides a vehicle-mounted system for sharing audio and video data, as shown in FIG. (Three second smart devices are taken as an example in FIG. 6); the first smart device is connected to the vehicle-mounted device through the Bluetooth protocol, and the second smart device is connected to the vehicle-mounted device through the DLNA protocol.

本发明实施例提供的一种车载多设备共享音视频数据的方法、装置及系统,在车载装置的蓝牙处于使用状态时,通过DLNA协议与其他智能设备进行连接,从而可以实现数据共享。该方法不需要额外的数据线或U盘等存储设备,方法简单,可以快速实现车载多设备之间的数据共享。同时,多个智能设备之间互不干扰,可以相互独立的与车载装置建立连接并实现数据共享。The embodiment of the present invention provides a method, device and system for sharing audio and video data among multiple vehicle-mounted devices. When the Bluetooth of the vehicle-mounted device is in use, it can be connected with other smart devices through the DLNA protocol, so as to realize data sharing. The method does not require additional storage devices such as data cables or U disks, is simple, and can quickly realize data sharing between multiple devices on the vehicle. At the same time, multiple smart devices do not interfere with each other, and can independently establish connections with vehicle-mounted devices and realize data sharing.

本发明能有多种不同形式的具体实施方式,上面以图1-图6为例结合附图对本发明的技术方案作举例说明,这并不意味着本发明所应用的具体实例只能局限在特定的流程或实施例结构中,本领域的普通技术人员应当了解,上文所提供的具体实施方案只是多种优选用法中的一些示例,任何体现本发明权利要求的实施方式均应在本发明技术方案所要求保护的范围之内。The present invention can have a variety of specific implementations in different forms. The technical solutions of the present invention are illustrated in conjunction with the accompanying drawings by taking Fig. 1-Fig. 6 as examples above. In the specific process or embodiment structure, those of ordinary skill in the art should understand that the specific implementations provided above are only some examples of various preferred usages, and any implementation that embodies the claims of the present invention shall be included in the present invention. Within the scope of protection required by the technical solution.

最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that: the above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it still The technical solutions recorded in the foregoing embodiments may be modified, or some technical features thereof may be equivalently replaced. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (9)

1. the method for vehicle-mounted many collaborative share audio, video data, it is characterised in that including:
After connecting the first smart machine by Bluetooth protocol, receive the second smart machine and assisted by DLNA The connection request that view sends, described connection request includes the device identification of described second smart machine;
Judge whether described second smart machine is connectable device, be to connect at described second smart machine When connecing equipment, set up communication connection by DLNA agreement with described second smart machine;
Receive the control instruction that described second smart machine is sent by DLNA agreement, and according to described control System instruction performs corresponding operation;Described control instruction include audio, video data uploading instructions, play instruction, Pause instruction, halt instruction, search instruction, F.F. instruction or rewind instruction, and described audio, video data Uploading instructions is packaged with corresponding audio, video data.
Method the most according to claim 1, it is characterised in that described second intelligence of described judgement sets Whether standby be connectable device, including:
Judge that whether with the device identification in equipment white list mutually the device identification of described second smart machine Joining, in described equipment white list, storage has the device identification of connectable device;
Determine that when the two matches described second smart machine is connectable device.
Method the most according to claim 1 and 2, it is characterised in that also include: pass through DLNA Agreement sends teletype command under audio, video data to described second smart machine, will pass under described audio, video data Instruction reaches described second smart machine under the audio, video data of encapsulation.
Method the most according to claim 1 and 2, it is characterised in that described DLNA agreement includes: In uPnP agreement, HTTP/RTP agreement, ICP/IP protocol, Wi-Fi agreement and Ethernet protocol one Item or multinomial.
5. the car-mounted device of a shared audio, video data, it is characterised in that including:
Receiver module, for after connecting the first smart machine by Bluetooth protocol, receives the second intelligence and sets The standby connection request sent by DLNA agreement, described connection request includes described second smart machine Device identification;
Judge module, is used for judging whether described second smart machine is connectable device, described second When smart machine is connectable device, set up communication link by DLNA agreement and described second smart machine Connect;
Processing module, for receiving the control instruction that described second smart machine is sent by DLNA agreement, And perform corresponding operation according to described control instruction;Described control instruction includes that audio, video data uploads finger Make, play instruction, pause instruction, halt instruction, search instruction, F.F. instruction or rewind instruction, and Described audio, video data uploading instructions is packaged with corresponding audio, video data.
Car-mounted device the most according to claim 5, it is characterised in that described judge module includes:
Judging unit, for judge the device identification of described second smart machine whether with in equipment white list Device identification match, in described equipment white list, storage has the device identification of connectable device;
Processing unit, for determining that when the two matches described second smart machine is connectable device.
7. according to the car-mounted device described in claim 5 or 6, it is characterised in that also include:
Sending module, for sending under audio, video data to described second smart machine by DLNA agreement Teletype command, will reach described second intelligence under the audio, video data of encapsulation in teletype command under described audio, video data Can equipment.
8. according to the car-mounted device described in claim 5 or 6, it is characterised in that described DLNA agreement Including: uPnP agreement, HTTP/RTP agreement, ICP/IP protocol, Wi-Fi agreement and Ethernet protocol In one or more.
9. the onboard system of a shared audio, video data, it is characterised in that including: such as claim 5-8 Arbitrary described car-mounted device, the first smart machine and at least one the second smart machine;
Described first smart machine is connected with described car-mounted device by Bluetooth protocol, and described second intelligence sets For being connected with described car-mounted device by DLNA agreement.
CN201510952979.7A 2015-12-15 2015-12-15 Vehicle-mounted multi-equipment audio and video data sharing method, device and system Pending CN105916015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510952979.7A CN105916015A (en) 2015-12-15 2015-12-15 Vehicle-mounted multi-equipment audio and video data sharing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510952979.7A CN105916015A (en) 2015-12-15 2015-12-15 Vehicle-mounted multi-equipment audio and video data sharing method, device and system

Publications (1)

Publication Number Publication Date
CN105916015A true CN105916015A (en) 2016-08-31

Family

ID=56744278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510952979.7A Pending CN105916015A (en) 2015-12-15 2015-12-15 Vehicle-mounted multi-equipment audio and video data sharing method, device and system

Country Status (1)

Country Link
CN (1) CN105916015A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864389A (en) * 2016-09-22 2018-03-30 法乐第(北京)网络科技有限公司 The video sharing method and device of vehicular amusement apparatus
CN109495571A (en) * 2018-11-22 2019-03-19 北京远特科技股份有限公司 File management method and file management system
CN110933647A (en) * 2019-11-28 2020-03-27 长城汽车股份有限公司 Vehicle-mounted Bluetooth control method and system and vehicle
CN111726663A (en) * 2020-06-10 2020-09-29 海信视像科技股份有限公司 Display device and control method for establishing connection with display device
CN114885193A (en) * 2022-03-30 2022-08-09 海信视像科技股份有限公司 Display device, terminal device and screen projection method
US12273586B2 (en) 2020-03-20 2025-04-08 Hisense Visual Technology Co., Ltd. Multimedia apparatus and cast method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086246A1 (en) * 2010-06-06 2013-04-04 Jihye Lee Method and Communication Device for Communicating with Other Devices
CN103856492A (en) * 2012-11-28 2014-06-11 德尔福电子(苏州)有限公司 In-vehicle media shared system based on DLNA
CN103856510A (en) * 2012-11-30 2014-06-11 北京智慧风云科技有限公司 Vehicle-mounted audio and video file sharing system and method
CN103929419A (en) * 2014-03-28 2014-07-16 小米科技有限责任公司 Access control method and device
CN104252428A (en) * 2013-06-28 2014-12-31 华为终端有限公司 Equipment identifying method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086246A1 (en) * 2010-06-06 2013-04-04 Jihye Lee Method and Communication Device for Communicating with Other Devices
CN103856492A (en) * 2012-11-28 2014-06-11 德尔福电子(苏州)有限公司 In-vehicle media shared system based on DLNA
CN103856510A (en) * 2012-11-30 2014-06-11 北京智慧风云科技有限公司 Vehicle-mounted audio and video file sharing system and method
CN104252428A (en) * 2013-06-28 2014-12-31 华为终端有限公司 Equipment identifying method and equipment
CN103929419A (en) * 2014-03-28 2014-07-16 小米科技有限责任公司 Access control method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864389A (en) * 2016-09-22 2018-03-30 法乐第(北京)网络科技有限公司 The video sharing method and device of vehicular amusement apparatus
CN109495571A (en) * 2018-11-22 2019-03-19 北京远特科技股份有限公司 File management method and file management system
CN109495571B (en) * 2018-11-22 2022-03-22 北京远特科技股份有限公司 File management method and file management system
CN110933647A (en) * 2019-11-28 2020-03-27 长城汽车股份有限公司 Vehicle-mounted Bluetooth control method and system and vehicle
CN110933647B (en) * 2019-11-28 2022-09-30 长城汽车股份有限公司 Vehicle-mounted Bluetooth control method and system and vehicle
US12273586B2 (en) 2020-03-20 2025-04-08 Hisense Visual Technology Co., Ltd. Multimedia apparatus and cast method
CN111726663A (en) * 2020-06-10 2020-09-29 海信视像科技股份有限公司 Display device and control method for establishing connection with display device
WO2021248647A1 (en) * 2020-06-10 2021-12-16 海信视像科技股份有限公司 Display device, and control method for establishing connection with display device
CN114885193A (en) * 2022-03-30 2022-08-09 海信视像科技股份有限公司 Display device, terminal device and screen projection method

Similar Documents

Publication Publication Date Title
US10498611B1 (en) System architecture and methods for controlling and managing networking devices and expediting new service delivery in a subscriber's home network using micro-domains
CN105916015A (en) Vehicle-mounted multi-equipment audio and video data sharing method, device and system
US9197680B2 (en) Establishing and controlling audio and voice back channels of a Wi-Fi display connection
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
US9351328B2 (en) Method for transferring a communication session between devices
US7839871B2 (en) Evaluating a communication interface
CN105227693B (en) A kind of configuration method and device of DNS of mobile device
CN102158409B (en) Retransmission control method for IP (Internet Protocol) message and equipment thereof
CN110312286B (en) Network switching method, communication device and communication equipment
CN104980514A (en) Remote play control method and apparatus of wireless sound box
US20160164933A1 (en) Discovery and management of synchronous audio or video streaming service to multiple sinks in wireless display system
CN110266576A (en) Voice call method and device
US20160241431A1 (en) Methods, apparatuses, and system for device management
CN103595949A (en) Video call transfer method, terminal and system
CN105100955A (en) Set top box switching network method and device, and set top box provided with device
CN103945561A (en) Docking station and method for connecting mobile communication terminal equipment to communication infrastructure
JP6137848B2 (en) Network communication system
CN115174310A (en) PDN dialing and configuration method, system, device, equipment and storage medium
CN105721189A (en) Network port configuration method and device for network equipment
WO2015074537A1 (en) Method and apparatus for controlling communication protocol in smart tv device
CN105978606A (en) Remote communication method for Bluetooth device, Bluetooth device and client
TW201547244A (en) Method and network connecting device for P2P transmission
CN116233937A (en) File transmission method, device, storage medium and electronic equipment
EP3398297B1 (en) Establishment of a connection between two local devices connected to different networks
US12341858B1 (en) Dynamic cable operator plant discovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160831