CN110278217B - Registration method, device and system of terminal equipment - Google Patents

Registration method, device and system of terminal equipment Download PDF

Info

Publication number
CN110278217B
CN110278217B CN201910718132.0A CN201910718132A CN110278217B CN 110278217 B CN110278217 B CN 110278217B CN 201910718132 A CN201910718132 A CN 201910718132A CN 110278217 B CN110278217 B CN 110278217B
Authority
CN
China
Prior art keywords
pairing code
terminal equipment
pairing
terminal device
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910718132.0A
Other languages
Chinese (zh)
Other versions
CN110278217A (en
Inventor
胡征犀
许亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zebred Network Technology Co Ltd
Original Assignee
Zebred Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zebred Network Technology Co Ltd filed Critical Zebred Network Technology Co Ltd
Priority to CN201910718132.0A priority Critical patent/CN110278217B/en
Publication of CN110278217A publication Critical patent/CN110278217A/en
Application granted granted Critical
Publication of CN110278217B publication Critical patent/CN110278217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a registration method, a device and a system of terminal equipment, wherein the method comprises the steps of acquiring a first identifier of the terminal equipment; the method comprises the steps of sending a pairing request to a cloud server, wherein the pairing request comprises a first identification so as to request the cloud server to generate a first pairing code corresponding to the terminal device, and sending the first pairing code to the terminal device, so that the terminal device sends a second pairing code to the cloud server after receiving the first pairing code sent by the cloud server, the cloud server verifies the terminal device according to the first pairing code and the second pairing code, and if verification is successful, the terminal device is successfully registered. The registration of the terminal equipment is realized, and the communication safety of the terminal equipment and the vehicle machine is improved.

Description

Registration method, device and system of terminal equipment
Technical Field
The invention relates to the technical field of vehicle machine control, in particular to a registration method, a registration device and a registration system of terminal equipment.
Background
Along with rapid development of economy and continuous improvement of living standards of people, automobiles become more and more people's tools for transportation gradually, in addition, along with the progress of wireless technology, automobile electronic technology and automatic control technology, the integration level of electronic equipment is higher and higher, various functions integrated on the automobile are more and more, various advanced communication technologies are applied to the automobile, the automobile is no longer an isolated device, and a channel for information communication can be established between the automobile and the outside. In order to provide vehicle control convenience, a terminal device is generally connected with a vehicle machine, and the terminal device is used for performing operations such as vehicle window control, music playing, broadcast playing, map viewing and the like on a vehicle.
In order to establish a connection between a terminal device and a vehicle, in the prior art, the connection between the terminal device and the vehicle is usually established through bluetooth.
However, in the prior art, if the terminal device is a customized device, for example, a portable tablet computer (pad), there is no problem of security because the pad is connected to the vehicle via bluetooth due to customized communication isolation, but if the user terminal device is introduced and connected to the vehicle via bluetooth, the security requirement of the vehicle-mounted device cannot be met.
Disclosure of Invention
The invention provides a registration method, a registration device and a registration system of terminal equipment, which are used for realizing registration of the terminal equipment and improving the communication safety of the terminal equipment and a vehicle machine.
In a first aspect, an embodiment of the present invention provides a registration method for a terminal device, including:
acquiring a first identifier of the terminal equipment; the method comprises the steps of sending a pairing request to a cloud server, wherein the pairing request comprises a first identification so as to request the cloud server to generate a first pairing code corresponding to the terminal device, and sending the first pairing code to the terminal device, so that the terminal device sends a second pairing code to the cloud server after receiving the first pairing code sent by the cloud server, the cloud server verifies the terminal device according to the first pairing code and the second pairing code, and if verification is successful, the terminal device is successfully registered.
Optionally, before obtaining the first identifier of the terminal device, the method further includes:
acquiring user operation; and under the triggering of user operation, entering a pairing mode of the vehicle machine and the terminal equipment.
In a second aspect, an embodiment of the present application provides a registration method for a terminal device, including:
receiving a pairing request sent by a vehicle machine, wherein the pairing request comprises a first identifier of a terminal device.
And generating a first pairing code corresponding to the terminal equipment according to the pairing request.
And sending the first pairing code to the terminal equipment, so that the terminal equipment receives a second pairing code input by a user after receiving the first pairing code, and sends the second pairing code to the cloud server.
And verifying the terminal equipment according to the first pairing code and the second pairing code, and if the verification is successful, successfully registering the terminal equipment.
Optionally, verifying the terminal device according to the first pairing code and the second pairing code includes:
and receiving the second pairing code sent by the terminal equipment.
And matching the first matching code with the second matching code, and if the first matching code is matched with the second matching code, successfully verifying the terminal equipment.
Optionally, generating a first pairing code corresponding to the terminal device according to the pairing request includes:
the first pairing code is generated by means of a dynamic password OTP.
Optionally, the registration method for a terminal device provided in the embodiment of the present application further includes:
and if the terminal equipment is successfully registered, pushing a pairing result to the terminal equipment bound with the vehicle machine.
In a third aspect, an embodiment of the present application provides a registration method for a terminal device, where after a vehicle-mounted device acquires a first identifier of the terminal device and sends a pairing request to a cloud server, and the cloud server generates a first pairing code corresponding to the terminal device according to the pairing request, the registration method includes:
the terminal equipment receives a first pairing code sent by the cloud server.
The terminal device obtains the second pairing code and sends the second pairing code to the cloud server, so that the cloud server verifies the terminal device according to the first pairing code and the second pairing code, and if verification is successful, registration of the terminal device is successful.
In a fourth aspect, an embodiment of the present application provides a registration apparatus for a terminal device, including:
the first obtaining module is used for obtaining a first identifier of the terminal equipment.
The terminal equipment comprises a first sending module and a second sending module, wherein the first sending module is used for sending a pairing request to the cloud server, the pairing request comprises a first identification so as to request the cloud server to generate a first pairing code corresponding to the terminal equipment, and the first pairing code is sent to the terminal equipment, so that the terminal equipment sends a second pairing code to the cloud server after receiving the first pairing code sent by the cloud server, the cloud server verifies the terminal equipment according to the first pairing code and the second pairing code, and if the verification is successful, the terminal equipment is successfully registered.
Optionally, the registration apparatus for a terminal device provided in the embodiment of the present application further includes:
and the second acquisition module is used for acquiring the user operation.
And under the triggering of user operation, entering a pairing mode of the vehicle machine and the terminal equipment.
In a fifth aspect, an embodiment of the present application provides a registration apparatus for a terminal device, including:
the first receiving module is used for receiving a pairing request sent by the vehicle-mounted terminal, and the pairing request comprises a first identifier of the terminal device.
And the generating module is used for generating a first pairing code corresponding to the terminal equipment according to the pairing request.
The second sending module is used for sending the first pairing code to the terminal equipment, so that the terminal equipment receives a second pairing code input by a user after receiving the first pairing code, and sends the second pairing code to the cloud server.
And the verification module is used for verifying the terminal equipment according to the first pairing code and the second pairing code, and if the verification is successful, the terminal equipment is successfully registered.
Optionally, the verification module is specifically configured to:
and receiving the second pairing code sent by the terminal equipment.
And matching the first matching code with the second matching code, and if the first matching code is matched with the second matching code, successfully verifying the terminal equipment.
Optionally, the generating module is specifically configured to:
the first pairing code is generated by means of a dynamic password OTP.
Optionally, the registration apparatus for a terminal device provided in the embodiment of the present application further includes:
and the pushing module is used for pushing the pairing result to the terminal equipment bound with the vehicle machine if the terminal equipment is successfully registered.
In a sixth aspect, an embodiment of the present application provides a registration apparatus for a terminal device, where the vehicle obtains a first identifier of the terminal device, and sends a pairing request to a cloud server, and after the cloud server generates a first pairing code corresponding to the terminal device according to the pairing request, the registration apparatus includes:
and the second receiving module is used for receiving the first pairing code sent by the cloud server.
And the third acquisition module is used for acquiring the second pairing code.
And the third sending module is used for sending the second pairing code to the cloud server so that the cloud server verifies the terminal equipment according to the first pairing code and the second pairing code, and if the verification is successful, the terminal equipment is successfully registered.
In a seventh aspect, an embodiment of the present application provides a car machine, configured to execute the method according to the first aspect.
In an eighth aspect, an embodiment of the present application provides a cloud server, configured to execute the method according to the second aspect, that is, the optional manner in the second aspect.
In a ninth aspect, an embodiment of the present application provides a terminal device, configured to perform the methods as described in the third aspect and optional manners of the third aspect.
In a tenth aspect, an embodiment of the present application provides a system, including: the car machine provided by the seventh aspect, the cloud server provided by the eighth aspect, and the terminal device provided by the ninth aspect.
In an eleventh aspect, the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program causes a server to execute the method according to the first aspect and the first aspect options.
In a twelfth aspect, an embodiment of the present invention provides a computer program product, including: executable instructions for implementing a method as claimed in the first aspect or an alternative to the first aspect.
In a thirteenth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program causes a server to execute the method according to the second aspect and the second aspect optional manner.
In a twelfth aspect, an embodiment of the present invention provides a computer program product, including: executable instructions for implementing a method as claimed in the second aspect or an alternative to the second aspect.
In a thirteenth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program causes a server to execute the method according to the third aspect and the optional manner of the third aspect.
In a fourteenth aspect, an embodiment of the present invention provides a computer program product, including: executable instructions for implementing a method as claimed in the third aspect or an alternative to the third aspect.
The invention provides a registration method, a device and a system of terminal equipment, wherein the method comprises the steps of acquiring a first identifier of the terminal equipment; the method comprises the steps of sending a pairing request to a cloud server, wherein the pairing request comprises a first identification so as to request the cloud server to generate a first pairing code corresponding to the terminal device, and sending the first pairing code to the terminal device, so that the terminal device sends a second pairing code to the cloud server after receiving the first pairing code sent by the cloud server, the cloud server verifies the terminal device according to the first pairing code and the second pairing code, and if verification is successful, the terminal device is successfully registered. The registration of the terminal equipment is realized, and the communication safety of the terminal equipment and the vehicle machine is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram of an exemplary application scenario provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of an exemplary implementation of an embodiment of the present application;
fig. 3 is a signaling interaction diagram of a registration method of a terminal device according to an embodiment of the present application;
fig. 4 is a signaling interaction diagram of a registration method of a terminal device according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a registration apparatus of a terminal device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a registration apparatus of a terminal device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a registration apparatus of a terminal device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a system provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Along with rapid development of economy and continuous improvement of living standards of people, automobiles become more and more people's tools for transportation gradually, in addition, along with the progress of wireless technology, automobile electronic technology and automatic control technology, the integration level of electronic equipment is higher and higher, various functions integrated on the automobile are more and more, various advanced communication technologies are applied to the automobile, the automobile is no longer an isolated device, and a channel for information communication can be established between the automobile and the outside. In order to provide vehicle control convenience, a terminal device is generally connected with a vehicle machine, and the terminal device is used for performing operations such as vehicle window control, music playing, broadcast playing, map viewing and the like on a vehicle. In order to establish connection between a terminal device and a vehicle machine, in the prior art, the connection between the terminal device and the vehicle machine is usually established in a bluetooth broadcast manner, and the vehicle-mounted safety requirement cannot be met. In order to solve the above problem, embodiments of the present application provide a method, an apparatus, and a system for registering a terminal device.
An exemplary application scenario of the embodiments of the present invention is described below.
Fig. 1 is an exemplary application scenario diagram provided in an embodiment of the present application, and as shown in fig. 1, in an application scenario of riding a vehicle, a car machine is located between a driver and a front passenger seat, and a user riding the driving and front passenger seats may control air conditioning, windows, music playing, broadcasting, and the like inside the vehicle through the car machine. The rear passenger 11 is located in the rear row of the vehicle, and needs to be connected to the vehicle machine in other ways to realize vehicle control because the vehicle machine cannot be used for controlling the interior of the vehicle. Fig. 2 is a schematic diagram of an exemplary implementation manner in an embodiment of the present application, as shown in fig. 2, a back-row passenger may establish a connection with a vehicle machine 13 through a terminal device 12, in a process of establishing the connection, the connection between the terminal device 12 and the vehicle machine 13 may be achieved by means of a cloud server 14, and then the control of the back-row passenger on the inside of a vehicle may be achieved through application software in the terminal device 12, the terminal device may be a smart phone, a personal computer, a user terminal, a tablet computer, a wearable device, or the like, the embodiment of the present application does not limit the type of the terminal device, in addition, the embodiment of the present application does not limit the type of the vehicle machine, as long as the connection with the terminal device may be established.
Before communication between a terminal device and a vehicle machine is realized, in order to ensure the safety of the vehicle machine, registration of the terminal device needs to be realized first.
Fig. 3 is a signaling interaction diagram of a registration method of a terminal device according to an embodiment of the present application, where the method may be executed by a registration apparatus of the terminal device, and the apparatus may be implemented by software and/or hardware, and as shown in fig. 3, the registration method of the terminal device according to the embodiment of the present application may include:
step S101: the vehicle machine acquires a first identifier of the terminal device.
The terminal device may be a mobile phone, a tablet computer, a wearable device, and the like of a user, the type of the terminal device is not limited in the embodiment of the application, and the vehicle-mounted device obtains the first identifier of the terminal device, and the first identifier of the terminal device may be obtained by inputting the first identifier of the terminal device by the user, or may be recognized and obtained by the vehicle-mounted device through bluetooth broadcast or Wireless Fidelity (WiFi). The first identifier is used for identifying the terminal device, and the embodiment of the application does not limit the type of the first identifier, and in a possible implementation manner, the first identifier may be a device number of the terminal device; in another possible implementation, if the terminal device is a smartphone, the first identifier of the terminal device may also be a mobile phone number of the smartphone.
Step S102: the vehicle machine sends a pairing request to the cloud server, wherein the pairing request comprises a first identifier.
The Vehicle machine sends a pairing request to the cloud server, the pairing request includes a first identifier of the terminal device, and the pairing request may further include a second identifier of the Vehicle machine, and the second identifier of the Vehicle machine is used for identifying the Vehicle machine.
Step S103: and the cloud server receives a pairing request sent by the vehicle machine.
The cloud server receives a pairing request sent by the vehicle machine, wherein the pairing request comprises a first identifier of the terminal device.
Step S104: the cloud server generates a first pairing code according to the pairing request.
The cloud server generates a first pairing code after receiving a pairing request sent by the vehicle machine, wherein the first pairing code is used for realizing pairing verification of the terminal device and the vehicle machine. The embodiment of the application is not limited to the specific implementation manner of generating the first pairing code by the cloud server, and in a possible implementation manner, the cloud server may generate a dynamic Password in a manner of an on-time Password (OTP), and send the first pairing code to the terminal device through the first identifier. The OTP technology eliminates most of the security defects of the static password authentication technology, can effectively resist the main security threats and attacks of the static password authentication technology, and provides a safer and more reliable user identity authentication guarantee for a network application system.
The embodiment of the application is different from an application scenario in which an OTP technology is used in the prior art, verification of secondary transactions such as login and verification of an account is generally performed, and the embodiment of the application is applied in a registration stage and used for establishing trust between a terminal device and a vehicle machine.
Step S105: and the cloud server sends the first pairing code to the terminal equipment.
After the cloud server generates the first pairing code, the first pairing code can be accurately sent to the terminal device through the first identifier. In another possible implementation, the first pairing code may be pushed to the terminal device in a push message. The setting may be specifically performed according to the type of the first identifier and the user requirement.
The first pairing code may be composed of a multi-digit number, or a plurality of letters, or a combination of a digit and a letter, and other configurations, and the number of digits and the form of the first pairing code are not limited in the embodiments of the present application. In one possible implementation, the first pairing code may be a 6-bit digital composition. In addition, in a possible implementation manner, the first pairing code may also have a certain timeliness, for example, the first pairing code is valid within 5 minutes, and the embodiment of the present application does not limit the valid time of the first pairing code. Through the timeliness of setting up first pair of sign indicating number, can further effectively improve the security of car machine.
Step S106: the terminal equipment receives a first pairing code sent by the cloud server.
The terminal device receives the first pairing code sent by the cloud server through a short message or a pushing mode, and the user can obtain the first pairing code through a mode of viewing a pushing message or viewing short message content.
Step S107: and the terminal equipment acquires the second pairing code and sends the second pairing code to the cloud server.
After the user acquires the first pairing code, the user also needs to input a second pairing code into the terminal device, so that the terminal device can send the second pairing code input by the user to the cloud server. In a possible implementation manner, the second pairing code may be input through an interface of a vehicle control Application (APP) in the terminal device, and the implementation manner of acquiring the second pairing code and sending the second pairing code to the cloud server is not limited in this embodiment of the application.
If the first pairing code is time-efficient, the terminal device needs to acquire the second pairing code and send the second pairing code to the cloud server within effective time after receiving the first pairing code, so that the first pairing code is prevented from being invalid. If the terminal device does not acquire the second pairing code within the validity period after receiving the first pairing code, and the user needs to establish connection between the terminal device and the vehicle, the steps S101 to S106 need to be executed again, so that the vehicle resends the pairing request to the cloud server, and the cloud server regenerates the first pairing code.
In a possible implementation manner, the terminal device sends the second pairing code to the cloud server, and the second pairing code may be sent by generating a certificate request file, for example: the certificate request file comprises the second pairing code, and in addition, the certificate request file also comprises the following steps: a certificate Signing Request file (CSR), a product Serial Number (SN) of the terminal device, and a MAC address (Media Access Control, MAC) for requesting certificate issuance.
Step S108: the cloud server verifies the terminal device according to the first pairing code and the second pairing code, and if verification is successful, registration of the terminal device is successful.
The embodiment of the present application is not limited to the specific implementation of verifying the terminal device according to the first matching code and the second matching code, and in a possible implementation, the second matching code sent by the terminal device may be received and the first matching code and the second matching code are matched.
If the cloud server successfully verifies the terminal equipment, the terminal equipment and the vehicle machine are successfully paired, and therefore the terminal equipment is successfully registered. The terminal equipment is verified unsuccessfully by the cloud server due to the fact that the second pairing code possibly input by the user is different from the first pairing code or the first pairing code is invalid and other factors, the terminal equipment and the vehicle machine are failed to be paired, if the vehicle machine fails to register the terminal equipment, the vehicle machine can resend the pairing request to the cloud server, the cloud server regenerates the first pairing code, so that the user can input the second pairing code to the terminal equipment again, the cloud server verifies the terminal equipment again, and registration of the terminal equipment is achieved.
In a possible implementation manner, if the terminal device sends the second pairing code to the cloud server through the certificate request file, and if the cloud server verifies that the second pairing code matches the first pairing code, the cloud server requests a Public Key Infrastructure (PKI) server to sign a certificate, and then issues the certificate signed by the PKI server to the terminal device and the car machine, so that the terminal device and the car machine communicate with each other. The embodiment of the present application does not limit this.
In the embodiment of the application, the vehicle-mounted system sends the pairing request to the cloud server through the vehicle, the cloud server generates the first pairing code according to the pairing request, the first pairing code is sent to the terminal device, the terminal device receives the first pairing code and obtains the second pairing code, and then the cloud server verifies the terminal device according to the first pairing code and the second pairing code so as to register the terminal device, the registration of the terminal device is achieved, and the safety of the vehicle-mounted system is improved.
Optionally, fig. 4 is a signaling interaction diagram of a registration method of a terminal device according to another embodiment of the present application, where the method may be executed by a registration apparatus of the terminal device, and the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 4, the registration method of the terminal device according to the embodiment of the present application further includes, before acquiring the first identifier of the terminal device:
step S201: the vehicle machine acquires user operation, and enters a pairing mode of the vehicle machine and the terminal equipment under the triggering of the user operation.
The vehicle machine obtains user operation, where the user operation may be pressing, long-pressing, touching, sliding, and the like of a virtual key or an entity key on the vehicle machine by a user.
The vehicle machine enters the pairing module, can scan the online terminal equipment through near field communication modes such as Bluetooth and WiFi, and obtains a first identifier of the terminal equipment. The embodiment of the present application does not limit this.
As shown in fig. 4, the registration method for a terminal device provided in the embodiment of the present application further includes:
step S202: and if the terminal equipment is successfully registered, the cloud server pushes the pairing result to the terminal equipment bound with the vehicle machine.
And if the terminal equipment is successfully registered, pushing a pairing result to the vehicle owner terminal equipment, wherein the vehicle owner terminal equipment is the terminal equipment bound with the vehicle machine. The matching result is pushed to the vehicle owner terminal device in a message pushing or short message service pushing manner, the implementation manner of the pushing matching result is not limited in the embodiment of the present application, and in addition, the content and format of the pushing message are not limited in the embodiment of the present application, for example, a short message "mobile phone with mobile phone number 1" is sent to the vehicle owner terminal device, and the mobile phone has already completed registration and is informed in the vehicle host, and the embodiment of the present application is not limited thereto.
The following describes the registration apparatus, the car machine, the cloud server, the terminal device, and the system of the terminal device provided in the embodiment of the present application, and the content and effect thereof may refer to the embodiment of the method of the present application and are not described again.
Fig. 5 is a schematic structural diagram of a registration apparatus of a terminal device according to an embodiment of the present application, where the registration apparatus may be implemented in a software and/or hardware manner, for example, as shown in fig. 5, the registration apparatus of a terminal device according to an embodiment of the present application further includes:
a first obtaining module 51, configured to obtain a first identifier of a terminal device.
The first sending module 52 is configured to send a pairing request to the cloud server, where the pairing request includes a first identifier to request the cloud server to generate a first pairing code corresponding to the terminal device, and send the first pairing code to the terminal device, so that the terminal device sends a second pairing code to the cloud server after receiving the first pairing code sent by the cloud server, and then the cloud server verifies the terminal device according to the first pairing code and the second pairing code, and if the verification is successful, the terminal device is successfully registered.
Optionally, the registration apparatus for a terminal device provided in the embodiment of the present application further includes:
and a second obtaining module 53, configured to obtain a user operation.
And under the triggering of user operation, entering a pairing mode of the vehicle machine and the terminal equipment.
The embodiment of the present application provides a car machine, which may include a first obtaining module, a first sending module, and a second obtaining module, to implement registration of a terminal device, and the embodiment of the present application does not limit this.
Fig. 6 is a schematic structural diagram of a registration apparatus of a terminal device according to an embodiment of the present disclosure, where the registration apparatus may be implemented in a software and/or hardware manner, for example, as shown in fig. 6, the registration apparatus of a terminal device according to an embodiment of the present disclosure further includes:
the first receiving module 61 is configured to receive a pairing request sent by the car machine, where the pairing request includes a first identifier of the terminal device.
And a generating module 62, configured to generate a first pairing code corresponding to the terminal device according to the pairing request.
The second sending module 63 is configured to send the first pairing code to the terminal device, so that the terminal device receives the second pairing code input by the user after receiving the first pairing code, and sends the second pairing code to the cloud server.
And the verification module 64 is configured to verify the terminal device according to the first pairing code and the second pairing code, and if the verification is successful, register the terminal device successfully.
Optionally, the verification module 64 is specifically configured to:
and receiving the second pairing code sent by the terminal equipment. And matching the first matching code with the second matching code, and if the first matching code is matched with the second matching code, successfully verifying the terminal equipment.
Optionally, the generating module 62 is specifically configured to:
the first pairing code is generated by means of a dynamic password OTP.
Optionally, the registration apparatus for a terminal device provided in the embodiment of the present application further includes:
and the pushing module 65 is configured to push the pairing result to the terminal device bound to the car machine if the terminal device is successfully registered.
The embodiment of the application provides a cloud server, which may include the first receiving module, the generating module, the second sending module, the verifying module and the pushing module, and the embodiment of the application is not limited thereto.
Fig. 7 is a schematic structural diagram of a registration apparatus of a terminal device according to an embodiment of the present application, where the registration apparatus may be implemented in a software and/or hardware manner, for example, as shown in fig. 7, the registration apparatus of a terminal device according to an embodiment of the present application obtains a first identifier of the terminal device in a vehicle, and sends a pairing request to a cloud server, and after the cloud server generates a first pairing code corresponding to the terminal device according to the pairing request, the registration apparatus includes:
the second receiving module 71 is configured to receive the first pairing code sent by the cloud server.
A third obtaining module 72, configured to obtain the second pairing code.
The third sending module 73 is configured to send the second pairing code to the cloud server, so that the cloud server verifies the terminal device according to the first pairing code and the second pairing code, and if the verification is successful, the terminal device is successfully registered.
The terminal device provided in the embodiment of the present application may include the second receiving module, the third obtaining module, and the third sending module, which is not limited in this embodiment of the present application.
An embodiment of the present application provides a system, and fig. 8 is a schematic structural diagram of the system provided in the embodiment of the present application, and as shown in fig. 8, the system provided in the embodiment of the present application includes a car machine 81, a cloud server 82, and a terminal device 83, and is used for implementing a registration method of the terminal device, and the content and effect of the method may refer to the method embodiment and are not repeated.
In addition, embodiments of the present application further provide a computer-readable storage medium, in which computer-executable instructions are stored, and when at least one processor of the user equipment executes the computer-executable instructions, the user equipment performs the above-mentioned various possible methods.
Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. A registration method of a terminal device is characterized by comprising the following steps:
acquiring a first identifier of the terminal equipment;
sending a pairing request to a cloud server, wherein the pairing request comprises the first identifier, requesting the cloud server to generate a first pairing code corresponding to the terminal device in a dynamic password OTP mode, sending the first pairing code to the terminal device, enabling the terminal device to send a second pairing code to the cloud server through a certificate request file after receiving the first pairing code sent by the cloud server, further enabling the cloud server to verify the terminal device according to the first pairing code and the second pairing code, and if verification is successful, successfully registering the terminal device;
the certificate request file comprises a second pairing code, a certificate signature request file, a product serial number and an MAC address of the terminal device, and the certificate request file is used for the cloud server to request the public key infrastructure to sign a certificate for communication between the vehicle machine and the terminal device.
2. The method of claim 1, wherein before the obtaining the first identifier of the terminal device, further comprising:
acquiring user operation;
and under the triggering of the user operation, entering a pairing mode of the vehicle machine and the terminal equipment.
3. A registration method of a terminal device is applied to a cloud server and comprises the following steps:
receiving a pairing request sent by a vehicle machine, wherein the pairing request comprises a first identifier of a terminal device;
generating a first pairing code corresponding to the terminal equipment in a dynamic password (OTP) mode according to the pairing request;
sending the first pairing code to the terminal equipment, enabling the terminal equipment to receive a second pairing code input by a user after receiving the first pairing code, and sending the second pairing code to a cloud server;
receiving a certificate request file sent by the terminal equipment, wherein the certificate request file comprises a second pairing code, a certificate signature request file, a product serial number and an MAC address of the terminal equipment;
verifying the terminal equipment according to the first pairing code and the second pairing code, and if the verification is successful, successfully registering the terminal equipment;
and requesting a Public Key Infrastructure (PKI) server to issue a certificate for communication between the vehicle machine and the terminal equipment according to the certificate request file.
4. The method of claim 3, wherein the verifying the terminal device according to the first pairing code and the second pairing code comprises:
receiving a second pairing code sent by the terminal equipment;
and matching the first pairing code with the second pairing code, and if the first pairing code is matched with the second pairing code, successfully verifying the terminal equipment.
5. The method of claim 3 or 4, further comprising:
and if the terminal equipment is successfully registered, pushing a pairing result to the terminal equipment bound with the vehicle machine.
6. The method for registering the terminal device is characterized in that after a vehicle machine acquires a first identifier of the terminal device and sends a pairing request to a cloud server, and the cloud server generates a first pairing code corresponding to the terminal device in a dynamic password (OTP) mode according to the pairing request, the method comprises the following steps:
the terminal equipment receives a first pairing code sent by a cloud server;
the terminal equipment acquires a second pairing code and sends a certificate request file to the cloud server, wherein the certificate request file comprises the second pairing code, a certificate signature request file, a product serial number and an MAC address of the terminal equipment, so that the cloud server verifies the terminal equipment according to the first pairing code and the second pairing code, if verification is successful, registration of the terminal equipment is successful, and a certificate for communication between the vehicle machine and the terminal equipment is signed and sent to a public key infrastructure request.
7. A registration apparatus of a terminal device, comprising:
the first acquisition module is used for acquiring a first identifier of the terminal equipment;
the terminal equipment comprises a first sending module and a second sending module, wherein the first sending module is used for sending a pairing request to a cloud server, the pairing request comprises a first identifier, the first identification is used for requesting the cloud server to generate a first pairing code corresponding to the terminal equipment in a dynamic password OTP mode, the first pairing code is sent to the terminal equipment, the terminal equipment sends a second pairing code to the cloud server through a certificate request file after receiving the first pairing code sent by the cloud server, the cloud server verifies the terminal equipment according to the first pairing code and the second pairing code, and if the verification is successful, the terminal equipment is successfully registered;
the certificate request file comprises a second pairing code, a certificate signature request file, a product serial number and an MAC address of the terminal device, and the certificate request file is used for the cloud server to request the public key infrastructure to sign a certificate for communication between the vehicle machine and the terminal device.
8. The apparatus of claim 7, further comprising, before the obtaining the first identifier of the terminal device:
the second acquisition module is used for acquiring user operation;
and under the triggering of the user operation, entering a pairing mode of the vehicle machine and the terminal equipment.
9. A registration apparatus of a terminal device, comprising:
the terminal equipment comprises a first receiving module, a second receiving module and a matching module, wherein the first receiving module is used for receiving a matching request sent by the vehicle machine, and the matching request comprises a first identifier of the terminal equipment;
the generating module is used for generating a first pairing code corresponding to the terminal equipment in a dynamic password (OTP) mode according to the pairing request;
the second sending module is used for sending the first pairing code to the terminal equipment, so that the terminal equipment receives a second pairing code input by a user after receiving the first pairing code, and sends the second pairing code to a cloud server;
receiving a certificate request file sent by the terminal equipment, wherein the certificate request file comprises a second pairing code, a certificate signature request file, a product serial number and an MAC address of the terminal equipment;
the verification module is used for verifying the terminal equipment according to the first pairing code and the second pairing code, and if the verification is successful, the terminal equipment is successfully registered;
and requesting a Public Key Infrastructure (PKI) server to issue a certificate for communication between the vehicle machine and the terminal equipment according to the certificate request file.
10. The apparatus of claim 9, wherein the verification module is specifically configured to:
receiving a second pairing code sent by the terminal equipment;
and matching the first pairing code with the second pairing code, and if the first pairing code is matched with the second pairing code, successfully verifying the terminal equipment.
11. The apparatus of claim 9, further comprising:
and the pushing module is used for pushing the pairing result to the terminal equipment bound with the vehicle machine if the terminal equipment is successfully registered.
12. The utility model provides a registration device of terminal equipment, its characterized in that obtains at the car machine first sign of terminal equipment to send to the high in the clouds server pairing request, after the high in the clouds server passes through the mode of dynamic password OTP to generate the first pairing code that terminal equipment corresponds according to pairing request, include:
the second receiving module is used for receiving the first pairing code sent by the cloud server;
a third obtaining module, configured to obtain a second pairing code;
and the third sending module is used for sending a certificate request file to the cloud server, wherein the certificate request file comprises a second pairing code, a certificate signature request file, a product serial number and an MAC (media access control) address of the terminal device, so that the cloud server verifies the terminal device according to the first pairing code and the second pairing code, successfully registers the terminal device if verification is successful, and requests a public key infrastructure to sign a certificate for communication between the vehicle machine and the terminal device.
13. A vehicle machine for carrying out the method of any one of claims 1 or 2.
14. Cloud server for performing the method of any of claims 3-5.
15. A terminal device, characterized in that it is adapted to perform the method of claim 6.
16. A system, comprising: the vehicle machine of claim 13, the cloud server of claim 14, and the terminal device of claim 15.
CN201910718132.0A 2019-08-05 2019-08-05 Registration method, device and system of terminal equipment Active CN110278217B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910718132.0A CN110278217B (en) 2019-08-05 2019-08-05 Registration method, device and system of terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910718132.0A CN110278217B (en) 2019-08-05 2019-08-05 Registration method, device and system of terminal equipment

Publications (2)

Publication Number Publication Date
CN110278217A CN110278217A (en) 2019-09-24
CN110278217B true CN110278217B (en) 2022-01-25

Family

ID=67965966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910718132.0A Active CN110278217B (en) 2019-08-05 2019-08-05 Registration method, device and system of terminal equipment

Country Status (1)

Country Link
CN (1) CN110278217B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2759992A1 (en) * 2011-09-21 2014-07-30 Holley Metering Ltd. Automatic metering logout method for pre-paid electricity vending system
CN105704131A (en) * 2016-02-03 2016-06-22 武汉天梯极客网络科技有限公司 Vehicle lock control method and cloud management server
CN106200440A (en) * 2016-09-28 2016-12-07 深圳市速美特电子科技有限公司 Intelligent watch vehicle control system
CN108881228A (en) * 2018-06-20 2018-11-23 上海庆科信息技术有限公司 Cloud registration activation method, device, equipment and storage medium
CN109466507A (en) * 2018-12-06 2019-03-15 上海博泰悦臻电子设备制造有限公司 Car door lock state synchronization method based on mobile phone screen, server, synchronization system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2759992A1 (en) * 2011-09-21 2014-07-30 Holley Metering Ltd. Automatic metering logout method for pre-paid electricity vending system
CN105704131A (en) * 2016-02-03 2016-06-22 武汉天梯极客网络科技有限公司 Vehicle lock control method and cloud management server
CN106200440A (en) * 2016-09-28 2016-12-07 深圳市速美特电子科技有限公司 Intelligent watch vehicle control system
CN108881228A (en) * 2018-06-20 2018-11-23 上海庆科信息技术有限公司 Cloud registration activation method, device, equipment and storage medium
CN109466507A (en) * 2018-12-06 2019-03-15 上海博泰悦臻电子设备制造有限公司 Car door lock state synchronization method based on mobile phone screen, server, synchronization system

Also Published As

Publication number Publication date
CN110278217A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN105991643B (en) Method and apparatus for secure bluetooth communication
CN109150548B (en) Digital certificate signing and signature checking method and system and digital certificate system
CN111376865B (en) Vehicle digital key activation method, system and storage medium
CN108476223B (en) Method and apparatus for SIM-based authentication of non-SIM devices
CN103037366B (en) Mobile phone users authentication method based on asymmetric cryptographic technique and mobile terminal
CN107277033B (en) Charging and battery replacing equipment and authentication method and system for object to be charged and battery replaced
CN103339974A (en) Provisioning of subscriber identity module
WO2014121708A2 (en) Message certification application method, device, and system
CN106130998A (en) A kind of identifying code transmission method and device
CN106060762B (en) Information pushing method, information pushing device and information pushing system
CN111800377B (en) Mobile terminal identity authentication system based on safe multi-party calculation
KR102077659B1 (en) Wireless lan apparatus and vehicle authentiction method using the wireless lan apparatus
CN103684797A (en) Subscriber and subscriber terminal equipment correlation authentication method and system
CN113709695A (en) Vehicle use authorization method and system
CN110417798B (en) Communication method and device of terminal equipment and vehicle machine
WO2023142436A1 (en) Authentication method and apparatus, payment method and apparatus, and device
CN111968256A (en) Electronic tag anti-dismounting method and device, vehicle and storage medium
US10484360B2 (en) Method for providing an authenticated connection between at least two communication partners
CN107819766B (en) Security authentication method, system and computer readable storage medium
CN115766021A (en) Back-end system
CN108632037B (en) Public key processing method and device of public key infrastructure
CN101917700A (en) Method for using service application and user identification module
CN110278217B (en) Registration method, device and system of terminal equipment
CN105471920A (en) Identifying code processing method and device
CN110417907B (en) Management method and device of terminal 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
GR01 Patent grant
GR01 Patent grant