CN114585055B - Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal - Google Patents
Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal Download PDFInfo
- Publication number
- CN114585055B CN114585055B CN202210172209.0A CN202210172209A CN114585055B CN 114585055 B CN114585055 B CN 114585055B CN 202210172209 A CN202210172209 A CN 202210172209A CN 114585055 B CN114585055 B CN 114585055B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- wifi
- mobile terminal
- server
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000004590 computer program Methods 0.000 claims description 22
- 230000004044 response Effects 0.000 claims description 6
- 150000003839 salts Chemical class 0.000 claims description 6
- 238000004891 communication Methods 0.000 abstract description 10
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001939 inductive effect Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
- H04W12/033—Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/04—Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a vehicle-mounted WiFi access method, a vehicle controller, a cloud server and a mobile terminal, and relates to the technical field of communication. The method comprises the following steps: providing a two-dimensional code containing preset address information, wherein the preset address information comprises identity information of the vehicle, so that the mobile terminal can acquire the identity information of the vehicle by scanning the two-dimensional code, and the identity information of the vehicle and the position information of the mobile terminal are sent to a cloud server; the method comprises the steps that position information of a vehicle is sent to a cloud server, so that the cloud server can judge whether the mobile terminal and the vehicle are located in the same position area according to the position information of the mobile terminal and the position information of the vehicle, if yes, the cloud server allows the mobile terminal to obtain a WiFi name and a WiFi password of the vehicle pre-stored in the cloud server, and the mobile terminal can be connected with WiFi of the vehicle. According to the invention, the problem that the manual connection of the vehicle-mounted WiFi is inconvenient can be solved, and the disclosure of the WiFi information of the user can be prevented.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a vehicle-mounted WiFi access method, a vehicle controller, a cloud server and a mobile terminal.
Background
As vehicle functions become more and more rich, many vehicle models have been equipped with vehicle-mounted WiFi. The current function of connecting with the vehicle-mounted WiFi in the market generally needs to search for the name of the vehicle-mounted WiFi, namely WiFi SSID (Service Set Identifier, service set identifier, commonly known as SSID is the name of a wireless network), and then a WiFi password is input at a mobile phone end to connect with the vehicle-mounted WiFi. This way of requiring manual entry of the WiFi password has the problem of inconvenient use.
In the prior art, some vehicles use NFC technology, and can exchange data under the condition of being close to each other, and the vehicles are integrated and evolved by non-contact Radio Frequency Identification (RFID) and interconnection technology, and by integrating functions of an inductive card reader, an inductive card and point-to-point communication on a single chip. In the prior art, a scheme that a vehicle is provided with a special two-dimensional code for a user to scan is adopted, so that the vehicle is connected with WiFi by scanning the two-dimensional code, but WiFi information displayed in the two-dimensional code is easy to analyze and acquire WiFi SSID and password, and the risk of revealing user privacy exists.
Disclosure of Invention
The invention provides a vehicle-mounted WiFi access method which can solve the problem that manual connection of vehicle-mounted WiFi is inconvenient and can prevent leakage of user WiFi information.
A further object of the present invention is to enable real-time viewing of vehicle hot spot traffic conditions on a mobile terminal.
Another object of the present invention is to prevent WiFi information leakage caused by reverse acquisition of the vehicle VIN.
The invention provides the following scheme:
the vehicle-mounted WiFi access method is applied to a vehicle end provided with the vehicle-mounted WiFi, and comprises the following steps:
providing a two-dimensional code containing preset address information, wherein the preset address information comprises the identity information of the vehicle, so that the mobile terminal can acquire the identity information of the vehicle by scanning the two-dimensional code, and the identity information of the vehicle and the position information of the mobile terminal are sent to a cloud server;
and sending the position information of the vehicle to the cloud server so that the cloud server can judge whether the mobile terminal and the vehicle are positioned in the same position area according to the position information of the mobile terminal and the position information of the vehicle, and if so, the cloud server allows the mobile terminal to acquire the WiFi name and the WiFi password of the vehicle pre-stored in the cloud server so that the mobile terminal can be connected with the WiFi of the vehicle.
Further, before the step of sending the position information of the vehicle to the cloud server, the method further includes:
the initial WiFi name and the initial WiFi password of the vehicle are sent and stored to the cloud server;
and after the vehicle updates the WiFi name and the WiFi password, the updated WiFi name and the updated WiFi password of the vehicle are sent to the cloud server, so that the cloud server stores the updated WiFi name and the updated WiFi password.
Further, the vehicle-mounted WiFi access method further comprises the following steps:
and sending the flow information to the cloud server so that the mobile terminal connected with the WiFi of the vehicle can acquire and view the flow information.
Further, the mobile terminal is configured to start a response applet in response to the preset address information, wherein the preset address information is composed of a homepage website of the applet and a ciphertext encrypted by the identity information of the vehicle.
Further, the ciphertext is calculated by a hash algorithm through the VIN and the encrypted salt value of the vehicle.
The invention also provides a vehicle controller, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and when the computer program is executed by the processor, the vehicle-mounted WiFi access method of any one of the above is realized.
The invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed, the vehicle-mounted WiFi access method is realized.
The invention also provides a vehicle-mounted WiFi access method which is applied to the cloud server, and the method comprises the following steps:
receiving and storing identity information of each vehicle, and corresponding WiFi names and WiFi passwords;
when the position information of a target vehicle and the position information of a target mobile terminal are received, judging whether the target vehicle and the target mobile terminal are located in the same position area or not according to the position information of the target vehicle and the position information of the target mobile terminal, and if yes, allowing the target mobile terminal to acquire the WiFi name and the WiFi password of the target vehicle of a cloud server so that the target mobile terminal can be connected with the WiFi of the target vehicle.
Further, the vehicle-mounted WiFi access method further comprises the following steps:
receiving flow information of the target vehicle;
and sending the traffic information to the target mobile terminal connected with the WiFi of the target vehicle so that the target mobile terminal can acquire and view the traffic information.
The invention also provides a cloud server, which comprises a memory and a processor, wherein the memory stores a computer program which can run on the processor, and when the computer program is executed by the processor, the vehicle-mounted WiFi access method is realized.
The invention also provides a vehicle-mounted WiFi access method which is applied to the mobile terminal, and the method comprises the following steps:
acquiring identity information of a vehicle by scanning a two-dimensional code of the vehicle;
the identity information of the vehicle and the position information of the vehicle are sent to a cloud server, so that the cloud server judges whether the mobile terminal and the vehicle are located in the same position area or not according to the position information of the mobile terminal and the received position information of the vehicle, and if so, an access permission instruction is sent to the mobile terminal;
and after receiving the access permission instruction, the mobile terminal acquires a prestored WiFi name and WiFi password of the vehicle from a cloud server, and connects the WiFi of the vehicle by utilizing the WiFi name and WiFi password of the vehicle.
Further, the step of the mobile terminal obtaining a pre-stored WiFi name and WiFi password of the vehicle from a cloud server after receiving the access permission instruction, and connecting the WiFi of the vehicle by using the WiFi name and WiFi password of the vehicle includes:
accessing a preset website in the two-dimensional code of the vehicle, wherein the preset website comprises the identity information of the vehicle, and further triggering a corresponding applet;
the IP address of the mobile terminal is sent to a first server and a second server, so that the second server locks the applet of the mobile terminal and the identity information of the vehicle when determining the IP address of the mobile terminal received by the second server and the IP address of the mobile terminal sent by the first server, and inquires the cloud server according to the identity information of the vehicle analyzed by the first server so as to acquire the WiFi name and the WiFi password of the vehicle and send the WiFi password to the applet of the mobile terminal;
and controlling the mobile terminal to be connected with the WiFi of the vehicle according to the WiFi name and the WiFi password of the vehicle.
The invention also provides a mobile terminal, which comprises a memory and a processor, wherein the memory stores a computer program which can run on the processor, and when the computer program is executed by the processor, the vehicle-mounted WiFi access method is realized. .
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
according to the vehicle-mounted WiFi access method provided by the invention, when the position of the vehicle and the position of the mobile terminal are determined to be in the same position area, the mobile terminal is allowed to acquire the prestored WiFi name and WiFi password of the vehicle from the cloud server, so that the mobile terminal can automatically connect the WiFi of the vehicle by utilizing the WiFi name and the WiFi password, namely, the vehicle-mounted WiFi access method is free from secret automatic connection, thereby improving the convenience of WiFi connection and bringing smooth experience of noninductive connection to a user.
Further, the WiFi name and the WiFi password are stored in the cloud server, and the WiFi of the vehicle can be connected only by a user in a distance range close to the vehicle, so that the problem that a person outside the vehicle obtains the two-dimension code and then analyzes the WiFi SSID and the password is avoided.
Further, the vehicle-mounted WiFi access method further comprises the step that the vehicle sends flow information to the cloud server, and when the verified mobile terminal is connected with the WiFi of the vehicle, the mobile terminal can acquire the flow information of the vehicle which is synchronous or sent to the cloud server. For example, the traffic state of the vehicle-mounted WiFi is checked through an applet on the mobile phone, and early warning information and the like generated when the traffic is insufficient are used, so that extra cost caused by excessive hot spot traffic is avoided.
Further, the mobile terminal is configured to start a responding applet in response to preset address information, the preset address information is composed of a homepage website of the applet and a ciphertext encrypted by the identity information of the vehicle, and the ciphertext is obtained by calculating VIN and an encrypted salt value of the vehicle through a hash algorithm. The WiFi information leakage caused by that the URL is reversely pushed and acquired by the vehicle VIN can be avoided by utilizing the Hash encryption algorithm.
Of course, embodiments of the present invention do not necessarily achieve all of the advantages described above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a vehicle-mounted WiFi access method applied to a vehicle end according to an embodiment of the present invention;
fig. 2 is a flowchart of steps of a WiFi information synchronization cloud server of a vehicle in a vehicle-mounted WiFi access method applied to a vehicle end according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the connection of a vehicle controller according to one embodiment of the present invention;
fig. 4 is a flowchart of a vehicle-mounted WiFi access method applied to a cloud server according to an embodiment of the present invention;
fig. 5 is a flowchart of a vehicle-mounted WiFi access method applied to a mobile terminal according to an embodiment of the present invention;
fig. 6 is a flowchart of steps for connecting a mobile terminal to a WiFi of a vehicle in a WiFi access method of a vehicle according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the invention, fall within the scope of protection of the invention.
The following describes in detail the specific implementation scheme provided by the embodiment of the present invention.
Example 1
Fig. 1 is a flowchart of a vehicle-mounted WiFi access method applied to a vehicle end according to an embodiment of the present invention. The invention provides a vehicle-mounted WiFi access method, which is applied to a vehicle end provided with a vehicle-mounted WiFi, and in the embodiment, as shown in fig. 1, the method comprises the following steps:
step S100, a two-dimensional code containing preset address information is provided, wherein the preset address information comprises identity information of a vehicle, so that the mobile terminal can acquire the identity information of the vehicle by scanning the two-dimensional code, and the identity information of the vehicle and the position information of the mobile terminal are sent to a cloud server. The identity information of the vehicle can be information that the VIN code, the engine number or the frame number of the vehicle can determine the unique vehicle, and the mobile terminal can be mobile communication equipment such as a mobile phone, a tablet personal computer and the like. The two-dimensional code can be displayed on a display screen in the vehicle, and is scanned and identified through an applet of the mobile terminal. Optionally, the preset address is a URL address, where the URL is a web address, and is a string used to describe an information resource on the Internet. Mainly used in various client programs and server programs. The URL may be used to describe various information resources in a uniform format, including files, addresses and directories of servers, etc. The mobile terminal recognizes the URL address in the two-dimension code through the scanning device, so that a corresponding applet is opened, namely, the mobile terminal opens the applet by recognizing the unique URL in the two-dimension code in the vehicle, such as the applet specially used for automatically connecting the vehicle-mounted WiFi. The applet is an application which can be used without downloading and installing, and a user can open the application by sweeping or touching the application, so that the concept of 'running out after running out' is reflected, and the user does not need to care whether the application is installed on the mobile phone or not. In one embodiment, the mobile terminal is configured to initiate a responsive applet in response to preset address information, the preset address information consisting of a home web address of the applet and encrypted ciphertext of the identity information of the vehicle.
Step S120, the position information of the vehicle is sent to a cloud server, so that the cloud server can judge whether the mobile terminal and the vehicle are located in the same position area according to the position information of the mobile terminal and the position information of the vehicle, if yes, the cloud server allows the mobile terminal to obtain a WiFi name and a WiFi password of the vehicle pre-stored in the cloud server, and the mobile terminal is connected with the WiFi of the vehicle. Here, the WiFi names and WiFi passwords of each vehicle may be stored in advance in the cloud database of the cloud server, so as to be used for subsequent query. In this step, the same location area may be a coverage area of a vehicle-mounted WiFi of the vehicle, and when the location of the vehicle and the location of the mobile phone are in the same location area, it indicates that verification is passed, and the WiFi name and the WiFi password of the vehicle may be provided to the mobile terminal for use, so that the mobile terminal is automatically connected to the WiFi of the vehicle.
In this embodiment, when determining that the position of the vehicle and the position of the mobile terminal are in the same location area, the mobile terminal is allowed to obtain the prestored WiFi name and WiFi password of the vehicle from the cloud server, so that the mobile terminal can automatically connect the WiFi of the vehicle by using the WiFi name and WiFi password, that is, the mobile terminal is free from dense automatic connection, thereby improving convenience of WiFi connection and bringing smooth experience of noninductive connection to the user.
Further, the WiFi name and the WiFi password are stored in the cloud server, and the WiFi of the vehicle can be connected only by a user in a distance range close to the vehicle, so that the problem that a person outside the vehicle obtains the two-dimension code and then analyzes the WiFi SSID and the password is avoided.
Fig. 2 is a flowchart of steps of a WiFi information synchronization cloud server of a vehicle in a vehicle-mounted WiFi access method applied to a vehicle end according to an embodiment of the present invention. Further, as shown in fig. 2, before step S120, the method further includes:
step S110, the initial WiFi name and the initial WiFi password of the vehicle are sent to a cloud server and stored.
Step S112, judging whether the vehicle updates the WiFi name and the WiFi password, if so, entering step S114, otherwise, ending the program.
Step S114, the updated WiFi name and WiFi password of the vehicle are sent to the cloud server, so that the cloud server stores the updated WiFi name and WiFi password.
The cloud database of the cloud server can receive and store the identity information of a plurality of vehicles, corresponding initial WiFi names and initial WiFi passwords in advance, and timely store the latest WiFi names and WiFi passwords after the WiFi names and/or WiFi passwords are updated.
Further, the vehicle-mounted WiFi access method further comprises the step that the vehicle sends flow information to the cloud server, and when the verified mobile terminal is connected with the WiFi of the vehicle, the mobile terminal can acquire the flow information of the vehicle which is synchronous or sent to the cloud server. For example, the traffic state of the vehicle-mounted WiFi is checked through an applet on the mobile phone, and early warning information and the like generated when the traffic is insufficient are used, so that extra cost caused by excessive hot spot traffic is avoided.
In one embodiment, the ciphertext is calculated from the VIN of the vehicle and the encrypted salt value using a hash algorithm. The hash algorithm is a one-way function. It can translate any size of data into a fixed length "fingerprint" and cannot be back calculated. In addition, even if the data source is changed only a little, the hash result will be completely different. Such a feature makes it very suitable for preserving passwords, since we need to encrypt passwords that cannot be decrypted, while also ensuring that each user's password is properly checked. In cryptography, a salt value refers to a process of inserting a specific character string at an arbitrary fixed position of a password so that the result after hashing does not coincide with the result of hashing using the original password, and this process is called "salifying".
The embodiment can avoid WiFi information leakage caused by that the URL is reversely pushed and acquired by the vehicle VIN by utilizing the hash encryption algorithm.
Example two
Fig. 3 is a schematic diagram of connection of a vehicle controller according to an embodiment of the present invention. In this embodiment, the vehicle controller includes a memory and a processor, where the memory stores a computer program that can run on the processor, and when the computer program is executed by the processor, the vehicle WiFi access method in the above embodiment is implemented.
In which fig. 3 illustrates a vehicle controller including a computer system 1500, the computer system 1500 may include, inter alia, a processor 1510, a video display adapter 1511, a disk drive 1512, an input/output interface 1513, a network interface 1514, and a memory 1520. The processor 1510, the video display adapter 1511, the disk drive 1512, the input/output interface 1513, the network interface 1514, and the memory 1520 may be communicatively connected by a communication bus 1530.
The processor 1510 may be implemented by a general-purpose CPU (Central Processing Unit ), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc., for executing related programs to implement the technical scheme provided by the present invention.
The Memory 1520 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), a static storage device, a dynamic storage device, or the like. The memory 1520 may store an operating system 1521 for controlling the operation of the electronic device, a Basic Input Output System (BIOS) for controlling low-level operation of the electronic device. In addition, a web browser 1523, a data storage management system 1524, an icon font processing system 1525, and the like may also be stored. The icon font processing system 1525 may be an application program that implements the operations of the foregoing steps in the embodiment of the present invention. In general, when the present invention is implemented in software or firmware, the relevant program code is stored in the memory 1520 and executed by the processor 1510.
The input/output interface 1513 is used for connecting with an input/output module to realize information input and output. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
The network interface 1514 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
The bus includes a path to transfer information between various components of the device (e.g., the processor 1510, the video display adapter 1511, the disk drive 1512, the input/output interface 1513, the network interface 1514, and the memory 1520).
In addition, the electronic device may also obtain information of specific acquisition conditions from the virtual resource object acquisition condition information database, so as to be used for performing condition judgment, and the like.
It is noted that although the above devices illustrate only the processor 1510, the video display adapter 1511, the disk drive 1512, the input/output interface 1513, the network interface 1514, the memory 1520, the bus, etc., in particular implementations, the device may include other components necessary to achieve proper functioning. Furthermore, it will be appreciated by those skilled in the art that the apparatus may include only the components necessary to implement the present invention, and not all of the components shown in the drawings.
Example III
The invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed, the vehicle-mounted WiFi access method provided by any one of the embodiments is realized.
From the above description of embodiments, it will be apparent to those skilled in the art that the present invention may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments or some parts of the embodiments of the present invention.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Example IV
Fig. 4 is a flowchart of a vehicle-mounted WiFi access method applied to a cloud server according to an embodiment of the present invention. The invention also provides a vehicle-mounted WiFi access method which is applied to the cloud server, and in the embodiment, as shown in fig. 4, the method comprises the following steps:
step S200, receiving and storing identity information of each vehicle, and corresponding WiFi names and WiFi passwords. The cloud server is provided with a cloud database with a large storage space and is used for storing the identity information of a large number of vehicles and corresponding WiFi names and WiFi passwords so as to search the corresponding WiFi names and WiFi passwords according to the identity information of the vehicles.
Step S220, when the position information of the target vehicle and the position information of the target mobile terminal are received, judging whether the target vehicle and the target mobile terminal are positioned in the same position area or not according to the position information of the target vehicle and the position information of the target mobile terminal, if yes, entering step S240, otherwise, ending the program, namely, failure of vehicle-mounted WiFi access.
Step S240, allowing the target mobile terminal to acquire the WiFi name and the WiFi password of the target vehicle of the cloud server, so that the target mobile terminal is connected with the WiFi of the target vehicle. The co-located area referred to herein may be the coverage of the vehicle's on-board WiFi. The identity information, the WiFi name and the WiFi password of the target vehicle are stored in the cloud server in advance, the target mobile terminal is a mobile terminal which needs to be connected with the WiFi of the target vehicle, for example, the two-dimensional code in the target vehicle is scanned through an applet on the target mobile terminal to establish communication with the target vehicle, and the identity information of the target vehicle is obtained, so that the cloud server can inquire the corresponding WiFi name and WiFi password according to the identity information of the target vehicle.
In this embodiment, when determining that the position of the vehicle and the position of the mobile terminal are in the same location area, the mobile terminal is allowed to obtain the prestored WiFi name and WiFi password of the vehicle from the cloud server, so that the mobile terminal can automatically connect the WiFi of the vehicle by using the WiFi name and WiFi password, that is, the mobile terminal is free from dense automatic connection, thereby improving convenience of WiFi connection and bringing smooth experience of noninductive connection to the user.
Further, the WiFi name and the WiFi password are stored in the cloud server, and the WiFi of the vehicle can be connected only by a user in a distance range close to the vehicle, so that the problem that a person outside the vehicle obtains the two-dimension code and then analyzes the WiFi SSID and the password is avoided.
Further, the vehicle-mounted WiFi access method further comprises the following steps: receiving flow information of a target vehicle; and sending the traffic information to a target mobile terminal connected with WiFi of the target vehicle so that the target mobile terminal can acquire and view the traffic information.
That is, after the target mobile terminal is connected to the WiFi of the target vehicle, the pre-charged traffic information including the traffic state (for example, the residual traffic) of the vehicle-mounted WiFi and the early warning information generated when the traffic is insufficient can be obtained from the cloud server, so as to avoid extra cost caused by the excessive hot traffic of the vehicle.
For the undescribed parts in the fourth embodiment, reference may be made to the descriptions in the first embodiment, and the description is omitted here.
Example five
Corresponding to the method, the invention also provides a cloud server which comprises a memory and a processor, wherein the memory stores a computer program which can run on the processor, and when the computer program is executed by the processor, the vehicle-mounted WiFi access method of the fifth embodiment is realized.
Example six
Fig. 5 is a flowchart of a vehicle-mounted WiFi access method applied to a mobile terminal according to an embodiment of the present invention. The invention also provides a vehicle-mounted WiFi access method which is applied to the mobile terminal, wherein the mobile terminal can be mobile communication equipment such as a mobile phone and a tablet personal computer. As shown in fig. 5, in this embodiment, the method includes:
step S300, acquiring identity information of the vehicle by scanning a two-dimensional code of the vehicle. The identity information may be a vehicle's VIN, engine number, or frame number, etc. that is capable of determining a unique vehicle. For example, the URL address in the two-dimensional code is identified through the scanning equipment of the mobile phone, so that a corresponding applet is started, and meanwhile, the mobile phone acquires the identity information of the vehicle.
Step S320, the identity information of the vehicle and the position information of the vehicle are sent to the cloud server, so that the cloud server judges whether the mobile terminal and the vehicle are located in the same position area or not according to the position information of the mobile terminal and the received position information of the vehicle, and if so, an access permission instruction is sent to the mobile terminal. The co-located area referred to herein may be the coverage of the vehicle's on-board WiFi.
In step S340, the mobile terminal obtains the pre-stored WiFi name and WiFi password of the vehicle from the cloud server after receiving the access permission command, and connects the WiFi of the vehicle by using the WiFi name and WiFi password of the vehicle. That is, the mobile terminal is allowed to acquire the WiFi information of the vehicle only when the vehicle and the mobile terminal are in the same location area, thereby enabling the mobile terminal to automatically connect to the WiFi of the vehicle.
In this embodiment, when determining that the position of the vehicle and the position of the mobile terminal are in the same location area, the mobile terminal is allowed to obtain the prestored WiFi name and WiFi password of the vehicle from the cloud server, so that the mobile terminal can automatically connect the WiFi of the vehicle by using the WiFi name and WiFi password, that is, the mobile terminal is free from dense automatic connection, thereby improving convenience of WiFi connection and bringing smooth experience of noninductive connection to the user.
Further, the WiFi name and the WiFi password are stored in the cloud server, and the WiFi of the vehicle can be connected only by a user in a distance range close to the vehicle, so that the problem that a person outside the vehicle obtains the two-dimension code and then analyzes the WiFi SSID and the password is avoided.
Fig. 6 is a flowchart of steps for connecting a mobile terminal to a WiFi of a vehicle in a WiFi access method of a vehicle according to an embodiment of the present invention. Further, in one embodiment, as shown in fig. 6, step S340 includes:
step S342, a preset website in the two-dimension code of the vehicle is accessed, wherein the preset website comprises the identity information of the vehicle, and then a corresponding applet is triggered. That is, after the scanning device of the mobile terminal scans the two-dimensional code, triggering the opening of the applet so that the mobile terminal accesses the applet.
In step S344, the IP address of the mobile terminal is sent to the first server and the second server, so that the second server locks the applet of the mobile terminal and the identity information of the vehicle when determining that the IP address of the mobile terminal received by the second server and the IP address of the mobile terminal sent by the first server, and queries the cloud server according to the identity information of the vehicle analyzed by the first server, so as to obtain the WiFi name and the WiFi password of the vehicle and send the WiFi name and the WiFi password to the applet of the mobile terminal. The first server here is a server that provides URL service in the two-dimensional code, and the second server is a server to which the applet corresponds. The first server can analyze the identity information of the vehicle, such as the vehicle VIN code, contained in the URL in the two-dimensional code, so that the first server has the IP address of the mobile terminal and the identity information of the vehicle. Because the mobile terminal has received the access permission instruction in the previous step, when the second server verifies that the IP address of the mobile terminal received by the second server is consistent with the IP address sent by the first server, the second server can query and acquire the WiFi name and the WiFi password of the vehicle according to the received identity information of the vehicle analyzed by the first server, and send the WiFi name and the WiFi password to the mobile terminal.
And step S346, controlling the mobile terminal to be connected with the WiFi of the vehicle according to the WiFi name and the WiFi password of the vehicle. The applet on the mobile terminal controls the mobile terminal to automatically connect to the WiFi of the vehicle using the received WiFi name and WiFi password of the vehicle.
In this embodiment, when determining that the position of the vehicle and the position of the mobile terminal are in the same location area, the mobile terminal is allowed to obtain the prestored WiFi name and WiFi password of the vehicle from the cloud server, so that the mobile terminal can automatically connect the WiFi of the vehicle by using the WiFi name and WiFi password, that is, the mobile terminal is free from dense automatic connection, thereby improving convenience of WiFi connection and bringing smooth experience of noninductive connection to the user.
Further, the WiFi name and the WiFi password are stored in the cloud server, and the WiFi of the vehicle can be connected only by a user in a distance range close to the vehicle, so that the problem that a person outside the vehicle obtains the two-dimension code and then analyzes the WiFi SSID and the password is avoided.
In one embodiment, the mobile terminal is configured to initiate a responsive applet in response to preset address information, the preset address information consisting of a home web address of the applet and encrypted ciphertext of the identity information of the vehicle. In a further embodiment, the ciphertext is calculated from the VIN of the vehicle and the encrypted salt value using a hash algorithm. The hash algorithm is a one-way function.
The embodiment can avoid WiFi information leakage caused by that the URL is reversely pushed and acquired by the vehicle VIN by utilizing the hash encryption algorithm.
For the undescribed portions of the sixth embodiment, reference may be made to the descriptions of the first embodiment and the fourth embodiment, and the descriptions are omitted here.
Example seven
The invention also provides a mobile terminal, which comprises a memory and a processor, wherein the memory stores a computer program which can be run on the processor, and the vehicle-mounted WiFi access method is realized when the computer program is executed by the processor.
The foregoing has outlined the more detailed description of the preferred embodiment of the present invention and is provided herein as a detailed description of the principles and embodiments of the present invention with the use of specific examples, the above examples being provided for the purpose of facilitating the understanding of the method of the present invention and the core ideas thereof; also, it is within the scope of the present invention to be modified by those of ordinary skill in the art in light of the present teachings. In summary, the present description should not be construed as limiting the invention.
Claims (12)
1. The vehicle-mounted WiFi access method is applied to a vehicle end provided with the vehicle-mounted WiFi and is characterized by comprising the following steps of:
providing a two-dimensional code containing preset address information, wherein the preset address information comprises the identity information of the vehicle, so that the mobile terminal can acquire the identity information of the vehicle by scanning the two-dimensional code, and the identity information of the vehicle and the position information of the mobile terminal are sent to a cloud server;
the method comprises the steps that position information of a vehicle is sent to a cloud server, so that the cloud server judges whether the mobile terminal and the vehicle are located in the same position area according to the position information of the mobile terminal and the position information of the vehicle, if yes, the mobile terminal sends an IP address of the mobile terminal to a first server and a second server, and when the second server determines that the IP address of the mobile terminal received by the second server is consistent with the IP address of the mobile terminal sent by the first server, the second server locks the applet on the mobile terminal and the identity information of the vehicle; the first server is a server for analyzing identity information of the vehicle; the second server is a server corresponding to the applet;
and the second server queries and acquires the WiFi name and WiFi password of the vehicle in the cloud server according to the identity information of the vehicle analyzed by the first server and sends the WiFi name and WiFi password to the applet, so that the mobile terminal is connected with the WiFi of the vehicle.
2. The vehicle-mounted WiFi access method according to claim 1, further comprising, before the step of sending the location information of the vehicle to the cloud server:
the initial WiFi name and the initial WiFi password of the vehicle are sent and stored to the cloud server;
and after the vehicle updates the WiFi name and the WiFi password, the updated WiFi name and the updated WiFi password of the vehicle are sent to the cloud server, so that the cloud server stores the updated WiFi name and the updated WiFi password.
3. The vehicle-mounted WiFi access method according to claim 1 or 2, further comprising:
and sending the flow information to the cloud server so that the mobile terminal connected with the WiFi of the vehicle can acquire and view the flow information.
4. The method of claim 1, wherein,
the mobile terminal is configured to start a responding applet in response to the preset address information, wherein the preset address information consists of a homepage website of the applet and encrypted ciphertext of the identity information of the vehicle.
5. The method of claim 4, wherein,
the ciphertext is obtained by calculating VIN and the encrypted salt value of the vehicle through a hash algorithm.
6. A vehicle controller comprising a memory and a processor, the memory having stored thereon a computer program executable on the processor, which when executed by the processor, implements the vehicle-mounted WiFi access method of any of claims 1 to 5.
7. A computer readable storage medium, in which a computer program is stored, characterized in that the computer program, when executed, implements the vehicle-mounted WiFi access method according to any of claims 1 to 5.
8. The vehicle-mounted WiFi access method is applied to a cloud server and is characterized by comprising the following steps of:
receiving and storing identity information of each vehicle, and corresponding WiFi names and WiFi passwords;
when the position information of a target vehicle and the position information of a target mobile terminal are received, judging whether the target vehicle and the target mobile terminal are located in the same position area or not according to the position information of the target vehicle and the position information of the target mobile terminal, if so, allowing the target mobile terminal to send the IP address of the target mobile terminal to a first server and a second server, so that the second server locks the applet on the mobile terminal and the identity information of the target vehicle when determining that the IP address of the target mobile terminal received by the second server is consistent with the IP address of the target mobile terminal sent by the first server; the first server is used for analyzing the identity information of the target vehicle; the second server is a server corresponding to the applet;
and according to the query request of the identity information of the target vehicle, which is analyzed by the second server according to the first server, the WiFi name and the WiFi password of the target vehicle are sent to the applet so that the target mobile terminal can be connected with the WiFi of the vehicle.
9. The vehicle-mounted WiFi access method of claim 8, further comprising:
receiving flow information of the target vehicle;
and sending the traffic information to the target mobile terminal connected with the WiFi of the target vehicle so that the target mobile terminal can acquire and view the traffic information.
10. A cloud server comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the computer program is executed by the processor, the vehicle-mounted WiFi access method according to claim 8 or 9 is implemented.
11. A vehicle-mounted WiFi access method applied to a mobile terminal, the method comprising:
acquiring identity information of a vehicle by scanning a two-dimensional code of the vehicle;
the identity information of the vehicle and the position information of the vehicle are sent to a cloud server, so that the cloud server judges whether the mobile terminal and the vehicle are located in the same position area or not according to the position information of the mobile terminal and the received position information of the vehicle, and if so, an access permission instruction is sent to the mobile terminal;
accessing a preset website in the two-dimensional code of the vehicle, wherein the preset website comprises the identity information of the vehicle, and further triggering an applet on the mobile terminal;
the IP address of the mobile terminal is sent to a first server and a second server, so that the second server locks the applet of the mobile terminal and the identity information of the vehicle when determining that the IP address of the mobile terminal received by the second server is consistent with the IP address of the mobile terminal sent by the first server, and inquires the cloud server according to the identity information of the vehicle analyzed by the first server so as to acquire the WiFi name and the WiFi password of the vehicle and send the WiFi name and the WiFi password to the applet; the first server is a server for analyzing identity information of the vehicle; the second server is a server corresponding to the applet;
and controlling the mobile terminal to be connected with the WiFi of the vehicle according to the WiFi name and the WiFi password of the vehicle.
12. A mobile terminal comprising a memory and a processor, the memory having stored thereon a computer program executable on the processor, which when executed by the processor, implements the vehicle-mounted WiFi access method of claim 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210172209.0A CN114585055B (en) | 2022-02-24 | 2022-02-24 | Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210172209.0A CN114585055B (en) | 2022-02-24 | 2022-02-24 | Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114585055A CN114585055A (en) | 2022-06-03 |
CN114585055B true CN114585055B (en) | 2024-03-22 |
Family
ID=81770052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210172209.0A Active CN114585055B (en) | 2022-02-24 | 2022-02-24 | Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114585055B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115503783B (en) * | 2022-09-23 | 2023-11-21 | 中车青岛四方机车车辆股份有限公司 | Information interaction system based on transparent display car window |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717721A (en) * | 2015-02-27 | 2015-06-17 | 上海连尚网络科技有限公司 | Wifi access system |
CN107438872A (en) * | 2016-05-29 | 2017-12-05 | 深圳市欸阿技术有限公司 | Vehicle intelligent terminal and its method for handling information of vehicles |
CN112654019A (en) * | 2019-10-12 | 2021-04-13 | 上海擎感智能科技有限公司 | WIFI sharing method and system, computer readable storage medium and server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2943338A1 (en) * | 2014-03-20 | 2015-09-24 | Geocommerce Inc. | System and method for identifying user habits |
-
2022
- 2022-02-24 CN CN202210172209.0A patent/CN114585055B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717721A (en) * | 2015-02-27 | 2015-06-17 | 上海连尚网络科技有限公司 | Wifi access system |
CN107438872A (en) * | 2016-05-29 | 2017-12-05 | 深圳市欸阿技术有限公司 | Vehicle intelligent terminal and its method for handling information of vehicles |
CN112654019A (en) * | 2019-10-12 | 2021-04-13 | 上海擎感智能科技有限公司 | WIFI sharing method and system, computer readable storage medium and server |
Non-Patent Citations (2)
Title |
---|
IS-DASH: Consolidated Use Cases on Server and Network-assisted DASH;Qualcomm Incorporated;3GPP TSG-SA4 #75 S4-130924;20130918;全文 * |
浅析CBTC数据通信系统的安全隐患;沈陈霄;方旭明;宋昊;;铁道通信信号;20130317(03);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114585055A (en) | 2022-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10623954B2 (en) | AP connection method, terminal, and server | |
CN108632253B (en) | Client data security access method and device based on mobile terminal | |
CN106686754B (en) | Data interaction method and data interaction system | |
EP3337219A1 (en) | Carrier configuration processing method, device and system, and computer storage medium | |
CN110784450A (en) | Single sign-on method and device based on browser | |
US20140325602A1 (en) | Accessing system for vehicle network and method of controlling the same | |
CN108959384B (en) | Webpage data acquisition method and device, computer equipment and storage medium | |
CN106656455B (en) | Website access method and device | |
CN103401907A (en) | Synchronous processing method and system for login information of application program | |
KR101580419B1 (en) | Method for accessing at least one service and corresponding system | |
CN114257440B (en) | Network function service discovery method, system and storage medium | |
CN111241523B (en) | Authentication processing method, device, equipment and storage medium | |
CN114585055B (en) | Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal | |
CN111651408A (en) | Method, device, terminal and storage medium for acquiring data | |
CN108055299B (en) | Portal page pushing method, network access server and Portal authentication system | |
CN107396363B (en) | Method and equipment for carrying out wireless connection pre-authorization on user equipment | |
CN113553557A (en) | Application secret-free login method and device, electronic equipment and storage medium | |
CN111541649B (en) | Password resetting method and device, server and storage medium | |
CN112953962A (en) | Domain name access method and device | |
CN112819454A (en) | Payment method, gateway device, server and storage medium | |
CN105956202A (en) | Web page display method and web page display apparatus in browser as well as terminal | |
CN107172082B (en) | File sharing method and system | |
CN107770143B (en) | Method and device for verifying client validity | |
CN114338130A (en) | Information processing method, device, server and storage medium | |
CN111371643B (en) | Authentication method, device and storage medium |
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 |