Search

CN-118283573-B - Communication connection method, vehicle-mounted equipment and related medium

CN118283573BCN 118283573 BCN118283573 BCN 118283573BCN-118283573-B

Abstract

The embodiment of the application discloses a communication connection method, vehicle-mounted equipment and related media, wherein the method can be used for first vehicle-mounted equipment, the first vehicle-mounted equipment is vehicle-mounted equipment for providing wireless communication hot spot service, the method comprises the following steps that the first vehicle-mounted equipment receives a wireless connection request of second vehicle-mounted equipment, and the first vehicle-mounted equipment allows the second vehicle-mounted equipment to establish wireless connection under the condition that the wireless connection request comprises a preset equipment identifier and the preset equipment identifier is matched with the equipment identifier of the first vehicle-mounted equipment. By implementing the method of the embodiment of the application, the equipment providing the wireless communication hot spot service can avoid the situation that the equipment is mistakenly connected with the hot spot (or other wireless communication hot spot services) by comparing the target MAC address (namely the MAC address of the hot spot equipment with which the equipment wants to establish wireless connection) in the wireless connection request with the MAC address of the current hot spot equipment, thereby being beneficial to enhancing the accuracy of wireless connection and protecting the safety of user data.

Inventors

  • TAN KAI
  • YANG DONGSHENG
  • SU KAI
  • SUN XIAOQI
  • ZHENG WEI

Assignees

  • 比亚迪股份有限公司

Dates

Publication Date
20260505
Application Date
20231030

