CN111262962A - Configuration method for automatically binding license plate and equipment number - Google Patents

Configuration method for automatically binding license plate and equipment number Download PDF

Info

Publication number
CN111262962A
CN111262962A CN202010048436.3A CN202010048436A CN111262962A CN 111262962 A CN111262962 A CN 111262962A CN 202010048436 A CN202010048436 A CN 202010048436A CN 111262962 A CN111262962 A CN 111262962A
Authority
CN
China
Prior art keywords
vehicle
server
equipment
authentication 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
Application number
CN202010048436.3A
Other languages
Chinese (zh)
Inventor
吕卫
韩镓泽
褚晶辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN202010048436.3A priority Critical patent/CN111262962A/en
Publication of CN111262962A publication Critical patent/CN111262962A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/106Mapping addresses of different types across networks, e.g. mapping telephone numbers to data network addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a configuration method for automatically binding a license plate and an equipment number, which comprises the following steps: the vehicle-mounted equipment is configured and set with timeout time for waiting for response of the second server; judging whether a response with a correct format is received from the second server, if so, extracting authentication information from a response data packet of the second server, and storing the authentication information as a configuration file; reading data in the configuration file, and sending a confirmation request containing a delivery serial number or equipment encryption chip number message and authentication information to a second server; if the response of the second server is that the equipment information is correct, the obtained correct authentication information and the obtained terminal ID information are registered to the first server; the second server is configured to query the local database by using the factory number or the equipment encryption chip number uploaded by the vehicle-mounted equipment as a key code, return the queried authentication information in the record to the vehicle-mounted equipment according to a second protocol, and finish the binding process after the information is recorded in the management system without any operation on the vehicle-mounted equipment by a user.

Description

