CN111567069A - Vehicle-mounted equipment access point APN setting method, terminal and computer medium - Google Patents
Vehicle-mounted equipment access point APN setting method, terminal and computer medium Download PDFInfo
- Publication number
- CN111567069A CN111567069A CN201880075863.1A CN201880075863A CN111567069A CN 111567069 A CN111567069 A CN 111567069A CN 201880075863 A CN201880075863 A CN 201880075863A CN 111567069 A CN111567069 A CN 111567069A
- Authority
- CN
- China
- Prior art keywords
- vehicle device
- vehicle
- apn
- apn information
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/18—Network planning tools
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请涉及汽车技术领域,特别涉及车载设备接入点APN设置方法、终端及计算机介质。The present application relates to the field of automobile technology, and in particular, to a method, terminal, and computer medium for setting an APN of an access point of an in-vehicle device.
背景技术Background technique
车载设备,比如OBD(On-Board Diagnostic,车载诊断系统)设备,是一种可以实时采集汽车全系统各种运行数据,包括故障信息、数据流、位置信息、车辆状态等数据,从而实现对车辆实时监控的智能采集终端,其需要联网将采集的数据传输至云端等。为了实现车载设备将采集的数据传输至云端的功能,相关的一种实现车载设备联网功能的方法是:在车载设备上内置SIM卡,借助SIM卡为车载设备提供上网功能。然而,不同的SIM卡需要接入不同的运营商,而全世界各国各地的运营商都不相同,且同一个运营商可能有多种不同的APN(接入点名称),那么如何在繁多的接入点APN中为车载设备配置适用的APN便是一个需要解决的问题。On-board equipment, such as OBD (On-Board Diagnostic, on-board diagnostic system) equipment, is a kind of equipment that can collect various operating data of the whole system of the car in real time, including fault information, data flow, location information, vehicle status and other data, so as to realize the detection of the vehicle. The intelligent collection terminal for real-time monitoring needs to be connected to the Internet to transmit the collected data to the cloud. In order to realize the function of transmitting the collected data to the cloud by the in-vehicle device, a related method for realizing the networking function of the in-vehicle device is: a SIM card is built in the in-vehicle device, and the in-vehicle device is provided with the Internet function by means of the SIM card. However, different SIM cards need to be connected to different operators, and the operators in different countries in the world are different, and the same operator may have many different APNs (access point names), so how to It is a problem that needs to be solved to configure a suitable APN for the in-vehicle device in the in-point APN.
相关的为OBD设备配置APN的方法有通过服务器配置,或者通过短信配置。然而,两个方法均有一定的局限性,适用性不高。The related methods of configuring APN for OBD devices are through server configuration or through SMS configuration. However, both methods have certain limitations and their applicability is not high.
综上可见,如何提供一种适用性更高的设置车载设备接入点APN的方法是目前亟待解决的问题。To sum up, it can be seen that how to provide a method for setting the APN of the in-vehicle device access point with higher applicability is an urgent problem to be solved at present.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请的目的在于提供一种车载设备接入点APN设置方法、终端及计算机可读存储介质,适用性更高。In view of this, the purpose of the present application is to provide an APN setting method, a terminal and a computer-readable storage medium for an in-vehicle device access point, which have higher applicability.
第一方面,本申请提供一种车载设备接入点APN设置方法,其具体方案如下:In the first aspect, the present application provides a method for setting an APN of an in-vehicle device access point, the specific solution of which is as follows:
建立与所述车载设备的通信连接;establishing a communication connection with the in-vehicle device;
获取目标APN信息;Get target APN information;
基于所述目标APN信息设置所述车载设备的APN信息。The APN information of the in-vehicle device is set based on the target APN information.
优选的,所述建立与所述车载设备的通信连接,包括:Preferably, the establishing a communication connection with the in-vehicle device includes:
采用近距离无线通信方式建立与所述车载设备的通信连接。A communication connection with the in-vehicle device is established by means of short-range wireless communication.
优选的,所述采用近距离无线通信方式建立与所述车载设备的通信连接,包括:Preferably, establishing a communication connection with the vehicle-mounted device by means of short-range wireless communication includes:
搜索并连接所述车载设备的wifi热点;Search and connect to the wifi hotspot of the in-vehicle device;
建立与所述车载设备的通信连接。A communication connection with the in-vehicle device is established.
优选的,所述采用近距离无线通信方式建立与所述车载设备的通信连接,包括:Preferably, establishing a communication connection with the vehicle-mounted device by means of short-range wireless communication includes:
采用蓝牙通信建立与所述车载设备的通信连接。A communication connection with the in-vehicle device is established by using Bluetooth communication.
优选的,在所述建立与所述车载设备的通信连接之后,所述方法还包括:Preferably, after the establishment of the communication connection with the in-vehicle device, the method further includes:
发送所述用户客户端自身预先绑定的关联车载设备信息至所述车载设备,以使所述车载设备基于所述关联车载设备信息验证所述用户客户端是否具有APN设置权限;Sending the associated vehicle-mounted device information pre-bound by the user client itself to the vehicle-mounted device, so that the vehicle-mounted device verifies whether the user client has APN setting authority based on the associated vehicle-mounted device information;
判断是否接收到所述车载设备发送的表示所述用户客户端具有APN设置权限的验证结果,若否,则断开所述通信连接。It is judged whether the verification result sent by the in-vehicle device indicating that the user client has the APN setting authority is received, and if not, the communication connection is disconnected.
优选的,所述基于所述目标APN信息设置所述车载设备的APN信息,包括:Preferably, the setting of the APN information of the in-vehicle device based on the target APN information includes:
获取所述车载设备的APN信息;Obtain the APN information of the vehicle-mounted device;
基于所述目标APN信息修改所述车载设备的APN信息;Modify the APN information of the in-vehicle device based on the target APN information;
发送修改后的所述车载设备的APN信息至所述车载设备,以使所述车载设备同步修改后的所述车载设备的APN信息。Sending the modified APN information of the in-vehicle device to the in-vehicle device, so that the in-vehicle device can synchronize the modified APN information of the in-vehicle device.
第二方面,本申请提供一种终端,包括:In a second aspect, the present application provides a terminal, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序以建立与车载设备的通信连接;获取目标APN信息;基于所述目标APN信息设置所述车载设备的APN信息。The processor is configured to execute the computer program to establish a communication connection with the in-vehicle device; acquire target APN information; and set the APN information of the in-vehicle device based on the target APN information.
优选的,所述处理器用于执行所述计算机程序以采用近距离无线通信方式建立与所述车载设备的通信连接。Preferably, the processor is configured to execute the computer program to establish a communication connection with the in-vehicle device by means of short-range wireless communication.
优选的,所述处理器用于执行所述计算机程序以搜索并连接所述车载设备的wifi热点;建立与所述车载设备的通信连接。Preferably, the processor is configured to execute the computer program to search for and connect to the wifi hotspot of the in-vehicle device; establish a communication connection with the in-vehicle device.
优选的,所述处理器用于执行所述计算机程序以实现采用蓝牙通信建立与所述车载设备的通信连接。Preferably, the processor is configured to execute the computer program to implement establishing a communication connection with the vehicle-mounted device using Bluetooth communication.
优选的,所述处理器用于执行所述计算机程序以在所述建立与所述车载设备的通信连接之后,发送预先绑定的关联车载设备信息至所述车载设备,以使所述车载设备基于所述关联车载设备信息验证是否具有APN设置权限;判断是否接收到所述车载设备发送的表示具有APN设置权限的验证结果,若否,则断开所述通信连接。Preferably, the processor is configured to execute the computer program to send pre-bound associated in-vehicle device information to the in-vehicle device after the communication connection with the in-vehicle device is established, so that the in-vehicle device is based on The associated vehicle-mounted device information verifies whether it has the APN setting authority; judges whether the verification result sent by the vehicle-mounted device indicating that the vehicle-mounted device has the APN setting authority is received, and if not, the communication connection is disconnected.
优选的,所述处理器用于执行所述计算机程序以获取所述车载设备的APN信息;基于所述目标APN信息修改所述车载设备的APN信息;发送修改后的所述车载设备的APN信息至所述车载设备,以使所述车载设备同步修改后的所述车载设备的APN信息。Preferably, the processor is configured to execute the computer program to obtain the APN information of the in-vehicle device; modify the APN information of the in-vehicle device based on the target APN information; send the modified APN information of the in-vehicle device to the in-vehicle device, so that the in-vehicle device synchronizes the modified APN information of the in-vehicle device.
第三方面,本申请提供一种计算机可读存储介质,应用于所述用户客户端中,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时以建立与车载设备的通信连接;获取目标APN信息;基于所述目标APN信息设置所述车载设备的APN信息。In a third aspect, the present application provides a computer-readable storage medium for use in the user client, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the communication connection of the device; acquiring target APN information; setting the APN information of the in-vehicle device based on the target APN information.
优选的,所述计算机程序被处理器执行时以采用近距离无线通信方式建立与所述车载设备的通信连接。Preferably, when the computer program is executed by the processor, a communication connection with the in-vehicle device is established by means of short-range wireless communication.
优选的,所述计算机程序被处理器执行时以搜索并连接所述车载设备的wifi热点;建立与所述车载设备的通信连接。Preferably, when the computer program is executed by the processor, it searches for and connects to the wifi hotspot of the in-vehicle device; establishes a communication connection with the in-vehicle device.
优选的,所述计算机程序被处理器执行时以采用蓝牙通信建立与所述车载设备的通信连接。Preferably, when the computer program is executed by the processor, a communication connection with the in-vehicle device is established using Bluetooth communication.
优选的,所述计算机程序被处理器执行时以在所述建立与所述车载设备的通信连接之后,发送预先绑定的关联车载设备信息至所述车载设备,以使所述车载设备基于所述关联车载设备信息验证是否具有APN设置权限;判断是否接收到所述车载设备发送的表示具有APN设置权限的验证结果,若否,则断开所述通信连接。Preferably, when the computer program is executed by the processor, after the communication connection with the in-vehicle device is established, the pre-bound associated in-vehicle device information is sent to the in-vehicle device, so that the in-vehicle device is based on the in-vehicle device. The associated vehicle-mounted device information verifies whether it has the APN setting authority; judges whether the verification result sent by the vehicle-mounted device indicating that the vehicle-mounted device has the APN setting authority is received, and if not, the communication connection is disconnected.
优选的,所述计算机程序被处理器执行时以获取所述车载设备的APN信息;基于所述目标APN信息修改所述车载设备的APN信息;发送修改后的所述车载设备的APN信息至所述车载设备,以使所述车载设备同步修改后的所述车载设备的APN信息。Preferably, the computer program is executed by the processor to obtain the APN information of the in-vehicle device; modify the APN information of the in-vehicle device based on the target APN information; send the modified APN information of the in-vehicle device to the the in-vehicle device, so that the in-vehicle device synchronizes the modified APN information of the in-vehicle device.
本申请提供的一种车载设备接入点APN设置方法,建立与车载设备的通信连接;获取目标APN信息;基于目标APN信息设置车载设备的APN信息。本申请提供的一种车载设备接入点APN设置方法,建立与车载设备的通信连接,从而可以与车载设备进行通信;之后获取目标APN信息,并基于目标APN信息设置车载设备的APN信息;也即实现了设置车载设备的APN信息,与通过服务器配置APN的方法相比,即使车载设备无法连接网络也可以实现配置APN,与通过短信配置APN的方法相比,无需SIM卡支持短信业务,应用场景广泛,适用性更好。本申请提供的一种终端及计算机可读存储介质也解决了相应技术问题。The application provides a method for setting an APN of an in-vehicle device access point, which includes establishing a communication connection with the in-vehicle device; acquiring target APN information; and setting the APN information of the in-vehicle device based on the target APN information. A method for setting an APN of an in-vehicle device access point provided by the present application, establishes a communication connection with the in-vehicle device, so as to communicate with the in-vehicle device; then acquires target APN information, and sets the APN information of the in-vehicle device based on the target APN information; That is, the APN information of the in-vehicle device can be set. Compared with the method of configuring the APN through the server, the APN can be configured even if the in-vehicle device cannot connect to the network. Wide range of scenarios and better applicability. A terminal and a computer-readable storage medium provided by the present application also solve the corresponding technical problems.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without any creative effort.
图1为本申请实施例提供的一种车载设备接入点APN设置系统的结构示意图;1 is a schematic structural diagram of an in-vehicle device access point APN setting system provided by an embodiment of the present application;
图2为本申请实施例提供的一种车载设备接入点APN设置方法的第一流程图;2 is a first flowchart of a method for setting an APN of an in-vehicle device access point provided by an embodiment of the present application;
图3为本申请实施例提供的一种车载设备接入点APN设置方法的第二流程图;3 is a second flowchart of a method for setting an APN of an in-vehicle device access point provided by an embodiment of the present application;
图4为本申请实施例提供的一种终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application;
图5为本申请实施例提供的一种终端的另一结构示意图;FIG. 5 is another schematic structural diagram of a terminal according to an embodiment of the present application;
图6为本申请实施例提供的一种车载设备接入点APN设置方法的第三流程图。FIG. 6 is a third flowchart of a method for setting an APN of an in-vehicle device access point provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
车载设备,比如OBD(On-Board Diagnostic,车载诊断系统)设备,是一种可以实时采集汽车全系统各种运行数据,包括故障信息、数据流、位置信息、车辆状态等数据,从而实现对车辆实时监控的智能采集终端,其需要联网将采集的数据传输至云端等。为了实现车载设备将采集的数据传输至云端的功能,相关的一种实现车载设备联网功能的方法是:在车载设备上内置SIM卡,借助SIM卡为车载设备提供上网功能。然而,不同的SIM卡需要接入不同的运营商,而全世界各国各地的运营商都不相同,且同一个运营商可能有多种不同的APN(接入点名称),那么如何在繁多的APN中为OBD设备配置适用的APN便是一个需要解决的问题。相关的为车载设备配置APN的方法有通过服务器配置,或者通过短信配置。然而,两个方法均有一定的局限性,适用性不高。本申请提供的一种车载设备接入点APN设置方法具有较好的适用性。On-board equipment, such as OBD (On-Board Diagnostic, on-board diagnostic system) equipment, is a kind of equipment that can collect various operating data of the whole system of the car in real time, including fault information, data flow, location information, vehicle status and other data, so as to realize the detection of the vehicle. The intelligent collection terminal for real-time monitoring needs to be connected to the Internet to transmit the collected data to the cloud. In order to realize the function of transmitting the collected data to the cloud by the in-vehicle device, a related method for realizing the networking function of the in-vehicle device is: a SIM card is built in the in-vehicle device, and the in-vehicle device is provided with the Internet function by means of the SIM card. However, different SIM cards need to be connected to different operators, and the operators in different countries in the world are different, and the same operator may have many different APNs (access point names), so how to use the various APNs Configuring a suitable APN for OBD devices is a problem that needs to be solved. The related methods of configuring APNs for in-vehicle devices include configuring through the server or configuring through SMS. However, both methods have certain limitations and their applicability is not high. A method for setting an APN of an in-vehicle device access point provided by the present application has good applicability.
请参阅图1,图1为本申请实施例提供的一种车载设备接入点APN设置系统的结构示意图。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of an in-vehicle device access point APN setting system according to an embodiment of the present application.
本申请实施例提供的一种车载设备接入点APN设置系统100,可以包括:An in-vehicle device access point
终端101:用于建立与车载设备102的通信连接,获取目标APN信息,基于目标APN信息设置车载设备的APN信息;Terminal 101: used to establish a communication connection with the in-
与终端101连接的车载设备102,用于建立与终端间的通信连接,接收终端101发送的与自身的APN信息对应的信息,基于APN信息对应的信息设置自身的APN信息。The in-
本申请提供的一种车载设备接入点APN设置系统,包括终端和车载设备,终端建立与OBD设备的通信连接,获取目标APN信息,并基于目标APN信息设置OBD设备的APN信息;相应的,车载设备建立与终端间的通信连接,接收终端发送的与自身的APN信息对应的信息,并基于APN信息对应的信息设置自身的APN信息。本申请提供的一种车载设备接入点APN设置系统,终端建立与车载设备的通信连接,从而可以与车载设备进行通信;之后获取目标APN信息,并基于目标APN信息设置车载设备的APN信息;也即实现了借助终端设置车载设备的APN信息,与通过服务器配置APN的方法相比,即使车载设备无法连接网络也可以实现配置APN,与通过短信配置APN的方法相比,无需SIM卡支持短信业务,应用场景广泛,适用性更好。此外,借助终端,还可以为无可视化输入界面的车载设备提供可视化输入界面,使得用户可以通过终端的可视化界面清楚的了解车载设备的APN信息。本申请涉及的车载设备可以为OBD、行车电脑等。An APN setting system for an in-vehicle device access point provided by the present application includes a terminal and an in-vehicle device. The terminal establishes a communication connection with an OBD device, acquires target APN information, and sets the APN information of the OBD device based on the target APN information; correspondingly, The in-vehicle device establishes a communication connection with the terminal, receives information corresponding to its own APN information sent by the terminal, and sets its own APN information based on the information corresponding to the APN information. The application provides an in-vehicle device access point APN setting system, in which a terminal establishes a communication connection with the in-vehicle device, so as to communicate with the in-vehicle device; then acquires target APN information, and sets the APN information of the in-vehicle device based on the target APN information; That is, the APN information of the in-vehicle device can be set through the terminal. Compared with the method of configuring APN through the server, the APN can be configured even if the in-vehicle device cannot connect to the network. Compared with the method of configuring APN through SMS, there is no need for a SIM card to support SMS. Business, a wide range of application scenarios, and better applicability. In addition, with the help of the terminal, a visual input interface can also be provided for the in-vehicle device without a visual input interface, so that the user can clearly understand the APN information of the in-vehicle device through the visual interface of the terminal. The in-vehicle device involved in this application may be an OBD, a trip computer, and the like.
为了便于理解本申请实施例提供的一种车载设备接入点APN设置方法,现从终端的角度进行描述。In order to facilitate understanding of a method for setting an APN of an in-vehicle device access point provided by an embodiment of the present application, the description is now made from the perspective of a terminal.
请参阅图2,图2为本申请实施例提供的一种车载设备接入点APN设置方法的第一流程图。Please refer to FIG. 2 , which is a first flowchart of a method for setting an APN of an in-vehicle device access point according to an embodiment of the present application.
本申请实施例提供的一种车载设备接入点APN设置方法,应用于终端中,可以包括以下步骤:A method for setting an APN of an in-vehicle device access point provided by an embodiment of the present application, applied to a terminal, may include the following steps:
步骤S201:建立与车载设备的通信连接。Step S201: Establish a communication connection with the in-vehicle device.
实际应用中,终端可以先建立与车载设备的通信连接,以使终端可以与车载设备进行通信。本申请所涉及的终端包括但不局限于手机、智能穿戴设备、平板等,智能穿戴设备包括但不局限与智能手环、智能手表等。具体应用场景中,终端可以通过USB连接线与车载设备进行连接,此时,终端与车载设备上应设有相应的USB数据接口,终端的USB数据接口和车载设备的USB接口通过USB连接线进行连接,以实现终端和车载设备间的通信连接。In practical applications, the terminal may first establish a communication connection with the in-vehicle device, so that the terminal can communicate with the in-vehicle device. The terminals involved in this application include but are not limited to mobile phones, smart wearable devices, tablets, etc., and smart wearable devices include but are not limited to smart bracelets, smart watches, and the like. In a specific application scenario, the terminal can be connected to the in-vehicle device through a USB cable. At this time, the terminal and the in-vehicle device should be provided with a corresponding USB data interface. The USB data interface of the terminal and the USB interface of the in-vehicle device are connected through a USB cable. connection to realize the communication connection between the terminal and the in-vehicle equipment.
实际应用中,为了方便快捷的实现终端与车载设备间的通信连接,终端还可以采用近距离无线通信方式建立与车载设备的通信连接,如采用蓝牙通信技术与车载设备建立通信连接,采用NFC技术与车载设备建立通信连接,采用ZigBee技术与车载设备建立通信连接,采用UWB技术与车载设备建立通信连接;采用红外通信方式与车载设备建立通信连接等;在终端采用NFC通信技术与车载设备建立通信连接时,为了便于终端与车载设备的识别,可以在车载设备上设置手机、卡片等的贴附槽。应当指出,车载设备与终端间的信息传输为不借助网络的信息传输,此外,在终端采用蓝牙通信技术与车载设备建立通信连接时,车载设备与终端间的蓝牙配对过程应为不需要验证而直接配对的过程。In practical applications, in order to conveniently and quickly realize the communication connection between the terminal and the in-vehicle device, the terminal can also establish a communication connection with the in-vehicle device by means of short-range wireless communication. Establish communication connection with in-vehicle equipment, use ZigBee technology to establish communication connection with in-vehicle equipment, use UWB technology to establish communication connection with in-vehicle equipment; use infrared communication to establish communication connection with in-vehicle equipment, etc.; use NFC communication technology in the terminal to establish communication with in-vehicle equipment When connecting, in order to facilitate the identification of the terminal and the in-vehicle device, the in-vehicle device may be provided with an attachment slot for mobile phones, cards, etc. It should be pointed out that the information transmission between the in-vehicle device and the terminal is information transmission without the help of the network. In addition, when the terminal adopts the Bluetooth communication technology to establish a communication connection with the in-vehicle device, the Bluetooth pairing process between the in-vehicle device and the terminal should be performed without verification. The process of direct pairing.
具体应用场景中,可以借助wifi通信技术实现终端和车载设备间的通信连接。则终端采用近距离无线通信技术建立与车载设备的通信连接的步骤可以具体为:搜索并连接车载设备的wifi热点;建立与车载设备的通信连接。本实施例中,终端搜索并连接车载设备的wifi热点不再是为了连接车载设备的网络,而是为了连接车载设备的wifi热点后与车载设备构成局域网,当终端和车载设备构成局域网后,终端和车载设备间便可以建立通信连接。在此过程中,可以设定车载设备插入汽车后,便自动开启wifi热点。In a specific application scenario, the communication connection between the terminal and the in-vehicle device can be realized by means of the wifi communication technology. The steps for the terminal to establish a communication connection with the in-vehicle device by using the short-range wireless communication technology may be specifically: searching for and connecting to a wifi hotspot of the in-vehicle device; and establishing a communication connection with the in-vehicle device. In this embodiment, the terminal searches for and connects to the wifi hotspot of the in-vehicle device no longer to connect to the network of the in-vehicle device, but to form a local area network with the in-vehicle device after connecting to the wifi hotspot of the in-vehicle device. After the terminal and the in-vehicle device form a local area network, the terminal A communication connection can be established with the in-vehicle device. During this process, you can set the wifi hotspot to be automatically turned on after the in-vehicle device is inserted into the car.
具体的,为了保证车载设备的安全性,避免任意一个终端均可以随意设置车载设备的APN信息,终端建立与车载设备的通信连接之后,还发送终端自身预先绑定的关联车载设备信息至车载设备,以使车载设备基于管理车载设备信息验证终端是否具有APN设置权限;判断是否接收到车载设备发送的表示终端具有APN设置权限的验证结果,若否,则断开通信连接。也即终端建立与车载设备的通信连接之后,终端可以发送自身预先绑定的关联车载设备信息至车载设备;车载设备接收到终端发送的关联车载设备信息后,通过关联车载设备信息验证终端是否具有APN设置权限,并发送相应的验证结果至终端,比如发送表示终端不具有APN设置权限的验证结果至终端,发送表示终端具有APN设置权限的验证结果至终端;终端接收到车载设备发送的验证结果后,解析接收到的验证结果,若验证结果表示自身不具有APN设置权限,则可以断开通信连接,若验证结果表示自身具有APN验证权限,则可以保持通信连接,并执行后续获取目标APN信息的步骤。在此过程中,为了便于验证结果的传输,可以将验证结果转换为数字形式,比如定义表示终端具有APN设置权限的验证结果用数字0表示,定义表示终端不具有APN设置权限的验证结果用数字1表示,则车载设备只需将数字0或1发送给终端即可,终端根据接收的数字解析出其所表示的验证结果。此外,终端预先绑定的关联车载设备信息可以为车载设备的序列号,相应的,车载设备可以通过验证终端发送的车载设备的序列号是否与自身的序列号相同,来验证终端是否具有APN设置权限,若终端发送的车载设备的序列号与自身的序列号相同,则验定终端具有APN设置权限,若终端发送的车载设备的序列号自身的序列号不相同,则验定终端不具有APN设置权限。可选的,车载设备在验定终端不具有APN设置权限之后,还可以直接断开与终端间的通信连接。不难理解,在此过程中,终端需预先绑定关联车载设备信息。Specifically, in order to ensure the safety of the in-vehicle device and prevent any terminal from being able to set the APN information of the in-vehicle device at will, after the terminal establishes a communication connection with the in-vehicle device, it also sends the associated in-vehicle device information pre-bound by the terminal itself to the in-vehicle device. , so that the in-vehicle device verifies whether the terminal has the APN setting authority based on the management in-vehicle equipment information; determines whether the verification result sent by the in-vehicle device indicating that the terminal has the APN setting authority is received, and if not, the communication connection is disconnected. That is, after the terminal establishes a communication connection with the in-vehicle device, the terminal can send its pre-bound associated in-vehicle device information to the in-vehicle device; after the in-vehicle device receives the associated in-vehicle device information sent by the terminal, it verifies whether the terminal has the associated in-vehicle device information. APN setting authority, and send the corresponding verification result to the terminal, such as sending the verification result indicating that the terminal does not have the APN setting authority to the terminal, sending the verification result indicating that the terminal has the APN setting authority to the terminal; the terminal receives the verification result sent by the in-vehicle device After parsing the received verification result, if the verification result indicates that you do not have the APN setting authority, you can disconnect the communication connection; if the verification result indicates that you have the APN verification authority, you can maintain the communication connection and execute the subsequent acquisition of the target APN information. A step of. In this process, in order to facilitate the transmission of the verification result, the verification result can be converted into a digital form. For example, the verification result indicating that the terminal has the APN setting authority is represented by the number 0, and the verification result indicating that the terminal does not have the APN setting authority is defined as a number. 1 means that the in-vehicle device only needs to send the number 0 or 1 to the terminal, and the terminal parses the verification result represented by the number according to the received number. In addition, the associated on-board device information pre-bound by the terminal can be the serial number of the on-board device. Correspondingly, the on-board device can verify whether the terminal has an APN setting by verifying whether the serial number of the on-board device sent by the terminal is the same as its own serial number. If the serial number of the vehicle-mounted device sent by the terminal is the same as its own serial number, it is verified that the terminal has the APN setting authority. Setting permissions. Optionally, after verifying that the terminal does not have the APN setting authority, the in-vehicle device may directly disconnect the communication connection with the terminal. It is not difficult to understand that in this process, the terminal needs to bind the associated vehicle device information in advance.
可选的,车载设备还可以借助加密原理来验证终端是否具有APN设置权限,其过程可以为:终端建立与车载设备的通信连接后,发送预先存储的加密信息至车载设备,车载设备判断终端发送的加密信息是否与自身保存的加密信息相匹配,若是,则验定终端具有APN设置权限,若否,则验定终端不具有APN设置权限等。在此过程中,加密信息的类型可以为同一个加密数据,则车载设备验定终端发送的加密数据与自身保存的加密数据一致时,验定终端具有APN设置权限,验定终端发送的加密数据与自身保存的加密数据不一致时,验定终端不具有APN设置权限;加密信息的类型还可以为一对公私钥,以终端存储公钥,车载设备存储私钥为例,车载设备在验定终端发送的公钥与自身保存的私钥不匹配时,验定终端不具有APN设置权限,在验定终端发送的公钥与自身保存的私钥匹配时,验定终端具有APN设置权限。Optionally, the in-vehicle device can also use the encryption principle to verify whether the terminal has the APN setting authority. Whether the encrypted information matches the encrypted information stored by itself, and if so, it is determined that the terminal has the APN setting authority; if not, it is verified that the terminal does not have the APN setting authority. In this process, the type of encrypted information can be the same encrypted data, then the vehicle-mounted device verifies that when the encrypted data sent by the terminal is consistent with the encrypted data stored by itself, the terminal has the APN setting authority, and the encrypted data sent by the terminal is verified. When it is inconsistent with the encrypted data stored by itself, the verification terminal does not have the APN setting authority; the type of encrypted information can also be a pair of public and private keys. Taking the terminal storing the public key and the vehicle device storing the private key as an example, the vehicle device is in the verification terminal. When the sent public key does not match the private key stored by itself, the verification terminal does not have the APN setting authority, and when the public key sent by the verification terminal matches the private key stored by itself, the verification terminal has the APN setting authority.
步骤S202:获取目标APN信息。Step S202: Obtain target APN information.
实际应用中,终端获取的目标APN信息可以是接收自身人机交互界面传输的APN信息;也可以是终端自动检测到的当前所处位置所能连接的APN信息等。还可以是用户获取APN信息,比如用户通过咨询当地移动通信运营商获得APN信息,并在终端界面输入;还可以是用户在给车载设备安装SIM卡之前通过SIM卡的信息获取APN信息;还可以是用户先将安装到车载设备的SIM卡先安装到手机,然后读取SIM卡的APN信息并记录存储后,再将SIM卡拆下来安装到车载设备中。In practical applications, the target APN information acquired by the terminal may be the APN information transmitted by the terminal receiving its own human-computer interaction interface; it may also be the APN information that can be connected to the current location automatically detected by the terminal, and the like. It can also be that the user obtains the APN information, for example, the user obtains the APN information by consulting the local mobile communication operator and inputs it on the terminal interface; it can also be that the user obtains the APN information through the information of the SIM card before installing the SIM card on the vehicle-mounted device; or It is that the user installs the SIM card installed in the vehicle-mounted device into the mobile phone first, then reads the APN information of the SIM card, records and stores it, and then removes the SIM card and installs it in the vehicle-mounted device.
步骤S203:基于目标APN信息设置车载设备的APN信息。Step S203: Set the APN information of the in-vehicle device based on the target APN information.
实际应用中,终端获取目标APN信息后,便可以基于目标APN信息设置车载设备的APN信息。完成车载设备的APN信息的设置之后,车载设备便可以正常联网工作。In practical applications, after the terminal obtains the target APN information, it can set the APN information of the in-vehicle device based on the target APN information. After completing the setting of the APN information of the in-vehicle device, the in-vehicle device can work normally on the Internet.
具体应用场景中,终端基于目标APN信息设置车载设备的APN信息的过程可以具体为:获取车载设备的APN信息,这里所涉及的车载设备的APN信息指的是车载设备出厂时为了方便后续的连接而烧录在车载设备中的APN信息,具体的,可以由终端读取车载设备的APN信息,也可以设置车载设备主动将自身的APN信息发送给终端等;基于目标APN信息修改车载设备的APN信息;发送修改后的车载设备的APN信息至车载设备,以使车载设备同步修改后的车载设备的APN信息。也即,终端获取车载设备的APN信息,以此了解车载设备已配置的APN信息;之后基于目标APN信息修改车载设备的APN信息,比如在目标APN信息不存在车载设备的APN信息中时,添加目标APN信息至车载设备的APN信息中,在目标APN信息存在车载设备的APN信息中时,将目标APN信息调整为车载设备当前使用的APN信息等,还可以在根据目标APN信息,删除车载设备的APN信息等;在修改完车载设备的APN信息后,发送修改后的车载设备的APN信息至车载设备,车载设备接收到修改后的APN信息后,同步修改后的车载设备的APN信息,以此完成终端对车载设备APN信息的配置。In a specific application scenario, the process for the terminal to set the APN information of the in-vehicle device based on the target APN information can be specifically as follows: obtaining the APN information of the in-vehicle device. The APN information of the in-vehicle device involved here refers to the in-vehicle device when it leaves the factory for the convenience of subsequent connections. As for the APN information burned in the in-vehicle device, specifically, the terminal can read the APN information of the in-vehicle device, or set the in-vehicle device to actively send its own APN information to the terminal, etc.; modify the APN of the in-vehicle device based on the target APN information information; send the modified APN information of the in-vehicle device to the in-vehicle device, so that the in-vehicle device can synchronize the APN information of the modified in-vehicle device. That is, the terminal obtains the APN information of the in-vehicle device, so as to know the APN information that has been configured on the in-vehicle device; and then modifies the APN information of the in-vehicle device based on the target APN information, for example, when the target APN information does not exist in the APN information of the in-vehicle device, add The target APN information is added to the APN information of the in-vehicle device. When the target APN information exists in the APN information of the in-vehicle device, the target APN information is adjusted to the APN information currently used by the in-vehicle device, etc., and the in-vehicle device can also be deleted according to the target APN information. After modifying the APN information of the in-vehicle device, send the modified APN information of the in-vehicle device to the in-vehicle device. This completes the configuration of the APN information of the in-vehicle device by the terminal.
具体应用场景中,终端基于目标APN信息设置车载设备的APN信息的过程还可以具体为:基于目标APN信息生成相应的APN设置指令,发送APN设置指令至车载设备,车载设备响应接收的APN设备指令并完成APN信息的配置。APN设置指令可以为添加目标APN信息并连接目标APN信息的指令,可以为删除目标APN信息之外的其他APN信息的指令等,可以为编辑APN信息的指令等。In a specific application scenario, the process of the terminal setting the APN information of the in-vehicle device based on the target APN information may also be specifically: generating a corresponding APN setting command based on the target APN information, sending the APN setting command to the in-vehicle device, and the in-vehicle device responding to the received APN device command And complete the configuration of APN information. The APN setting instruction may be an instruction to add target APN information and connect to the target APN information, an instruction to delete other APN information other than the target APN information, or the like, or an instruction to edit APN information.
本申请提供的一种设置车载设备APN方法,应用于终端中时,建立与车载设备的通信连接;获取目标APN信息;基于目标APN信息设置车载设备的APN信息。本申请提供的一种设置车载设备APN方法,终端建立与车载设备的通信连接,从而可以与车载设备进行通信;之后获取目标APN信息,并基于目标APN信息设置车载设备的APN信息;也即实现了借助终端设置车载设备的APN信息,与通过服务器配置APN的方法相比,即使车载设备无法连接网络也可以实现配置APN,与通过短信配置APN的方法相比,无需SIM卡支持短信业务,应用场景广泛,适用性更好。此外,借助终端,还可以为无可视化界面的车载设备提供可视化界面,使得用户可以通过终端的可视化界面清楚的了解车载设备的APN信息。The present application provides a method for setting the APN of an in-vehicle device. When applied to a terminal, a communication connection with the in-vehicle device is established; target APN information is acquired; and APN information of the in-vehicle device is set based on the target APN information. In a method for setting the APN of the in-vehicle device provided by the present application, the terminal establishes a communication connection with the in-vehicle device, so as to communicate with the in-vehicle device; then obtains target APN information, and sets the APN information of the in-vehicle device based on the target APN information; In order to use the terminal to set the APN information of the in-vehicle device, compared with the method of configuring the APN through the server, the APN can be configured even if the in-vehicle device cannot connect to the network. Wide range of scenarios and better applicability. In addition, with the help of the terminal, a visual interface can also be provided for the in-vehicle device without a visual interface, so that the user can clearly understand the APN information of the in-vehicle device through the visual interface of the terminal.
请参阅图3,图3为本申请实施例提供的一种车载设备方法的第二流程图。Please refer to FIG. 3 . FIG. 3 is a second flowchart of a vehicle-mounted device method according to an embodiment of the present application.
本申请实施例提供的一种应用于终端中的车载设备接入点APN设置方法可以包括以下步骤:A method for setting an APN of an in-vehicle device access point applied in a terminal provided by an embodiment of the present application may include the following steps:
步骤S301:搜索并连接车载设备的wifi热点。Step S301: Search for and connect to the wifi hotspot of the in-vehicle device.
步骤S302:建立与车载设备的通信连接。Step S302: Establish a communication connection with the in-vehicle device.
步骤S303:发送终端自身预先绑定的关联车载设备序列号至车载设备,以使车载设备验证接收的关联车载设备序列号是否与自身的序列号一致并生成表示终端是否具有APN设置权限的验证结果。Step S303: Send the serial number of the associated in-vehicle device pre-bound by the terminal to the in-vehicle device, so that the in-vehicle device verifies whether the received serial number of the associated in-vehicle device is consistent with its own serial number and generates a verification result indicating whether the terminal has the APN setting authority .
步骤S304:判断是否接收到车载设备发送的表示终端具有APN设置权限的验证结果,若否,则执行步骤S305,若是,则执行步骤S306。Step S304: Determine whether a verification result sent by the in-vehicle device indicating that the terminal has the APN setting authority is received, if not, execute step S305; if yes, execute step S306.
步骤S305:断开通信连接。Step S305: Disconnect the communication connection.
步骤S306:获取目标APN信息,获取车载设备的APN信息。Step S306: Obtain the target APN information, and obtain the APN information of the in-vehicle device.
步骤S307:基于目标APN信息修改车载设备的APN信息。Step S307: Modify the APN information of the in-vehicle device based on the target APN information.
步骤S308:发送修改后的车载设备的APN信息至车载设备,以使车载设备同步修改后的车载设备的APN信息。Step S308: Send the modified APN information of the in-vehicle device to the in-vehicle device, so that the in-vehicle device can synchronize the APN information of the modified in-vehicle device.
比如中国移动通信的APN是cmnet,中国联通的APN是3gnet,3gwap;中国电信的APN是ctnet;美国AT&T的APN是wap.cingular;美国Verizon的APN是vzwinternet;美国Sprint的APN是cinet.spcs。以在中国自驾游的游客为例,若其驾驶的汽车的车载设备接入点APN为cmnet,也即为中国移动通信的APN,并且因地域原因等,其驾驶的汽车的车载设备接入点需切换为中国联通的APN,则该旅游者可以使用自己的终端,比如手机,搜索并连接汽车车载设备的wifi热点,建立与车载设备的通信连接;发送手机预先绑定的自己汽车的关联车载设备序列号至车载设备;车载设备验证接收的关联车载设备序列号是否与自身的序列号一致,若一致,则生成并发送表示手机具有APN设置权限的验证结果至手机;手机收到该验证结果后,便可以接收该旅游者输入的待连接的3gnet,3gwap,同时手机获取车载设备已连接的APN信息,也即获取车载设备已连接的cmnet信息;手机在该旅游者的操作下,将车载设备的APN信息由已连接的cmnet信息修改为3gnet,3gwap,并将修改后的车载设备的APN信息至车载设备;相应的,车载设备接收手机发送的修改后的车载设备的APN信息,并将自身的APN信息同步为修改后的车载设备的APN信息,也即车载设备将自身的APN信息由cmnet修改为3gnet,3gwap,至此,该旅游者便借助手机将汽车的车载设备的APN信息由cmnet修改为3gnet,3gwap。For example, China Mobile's APN is cmnet, China Unicom's APN is 3gnet, 3gwap; China Telecom's APN is ctnet; US AT&T's APN is wap.cingular; US Verizon's APN is vzwinternet; US Sprint's APN is cinet.spcs. Taking a self-driving tourist in China as an example, if the APN of the in-vehicle device of the car they drive is cmnet, which is also the APN of China Mobile, and due to geographical reasons, etc., the in-vehicle device access point of the car they drive If you need to switch to China Unicom's APN, the tourist can use his own terminal, such as a mobile phone, to search for and connect to the wifi hotspot of the car's in-vehicle equipment, and establish a communication connection with the in-vehicle equipment; The device serial number is sent to the in-vehicle device; the in-vehicle device verifies whether the received serial number of the associated in-vehicle device is consistent with its own serial number; After that, it can receive the 3gnet and 3gwap input by the tourist to be connected, and the mobile phone obtains the connected APN information of the in-vehicle device, that is, the cmnet information that the in-vehicle device has been connected to; The APN information of the device is modified from the connected cmnet information to 3gnet, 3gwap, and the modified APN information of the in-vehicle device is sent to the in-vehicle device; correspondingly, the in-vehicle device receives the modified APN information of the in-vehicle device sent by the mobile phone, and sends Its own APN information is synchronized to the APN information of the modified on-board equipment, that is, the on-board equipment modifies its own APN information from cmnet to 3gnet, 3gwap. At this point, the tourist uses the mobile phone to transfer the APN information of the car's on-board equipment from cmnet. Modified to 3gnet, 3gwap.
再比如英国的APN为wap.vodafone.co.uk,德国的APN为event.vodafone.de,对于一位英国旅游者而言,其在英国本地时,车载设备的APN为wap.vodafone.co.uk,而其SIM卡对应的移动运营商的APN也为wap.vodafone.co.uk,两者相对应,所以车载设备可以通过wap.vodafone.co.uk来联网,而当该英国旅游者开车跨国来到德国后,车载设备的APN仍为wap.vodafone.co.uk,而德国的SIM卡对应的APN为event.vodafone.de,导致车载设备的APN与SIM卡对应的APN不相匹配,从而使得车载设备无法在德国联网。此时,该英国旅游者可以使用自己的终端,比如手机,搜索并连接汽车车载设备的wifi热点,建立与车载设备的通信连接;发送手机预先绑定的自己汽车的关联车载设备序列号至车载设备;车载设备验证接收的关联车载设备序列号是否与自身的序列号一致,若一致,则生成并发送表示手机具有APN设置权限的验证结果至手机;手机收到该验证结果后,便可以接收该英国旅游者输入的待连接的event.vodafone.de,同时手机获取车载设备已连接的APN信息,也即获取车载设备已连接的wap.vodafone.co.uk信息;手机在该英国旅游者的操作下,将车载设备的APN信息由已连接的wap.vodafone.co.uk信息修改为event.vodafone.de,并将修改后的车载设备的APN信息至车载设备;相应的,车载设备接收手机发送的修改后的车载设备的APN信息,并将自身的APN信息同步为修改后的车载设备的APN信息,也即车载设备将自身的APN信息由wap.vodafone.co.uk修改为event.vodafone.de,至此,该英国旅游者便借助手机将汽车的车载设备的APN信息由wap.vodafone.co.uk修改为event.vodafone.de。For another example, the APN in the UK is wap.vodafone.co.uk, and the APN in Germany is event.vodafone.de. For a British tourist, when he is in the UK, the APN of the on-board device is wap.vodafone.co. uk, and the APN of the mobile operator corresponding to its SIM card is also wap.vodafone.co.uk, the two correspond to each other, so the in-vehicle device can be connected to the Internet through wap.vodafone.co.uk, and when the British tourist drives After arriving in Germany, the APN of the in-vehicle device is still wap.vodafone.co.uk, while the APN corresponding to the German SIM card is event.vodafone.de, resulting in a mismatch between the APN of the in-vehicle device and the APN corresponding to the SIM card. As a result, in-vehicle devices cannot be networked in Germany. At this time, the British tourist can use his own terminal, such as a mobile phone, to search for and connect to the wifi hotspot of the car's on-board device, and establish a communication connection with the on-board device; send the serial number of the car's associated on-board device pre-bound with the mobile phone to the car. device; the vehicle-mounted device verifies whether the received serial number of the associated vehicle-mounted device is consistent with its own serial number, and if it is the same, generates and sends a verification result indicating that the mobile phone has the APN setting authority to the mobile phone; after the mobile phone receives the verification result, it can receive The British tourist enters the event.vodafone.de to be connected, and at the same time, the mobile phone obtains the APN information that the in-vehicle device has been connected to, that is, the information of wap.vodafone.co.uk that the in-vehicle device has been connected to; Under operation, modify the APN information of the in-vehicle device from the connected wap.vodafone.co.uk information to event.vodafone.de, and send the modified APN information of the in-vehicle device to the in-vehicle device; correspondingly, the in-vehicle device receives the mobile phone Send the modified APN information of the in-vehicle device, and synchronize its own APN information to the APN information of the modified in-vehicle device, that is, the in-vehicle device changes its own APN information from wap.vodafone.co.uk to event.vodafone .de, so far, the British tourist used his mobile phone to change the APN information of the car's on-board equipment from wap.vodafone.co.uk to event.vodafone.de.
本申请还提供了一种终端及计算机可读存储介质,其均具有本申请实施例提供的一种应用于终端中的车载设备接入点APN设置方法具有的对应效果。请参阅图4,图4为本申请实施例提供的一种终端的结构示意图。The present application further provides a terminal and a computer-readable storage medium, both of which have the corresponding effects of the method for setting an APN of an in-vehicle device access point applied in a terminal provided by an embodiment of the present application. Please refer to FIG. 4 , which is a schematic structural diagram of a terminal according to an embodiment of the present application.
本申请实施例提供的一种终端,包括存储器401和处理器402,存储器401中存储有计算机程序,处理器402执行存储器401中存储的计算机程序时实现如下步骤:A terminal provided by an embodiment of the present application includes a
建立与车载设备的通信连接;Establish a communication connection with on-board equipment;
获取目标APN信息;Get target APN information;
基于目标APN信息设置车载设备的APN信息。Set the APN information of the in-vehicle device based on the target APN information.
在一些具体的应用场景中,处理器402执行存储器401中存储的计算机程序时具体实现如下步骤:采用近距离无线通信技术建立与车载设备的通信连接。In some specific application scenarios, the
在一些具体的应用场景中,处理器402执行存储器401中存储的计算机程序时具体实现如下步骤:搜索并连接车载设备的wifi热点;建立与车载设备的通信连接。In some specific application scenarios, the
在一些具体的应用场景中,处理器402执行存储器401中存储的计算机程序时具体实现如下步骤:采用蓝牙通信建立与车载设备的通信连接。In some specific application scenarios, when the
在一些具体的应用场景中,处理器402执行存储器401中存储的计算机程序时具体实现如下步骤:建立与车载设备的通信连接之后,发送预先绑定的关联车载设备信息至车载设备,以使车载设备基于关联车载设备信息验证是否具有APN设置权限;判断是否接收到车载设备发送的表示具有APN设置权限的验证结果,若否,则断开通信连接。In some specific application scenarios, the
在一些具体的应用场景中,处理器402执行存储器401中存储的计算机程序时具体实现如下步骤:获取车载设备的APN信息;基于目标APN信息修改车载设备的APN信息;发送修改后的车载设备的APN信息至车载设备,以使车载设备同步修改后的车载设备的APN信息。In some specific application scenarios, the
请参阅图5,本申请实施例提供的另一种终端中还可以包括:与处理器402连接的输入端口403,用于传输外界输入的命令至处理器402;与处理器402连接的显示单元404,用于显示处理器202的处理结果至外界;与处理器402连接的通信模块405,用于实现终端与外界的通信。显示单元402可以为显示面板、激光扫描使显示器等;通信模块405所采用的通信方式包括但不局限于移动高清链接技术(HML)、通用串行总线(USB)、高清多媒体接口(HDMI)、无线连接:无线保真技术(WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE802.11s的通信技术。Referring to FIG. 5 , another terminal provided by this embodiment of the present application may further include: an
具体的,处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等;通用处理器可以是微处理器等。存储器可以是用户客户端的内部存储单元,例如用户客户端的硬盘或内存;也可以是用户客户端的外部存储设备,例如用户客户端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。存储器、处理器和通信模块的形体可以根据实际需要确定,比如其可以为正方体、长方体等。Specifically, the processor may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.; general-purpose processors may be microprocessors and the like. The storage can be the internal storage unit of the user client, such as the hard disk or memory of the user client; it can also be an external storage device of the user client, such as a plug-in hard disk equipped on the user client, a smart memory card (Smart Media Card, SMC) , Secure Digital (Secure Digital, SD) card, flash memory card (Flash Card) and so on. The shapes of the memory, the processor and the communication module can be determined according to actual needs, for example, they can be a cube, a cuboid, and the like.
本申请实施例提供的一种计算机可读存储介质,应用于用户客户端中,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium provided by an embodiment of the present application is applied to a user client, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the following steps are implemented:
建立与车载设备的通信连接;Establish a communication connection with on-board equipment;
获取目标APN信息;Get target APN information;
基于目标APN信息设置车载设备的APN信息。Set the APN information of the in-vehicle device based on the target APN information.
本申请实施例提供的一种计算机可读存储介质,应用于用户客户端中,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时具体实现如下步骤:采用近距离无线通信技术建立与车载设备的通信连接。A computer-readable storage medium provided by an embodiment of the present application is applied to a user client. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the following steps are specifically implemented: adopting a short-range wireless communication technology Establish a communication connection with the in-vehicle device.
本申请实施例提供的一种计算机可读存储介质,应用于用户客户端中,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时具体实现如下步骤:搜索并连接车载设备的wifi热点;建立与车载设备的通信连接。A computer-readable storage medium provided by an embodiment of the present application is applied to a user client. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the following steps are specifically implemented: searching for and connecting to the in-vehicle device. wifi hotspot; establishes a communication connection with in-vehicle devices.
本申请实施例提供的一种计算机可读存储介质,应用于用户客户端中,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时具体实现如下步骤:采用蓝牙通信建立与车载设备的通信连接。A computer-readable storage medium provided by an embodiment of the present application is applied to a user client, and a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the following steps are specifically implemented: using Bluetooth communication to establish a The communication connection of the device.
本申请实施例提供的一种计算机可读存储介质,应用于用户客户端中,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时具体实现如下步骤:建立与车载设备的通信连接之后,发送自身预先绑定的关联车载设备信息至车载设备,以使车载设备基于关联车载设备信息验证是否具有APN设置权限;判断是否接收到车载设备发送的表示具有APN设置权限的验证结果,若否,则断开通信连接。A computer-readable storage medium provided by an embodiment of the present application is applied to a user client. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the following steps are specifically implemented: establishing communication with the vehicle-mounted device. After the connection, send the associated on-board device information that has been bound in advance to the on-board device, so that the on-board device verifies whether it has the APN setting permission based on the associated on-board device information; determine whether the verification result sent by the on-board device indicating that it has the APN setting permission is received, If not, the communication connection is disconnected.
本申请实施例提供的一种计算机可读存储介质,应用于用户客户端中,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时具体实现如下步骤:获取车载设备的APN信息;基于目标APN信息修改车载设备的APN信息;发送修改后的车载设备的APN信息至车载设备,以使车载设备同步修改后的车载设备的APN信息。A computer-readable storage medium provided by an embodiment of the present application is applied to a user client, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the following steps are specifically implemented: acquiring APN information of an in-vehicle device ; Modify the APN information of the in-vehicle device based on the target APN information; send the APN information of the modified in-vehicle device to the in-vehicle device, so that the in-vehicle device can synchronize the APN information of the modified in-vehicle device.
请参阅图6,图6为本申请实施例提供的一种车载设备接入点APN设置方法的第三流程图。Please refer to FIG. 6. FIG. 6 is a third flowchart of a method for setting an APN of an in-vehicle device access point according to an embodiment of the present application.
本申请实施例提供的一种车载设备接入点APN设置方法,应用于车载设备中,可以包括以下步骤:A method for setting an APN of an in-vehicle device access point provided by an embodiment of the present application, applied to an in-vehicle device, may include the following steps:
步骤S601:建立与终端间的通信连接。Step S601: Establish a communication connection with the terminal.
步骤S602:接收终端发送的与自身的APN信息对应的信息。Step S602: Receive information corresponding to its own APN information sent by the terminal.
步骤S603:基于APN信息对应的信息设置自身的APN信息。Step S603: Set its own APN information based on the information corresponding to the APN information.
关于本申请实施例提供的一种应用于车载设备中的车载设备接入点APN设置方法的具体描述请参阅上述实施例中的相关描述,本申请在此不再赘述。For a specific description of an in-vehicle device access point APN setting method provided in an in-vehicle device provided by an embodiment of the present application, please refer to the relevant descriptions in the above-mentioned embodiments, which will not be repeated in this application.
本申请实施例提供的一种车载设备,包括存储器和处理器,存储器中存储有计算机程序,处理器执行存储器存储的计算机程序时实现如下步骤:An in-vehicle device provided by an embodiment of the present application includes a memory and a processor, where a computer program is stored in the memory, and the processor implements the following steps when executing the computer program stored in the memory:
建立与终端间的通信连接;establish a communication connection with the terminal;
接收终端发送的与自身的APN信息对应的信息;receiving information corresponding to its own APN information sent by the terminal;
基于APN信息对应的信息设置自身的APN信息。Set its own APN information based on the information corresponding to the APN information.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments may be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上对本申请所提供的车载设备接入点APN设置方法、系统、设备及计算机可读存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above provides a detailed introduction to the APN setting method, system, device, and computer-readable storage medium of an in-vehicle device access point provided by the present application. Specific examples are used in this paper to illustrate the principles and implementations of the present application. The above embodiments The description is only used to help understand the method of the present application and its core idea; meanwhile, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope. The contents of this specification should not be construed as limiting the application.
Claims (18)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2018/122570 WO2020124528A1 (en) | 2018-12-21 | 2018-12-21 | On-board device access point apn configuration method, terminal and computer medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111567069A true CN111567069A (en) | 2020-08-21 |
Family
ID=71102929
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201880075863.1A Pending CN111567069A (en) | 2018-12-21 | 2018-12-21 | Vehicle-mounted equipment access point APN setting method, terminal and computer medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111567069A (en) |
| WO (1) | WO2020124528A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116017398A (en) * | 2022-12-01 | 2023-04-25 | 深圳市麦谷科技有限公司 | A method for setting APN of a networked recorder and related equipment |
| WO2023066166A1 (en) * | 2021-10-22 | 2023-04-27 | 华为技术有限公司 | Onboard communication method, apparatus and system |
| CN116567585A (en) * | 2023-05-17 | 2023-08-08 | 上海优咔网络科技有限公司 | A method for updating configuration data of TBOX parameter set |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070167182A1 (en) * | 2005-12-02 | 2007-07-19 | Tenhunen Jouko U | System, apparatus, and method for dynamically configuring application access point settings |
| CN105813070A (en) * | 2014-12-29 | 2016-07-27 | 中国移动通信集团公司 | Method and device for communicating by vehicle-borne terminal through mobile terminal |
| US20170105235A1 (en) * | 2015-10-07 | 2017-04-13 | Volkswagen Ag | Configuration of connectivity before getting into a vehicle |
| CN107438242A (en) * | 2017-07-31 | 2017-12-05 | 努比亚技术有限公司 | A kind of network registering method, bicycle and computer-readable recording medium |
| CN107438243A (en) * | 2017-07-31 | 2017-12-05 | 努比亚技术有限公司 | A kind of network registering method, vehicle fitting and computer-readable recording medium |
| CN107484155A (en) * | 2017-09-30 | 2017-12-15 | 联想(北京)有限公司 | A kind of method for network access, a kind of electronic equipment and a kind of mobile terminal |
| CN107888746A (en) * | 2017-10-09 | 2018-04-06 | 惠州Tcl移动通信有限公司 | A kind of method, storage device and mobile terminal for obtaining APN information |
| CN108769954A (en) * | 2018-05-28 | 2018-11-06 | 爱驰汽车有限公司 | Flow sharing method, system, equipment and the storage medium of vehicle and mobile terminal |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1060569B1 (en) * | 1998-01-15 | 2002-05-02 | Interwave Communications Inc. | Wireless private branch exchange |
| CN105491084B (en) * | 2014-09-16 | 2019-06-28 | 钛马信息网络技术有限公司 | Car networking system and its control method based on OTA agreement |
| CN105629273A (en) * | 2016-01-05 | 2016-06-01 | 深圳市伊爱高新技术开发有限公司 | GNSS vehicle-mounted terminal initialization method and system |
-
2018
- 2018-12-21 CN CN201880075863.1A patent/CN111567069A/en active Pending
- 2018-12-21 WO PCT/CN2018/122570 patent/WO2020124528A1/en not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070167182A1 (en) * | 2005-12-02 | 2007-07-19 | Tenhunen Jouko U | System, apparatus, and method for dynamically configuring application access point settings |
| CN105813070A (en) * | 2014-12-29 | 2016-07-27 | 中国移动通信集团公司 | Method and device for communicating by vehicle-borne terminal through mobile terminal |
| US20170105235A1 (en) * | 2015-10-07 | 2017-04-13 | Volkswagen Ag | Configuration of connectivity before getting into a vehicle |
| CN107438242A (en) * | 2017-07-31 | 2017-12-05 | 努比亚技术有限公司 | A kind of network registering method, bicycle and computer-readable recording medium |
| CN107438243A (en) * | 2017-07-31 | 2017-12-05 | 努比亚技术有限公司 | A kind of network registering method, vehicle fitting and computer-readable recording medium |
| CN107484155A (en) * | 2017-09-30 | 2017-12-15 | 联想(北京)有限公司 | A kind of method for network access, a kind of electronic equipment and a kind of mobile terminal |
| CN107888746A (en) * | 2017-10-09 | 2018-04-06 | 惠州Tcl移动通信有限公司 | A kind of method, storage device and mobile terminal for obtaining APN information |
| CN108769954A (en) * | 2018-05-28 | 2018-11-06 | 爱驰汽车有限公司 | Flow sharing method, system, equipment and the storage medium of vehicle and mobile terminal |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023066166A1 (en) * | 2021-10-22 | 2023-04-27 | 华为技术有限公司 | Onboard communication method, apparatus and system |
| CN116017398A (en) * | 2022-12-01 | 2023-04-25 | 深圳市麦谷科技有限公司 | A method for setting APN of a networked recorder and related equipment |
| CN116567585A (en) * | 2023-05-17 | 2023-08-08 | 上海优咔网络科技有限公司 | A method for updating configuration data of TBOX parameter set |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2020124528A1 (en) | 2020-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11419163B2 (en) | Secure wireless networks for vehicles | |
| CN108476060B (en) | Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device | |
| EP2405622B1 (en) | Device communication | |
| RU2625338C1 (en) | Method, device and system for installation of wireless network connection | |
| US10567350B2 (en) | Virtual card downloading method, terminal, and intermediate device | |
| CN104301857A (en) | Method and device for wireless communication between communication terminals | |
| CN105764159B (en) | Network connection method, system and terminal thereof | |
| CN102082589A (en) | Method, device and system for storing contact information | |
| CN108513716B (en) | Method, device and terminal for establishing connection | |
| CN108370505A (en) | Equipment, method and computer program for establishing communication connection between the information system and mobile device of vehicle | |
| WO2014101477A1 (en) | Near field communication method and device | |
| CN111567069A (en) | Vehicle-mounted equipment access point APN setting method, terminal and computer medium | |
| US20150172433A1 (en) | Method, system and mobile terminal for connection to a public network | |
| CN103957037B (en) | Based on the method for bluetooth PC end with the automated communications of Android phone end | |
| JP2015119313A (en) | Wireless connection device, method for duplicating setting information on wireless communication, and network system | |
| CN105704705A (en) | Method for switching terminals with shared eSIM information, terminal and server | |
| CN113194445A (en) | Connection method and device | |
| WO2019061116A1 (en) | Terminal pairing method, server and terminal | |
| CN120645761A (en) | Vehicle charging method and device, vehicle, electronic equipment and medium | |
| CN107395661B (en) | Vehicle computer system, server and telematics control unit | |
| CN115225627A (en) | File transmission method and device, computer equipment and storage medium | |
| CN108848066B (en) | Terminal communication method, terminal and storage medium | |
| CN103546873A (en) | Push-to-talk processing method and device | |
| CN114125919B (en) | Testing methods and devices | |
| CN105491528A (en) | Method for directly transmitting mobile phone map location information to vehicle-mounted navigation 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200821 |
|
| RJ01 | Rejection of invention patent application after publication |