Claims (18)

  1. 1. A method of communication connection, characterized by being applied to a first vehicle-mounted device, the first vehicle-mounted device being a vehicle-mounted device providing wireless communication hotspot services, the method comprising the steps of: the method comprises the steps that a first vehicle-mounted device receives a wireless connection request of a second vehicle-mounted device; in the case that the wireless connection request includes a preset device identifier, and the preset device identifier is matched with a device identifier of the first vehicle-mounted device, the first vehicle-mounted device allows the second vehicle-mounted device to establish wireless connection; in a case where the wireless connection request includes a preset device identifier and the preset device identifier matches a device identifier of the first vehicle-mounted device, the first vehicle-mounted device allows the second vehicle-mounted device to establish a wireless connection, the method further includes: When the first vehicle-mounted device displays the device connection list of the hot spot service, hiding the information of the second vehicle-mounted device; The method further comprises the steps of: In response to a shutdown request for a hotspot service of the first vehicle-mounted device, maintaining a wireless connection of the first vehicle-mounted device with the second vehicle-mounted device.
  2. 2. The method of claim 1, wherein prior to the first vehicle device receiving a wireless connection request for a second vehicle device, the method further comprises: The first vehicle-mounted device establishes a wired connection with the second vehicle-mounted device; The first vehicle-mounted device sends first information to the second vehicle-mounted device through the wired connection, and the first information is used for the second vehicle-mounted device to establish wireless connection with the first vehicle-mounted device according to the first information.
  3. 3. The method of claim 2, wherein the first information comprises a user name, a password, and a device identification of the first vehicle device for the wireless communication hotspot service.
  4. 4. A method according to claim 3, characterized in that the method further comprises: And rejecting the wireless connection request of the second vehicle-mounted device by the first vehicle-mounted device under the condition that the wireless connection request does not comprise the preset device identification and/or the preset device identification is not matched with the device identification of the first vehicle-mounted device.
  5. 5. The method according to claim 4, wherein the method further comprises: the first vehicle-mounted device receives second information sent by the second vehicle-mounted device through the wired connection, wherein the second information comprises a device identifier of the second vehicle-mounted device.
  6. 6. The method of claim 5, wherein the hiding information of the second in-vehicle device comprises: Hiding information of the second in-vehicle device when the second information matches the third information; the third information is information sent by the second vehicle-mounted device and received by the first vehicle-mounted device through the wireless connection, and the third information comprises a device identifier of the second vehicle-mounted device.
  7. 7. The method according to claim 6, characterized in that the method comprises: the first vehicle-mounted device conceals the SSID broadcast of the first vehicle-mounted device.
  8. 8. A method of communication connection for a second vehicle-mounted device, the method comprising the steps of: the method comprises the steps that a second vehicle-mounted device sends a wireless connection request to a first vehicle-mounted device, wherein the first vehicle-mounted device is a vehicle-mounted device for providing wireless communication hot spot service; when the wireless connection request comprises a preset equipment identifier, and the preset equipment identifier is matched with the equipment identifier of the first vehicle-mounted equipment, the second vehicle-mounted equipment establishes wireless connection with the first vehicle-mounted equipment according to the wireless connection request; The method further comprises the steps of: The second vehicle-mounted device sends third information to the first vehicle-mounted device through the wireless connection, so that the first vehicle-mounted device can hide or display information of the second vehicle-mounted device when the first vehicle-mounted device displays a device connection list of the wireless communication hotspot service according to the second information and the third information, wherein the second information comprises a device identifier of the second vehicle-mounted device, and the third information comprises a device identifier of the second vehicle-mounted device; The method further comprises the steps of: after the first vehicle-mounted device responds to the closing request for the hot spot service, the second vehicle-mounted device keeps wireless connection with the first vehicle-mounted device.
  9. 9. The method of claim 8, wherein prior to the second in-vehicle device sending the wireless connection request to the first in-vehicle device, the method further comprises: The second vehicle-mounted device establishes a wired connection with the first vehicle-mounted device; The second vehicle-mounted device receives first information sent by the first vehicle-mounted device through the wired connection, and the first information is used for the second vehicle-mounted device to establish wireless connection with the first vehicle-mounted device according to the first information.
  10. 10. The method of claim 9, wherein the first information comprises a user name, a password, and a device identification of the first vehicle device for the wireless communication hotspot service.
  11. 11. The method according to claim 10, wherein the method further comprises: The second in-vehicle device sends second information to the first in-vehicle device over the wired connection.
  12. 12. The vehicle-mounted device is characterized by providing wireless communication hot spot service, and comprises a first communication module and a first control module; the first communication module is used for receiving a wireless connection request of the second vehicle-mounted equipment; The first control module is configured to allow the second vehicle-mounted device to establish wireless connection when the wireless connection request includes a preset device identifier and the preset device identifier is matched with a device identifier of the vehicle-mounted device; The first control module is further configured to conceal information of the second in-vehicle device when the device connection list of the hotspot service is displayed; The first control module is further configured to maintain a wireless connection of the first onboard device with the second onboard device in response to a shutdown request for a hotspot service of the first onboard device.
  13. 13. An in-vehicle apparatus, characterized by comprising: A processor, a memory and an I/O interface, the processor, the memory and the I/O interface being communicatively connected, wherein the memory is to store a set of program code, the processor to invoke the program code stored in the memory to perform the method of any of claims 1-7.
  14. 14. A computer-readable storage medium, comprising: The computer readable storage medium having instructions stored therein which, when run on a computer, implement the method of any of claims 1-7.
  15. 15. The vehicle-mounted device is characterized by comprising a second communication module and a second control module; The second communication module is configured to send a wireless connection request to a first vehicle-mounted device, where the first vehicle-mounted device is a vehicle-mounted device that provides a wireless communication hotspot service; The second control module is configured to, when the wireless connection request includes a preset device identifier, and the preset device identifier is matched with a device identifier of the first vehicle device, establish wireless connection with the first vehicle device according to the wireless connection request; The second communication module is further configured to send third information to the first vehicle-mounted device, so that the first vehicle-mounted device hides or displays information of the second vehicle-mounted device when the first vehicle-mounted device displays a device connection list of the wireless communication hotspot service according to the second information and the third information, where the second information includes a device identifier of the second vehicle-mounted device, and the third information includes a device identifier of the second vehicle-mounted device; the second communication module is further configured to, after the first vehicle-mounted device responds to a shutdown request for a hotspot service, keep wireless connection with the first vehicle-mounted device.
  16. 16. An in-vehicle apparatus, characterized by comprising: A processor, a memory and an I/O interface, the processor, the memory and the I/O interface being communicatively connected, wherein the memory is configured to store a set of program code, the processor is configured to invoke the program code stored in the memory to perform the method of any of claims 8-11.
  17. 17. A computer-readable storage medium, comprising: the computer readable storage medium having instructions stored therein which, when run on a computer, implement the method of any of claims 8-11.
  18. 18. A vehicle comprising the in-vehicle apparatus of any one of claims 12-13 or the computer-readable storage medium of claim 14, and the in-vehicle apparatus of any one of claims 15-16 or the computer-readable storage medium of claim 17.