Configuration method for automatically binding license plate and equipment number
Technical Field
The invention relates to a communication protocol of a vehicle networking, in particular to the technical field of configuration of vehicle-mounted equipment, and particularly relates to a configuration method for automatically binding a license plate and an equipment number.
Background
When the vehicle-mounted device is installed on a vehicle, the license plate number of the vehicle to which the vehicle-mounted device belongs is usually required to be set for the vehicle-mounted device to communicate with a remote server by taking the license plate number as an identification code, so that the network access of the vehicle-mounted device is realized. Since the vehicle-mounted equipment has a unique factory number (namely equipment number), the license plate number to which the vehicle-mounted equipment belongs is a license plate-equipment number binding process. The existing binding modes include three types: one is that the vehicle-mounted equipment provides screen display and key-press and other man-machine interaction modes, and a user sets a license plate number in a graphical interface of the vehicle-mounted equipment; the second type is that a network service, such as HTTP, SSH (Secure SHell, Secure SHell protocol) service, etc., is run on the vehicle-mounted device, and the user logs in a webpage of the vehicle-mounted device through a WIFI or ethernet interface and sets a license plate number by using a mobile phone APP or a network browser; the third type is that the user uses the terminal program to write the configuration file into the vehicle-mounted device. The three methods all require a user to set the vehicle-mounted equipment on site, and the workload of installing the equipment is increased.
When the mobile terminal accesses the telecommunication network, only the SIM card number is used as the identity identification, which is different from the identity authentication method for the network access of the vehicle-mounted equipment, so that the identity authentication problem of the network access of the vehicle-mounted equipment cannot be solved by using the authentication technology of the mobile terminal.
The network protocols include an ARP (Address Resolution Protocol) and an RARP (Reverse Address Resolution Protocol), which respectively handle the problem that the network terminal obtains a network card physical Address according to an IP Address and obtains an IP Address according to the network card physical Address.
However, since the vehicle-mounted device communicates with the server using the 3G/4G/5G network, the IP address is not fixed, and the identification code during network access is information such as a license plate number, which is different from a globally unique physical address configured when the network card leaves the factory, the binding between the device number and the license plate number cannot be realized using the ARP and RARP protocols.
Disclosure of Invention
The invention provides a configuration method for automatically binding a license plate and an equipment number, which finishes a binding process through a server-side program, only needs to report a factory number of vehicle-mounted equipment and a license plate number of a vehicle to a server manager when a user installs the vehicle-mounted equipment, finishes the binding process after the server manager inputs information into a management system, does not need the user to carry out any operation on the vehicle-mounted equipment, and is described in detail as follows:
a configuration method for automatically binding a license plate and a device number comprises the following steps:
firstly, vehicle-mounted equipment configuration:
1) setting the timeout time for waiting for the response of the second server;
2) judging whether a response with a correct format is received from the second server, if so, extracting authentication information from a response data packet of the second server, and storing the authentication information as a configuration file;
reading data in the configuration file, and sending a confirmation request containing a delivery serial number or equipment encryption chip number message and authentication information to a second server;
if the response of the second server is that the equipment information is correct, the obtained correct authentication information and the obtained terminal ID information are registered to the first server;
second, second server configuration:
1) the method comprises the steps that a vehicle-mounted equipment identity binding service program is operated, and a request sent by the vehicle-mounted equipment according to a first protocol is intercepted;
2) if the request is a binding request containing the factory number of the vehicle-mounted equipment or the encrypted chip number message of the equipment, executing the step 3), and if the request is a confirmation request containing the complete authentication information of the vehicle-mounted equipment, executing the step 4);
3) using the factory number uploaded by the vehicle-mounted equipment or the equipment encryption chip number as a key code to query a local database, returning the queried authentication information in the record to the vehicle-mounted equipment according to a second protocol, and then returning to the step 2);
4) and (3) querying a local database by using the key codes, checking the queried authentication information in the record with the information uploaded by the vehicle-mounted equipment, returning a positive message if the information is correct, returning a negative message if the information is not correct, and then returning to the step 2).
The in-vehicle device configuration further includes: if the overtime fails, repeating overtime detection for a plurality of times until a response is obtained or all overtime fails.
The in-vehicle device configuration further includes: and if no configuration file exists, sending a binding request to the second server, saving the authentication information as the configuration file after obtaining a correct response, and connecting the first server.
The in-vehicle device configuration further includes: if the authentication information of the second server B is updated, returning a negative confirmation message, deleting the configuration file, and resending the binding request when starting up next time.
The technical scheme provided by the invention has the beneficial effects that:
1. the invention avoids the work of manually setting the equipment parameters when the user installs the vehicle-mounted equipment on site, and avoids the input error;
2. according to the invention, the vehicle-mounted equipment is not required to provide a graphical user interface, so that the hardware cost and the software complexity can be reduced;
3. the invention can be used for vehicle-mounted equipment (such as a vehicle event recorder, a vehicle-mounted video recorder, a driving behavior analyzer, an advanced driving assistance system and the like) or intelligent vehicles to bind information such as license plate numbers and the like, and is connected with a background system, thereby meeting various requirements in practical application.
Drawings
Fig. 1 is a schematic diagram of a configuration for automatically binding a license plate and a device number.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below.
Example 1
A configuration method for automatically binding a license plate and a device number, referring to fig. 1, includes the following steps:
the configuration method adopts a double-server (comprising a first server A and a second server B) structure as shown in figure 1, after a vehicle-mounted device (such as a driving behavior analyzer) is started, the vehicle-mounted device firstly communicates with the second server B, acquires authentication information (the information can be license plate numbers, contact mobile phone numbers and the like) stored at the second server B according to a self device factory number or a device encryption chip number and stores the authentication information as a local file;
if the vehicle-mounted equipment acquires the authentication information from the second server B and stores the authentication information as a local file after the vehicle-mounted equipment is started for the last time, the authentication information is sent to the second server B for verification;
and finally, the vehicle-mounted equipment is connected to the first server A by virtue of the acquired authentication information to complete equipment registration.
Example 2
The configuration method of embodiment 1 is further described below with reference to fig. 1, and is described in detail below:
software working process on vehicle-mounted equipment
1) After starting up, detecting whether a configuration file for setting network access authentication information such as a local license plate number exists or not, and if the configuration file does not exist, executing the step 2); if the configuration file exists, step 6) is executed for processing a special case that the in-vehicle apparatus is moved to another vehicle or the in-vehicle apparatus installation information is registered erroneously.
2) Sending a binding request containing a factory number or an equipment encryption chip number to a second server B according to a protocol disclosed by the embodiment of the invention, wherein the address and the port number of the second server B are solidified in the vehicle-mounted equipment when the vehicle-mounted equipment is shipped; and setting the timeout time for waiting for the response of the second server B to be a fixed value between 10 seconds and 300 seconds (for example, if the 3G/4G signal is strong, the timeout time can be set to be 10 seconds, and if the 3G/4G signal is weak, the timeout time can be set to be 300 seconds), so as to avoid the permanent waiting of the vehicle-mounted equipment when the service is abnormal.
3) And fields such as license plate numbers, contact mobile phone numbers, terminal IDs and the like are extracted from the response data packet of the second server B and stored as configuration files of the vehicle-mounted equipment.
4) If the step 3) fails to overtime, repeating the step 3) for a plurality of times (generally 2-5 times) until a response is obtained or all overtime fails, and then executing the step 5);
namely, the step 3) and the step 4) form a small cycle.
5) Judging whether a response with a correct format is received from the second server B, if so, indicating that the vehicle-mounted equipment is successfully bound, and executing the step 8); if not, indicating that the vehicle-mounted equipment is failed to be bound, reminding the user that the equipment is not bound through modes of indicator light flashing and the like, and ending the process;
6) reading data in the configuration file, and sending a confirmation request containing contents such as a factory number or equipment encryption chip number message, a license plate number, a contact mobile phone number, a terminal ID and the like to a second server B according to a protocol disclosed by the embodiment of the invention;
7) if the answer of the second server B is that the equipment information is correct, executing the step 8); if the response of the second server B is that the equipment information is wrong, deleting the configuration file of the vehicle-mounted equipment, reminding the user of the failure of the binding information of the user equipment in modes of indicator light flashing and the like, or restarting the machine, and ending the process;
8) the acquired correct authentication information is registered in the first server a (this step is a standard vehicle-mounted terminal registration process specified by the national standard), and the process ends.
Second, software work flow on second server B
This section refers to software that communicates with the in-vehicle device and implements the in-vehicle device identity binding function, which is run on the second server B, as an "in-vehicle device identity binding service program" (simply "service program").
1) The second server B runs the vehicle-mounted equipment identity binding service program, the second server B has a fixed Internet IP address or a domain name, the vehicle-mounted equipment identity binding service program uses a fixed port number, and the address and port number information are solidified in the vehicle-mounted equipment when the vehicle-mounted equipment leaves a factory.
2) Intercepting a request sent by the vehicle-mounted equipment according to the protocol disclosed by the embodiment of the invention, if the request is a binding request containing a factory number of the vehicle-mounted equipment or an equipment encryption chip number message, executing the step 3), and if the request is a confirmation request containing complete authentication information of the vehicle-mounted equipment, executing the step 4).
3) Using the factory number or the equipment encryption chip number uploaded by the vehicle-mounted equipment as a key to query a local database, returning the queried authentication information in the record and the like to the vehicle-mounted equipment according to the protocol disclosed by the embodiment of the invention, and then returning to the step 2);
4) and (3) using the factory number or the equipment encryption chip number uploaded by the vehicle-mounted equipment as a key to query a local database, checking the queried authentication information and the like in the record with the information uploaded by the vehicle-mounted equipment, returning a positive message if the information is correct, returning a negative message if the information is not correct, and then returning to the step 2).
Example 3
The communication protocols described in embodiments 1 and 2 are further described below in conjunction with tables 1-4, as described in detail below:
in order to be compatible with the Internet of vehicles protocol, the communication protocol defined by the embodiment of the invention conforms to the message format of JT/T808 and 2011 road transport vehicle satellite positioning system terminal communication protocol and data format in the China's republic of China transportation industry standard. As shown in tables 1 to 4.
Message ID: 0x0f01
TABLE 1 vehicle-mounted device acquisition registration information (binding request) message body data format
Start byte Field(s) Data type Description and claims
0 Device ID String
Message ID: 0x8f01
Table 2 data format of vehicle information message body issued by second server
Start byte Field(s) Data type Description and claims
0 Mobile phone number String
0+n1 Terminal ID String
0+n1+n2 License plate number String
Message ID: 0x0f02
Table 3 report vehicle information (confirm request) message body data format by vehicle-mounted device
Start byte Field(s) Data type Description and claims
0 Device ID String
0+n1 Mobile phone number String
0+n1+n2 Terminal ID String
0+n1+n2+n3 License plate number String
Message ID: 0x8f02
Table 4 issuing vehicle information verification result by the second server
Start byte Field(s) Data type Description and claims
0 Verification result String
It should be noted that the binding request and the binding information confirmation of the vehicle-mounted device can be implemented by using the same message, for example: when the vehicle-mounted equipment does not have the local configuration file, the information such as the license plate number is set to be a full zero value, and the second server B uniformly returns the complete information such as the factory serial number and the license plate number of the equipment. However, the server response message of this scheme is long, so the delay is long, and each time the information check is required by the in-vehicle device program, the calculation resources of the in-vehicle device are consumed more. Therefore, the embodiment of the invention adopts two types of messages to respectively process the binding request and the confirmation request.
In the embodiment of the present invention, except for the specific description of the model of each device, the model of other devices is not limited, as long as the device can perform the above functions.
Those skilled in the art will appreciate that the drawings are only schematic illustrations of preferred embodiments, and the above-described embodiments of the present invention are merely provided for description and do not represent the merits of the embodiments.
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 (4)

