Nothing Special   »   [go: up one dir, main page]

CN113613211A - Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal - Google Patents

Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal Download PDF

Info

Publication number
CN113613211A
CN113613211A CN202110874488.0A CN202110874488A CN113613211A CN 113613211 A CN113613211 A CN 113613211A CN 202110874488 A CN202110874488 A CN 202110874488A CN 113613211 A CN113613211 A CN 113613211A
Authority
CN
China
Prior art keywords
vehicle
identification code
frame
wifi
mounted equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110874488.0A
Other languages
Chinese (zh)
Inventor
李丰军
周剑光
繆理宾
周琪
王敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Automotive Innovation Corp
Original Assignee
China Automotive Innovation Corp
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 China Automotive Innovation Corp filed Critical China Automotive Innovation Corp
Priority to CN202110874488.0A priority Critical patent/CN113613211A/en
Publication of CN113613211A publication Critical patent/CN113613211A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/009Security arrangements; Authentication; Protecting privacy or anonymity specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of wireless communication, and provides a method, a device, a storage medium and equipment for automatically connecting a WiFi hotspot by vehicle-mounted equipment, wherein the method comprises the following steps: sending a beacon frame to the vehicle-mounted equipment, wherein a first custom identification code is added in the beacon frame; receiving a detection request frame sent by the vehicle-mounted equipment in the first self-defined identification code in the analyzed beacon frame, and analyzing a second self-defined identification code in the detection request frame; when the signal intensity of the detection request frame is higher than a first preset threshold value, sending a detection response frame to the vehicle-mounted equipment, and starting a WiFi protection function, wherein the detection response frame comprises a third self-defined identification code; after the third user-defined identification code in the detection response frame is analyzed by the vehicle-mounted equipment and the WiFi protection function is started, the vehicle-mounted equipment is connected with the vehicle-mounted equipment in a pairing mode according to the WiFi protection function. The method of the invention can automatically connect without manual operation of a user within a reasonable range, and the connection mode is safe and reliable.

