CN109067718B - Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal - Google Patents

Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal Download PDF

Info

Publication number
CN109067718B
CN109067718B CN201810812385.XA CN201810812385A CN109067718B CN 109067718 B CN109067718 B CN 109067718B CN 201810812385 A CN201810812385 A CN 201810812385A CN 109067718 B CN109067718 B CN 109067718B
Authority
CN
China
Prior art keywords
network
mobile terminal
vehicle
sharing
information
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.)
Active
Application number
CN201810812385.XA
Other languages
Chinese (zh)
Other versions
CN109067718A (en
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.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Geely Automobile Research Institute Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Geely Automobile Research Institute 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 Zhejiang Geely Holding Group Co Ltd, Zhejiang Geely Automobile Research Institute Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN201810812385.XA priority Critical patent/CN109067718B/en
Publication of CN109067718A publication Critical patent/CN109067718A/en
Application granted granted Critical
Publication of CN109067718B publication Critical patent/CN109067718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The invention provides a method, a device and a system for sharing a network between a vehicle-mounted multimedia host and a mobile terminal, wherein the method comprises the following steps: when physical connection information with a mobile terminal is acquired and a local VPN application acquires trigger information of the VPN application on the mobile terminal, establishing virtual private network connection; calling an application program standard interface corresponding to virtual private network connection, and creating a standard virtual network card according to the application program standard interface; utilizing the standard virtual network card and a TCP/IP standard protocol to configure network connection information for local, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment; establishing network communication with the mobile terminal, and performing network sharing; according to the invention, when the vehicle-mounted multimedia USB wiring harness is connected with the mobile terminal, the vehicle-mounted host can share the mobile terminal network, so that the function of connecting an external network is realized.

Description

Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminal network interface display, in particular to a method, a device and a system for sharing a network between a vehicle-mounted multimedia host and a mobile terminal.
Background
At present, automobiles are used as commodities and are consumed by the public, and under the condition that the competitiveness is increased day by day, people can adapt to consumers to provide more humanized designs, so that the automobiles can be accepted by the market. With the continuous progress of network technology, more and more vehicle-mounted multimedia hosts are added with network functions, so that users can know the real-time road conditions of traffic, listen to online music, know the current weather conditions and other online functions when driving; therefore, as an indispensable part of in-vehicle electronics, network functions are increasingly favored by users.
However, each large vehicle-mounted host is based on cost pressure and market competition pressure, and meanwhile, the user demands for functions more and more, especially, the network function needs to be additionally provided with a 4G module or a WIFI module and an antenna thereof, so that the contradiction between the functions of the vehicle-mounted multimedia host and the cost pressure is caused.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method, a device and a system for sharing a network between a vehicle-mounted multimedia host and a mobile terminal, and specifically comprises the following steps:
in one aspect, a method for sharing a network between an in-vehicle multimedia host and a mobile terminal is provided, and the method includes:
when physical connection information with a mobile terminal is acquired and a local VPN application acquires trigger information of the VPN application on the mobile terminal, establishing virtual private network connection;
calling an application program standard interface corresponding to virtual private network connection, and creating a standard virtual network card according to the application program standard interface;
utilizing the standard virtual network card and a TCP/IP standard protocol to configure network connection information for local, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment;
and establishing network communication with the mobile terminal to perform network sharing.
Further, the establishing network communication with the mobile terminal and performing network sharing includes:
storing network sharing information with the mobile terminal, wherein the network sharing information comprises image information and audio information.
Further, the establishing network communication with the mobile terminal and performing network sharing includes:
when detecting that the physical connection with the mobile terminal is the first connection, directly carrying out network sharing with the mobile terminal;
and when detecting that the connection with the mobile terminal is not the first connection, calling the previous network sharing information with the mobile terminal.
Further, the mobile terminal is an intelligent communication device or a wearable device.
In another aspect, a method for sharing a network between an in-vehicle multimedia host and a mobile terminal is provided, where the method includes:
when the physical connection between the vehicle-mounted multimedia host and the mobile terminal is successful and the VPN application on the vehicle-mounted multimedia host acquires the trigger information of the VPN application on the mobile terminal, the VPN application on the vehicle-mounted multimedia host establishes virtual private network connection; the vehicle-mounted multimedia host and the mobile terminal have the same VPN application;
the VPN application on the vehicle-mounted multimedia host calls an application program standard interface corresponding to virtual private network connection, and creates a standard virtual network card according to the application program standard interface;
the vehicle-mounted multimedia host machine utilizes the standard virtual network card and a TCP/IP standard protocol to configure network connection information for local, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment;
and the vehicle-mounted multimedia host establishes network communication with the mobile terminal to carry out network sharing.
Further, the network communication is established between the vehicle-mounted multimedia host and the mobile terminal, and the network sharing is performed, including:
and mapping the display picture of the mobile terminal to the vehicle-mounted multimedia host to perform same-screen interaction.
In another aspect, an apparatus for sharing a network with a mobile terminal by an in-vehicle multimedia host is provided, the apparatus comprising:
the virtual private network establishing module is used for establishing virtual private network connection when physical connection information with the mobile terminal is acquired and local VPN application acquires trigger information of the VPN application on the mobile terminal;
the standard virtual network card creating module is used for calling an application program standard interface corresponding to the virtual private network connection and creating a standard virtual network card according to the application program standard interface;
the network connection information configuration module is used for configuring network connection information for local by utilizing the standard virtual network card and a TCP/IP standard protocol so that the local network connection information and the network connection information of the mobile terminal are in the same network segment;
and the network sharing module is used for establishing network communication with the mobile terminal and carrying out network sharing.
Further, the apparatus further comprises:
and the shared information storage module is used for storing network shared information of the mobile terminal, and the network shared information comprises image information and audio information.
Further, the network sharing module includes:
the first sharing unit is used for directly carrying out network sharing with the mobile terminal when detecting that the physical connection with the mobile terminal is the first connection;
and the non-primary sharing unit is used for calling the previous network sharing information with the mobile terminal when detecting that the connection with the mobile terminal is not the primary connection.
In another aspect, a system for sharing a network between a vehicle-mounted multimedia host and a mobile terminal is provided, where the system includes the device for sharing a network between a vehicle-mounted multimedia host and a mobile terminal according to the above aspect.
The method, the device and the system for sharing the network between the vehicle-mounted multimedia host and the mobile terminal have the advantages that:
according to the method, when the vehicle-mounted multimedia host is successfully physically connected with the mobile terminal and the VPN application on the vehicle-mounted multimedia host acquires the trigger information of the VPN application on the mobile terminal, the VPN application on the vehicle-mounted multimedia host establishes virtual private network connection; the VPN application on the vehicle-mounted multimedia host calls an application program standard interface corresponding to virtual private network connection, and creates a standard virtual network card according to the application program standard interface; the vehicle-mounted multimedia host machine utilizes the standard virtual network card and a TCP/IP standard protocol to configure network connection information for local, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment; and the vehicle-mounted multimedia host establishes network communication with the mobile terminal to carry out network sharing. Therefore, according to the technical scheme of the invention, when the vehicle-mounted multimedia USB wire harness is connected with the mobile terminal, the vehicle-mounted host can share the mobile terminal network, so that the function of connecting an external network is realized; the problem of butt joint of USB data transmission and an android system bottom layer protocol or an IOS system protocol is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic view of an application scenario of a shared network according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for sharing a network between a vehicle-mounted multimedia host and a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for sharing a network between a vehicle-mounted multimedia host and a mobile terminal according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for sharing a network between a vehicle-mounted multimedia host and a mobile terminal according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a network sharing procedure for establishing network communication with the mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic diagram of information transmission of a vehicle-mounted multimedia host and a mobile terminal sharing a network according to an embodiment of the present invention.
Fig. 7 is a block diagram of an apparatus for sharing a network between a vehicle-mounted multimedia host and a mobile terminal according to an embodiment of the present invention;
fig. 8 is a block diagram of another apparatus for sharing a network between a vehicle-mounted multimedia host and a mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic diagram illustrating a network sharing module according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
With the popularization of network use in the current society, people use more and more vehicle-mounted multimedia networking functions, and the vehicle-mounted multimedia networking functions are also more and more popularized, but the 4G network module or the WIFI module is required to be added to vehicle-mounted multimedia, so that the cost pressure of the vehicle-mounted multimedia is increased. And with the requirement of the country for the network to use the real name system, the user needs to additionally increase the registration procedure, which causes inconvenience or incapability of using the network.
Although some car factories provide free network for use in a limited period, users are required to pay after the period is over, so that the use cost of the users is increased, and most of the traffic of mobile phone users is included in a package at present, so that additional cost is not increased.
The mobile phone is connected through the vehicle-mounted multimedia USB line, the mobile phone network is shared through the USB line, so that the user can normally use the vehicle-mounted multimedia network function, extra network cost of the user is not increased, the cost of the 4G module or the WIFI module is not increased for the vehicle-mounted multimedia machine, and the cost pressure of the vehicle-mounted multimedia host is greatly reduced. The technical scheme can effectively solve the problem of network functions of a user, and simultaneously solves the problem of cost pressure of the vehicle-mounted multimedia host on the premise of no change of other experiences; thereby effectively solving the contradiction between the improvement of functional requirements and the cost pressure; has wide market prospect.
As shown in fig. 1, an application scenario of the network sharing technical solution provided in the embodiment of the present invention includes a vehicle-mounted multimedia host, a mobile terminal device, and a USB device; the vehicle-mounted multimedia host system is a system with an android version of more than 4.0; the mobile terminal device comprises an intelligent communication device or a wearable device, wherein the intelligent terminal device or the wearable device can be an intelligent device of an android operating system or an intelligent device of an IOS operating system; the USB device is required to be able to pass the eye test normally.
Specifically, an embodiment of the present invention provides a method for a vehicle-mounted multimedia host and a mobile terminal to share a network, where as shown in fig. 2, the method includes:
s202, when the vehicle-mounted multimedia host is successfully physically connected with the mobile terminal and the VPN application on the vehicle-mounted multimedia host acquires trigger information of the VPN application on the mobile terminal, the VPN application on the vehicle-mounted multimedia host establishes virtual private network connection; wherein, the vehicle-mounted multimedia host and the mobile terminal have the same VPN application.
The vehicle-mounted multimedia host supports the creation of the virtual private network VPN in versions above android4.0, and particularly the host of the versions above android4.0 is provided with a public API (application programming interface) application program interface, so that a third party application is allowed to realize a VPN virtual network connection solution.
It should be noted that the vehicle-mounted multimedia host and the mobile intelligent terminal in the embodiment of the present invention both have the same VPN third-party application for performing virtual private network connection.
Correspondingly, in step S202, the vehicle-mounted multimedia host detects that the USB device is inserted, successfully identifies that the other end of the USB device is a mobile terminal (such as a mobile phone), and detects that when the VPN application of the mobile terminal is operated to be opened, the VPN application on the vehicle-mounted multimedia host can establish the virtual private network connection in a state that the vehicle-mounted multimedia host and the intelligent terminal are successfully connected through the USB device.
S204, calling an application program standard interface corresponding to virtual private network connection by the VPN application on the vehicle-mounted multimedia host, and creating a standard virtual network card according to the application program standard interface;
specifically, the standard interface of the application program corresponding to the virtual private network connection in step S202 is a vehicle-mounted native API interface, such as a public synchronized laptop preparation (String old package) or a public synchronized particlebell filedescriptor update (VpnConfig configuration). And calling the API interface through a software program calling logic so as to prepare for VPN virtual private network connection.
It should be noted that the API interface can also be used to check whether a virtual private network VPN connection already exists on the current host system; when the same third-party application creates a VPN connection, the bottom layer informs the existence of the VPN of the third-party application (VPN application), and the third-party application does not establish a new VPN after receiving feedback or uses the previously established VPN. For example, when a VPN connection already exists on the host system, after step S202, the step S204 is completed, and the VPN application on the vehicle-mounted multimedia host calls the application standard interface, at this time, the VPN application on the multimedia host system is embodied on the interface through an interface message, for example, in a dialog box form, so as to notify the user; while the VPN application does not create a VPN connection.
The API can also detect whether the same third-party application on the vehicle-mounted host computer is created and further fed back to the third-party application; because the VPN application on the on-board host and the VPN application on the mobile terminal belong to the same third party application; at this time, if the VPN application on the in-vehicle host is different from the VPN application on the mobile terminal, the VPN connection is not created by the VPN application on the in-vehicle multimedia host at this time.
In the embodiment of the invention, the problem of communication disorder caused by the fact that a plurality of VPNs are created on the vehicle-mounted multimedia host system can be prevented by calling the API.
The standard virtual network card in the embodiment of the present invention may be a tun0 virtual network card capable of performing effective gateway communication; since the on-board host system (system above android 4.0) only allows one virtual private network VPN connection at a time, when a new network card tunX (a network card other than the tun0 virtual network card) is created, the existing virtual network card (tun0 virtual network card) will fail.
S206, the vehicle-mounted multimedia host machine configures network connection information for local by using the standard virtual network card and a TCP/IP standard protocol, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment;
wherein, the network data is transmitted by using a network card as a medium; a valid network card must be configured with IP and routing to identify and communicate in the lan.
Accordingly, in step S206, network connection information is configured for the vehicle-mounted multimedia host by using the standard virtual network card and the TCP/IP standard protocol. Because the VPN application of the vehicle-mounted multimedia is the same as that of the mobile phone, the mobile intelligent terminal physically connected with the multimedia host has the network connection information of the same network segment while the standard virtual network card and the TCP/IP standard protocol are utilized to configure the network connection information for the vehicle-mounted multimedia host.
Wherein the network connection information comprises an IP address and routing information; when the IP addresses are in the same network segment, the IP addresses correspondingly belong to the same route.
That is, based on steps S202-S206, the IP address of the mobile terminal is automatically realized, and is in the same network segment as the IP address of the vehicle-mounted multimedia host; thereby realizing the network communication and the network sharing in the following step S208.
And S208, the vehicle-mounted multimedia host and the mobile terminal establish network communication to carry out network sharing.
Specifically, after the vehicle-mounted multimedia host and the mobile terminal can be in network sharing, the shared information of the vehicle-mounted multimedia host and the mobile terminal can be stored so as to be used for directly calling the last shared information from the storage device during subsequent re-sharing, so that the efficiency of information transmission of the vehicle-mounted multimedia host and the mobile terminal is improved, the time of a user is saved, and the experience degree and the viscosity of the user are further improved.
Specifically, the network communication is established between the vehicle-mounted multimedia host and the mobile terminal, and the network sharing is performed, including: and mapping the display picture of the mobile terminal to the vehicle-mounted multimedia host to perform same-screen interaction.
An embodiment of the present invention further provides a method for network sharing between a vehicle-mounted multimedia host and a mobile terminal, as shown in fig. 3, the method includes the steps involved in the vehicle-mounted multimedia host, and specifically, the method includes:
s402, when physical connection information with a mobile terminal is acquired and a local VPN application acquires trigger information of the VPN application on the mobile terminal, establishing virtual private network connection;
s404, calling an application program standard interface corresponding to virtual private network connection, and creating a standard virtual network card according to the application program standard interface;
s406, local network connection information is configured for the local by using the standard virtual network card and a TCP/IP standard protocol, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment;
and S408, establishing network communication with the mobile terminal to perform network sharing.
Further, as shown in fig. 4, step s408, establishing network communication with the mobile terminal for network sharing, and then:
and S410, storing network sharing information with the mobile terminal, wherein the network sharing information comprises image information and audio information.
In the embodiment of the invention, the data transmission between the mobile terminal and the vehicle-mounted host is realized by taking the created virtual network card as an intermediate medium through a standard program interface; network modules such as 4G or WIFI (wireless fidelity) and the like do not need to be added to the vehicle-mounted host; the network resources of the intelligent terminal can be fully utilized, the network resources are not wasted, and the plug and play is convenient and quick; the network of the mobile terminal is shared through the USB, so that the vehicle-mounted host is not interfered by the wiring inside the vehicle body and electromagnetic signals of other vehicle body electrical appliances, and the network signals of the multimedia host are enhanced.
In a specific embodiment, step S408 establishes network communication with the mobile terminal for network sharing, as shown in fig. 5, including:
s602, directly carrying out network sharing with the mobile terminal when detecting that the physical connection with the mobile terminal is the first connection;
s604, when detecting that the connection with the mobile terminal is not the first connection, calling the previous network sharing information with the mobile terminal.
The last shared information is called from the storage device to facilitate the current sharing operation, so that the information transmission efficiency of the vehicle-mounted multimedia host and the mobile terminal is improved.
Further, in step S604, the invoking of the previous network sharing information with the mobile terminal specifically includes:
when detecting that the connection between the vehicle-mounted multimedia host and the mobile terminal is not the first connection, displaying and outputting verification information of whether the previous network sharing information of the vehicle-mounted multimedia host and the mobile terminal is recovered;
and when the confirmation information for recovering the previous network sharing information is acquired, calling the previous network sharing information of the vehicle-mounted multimedia host and the mobile terminal.
As shown in fig. 6, fig. 6 is a schematic diagram of information transmission of a network shared by a vehicle-mounted multimedia host and a mobile terminal, where USB mux is a USB wire harness, and Proxy Server is a Proxy Server in a mobile phone operating system, and is used for acting on a network user of the vehicle-mounted multimedia host to obtain network information, so that the vehicle-mounted multimedia host obtains the network information from the mobile terminal.
According to the embodiment of the invention, third-party software such as navigation and online music is not required to be installed on the vehicle-mounted host, the navigation, online music and the like of the mobile phone can be directly and seamlessly transmitted to the vehicle-mounted large screen, specifically, the operation can be carried out like the mobile phone, and the touch coordinate of the multimedia host can be transmitted back to the mobile phone, so that App on the mobile phone is controlled; and the network transmission technology of the USB wire harness can be utilized to realize the accurate operation of the mobile phone back control of the vehicle-mounted host computer and recover the normal operation of the mobile phone by the user.
In a word, the gateway of the vehicle-mounted multimedia host is connected with the mobile phone gateway through the vehicle-mounted multimedia USB wire harness, data INTERNENT transmission is achieved, and the INTERNENT gateway technology is broken through; the problem of butt joint of USB data transmission and the bottom layer protocol of the android system and the IOS protocol is solved.
An embodiment of the present invention further provides a device for sharing a network between a vehicle-mounted multimedia host and a mobile terminal, where as shown in fig. 7, the device includes:
the virtual private network establishing module 202 is configured to establish a virtual private network connection when physical connection information with the mobile terminal is acquired and a local VPN application acquires trigger information of a VPN application on the mobile terminal;
a standard virtual network card creating module 204, configured to invoke an application standard interface corresponding to a virtual private network connection, and create a standard virtual network card according to the application standard interface;
a network connection information configuration module 206, configured to configure network connection information for a local area by using the standard virtual network card and a TCP/IP standard protocol, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment;
and a network sharing module 208 for establishing network communication with the mobile terminal to perform network sharing.
Further, as shown in fig. 8, the apparatus further includes:
the shared information storage module 210 is configured to store network shared information with the mobile terminal, where the network shared information includes image information and audio information.
Further, as shown in fig. 9, the network sharing module 208 includes:
a first sharing unit 402, configured to directly perform network sharing with the mobile terminal when detecting that the physical connection with the mobile terminal is a first connection;
a non-primary sharing unit 404, configured to, when detecting that the connection with the mobile terminal is not a primary connection, invoke previous network sharing information with the mobile terminal.
It should be noted that the device embodiments have the inventive concept corresponding to the method embodiments.
The embodiment of the invention also provides a system for sharing the network between the vehicle-mounted multimedia host and the mobile terminal, and the system comprises the device for sharing the network between the vehicle-mounted multimedia host and the mobile terminal.
The method, the device and the system for sharing the network between the vehicle-mounted multimedia host and the mobile terminal have the advantages that:
the invention establishes virtual private network connection according to the third party application on the vehicle-mounted multimedia host system; the third party application calls a standard program interface corresponding to the virtual private network connection and creates a corresponding standard virtual network card according to the standard program interface; configuring network connection information for the vehicle-mounted multimedia host by using the standard virtual network card and a TCP/IP standard protocol; the vehicle-mounted multimedia host is physically connected with the mobile terminal through a vehicle-mounted host USB wire harness, so that the network connection information of the mobile terminal and the network connection information of the vehicle-mounted multimedia host are in the same network segment; and then the vehicle-mounted multimedia host and the mobile terminal establish network communication to carry out network sharing. Therefore, according to the technical scheme of the invention, when the vehicle-mounted multimedia USB wire harness is connected with the mobile terminal, the vehicle-mounted host can share the mobile terminal network, so that the function of connecting an external network is realized; the problem of butt joint of USB data transmission and an android system bottom layer protocol or an IOS system protocol is solved.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for sharing a network between a vehicle-mounted multimedia host and a mobile terminal is characterized by comprising the following steps:
when physical connection information with a mobile terminal is acquired and a local VPN application acquires trigger information of the VPN application on the mobile terminal, establishing virtual private network connection;
calling an application program standard interface corresponding to virtual private network connection, and creating a standard virtual network card according to the application program standard interface;
utilizing the standard virtual network card and a TCP/IP standard protocol to configure network connection information for local, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment, and the network connection information comprises an IP address and routing information;
and establishing network communication with the mobile terminal, and performing network sharing, wherein the network sharing comprises the sharing of a 4G/WIFI network signal between the local vehicle-mounted multimedia host and the mobile terminal.
2. The method of claim 1, wherein the establishing of the network communication with the mobile terminal for network sharing comprises:
storing network sharing information with the mobile terminal, wherein the network sharing information comprises image information and audio information.
3. The method of claim 2, wherein the establishing network communication with the mobile terminal for network sharing comprises:
when detecting that the physical connection with the mobile terminal is the first connection, directly carrying out network sharing with the mobile terminal;
and when detecting that the connection with the mobile terminal is not the first connection, calling the previous network sharing information with the mobile terminal.
4. The method according to claim 1, wherein the mobile terminal is an intelligent communication device or a wearable device.
5. A method for sharing a network between a vehicle-mounted multimedia host and a mobile terminal is characterized by comprising the following steps:
when the vehicle-mounted multimedia host is successfully physically connected with the mobile terminal and the VPN application on the vehicle-mounted multimedia host acquires the trigger information of the VPN application on the mobile terminal, the VPN application on the vehicle-mounted multimedia host establishes virtual private network connection; the vehicle-mounted multimedia host and the mobile terminal have the same VPN application;
the VPN application on the vehicle-mounted multimedia host calls an application program standard interface corresponding to virtual private network connection, and creates a standard virtual network card according to the application program standard interface;
the vehicle-mounted multimedia host machine utilizes the standard virtual network card and a TCP/IP standard protocol to configure network connection information for local, so that the local network connection information and the network connection information of the mobile terminal are in the same network segment, and the network connection information comprises an IP address and routing information;
and the vehicle-mounted multimedia host and the mobile terminal establish network communication and carry out network sharing, and the network sharing comprises the sharing of 4G/WIFI network signals of the local vehicle-mounted multimedia host and the mobile terminal.
6. The method of claim 5, wherein the network sharing between the on-board multimedia host and the mobile terminal is performed by establishing network communication between the on-board multimedia host and the mobile terminal, and comprises:
and mapping the display picture of the mobile terminal to the vehicle-mounted multimedia host to perform same-screen interaction.
7. An apparatus for sharing a network between a vehicle-mounted multimedia host and a mobile terminal, the apparatus comprising:
the virtual private network establishing module is used for establishing virtual private network connection when physical connection information with the mobile terminal is acquired and local VPN application acquires trigger information of the VPN application on the mobile terminal;
the standard virtual network card creating module is used for calling an application program standard interface corresponding to the virtual private network connection and creating a standard virtual network card according to the application program standard interface;
the network connection information configuration module is used for configuring network connection information for local by utilizing the standard virtual network card and a TCP/IP standard protocol so that the local network connection information and the network connection information of the mobile terminal are in the same network segment;
and the network sharing module is used for establishing network communication with the mobile terminal and carrying out network sharing.
8. The apparatus for sharing a network with a mobile terminal by an in-vehicle multimedia host according to claim 7, further comprising:
and the shared information storage module is used for storing network shared information of the mobile terminal, and the network shared information comprises image information and audio information.
9. The apparatus of claim 7, wherein the network sharing module comprises:
the first sharing unit is used for directly carrying out network sharing with the mobile terminal when detecting that the physical connection with the mobile terminal is the first connection;
and the non-primary sharing unit is used for calling the previous network sharing information with the mobile terminal when detecting that the connection with the mobile terminal is not the primary connection.
10. A system for sharing a network between a vehicle-mounted multimedia host and a mobile terminal, the system comprising the device for sharing a network between a vehicle-mounted multimedia host and a mobile terminal according to any one of claims 7 to 9.
CN201810812385.XA 2018-07-23 2018-07-23 Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal Active CN109067718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810812385.XA CN109067718B (en) 2018-07-23 2018-07-23 Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810812385.XA CN109067718B (en) 2018-07-23 2018-07-23 Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal

Publications (2)

Publication Number Publication Date
CN109067718A CN109067718A (en) 2018-12-21
CN109067718B true CN109067718B (en) 2021-04-27

Family

ID=64836067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810812385.XA Active CN109067718B (en) 2018-07-23 2018-07-23 Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal

Country Status (1)

Country Link
CN (1) CN109067718B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110535746B (en) * 2019-09-04 2021-10-22 达闼机器人有限公司 Virtual private network VPN sharing method and device, electronic equipment and storage medium
CN112398685B (en) * 2020-11-04 2024-01-19 腾讯科技(深圳)有限公司 Host equipment acceleration method, device, equipment and medium based on mobile terminal
CN112511344B (en) * 2020-11-18 2023-12-08 深圳创维-Rgb电子有限公司 Master-slave equipment network sharing method and device and Internet of things equipment
CN113242261B (en) * 2021-06-10 2023-04-07 Oppo广东移动通信有限公司 Method and device for sharing data network, electronic equipment and storage medium
CN113973028A (en) * 2021-10-26 2022-01-25 亿次网联(杭州)科技有限公司 VPN communication method, virtual network card, node device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562807A (en) * 2009-05-27 2009-10-21 华为技术有限公司 Mobile virtual private network (VPN) communication method and device and system thereof
CN104333867A (en) * 2014-12-02 2015-02-04 上海斐讯数据通信技术有限公司 Method and device for sharing PC network by virtue of mobile phone
CN104363331A (en) * 2014-10-13 2015-02-18 惠州市德赛西威汽车电子有限公司 Method and vehicular multimedia device allowing cellphone APP (application) startup by cellphone interconnection
CN204362304U (en) * 2014-08-18 2015-05-27 深圳弘范网络科技有限公司 A kind of communication system of vehicle electronic device
CN104977018A (en) * 2015-07-10 2015-10-14 钛马信息网络技术有限公司 Vehicle-mounted navigation equipment, mobile device, vehicle-mounted navigation equipment navigation method, mobile device navigation method, and navigation system
CN105262907A (en) * 2015-11-20 2016-01-20 东莞市风铃软件科技有限公司 Vehicle navigator phonelink method and system thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203984421U (en) * 2014-07-25 2014-12-03 厦门四信通信科技有限公司 Multifunctional vehicle mounted wireless new media issue terminal equipment
KR102459633B1 (en) * 2016-02-26 2022-10-28 아마존 테크놀로지스, 인크. Sharing video footage from audio/video recording and communication devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562807A (en) * 2009-05-27 2009-10-21 华为技术有限公司 Mobile virtual private network (VPN) communication method and device and system thereof
CN204362304U (en) * 2014-08-18 2015-05-27 深圳弘范网络科技有限公司 A kind of communication system of vehicle electronic device
CN104363331A (en) * 2014-10-13 2015-02-18 惠州市德赛西威汽车电子有限公司 Method and vehicular multimedia device allowing cellphone APP (application) startup by cellphone interconnection
CN104333867A (en) * 2014-12-02 2015-02-04 上海斐讯数据通信技术有限公司 Method and device for sharing PC network by virtue of mobile phone
CN104977018A (en) * 2015-07-10 2015-10-14 钛马信息网络技术有限公司 Vehicle-mounted navigation equipment, mobile device, vehicle-mounted navigation equipment navigation method, mobile device navigation method, and navigation system
CN105262907A (en) * 2015-11-20 2016-01-20 东莞市风铃软件科技有限公司 Vehicle navigator phonelink method and system thereof

Also Published As

Publication number Publication date
CN109067718A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN109067718B (en) Method, device and system for sharing network between vehicle-mounted multimedia host and mobile terminal
CN109845233B (en) Flow statistical method and equipment thereof
CN102685210B (en) Wireless routing equipment, mobile terminal, management system and method
WO2018082105A1 (en) Method and device for switching on-vehicle service using external sim card
CN106789526B (en) method and device for connecting multiple system networks
WO2020073678A1 (en) Vehicle communication method, device, computer readable medium and electronic device
WO2018133271A1 (en) Esim card activation method, wireless router and user terminal
KR20180054702A (en) Terminal interconnection method, apparatus and storage medium
CN104967758B (en) A kind of method and user terminal for controlling data transfer
CN112119673B (en) Electronic device supporting multiple wireless communication protocols and method thereof
CN104406600A (en) Method, equipment and system for updating vehicle-mounted offline map data
CN103763754A (en) Method, device and system for processing data
CN104092723A (en) File downloading method, device and system
CN105530376A (en) Method and device for carrying out call during multi-system switching
EP1887756A2 (en) Communication system, connection adapter for communication device, and network router
CN103220283A (en) Method, equipment and system for network sharing
CN110768903A (en) Method, device, terminal and storage medium for optimizing network connection
CN103796191A (en) Method, device and terminal for sending data to user terminal
CN109688572A (en) A kind of automobile based on NFC and mobile phone interconnected method and system
CN112491978B (en) Scheduling method and device
CN103973753A (en) Data processing method and equipment
CN112839326A (en) Network switching method, device, storage medium and gateway equipment
CN112994915B (en) SD-WAN service arrangement method, system, equipment and storage medium
CN115484158B (en) Communication configuration method and device of vehicle-mounted equipment based on eSIM card
CN110753093B (en) Method and device for managing equipment in cloud computing system

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