1. A configuration method for automatically binding a license plate and an equipment number is characterized by comprising the following steps:
firstly, vehicle-mounted equipment configuration:
1) setting the timeout time for waiting for the response of the second server;
2) judging whether a response with a correct format is received from the second server, if so, extracting authentication information from a response data packet of the second server, and storing the authentication information as a configuration file;
reading data in the configuration file, and sending a confirmation request containing a delivery serial number or equipment encryption chip number message and authentication information to a second server;
if the response of the second server is that the equipment information is correct, the obtained correct authentication information and the obtained terminal ID information are registered to the first server;
second, second server configuration:
1) the method comprises the steps that a vehicle-mounted equipment identity binding service program is operated, and a request sent by the vehicle-mounted equipment according to a first protocol is intercepted;
2) if the request is a binding request containing the factory number of the vehicle-mounted equipment or the encrypted chip number message of the equipment, executing the step 3), and if the request is a confirmation request containing the complete authentication information of the vehicle-mounted equipment, executing the step 4);
3) using the factory number uploaded by the vehicle-mounted equipment or the equipment encryption chip number as a key code to query a local database, returning the queried authentication information in the record to the vehicle-mounted equipment according to a second protocol, and then returning to the step 2);
4) and (3) querying a local database by using the key codes, checking the queried authentication information in the record with the information uploaded by the vehicle-mounted equipment, returning a positive message if the information is correct, returning a negative message if the information is not correct, and then returning to the step 2).
2. The configuration method for automatically binding the license plate and the device number according to claim 1, wherein the configuration of the vehicle-mounted device further comprises:
if the overtime fails, repeating overtime detection for a plurality of times until a response is obtained or all overtime fails.
3. The configuration method for automatically binding the license plate and the device number according to claim 1, wherein the configuration of the vehicle-mounted device further comprises:
and if no configuration file exists, sending a binding request to the second server, saving the authentication information as the configuration file after obtaining a correct response, and connecting the first server.
4. The configuration method for automatically binding the license plate and the device number according to claim 1, wherein the configuration of the vehicle-mounted device further comprises:
if the authentication information of the second server B is updated, returning a negative confirmation message, deleting the configuration file, and resending the binding request when starting up next time.
CN202010048436.3A 2020-01-16 2020-01-16 Configuration method for automatically binding license plate and equipment number Pending CN111262962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010048436.3A CN111262962A (en) 2020-01-16 2020-01-16 Configuration method for automatically binding license plate and equipment number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010048436.3A CN111262962A (en) 2020-01-16 2020-01-16 Configuration method for automatically binding license plate and equipment number