Description

Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal
Technical Field
The invention relates to the technical field of mobile communication, in particular to a method, a device, a storage medium and a terminal for automatically connecting a WiFi hotspot by vehicle-mounted equipment.
Background
Along with economic rapid development, vehicle-mounted wireless products are more and more, however, when a wireless product with a WiFi (wireless local area network) function is connected with a WiFi hotspot, the WiFi function of the wireless product needs to be manually started, a password is input to establish the connection between the wireless product and the WiFi hotspot, the operation is complicated, the user experience is poor, some vehicle-mounted WiFi devices have no operation interface (such as a screen-free driving recorder), and the vehicle-mounted WiFi devices have the requirement of being connected with the vehicle-mounted WiFi hotspot, but the connection with the vehicle-mounted WiFi hotspot is extremely inconvenient because the devices have no operation interface.
Disclosure of Invention
In order to solve at least one technical problem, the invention provides a method for automatically connecting a WiFi hotspot by vehicle-mounted equipment, and the method is specifically realized by the following technical scheme:
the invention provides a method for automatically connecting a WiFi hotspot by vehicle-mounted equipment, which comprises the following steps:
sending a beacon frame to the vehicle-mounted equipment, wherein a first custom identification code is added in the beacon frame;
receiving a detection request frame sent by the vehicle-mounted equipment after the first user-defined identification code in the beacon frame is analyzed, and analyzing a second user-defined identification code in the detection request frame;
when the signal intensity of the detection request frame is higher than a first preset threshold value, sending a detection response frame to the vehicle-mounted equipment, and starting a WiFi protection function, wherein the detection response frame comprises a third self-defined identification code;
and after the vehicle-mounted equipment analyzes the third user-defined identification code in the detection response frame and starts a WiFi protection function, the vehicle-mounted equipment is connected with the vehicle-mounted equipment in a pairing mode according to the WiFi protection function.
In some possible embodiments, after the pairing connection with the vehicle-mounted device according to the WiFi protection function, the method further includes storing a connection record with the vehicle-mounted device, where the connection record includes a device name and a connection status, and the connection status includes a connection success or a connection failure.
In some possible embodiments, the receiving a probe request frame sent by the vehicle-mounted device after analyzing a first custom identifier in the beacon frame and analyzing a second custom identifier in the probe request frame further includes directly connecting the vehicle-mounted device if the vehicle-mounted device has a connection record with a successful connection.
In some possible embodiments, after the pairing connection with the vehicle-mounted device according to the WiFi protection function is performed, the method further includes, in response to a deletion instruction for deleting the vehicle-mounted device from a WiFi connection network, deleting the vehicle-mounted device from the WiFi connection network, and adding the vehicle-mounted device to a blacklist to reject a reconnection request of the vehicle-mounted device.
The second aspect of the present invention provides a method for a vehicle-mounted device to automatically connect a WiFi hotspot, where the method is applied to the vehicle-mounted device, and the method includes:
receiving a beacon frame sent by WiFi hotspot equipment, wherein a first custom identification code is added in the beacon frame;
after the first user-defined identification code in the beacon frame is analyzed, sending a detection request frame to the WiFi hotspot device, wherein the detection request frame comprises a second user-defined identification code;
receiving a detection response frame sent by the WiFi hotspot equipment, and analyzing a third custom identification code in the detection response frame; the detection response frame is sent when the WiFi hotspot device analyzes a second self-defined identification code in the detection request frame and determines that the signal strength of the detection request frame is higher than a first preset threshold value;
when the signal intensity of the detection response frame is higher than a second preset threshold value, starting a WiFi protection function;
and according to the WiFi protection function, matching connection is carried out with the WiFi hotspot equipment.
A third aspect of the present invention provides a WiFi hotspot device, including:
the beacon frame sending module is used for sending a beacon frame to the vehicle-mounted equipment, and the beacon frame is added with a first custom identification code;
the detection request frame receiving module is used for receiving a detection request frame sent by the vehicle-mounted equipment after the first custom identification code in the beacon frame is analyzed, and analyzing a second custom identification code in the detection request frame;
the detection response frame sending module is used for sending a detection response frame to the vehicle-mounted equipment and starting a WiFi protection function when the signal intensity of the detection request frame is higher than a first preset threshold value, wherein the detection response frame comprises a third self-defined identification code;
and the vehicle-mounted equipment pairing module is used for pairing and connecting with the vehicle-mounted equipment according to the WiFi protection function after the vehicle-mounted equipment analyzes the third custom identification code in the detection response frame and starts the WiFi protection function.
In some possible embodiments, the method further comprises:
and the connecting equipment management module is used for responding to a deleting instruction for deleting the vehicle-mounted equipment from the WiFi connecting network, and adding the vehicle-mounted equipment into a blacklist so as to reject the reconnection request of the vehicle-mounted equipment.
A fourth aspect of the present invention provides an in-vehicle apparatus, the method including:
the device comprises a beacon frame receiving module, a first self-defined identification code and a second self-defined identification code, wherein the beacon frame receiving module is used for receiving a beacon frame sent by WiFi hotspot equipment, and the first self-defined identification code is added into the beacon frame;
the detection request frame sending module is used for sending a detection request frame to the WiFi hotspot device after the first user-defined identification code in the beacon frame is analyzed, wherein the detection request frame comprises a second user-defined identification code;
the detection response frame receiving module is used for receiving the detection response frame sent by the WiFi hotspot equipment and analyzing a third custom identification code in the detection response frame; the detection response frame is sent when the WiFi hotspot device analyzes a second self-defined identification code in the detection request frame and determines that the signal strength of the detection request frame is higher than a first preset threshold value;
the WiFi protection function starting module is used for starting a WiFi protection function when the signal intensity of the detection response frame is higher than a second preset threshold value;
and the WiFi hotspot equipment matching connection module is used for matching connection with the WiFi hotspot equipment according to the WiFi protection function.
The invention also provides a storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method for automatically connecting the WiFi hotspot by the vehicle-mounted device.
The invention also provides a terminal comprising one or more processors and memory. A memory coupled to the processor for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method for automatically connecting the WiFi hotspot by the vehicle-mounted device.
By adopting the technical scheme, the method and the device for automatically connecting the WiFi hotspot by the vehicle-mounted equipment have the following beneficial effects:
when the vehicle-mounted equipment is connected with the WiFi hotspot, a user does not need to manually select a WiFi name or input a password, and the equipment can be automatically connected within a certain range after being started, so that the convenience and the rapidness are realized; and through the analysis of the user-defined identification code for many times, the WiFi protection function is utilized to verify the connection, so that the method is safe and reliable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for a vehicle-mounted device to automatically connect to a WiFi hotspot according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for automatically connecting a WiFi hotspot by a vehicle-mounted device according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for automatically connecting a WiFi hotspot by a vehicle-mounted device according to an embodiment of the present invention;
fig. 4 is a structural diagram of an apparatus for automatically connecting a WiFi hotspot by a vehicle-mounted device according to an embodiment of the present invention;
fig. 5 is a structural diagram of an apparatus for automatically connecting a WiFi hotspot by a vehicle-mounted device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer terminal device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the several embodiments provided in this application, the described system embodiments are only illustrative, for example, the division of the modules is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of modules or units through some interfaces, and may be in an electrical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The embodiment of the invention provides a method for automatically connecting a WiFi hotspot by vehicle-mounted equipment, which comprises the following steps of:
s101, sending a beacon frame to vehicle-mounted equipment, wherein a first custom identification code is added in the beacon frame;
s102, receiving a detection request frame sent by the vehicle-mounted equipment after analyzing a first custom identification code in the beacon frame, and analyzing a second custom identification code in the detection request frame;
s103, when the signal intensity of the detection request frame is higher than a first preset threshold value, sending a detection response frame to the vehicle-mounted equipment, and starting a WiFi protection function, wherein the detection response frame comprises a third self-defined identification code;
and S104, after the vehicle-mounted equipment analyzes the third custom identification code in the detection response frame and starts a WiFi protection function, connecting the vehicle-mounted equipment with the vehicle-mounted equipment in a pairing mode according to the WiFi protection function.
Referring to fig. 2, the WiFi hotspot device is a network device that sends a WiFi hotspot, and the vehicle-mounted device is a device that needs to connect to a wireless network on the vehicle, such as a vehicle data recorder, a vehicle-mounted audio device, and an emergency rescue system (SOS). Adding a first self-defined identification code into a beacon frame of a WiFi transmission protocol of a WiFi hotspot, wherein the adding position of the first self-defined identification code is in the value of a vendorspecial field of a specific supplier in the beacon frame. The method comprises the steps that after receiving a beacon frame, the vehicle-mounted equipment analyzes the beacon frame, a first self-defined identification code is analyzed from a specific supplier Vendor specific field, after the first self-defined identification code is successfully analyzed, a detection request frame probe request frame is automatically sent to the WiFi hotspot equipment, the vehicle-mounted equipment adds a second self-defined identification code into the detection request frame probe request frame, and the adding position of the second self-defined identification code in the detection request frame is the value of the specific supplier Vendor specific field in the detection request frame; the WiFi hotspot equipment receives a probe request frame and then analyzes the probe request frame, a second self-defined identification code is analyzed from a Vendor specific field in the probe request frame, whether the signal intensity of the probe request frame is higher than a first preset threshold value is judged, the first preset threshold value comprises-50 db, if the second self-defined identification code is analyzed, and the signal intensity of the probe request frame is higher than the first preset threshold value, the WiFi hotspot equipment replies a probe response frame with a third self-defined identification code to the vehicle-mounted equipment, and the WiFi hotspot equipment starts a WiFi protection function wps function; the adding position of the third self-defined identification code in the probe response frame is in the value of the specific supplier specific field in the probe response frame; after receiving the probe response frame, the vehicle-mounted device analyzes a third self-defined identification code in the probe response frame, and simultaneously judges whether the signal intensity of the probe response frame is greater than a second preset threshold value, wherein the second preset threshold value comprises-50 db, and if the third self-defined identification code in the probe response frame is successfully analyzed and the signal intensity of the probe response frame is greater than-50 db of the second preset threshold value, the vehicle-mounted device starts a WiFi protection function wps function. The WiFi hotspot equipment and the vehicle-mounted equipment realize pairing connection through a WiFi protection function wps function, and the connection is completed; in addition, if the vehicle-mounted equipment cannot analyze the first custom identification code or the third custom identification code, or the WiFi hotspot equipment cannot analyze the second custom identification code, the vehicle-mounted equipment is prompted to fail to connect the WiFi hotspot. The method for automatically connecting the WiFi hotspot by the vehicle-mounted equipment does not influence normal connection of other equipment (such as a mobile phone) to the WiFi hotspot, and a user selects a WiFi name on an operation interface of the mobile phone and inputs a WiFi password for connection. For the device without the operation interface integrated with the method, a user does not need to select a WiFi name, input a password and operate, the vehicle-mounted device can be automatically connected within a reasonable range of a WiFi hot signal, convenience and rapidness are realized, and meanwhile, the connection of other modes is not influenced.
In one embodiment, after the pairing connection with the vehicle-mounted device according to the WiFi protection function, the method further includes storing a connection record with the vehicle-mounted device, where the connection record includes a device name and a connection state, and the connection state includes a connection success or a connection failure.
When the vehicle-mounted equipment is successfully connected with the WiFi hotspot, the connection record of the vehicle-mounted equipment is recorded in the WiFi hotspot equipment, wherein the connection record comprises the equipment name of the vehicle-mounted equipment and connection success or connection failure, and the vehicle-mounted equipment is conveniently connected next time.
In an embodiment, the receiving a probe request frame sent by the vehicle-mounted device after analyzing a first custom identifier in the beacon frame and analyzing a second custom identifier in the probe request frame further includes directly connecting the vehicle-mounted device if the vehicle-mounted device has a connection record of successful connection.
When the vehicle-mounted equipment is connected with the WiFi hotspot, after a detection request frame is sent, the WiFi hotspot equipment detects the equipment name of the vehicle-mounted equipment, then the last connection state of the vehicle-mounted equipment is searched according to the equipment name, if the equipment name of the vehicle-mounted equipment does not exist or the last connection state of the vehicle-mounted equipment fails to be searched, the second user-defined identification code of the detection request frame is continuously analyzed, and automatic connection is continuously started; if the last connection state of the vehicle-mounted equipment is found successfully, the vehicle-mounted equipment is directly connected with the WiFi hotspot without continuous verification.
In an embodiment, after the pairing connection with the vehicle-mounted device according to the WiFi protection function, the method further includes, in response to a deletion instruction for deleting the vehicle-mounted device from the WiFi connection network, and adding the vehicle-mounted device to a blacklist to reject a reconnection request of the vehicle-mounted device.
After the vehicle-mounted equipment is successfully connected, a central control screen of the automobile automatically prompts the access of new vehicle-mounted equipment, the information of the vehicle-mounted equipment is displayed, and a user can manage the vehicle-mounted equipment, for example, the user is removed from the connection, and the user is added into a blacklist to refuse the reconnection.
Referring to fig. 3, a second aspect of the present invention provides a method for a vehicle-mounted device to automatically connect to a WiFi hotspot, where the method is applied to the vehicle-mounted device, and the method includes:
s201, receiving a beacon frame sent by WiFi hotspot equipment, wherein a first custom identification code is added in the beacon frame;
s202, after the first custom identification code in the beacon frame is analyzed, sending a detection request frame to the WiFi hotspot device, wherein the detection request frame comprises a second custom identification code;
s203, receiving a detection response frame sent by the WiFi hotspot equipment, and analyzing a third custom identification code in the detection response frame; the detection response frame is sent when the WiFi hotspot device analyzes a second self-defined identification code in the detection request frame and determines that the signal strength of the detection request frame is higher than a first preset threshold value;
s204, when the signal intensity of the detection response frame is higher than a second preset threshold value, starting a WiFi protection function;
and S205, according to the WiFi protection function, matching connection is carried out with the WiFi hotspot equipment.
Referring to fig. 4, a third aspect of the present invention provides a WiFi hotspot device, including:
the beacon frame sending module 11 is configured to send a beacon frame to the vehicle-mounted device, where the beacon frame is added with a first custom identification code;
the detection request frame receiving module 12 is configured to receive a detection request frame sent by the vehicle-mounted device after analyzing the first custom identifier in the beacon frame, and analyze a second custom identifier in the detection request frame;
a detection response frame sending module 13, configured to send a detection response frame to the vehicle-mounted device and start a WiFi protection function when the signal strength of the detection request frame is higher than a first preset threshold, where the detection response frame includes a third custom identification code;
and the vehicle-mounted device pairing module 14 is configured to, after the vehicle-mounted device analyzes the third custom identifier in the detection response frame and starts a WiFi protection function, pair and connect with the vehicle-mounted device according to the WiFi protection function.
In one embodiment, further comprising:
and the connecting equipment management module is used for responding to a deleting instruction for deleting the vehicle-mounted equipment from the WiFi connecting network, and adding the vehicle-mounted equipment into a blacklist so as to reject the reconnection request of the vehicle-mounted equipment.
Referring to fig. 5, a fourth aspect of the present invention provides an in-vehicle device, where the method includes:
the beacon frame receiving module 21 is configured to receive a beacon frame sent by a WiFi hotspot device, where the beacon frame is added with a first custom identification code;
a probe request frame sending module 22, configured to send a probe request frame to the WiFi hotspot device after analyzing the first custom identifier in the beacon frame, where the probe request frame includes a second custom identifier;
a detection response frame receiving module 23, configured to receive a detection response frame sent by the WiFi hotspot device, and analyze a third custom identifier in the detection response frame; the detection response frame is sent when the WiFi hotspot device analyzes a second self-defined identification code in the detection request frame and determines that the signal strength of the detection request frame is higher than a first preset threshold value;
a WiFi protection function starting module 24, configured to start a WiFi protection function when the signal strength of the probe response frame is higher than a second preset threshold;
and the WiFi hotspot device matching connection module 25 is used for matching connection with the WiFi hotspot device according to the WiFi protection function.
Specific limitations regarding the means for automatically connecting the WiFi hotspot by the vehicle-mounted device can be referred to the above limitations, which are not described herein again.
All or part of each module in the device for automatically connecting the vehicle-mounted equipment to the WiFi hotspot can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Referring to fig. 6, a terminal according to an embodiment of the present invention includes one or more processors and a memory. The memory is coupled to the processor and is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method for automatically connecting the WiFi hotspot by the vehicle-mounted device as in any one of the above embodiments.
The processor is used for controlling the overall operation of the computer terminal device so as to complete all or part of the steps of the method for automatically connecting the WiFi hotspot by the vehicle-mounted device. The memory is used to store various types of data to support the operation at the computer terminal device, which data may include, for example, instructions for any application or method operating on the computer terminal device, as well as application-related data. The Memory may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
In an exemplary embodiment, the computer terminal Device may be implemented by one or more Application Specific 1 integrated circuits (AS 1C), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is configured to perform the above method for automatically connecting the vehicle Device to the WiFi hotspot, and achieve the technical effects consistent with the above method.
In another exemplary embodiment, a storage medium including program instructions for implementing the steps of the method for automatically connecting the WiFi hotspot by the vehicle-mounted device in any one of the above embodiments when executed by a processor is further provided. For example, the storage medium may be the memory including the program instructions, and the program instructions may be executed by a processor of the terminal to implement the method for the vehicle-mounted device to automatically connect to the WiFi hotspot, and achieve the technical effects consistent with the method.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for automatically connecting a WiFi hotspot by vehicle-mounted equipment is applied to WiFi hotspot equipment and is characterized by comprising the following steps:
sending a beacon frame to the vehicle-mounted equipment, wherein a first custom identification code is added in the beacon frame;
receiving a detection request frame sent by the vehicle-mounted equipment after the first user-defined identification code in the beacon frame is analyzed, and analyzing a second user-defined identification code in the detection request frame;
when the signal intensity of the detection request frame is higher than a first preset threshold value, sending a detection response frame to the vehicle-mounted equipment, and starting a WiFi protection function, wherein the detection response frame comprises a third self-defined identification code;
and after the vehicle-mounted equipment analyzes the third user-defined identification code in the detection response frame and starts a WiFi protection function, the vehicle-mounted equipment is connected with the vehicle-mounted equipment in a pairing mode according to the WiFi protection function.
2. The method of claim 1, wherein after the pairing connection with the vehicle-mounted device according to the WiFi protection function, the method further comprises: and storing a connection record of the vehicle-mounted equipment, wherein the connection record comprises an equipment name and a connection state, and the connection state comprises connection success or connection failure.
3. The method according to claim 2, wherein the receiving of the probe request frame sent by the vehicle-mounted device after analyzing the first custom identifier in the beacon frame and analyzing the second custom identifier in the probe request frame further comprises directly connecting the vehicle-mounted device if the vehicle-mounted device has the connection record with the successful connection.
4. The method of claim 1, wherein after the pairing connection with the vehicle-mounted device according to the WiFi protection function, the method further comprises: and in response to a deletion instruction for deleting the vehicle-mounted equipment from the WiFi connection network, and adding the vehicle-mounted equipment into a blacklist to reject the reconnection request of the vehicle-mounted equipment.
5. A method for automatically connecting a WiFi hotspot by vehicle-mounted equipment is applied to the vehicle-mounted equipment, and is characterized by comprising the following steps:
receiving a beacon frame sent by WiFi hotspot equipment, wherein a first custom identification code is added in the beacon frame;
after the first user-defined identification code in the beacon frame is analyzed, sending a detection request frame to the WiFi hotspot device, wherein the detection request frame comprises a second user-defined identification code;
receiving a detection response frame sent by the WiFi hotspot equipment, and analyzing a third custom identification code in the detection response frame; the detection response frame is sent when the WiFi hotspot device analyzes a second self-defined identification code in the detection request frame and determines that the signal strength of the detection request frame is higher than a first preset threshold value;
when the signal intensity of the detection response frame is higher than a second preset threshold value, starting a WiFi protection function;
and according to the WiFi protection function, matching connection is carried out with the WiFi hotspot equipment.
6. A WiFi hotspot device, comprising:
the beacon frame sending module is used for sending a beacon frame to the vehicle-mounted equipment, and the beacon frame is added with a first custom identification code;
the detection request frame receiving module is used for receiving a detection request frame sent by the vehicle-mounted equipment after the first custom identification code in the beacon frame is analyzed, and analyzing a second custom identification code in the detection request frame;
the detection response frame sending module is used for sending a detection response frame to the vehicle-mounted equipment and starting a WiFi protection function when the signal intensity of the detection request frame is higher than a first preset threshold value, wherein the detection response frame comprises a third self-defined identification code;
and the vehicle-mounted equipment pairing module is used for pairing and connecting with the vehicle-mounted equipment according to the WiFi protection function after the vehicle-mounted equipment analyzes the third custom identification code in the detection response frame and starts the WiFi protection function.
7. The apparatus of claim 6, further comprising:
and the connecting equipment management module is used for responding to a deleting instruction for deleting the vehicle-mounted equipment from the WiFi connecting network, and adding the vehicle-mounted equipment into a blacklist so as to reject the reconnection request of the vehicle-mounted equipment.
8. An in-vehicle apparatus, characterized in that the method comprises:
the device comprises a beacon frame receiving module, a first self-defined identification code and a second self-defined identification code, wherein the beacon frame receiving module is used for receiving a beacon frame sent by WiFi hotspot equipment, and the first self-defined identification code is added into the beacon frame;
the detection request frame sending module is used for sending a detection request frame to the WiFi hotspot device after the first user-defined identification code in the beacon frame is analyzed, wherein the detection request frame comprises a second user-defined identification code;
the detection response frame receiving module is used for receiving the detection response frame sent by the WiFi hotspot equipment and analyzing a third custom identification code in the detection response frame; the detection response frame is sent when the WiFi hotspot device analyzes a second self-defined identification code in the detection request frame and determines that the signal strength of the detection request frame is higher than a first preset threshold value;
the WiFi protection function starting module is used for starting a WiFi protection function when the signal intensity of the detection response frame is higher than a second preset threshold value;
and the WiFi hotspot equipment matching connection module is used for matching connection with the WiFi hotspot equipment according to the WiFi protection function.
9. A storage medium storing instructions which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 5.
10. A terminal comprising a memory storing instructions and a processor loading the instructions to perform the steps of the method according to any one of claims 1 to 5.
CN202110874488.0A 2021-07-30 2021-07-30 Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal Pending CN113613211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110874488.0A CN113613211A (en) 2021-07-30 2021-07-30 Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110874488.0A CN113613211A (en) 2021-07-30 2021-07-30 Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN113613211A true CN113613211A (en) 2021-11-05