Description

Communication connection method, vehicle-mounted equipment and related medium Technical Field The present application relates to the field of communications technologies, and in particular, to a communication connection method, a vehicle device, and a related medium. Background With the popularization of intelligent networking technology on vehicle-mounted devices, more and more vehicle enterprises adopt a networking mode of wireless fidelity (WIRELESS FIDELITY, wi-Fi) to realize network connection between vehicle-mounted devices and/or network connection between the vehicle-mounted devices and other mobile terminals. In a vehicle, a front-end device of the vehicle generally opens a Wi-Fi hotspot through a wireless soft AP (SoftAP), and other vehicle-mounted devices (such as a secondary driving screen device, a rear-end screen device, an armrest screen device and the like) and/or mobile terminals can be connected to the SoftAP hotspot of the front-end device through Wi-Fi usernames and passwords, so that wireless communication among the devices is realized. However, when a hotspot with the same name and the same password as the SoftAP of the front-row device exists around, other vehicle-mounted devices can be connected to other hotspots by mistake, the security of data connection is too low, and adverse consequences such as user data leakage can be brought. Therefore, how to provide a method for improving the accuracy of wireless connection for users is a problem that needs to be solved by those skilled in the art. Disclosure of Invention An object of the present application is to provide a communication connection method, a vehicle-mounted device, and a related medium, which can connect a hotspot device (i.e. a device providing a wireless communication hotspot service) with a specific MAC address, so as to help avoid the occurrence of a situation that user data is leaked due to connection to a hotspot (or other wireless communication hotspot service) with the same user name and password, and help to protect the user data. In a first aspect, an embodiment of the present application provides a communication connection method, applied to a first vehicle device, where the method may include the following steps: the method comprises the steps that a first vehicle-mounted device receives a wireless connection request of a second vehicle-mounted device; in the event that the wireless connection request includes a preset device identification, and the preset device identification matches a device identification of the first vehicle device, the first vehicle device allows the second vehicle device to establish a wireless connection. In one possible embodiment, before the first vehicle-mounted device receives the wireless connection request of the second vehicle-mounted device, the method may further include: the method comprises the steps that a first vehicle-mounted device and a second vehicle-mounted device are connected in a wired mode; The first onboard device sends first information to the second onboard device through a wired connection, and the first information can be used for the second onboard device to establish wireless connection with the first onboard device according to the first information. In another possible implementation, the first information may include a user name, a password, and a device identification of the first vehicle device of the wireless communication hotspot service. In another possible embodiment, the method may further comprise: And rejecting the wireless connection request of the second vehicle-mounted device by the first vehicle-mounted device under the condition that the wireless connection request does not comprise the preset device identification and/or the preset device identification is not matched with the device identification of the first vehicle-mounted device. In another possible embodiment, the method may further comprise: The first onboard device receives second information sent by a second onboard device via the wired connection, and the second information may include a device identification of the second onboard device. In another possible embodiment, in a case where the wireless connection request includes a preset device identifier, and the preset device identifier matches a device identifier of the first vehicle device, the method may further include, after the first vehicle device allows the second vehicle device to establish the wireless connection: And hiding the information of the second vehicle-mounted device when the first vehicle-mounted device displays the device connection list of the hot spot service. In another possible implementation, hiding the information of the second in-vehicle device may include: hiding information of the second vehicle-mounted device when the second information matches the third information; The third information is information sent by the second vehicle-mounted device received by the first vehicle-mounted device through the