Publications (1)

Publication Number Publication Date
CN111262962A true CN111262962A (en) 2020-06-09

Family

ID=70950711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010048436.3A Pending CN111262962A (en) 2020-01-16 2020-01-16 Configuration method for automatically binding license plate and equipment number

Country Status (1)

Country Link
CN (1) CN111262962A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105629273A (en) * 2016-01-05 2016-06-01 深圳市伊爱高新技术开发有限公司 GNSS vehicle-mounted terminal initialization method and system
CN106385420A (en) * 2016-09-29 2017-02-08 中国联合网络通信集团有限公司 ECU software download method and device
CN106856575A (en) * 2015-12-09 2017-06-16 中国电信股份有限公司 The method of automatic configuration of IPTV terminal, server and IPTV system
WO2018223309A1 (en) * 2017-06-07 2018-12-13 华为技术有限公司 Method for verifying and updating euicc firmware version and associated device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106856575A (en) * 2015-12-09 2017-06-16 中国电信股份有限公司 The method of automatic configuration of IPTV terminal, server and IPTV system
CN105629273A (en) * 2016-01-05 2016-06-01 深圳市伊爱高新技术开发有限公司 GNSS vehicle-mounted terminal initialization method and system
CN106385420A (en) * 2016-09-29 2017-02-08 中国联合网络通信集团有限公司 ECU software download method and device
WO2018223309A1 (en) * 2017-06-07 2018-12-13 华为技术有限公司 Method for verifying and updating euicc firmware version and associated device