Family

ID=78338845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110874488.0A Pending CN113613211A (en) 2021-07-30 2021-07-30 Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN113613211A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554460A (en) * 2021-12-31 2022-05-27 厦门亿联网络技术股份有限公司 WiFi device connection method and device, terminal device and readable storage medium
CN114615688A (en) * 2022-03-30 2022-06-10 广州芯德通信科技股份有限公司 Close-distance automatic configuration method between WiFi hotspot device and current access device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168625A (en) * 2014-08-20 2014-11-26 普联技术有限公司 Intelligent device, method for connecting intelligent device to wireless routing device, and wireless routing device
CN104902500A (en) * 2015-05-21 2015-09-09 南京创维信息技术研究院有限公司 Automatic connection method and system for wireless network device and wireless access device
WO2017076028A1 (en) * 2015-11-06 2017-05-11 乐视控股(北京)有限公司 Method and system for one key connection between mobile terminal and display device
CN108156602A (en) * 2017-12-29 2018-06-12 北京奇虎科技有限公司 For the method, apparatus and wireless access points with terminal equipment in communication
CN108924907A (en) * 2018-06-22 2018-11-30 四川斐讯信息技术有限公司 A kind of fast access method of wireless network, system and for net equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168625A (en) * 2014-08-20 2014-11-26 普联技术有限公司 Intelligent device, method for connecting intelligent device to wireless routing device, and wireless routing device
CN104902500A (en) * 2015-05-21 2015-09-09 南京创维信息技术研究院有限公司 Automatic connection method and system for wireless network device and wireless access device
WO2017076028A1 (en) * 2015-11-06 2017-05-11 乐视控股(北京)有限公司 Method and system for one key connection between mobile terminal and display device
CN108156602A (en) * 2017-12-29 2018-06-12 北京奇虎科技有限公司 For the method, apparatus and wireless access points with terminal equipment in communication
CN108924907A (en) * 2018-06-22 2018-11-30 四川斐讯信息技术有限公司 A kind of fast access method of wireless network, system and for net equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554460A (en) * 2021-12-31 2022-05-27 厦门亿联网络技术股份有限公司 WiFi device connection method and device, terminal device and readable storage medium
CN114615688A (en) * 2022-03-30 2022-06-10 广州芯德通信科技股份有限公司 Close-distance automatic configuration method between WiFi hotspot device and current access device
CN114615688B (en) * 2022-03-30 2022-09-30 广州芯德通信科技股份有限公司 Close-distance automatic configuration method between WiFi hotspot device and current access device