Similar Documents

Publication Publication Date Title
EP2611226B1 (en) Processing method and system for over-the-air bootstrap
CN111225082B (en) Identity management method and device of Internet of things intelligent equipment and Internet of things platform
CN110969417B (en) Government affair item synchronization method, device, system, computer equipment and storage medium
CN102333071A (en) Engineering mechanical vehicle networking and communicating method and engineering mechanical vehicle networking system
CN104320250A (en) Anti-counterfeiting authentication method based on NFC chip
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN103699464A (en) Communication terminal automatically testing method and device
CN107666664B (en) Method, device, equipment and storage medium for machine-card binding
CN110505219B (en) Dubbo-based micro-service registration control management system and method
CN115065517A (en) Vehicle business authorization method, device, cloud server and system
CN109039427B (en) Ship monitoring management device
CN111328067A (en) User information checking method, device, system, equipment and medium
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
CN111262962A (en) Configuration method for automatically binding license plate and equipment number
CN111831304A (en) Version upgrading method and device, electronic equipment and storage medium
CN113992739B (en) Local area network OTA firmware upgrading device, method and system
CN106899493B (en) Message pushing method and device based on UDP and http
CN114185804A (en) Interface testing method and device and terminal equipment
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN114968822A (en) Interface testing method and device, computer equipment and storage medium
CN110298654B (en) Mobile phone payment method and system based on 5G network
CN109348053B (en) Telephone number mark processing method, server, terminal device and computer readable storage medium
US20080077693A1 (en) System and method for automatically generating a proxy interface object to communicate through a gateway software server to a remote software server
CN112383515A (en) Electronic price tag compatibility method, device and system and readable storage medium
CN111431911A (en) Method for collecting basic information of equipment in network, network edge equipment and network equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200609