Similar Documents

Publication Publication Date Title
US10721613B2 (en) Connection management system for electronic SIM card terminals, user terminals and applications
US20220109974A1 (en) Esim card change method and related device
CN105704332B (en) Mobile payment method and device
US11704944B2 (en) Automobile diagnosis instrument, method for running system of automobile diagnosis instrument and automobile diagnosis system
CN113613211A (en) Method and device for automatically connecting WiFi hotspot by vehicle-mounted equipment, storage medium and terminal
CN109831338B (en) Vehicle machine system upgrading method, cloud server and mobile terminal
US20110292835A1 (en) Method, and device for configuring wifi parameters
CN110809255B (en) Card information activation method and device and storage medium
CN111372249B (en) System and method for testing consistency of code number downloading process of eSIM (embedded subscriber identity Module) terminal of Internet of things
US8594624B2 (en) Wireless provisioning solution for target devices
CN112738046B (en) One-key login method, terminal and system server
CN106534105A (en) Logging-in method and apparatus
CN107466022B (en) SIM card switching method, mobile terminal and storage medium
CN104684015A (en) Equipment maintenance method and equipment
US7603667B2 (en) Multi-download structure and method of mobile communication terminal
CN105142144A (en) Secure network connecting method and system
CN110908489B (en) Test method and test equipment for battery management system
US20230214207A1 (en) Device upgrade control method and apparatus, and computer device and storage medium
CN116546467A (en) Access control method and system of vehicle-mounted equipment, storage medium and electronic device
CN115866581A (en) User authentication data switching processing method, communication equipment and readable storage medium
CN113950044A (en) Method and device for identifying user identification card, terminal equipment and storage medium
CN114584965A (en) Automatic PSAM card identification and display method and device
CN110321251B (en) Data backup method, device, equipment and storage medium based on network block equipment
JP2019145910A (en) Communication terminal
CN111080854B (en) Binding method and device of intelligent door lock

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211105

RJ01 Rejection of invention patent application after publication