CN116709584A - Method for connecting car machine and terminal equipment - Google Patents

Method for connecting car machine and terminal equipment Download PDF

Info

Publication number
CN116709584A
CN116709584A CN202211325102.1A CN202211325102A CN116709584A CN 116709584 A CN116709584 A CN 116709584A CN 202211325102 A CN202211325102 A CN 202211325102A CN 116709584 A CN116709584 A CN 116709584A
Authority
CN
China
Prior art keywords
vehicle
connection
bluetooth
user
hot spot
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.)
Granted
Application number
CN202211325102.1A
Other languages
Chinese (zh)
Other versions
CN116709584B (en
Inventor
徐辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211325102.1A priority Critical patent/CN116709584B/en
Publication of CN116709584A publication Critical patent/CN116709584A/en
Application granted granted Critical
Publication of CN116709584B publication Critical patent/CN116709584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a method for connecting a vehicle machine and terminal equipment, which are applied to the terminal equipment, are beneficial to reducing the operation of a user in the process of interconnecting the terminal equipment and the vehicle machine and improve the use experience of the user. The method comprises the following steps: responding to the operation of connecting a vehicle machine by a user, and establishing Bluetooth connection with a target vehicle-mounted Bluetooth, wherein the target vehicle-mounted Bluetooth is the vehicle-mounted Bluetooth of the vehicle machine; under the condition that the Bluetooth connection is successfully established, starting the wireless fidelity direct connection Wi-Fi P2P connection; under the condition of Wi-Fi P2P connection failure, starting wireless fidelity Wi-Fi hot spot connection; and prompting the user to perform wired connection under the condition that the Wi-Fi hot spot connection fails.

Description

Method for connecting car machine and terminal equipment
Technical Field
The application relates to the technical field of terminals, in particular to a method for connecting a vehicle machine and terminal equipment.
Background
At present, a user can use a mobile phone intelligent interconnection product to interconnect a mobile phone and a car phone when driving a car, and can share car life service on a car screen only by connecting the mobile phone in the car, so that the user can enjoy safer and more convenient car experience in driving.
The mode of interconnection between the mobile phone and the car phone is divided into wired connection and wireless connection. For example, when a user who wants to experience a wireless connection mode uses a car machine supporting the wireless connection mode, the user is usually required to search a multi-layer directory in a setting of a mobile phone to find connection guidance, and the connection guidance is further classified into connection guidance of a wireless fidelity (wireless fidelity, wi-Fi) hotspot and connection guidance of Wi-Fi direct (Wi-Fi peer-to-peer, wi-Fi P2P), and the user is required to select a type of connection guidance by himself. After the user selects the type of the connection instruction, the user enters a corresponding connection instruction interface, and then the wireless connection can be completed only by carrying out multi-step operation on the two ends of the mobile phone and the vehicle according to the connection instruction. In the connection process, the problem of poor universality caused by complex operation flow of the mobile phone and the vehicle and machine multi-terminal and large difference of connection flow of the vehicle and machines of different brands exists, and the problem that a new hand user cannot operate when using the new hand user for the first time can also exist.
Therefore, how to reduce the operations of users in the process of interconnecting the mobile phone and the car phone is a urgent problem to be solved.
Disclosure of Invention
The application provides a method and terminal equipment for connecting a vehicle machine, which are beneficial to reducing the operation of a user in the process of interconnecting the terminal equipment and the vehicle machine and improving the use experience of the user.
In a first aspect, the present application provides a method for connecting a vehicle to a vehicle, which is applied to a terminal device, and the method includes: responding to the operation of connecting a vehicle machine by a user, and establishing Bluetooth connection with a target vehicle-mounted Bluetooth, wherein the target vehicle-mounted Bluetooth is the vehicle-mounted Bluetooth of the vehicle machine; under the condition that the Bluetooth connection is successfully established, starting Wi-Fi P2P connection; under the condition that Wi-Fi P2P connection fails, starting Wi-Fi hot spot connection; and prompting the user to perform wired connection under the condition that the Wi-Fi hot spot connection fails.
In the application, the terminal equipment responds to the operation of the user and can automatically traverse two wireless connection modes, including Wi-Fi P2P connection and Wi-Fi hot spot connection, wherein the Wi-Fi P2P connection requires fewer steps of user participation and consumes less power, so the terminal equipment firstly tries Wi-Fi P2P connection, and then tries Wi-Fi hot spot under the condition that the Wi-Fi P2P connection is determined to be failed, and prompts the user to perform wired connection under the condition that the Wi-Fi hot spot connection is failed.
Based on the technical scheme, in the process of connecting the terminal equipment and the car machine, a user is not required to search a plurality of layers of catalogues in the terminal equipment to find connection guidance, and then the multi-step operation is carried out at the two ends of the mobile phone and the car machine according to the connection guidance, but the terminal equipment completes a set of automatic connection flow, so that the operation of the user is reduced, the learning cost can be reduced for a novice user, and the use experience of the user can be improved as a whole.
With reference to the first aspect, in certain implementation manners of the first aspect, before establishing a bluetooth connection with the target bluetooth on board, the method further includes: responding to the operation of connecting a vehicle machine by a user, starting Bluetooth searching to obtain a plurality of Bluetooth devices; determining at least one vehicle-mounted Bluetooth from the plurality of Bluetooth devices according to the primary device type and/or the secondary device type of each Bluetooth device in the plurality of Bluetooth devices; in the case that the at least one vehicle-mounted Bluetooth is a plurality of vehicle-mounted Bluetooth, the target vehicle-mounted Bluetooth is determined from the at least one vehicle-mounted Bluetooth according to the signal intensity and/or the direction angle of each vehicle-mounted Bluetooth.
Based on the technical scheme, the terminal equipment can exclude non-vehicle-mounted audio equipment in the plurality of Bluetooth equipment based on the main equipment type and/or the secondary equipment type to obtain at least one vehicle-mounted Bluetooth, and further determine the target vehicle-mounted Bluetooth of the vehicle where the user is located according to the signal intensity and/or the direction angle of each vehicle-mounted Bluetooth. Thus, the accuracy of identifying the target vehicle-mounted Bluetooth is improved.
With reference to the first aspect, in some implementations of the first aspect, the target bluetooth is a bluetooth with a strongest signal strength among bluetooth with a direction angle within a preset angle range.
With reference to the first aspect, in certain implementations of the first aspect, after determining the target bluetooth in vehicle from the at least one bluetooth in vehicle, the method further includes: and displaying a vehicle-mounted Bluetooth list on the user interface, wherein the at least one vehicle-mounted Bluetooth is displayed in the vehicle-mounted Bluetooth list, and the target vehicle-mounted Bluetooth is positioned at the first position of the vehicle-mounted Bluetooth list.
Based on the technical scheme, the terminal equipment displays the target vehicle-mounted Bluetooth at the first position of the vehicle-mounted Bluetooth list, so that a user can confirm the target vehicle-mounted Bluetooth conveniently, and the reminding effect is better.
With reference to the first aspect, in certain implementations of the first aspect, after initiating the Wi-Fi P2P connection, the method further includes: it is determined whether the Wi-Fi P2P connection was successful.
With reference to the first aspect, in certain implementations of the first aspect, determining whether the Wi-Fi P2P connection is successful includes: if Wi-Fi P2P connection information from the vehicle is not received within the first preset time period, determining that Wi-Fi P2P connection fails, wherein the Wi-Fi P2P connection information comprises Wi-Fi P2P names, media access control (media access control, MAC) addresses and passwords of the vehicle; or if a message of connection failure from the vehicle is received, determining that Wi-Fi P2P connection fails; or if the message of successful connection from the vehicle machine is received, determining that Wi-Fi P2P connection is successful.
With reference to the first aspect, in certain implementation manners of the first aspect, after the Wi-Fi hotspot connection is started, the method further includes: starting Wi-Fi hot spots of the terminal equipment; acquiring a hotspot name and a password of a Wi-Fi hotspot; and displaying the hotspot name and the password of the Wi-Fi hotspot on a user interface.
Based on the technical scheme, the terminal equipment can display the hotspot name and the password of the Wi-Fi hotspot to the user after starting the Wi-Fi hotspot, so that the step of searching the hotspot name and the password by the user can be saved, and the user operation is reduced.
With reference to the first aspect, in certain implementation manners of the first aspect, after the user interface displays the hotspot name and the password of the Wi-Fi hotspot, the method further includes: prompting a user to connect Wi-Fi hotspots on the vehicle; and responding to the operation of connecting the Wi-Fi hot spot on the vehicle by the user, and connecting the Wi-Fi hot spot with the vehicle.
With reference to the first aspect, in certain implementation manners of the first aspect, after the Wi-Fi hotspot connection is performed with the vehicle, the method includes: it is determined whether the Wi-Fi hotspot connection was successful.
With reference to the first aspect, in certain implementations of the first aspect, determining whether the Wi-Fi hotspot connection is successful includes: if a message of connection failure from a vehicle machine is received, determining that Wi-Fi hot spot connection fails; or if the message of successful connection from the vehicle machine is received within the second preset time period, determining that the Wi-Fi hot spot connection is successful.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: and prompting the user to start the enhanced connection mode under the condition that the wired connection fails.
Based on the technical scheme, the terminal equipment prompts the user to start the enhanced connection mode, so that the situation that the user does not know how to process the cable connection failure and then gives up connecting the vehicle machine is avoided.
With reference to the first aspect, in certain implementation manners of the first aspect, prompting the user to open the enhanced connection mode includes: and displaying a popup window for prompting a user to open the enhanced connection mode.
In the present application, displaying a pop-up window is one way to prompt for turning on the enhanced connection mode. In addition to this way, the terminal device may also prompt the user with voice if the enhanced connection mode needs to be turned on in case of a failure of the wired connection.
With reference to the first aspect, in certain implementation manners of the first aspect, prompting the user to make a wired connection includes: displaying a guiding interface of the wired connection to prompt a user to make the wired connection, wherein the guiding interface comprises an inlet for opening an enhanced connection mode.
Based on the technical scheme, the terminal equipment can jump to the guiding interface of the wired connection under the condition of wireless connection failure, so that a user does not need to search a multi-layer directory to search a guiding mode of the wired connection, and the operation of the user is reduced. And an entry for opening the enhanced connection mode is displayed on the guiding interface of the wired connection, so that under the condition that the wired connection fails, a user can jump to the guiding interface of the enhanced connection mode by clicking the entry of the enhanced connection mode, and more comprehensive connection service is provided for the user.
In a second aspect, the present application provides a terminal device, which may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), or the like.
The terminal device includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to cause the terminal device to perform a method as in the first aspect.
In a third aspect, the present application provides a computer-readable storage medium storing a computer program. The computer program, when executed by a processor, implements a method as in the first aspect.
In a fourth aspect, the application provides a computer program product comprising a computer program which, when run, causes a computer to perform the method as in the first aspect.
In a fifth aspect, the application provides a chip comprising a processor for invoking a computer program in memory to perform the method according to the first aspect.
It should be understood that the second to fifth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the advantages obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device to which the embodiment of the present application is applicable;
FIG. 2 is a block diagram of a software architecture of a terminal device to which embodiments of the present application are applicable;
FIG. 3 is a schematic flow chart of a method of connecting a vehicle machine provided by an embodiment of the application;
fig. 4 to fig. 6 are schematic views of interfaces for displaying a vehicle audio device according to an embodiment of the present application;
FIG. 7 is a schematic flow chart diagram of another method of connecting a vehicle machine provided by an embodiment of the application;
FIG. 8 is a schematic diagram of an interface of a wired connection according to an embodiment of the present application;
Fig. 9 is a schematic flow chart of a method for connecting a vehicle machine according to another embodiment of the present application.
Detailed Description
The technical scheme of the application will be described below with reference to the accompanying drawings.
In order to facilitate the clear description of the technical solutions of the embodiments of the present application, the following briefly describes some terms and techniques involved in the embodiments of the present application:
1、Wi-Fi P2P
Wi-Fi P2P can also be called Wi-Fi direct connection, and is a connection scheme based on the original Wi-Fi technology, which allows two communication devices to be directly connected, so that a user can perform one-to-one or one-to-many communication without using a local area network or a wireless Access Point (AP).
Three components are defined in the P2P architecture, which may be referred to as a device and two roles, where a device is referred to as a P2P device (P2P device), which is an entity of the role in the P2P architecture and may be regarded as a Wi-Fi device. Two roles refer to roles GO (group owner) and GC (group client), respectively, where GO acts like an AP in the infrastructure mode basic service set (infrastructure basic service set, infrastructure BSS), like a hotspot, allowing multiple GCs access. The GC acts like a Station (STA) in infrastructure BSS, but can only connect to one GO, and cannot connect to multiple goes.
Prior to the establishment of a P2P network, a plurality of communication devices may be considered P2P devices. After the P2P negotiation is completed among the P2P devices, only one P2P device can perform the corresponding function as the GO role, and the other P2P devices perform the corresponding function as the GC roles.
2. Interconnection of mobile phone and car
When the mobile phone is connected with the vehicle, a user can connect a data line with a vehicle universal serial interface (universal serial bus, USB) port, or can start the system by clicking a vehicle interconnection application of a vehicle application program (APP) connection interface through wireless connection. A user using the vehicle-mounted internet application can safely and quickly use rich applications in the driving process by connecting the mobile phone to the vehicle-mounted system through a data line or Wi-Fi without paying attention to what operating system the smart mobile phone is. The main functions at present are map navigation, voice, music, telephone, etc.
3. Other terms
In the embodiment of the application, the words "first", "second", etc. are used to distinguish identical items or similar items having substantially the same function and action, and the sequence thereof is not limited. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In the present application, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Furthermore, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, and c may represent: a, b, or c, or a and b, or a and c, or b and c, or a, b and c, wherein a, b and c can be single or multiple.
The "at … …" in the embodiment of the present application may be an instant when a certain situation occurs, or may be a period of time after a certain situation occurs, which is not particularly limited. In addition, the display interface provided by the embodiment of the application is only used as an example, and the display interface can also comprise more or less contents.
At present, a user can use a mobile phone intelligent interconnection product to interconnect a mobile phone and a car phone when driving a car, and can share car life service on a car screen only by connecting the mobile phone in the car, so that the user can enjoy safer and more convenient car experience in driving.
When a general user connects a mobile phone with a vehicle supporting a certain type of vehicle-to-vehicle interconnection protocol, the problem of poor usability caused by no operation during first use, complex multi-terminal operation flow of the mobile phone and the vehicle-to-vehicle, and large difference of connection flow of different brands of vehicle-to-vehicle is possibly solved.
The wireless connection modes which can be supported by the vehicle-to-machine interconnection protocol at present comprise a connection mode based on a Wi-Fi hotspot of a mobile phone and a connection mode based on Wi-Fi P2P, different brands of vehicle-to-machine or the same brand of vehicle-to-machine in different periods can adopt different connection modes, and the connection steps of the different connection modes are different. It may not be clear to the user which connection mode the vehicle supports. Even if the connection mode is known, the steps of the common connection are complicated, the operability is very unfriendly for novice users, and finally, the interconnection of the mobile phones and locomotives can be abandoned.
For example, when a user who wants to experience a wireless connection mode uses a car machine supporting the wireless connection mode, the user is usually required to search a multi-layer directory in the setting of the mobile phone to find a connection instruction, and the connection instruction is further classified into a Wi-Fi hotspot connection instruction and a WLAN (Wi-Fi P2P) connection instruction. After the type of the connection instruction is selected, the user enters a corresponding connection instruction interface, and then the wireless connection can be completed only by carrying out multi-step operation on the two ends of the mobile phone and the vehicle machine according to the connection instruction. Taking a connection mode based on a mobile phone Wi-Fi hotspot as an example, the method can comprise the following steps:
step one: at the mobile phone end, a user opens a personal hot spot at the mobile phone end; at the vehicle terminal, a user opens a Wi-Fi setting page of the vehicle and is connected with a mobile phone hotspot. When the car machine is connected with the mobile phone hotspot, the user needs to search the account number and the password of the mobile phone hotspot, so that the user needs to search in the mobile phone, and the user is not easy to get on hand for some users.
Step two: at the vehicle machine end, a user confirms the name of the Bluetooth of the vehicle machine; at the mobile phone end, a user is manually connected with the car Bluetooth.
Step three: the user clicks the vehicle-machine interconnection application of the vehicle-machine end. The user then confirms that the above operation starts the connection.
In some cases, even if the user succeeds in connecting according to the connection guidance, the connection mode may not be optimal as selected by the user. For example, the car machine supports a connection mode based on a Wi-Fi hot spot of the mobile phone and a connection mode based on Wi-Fi P2P at the same time, but a user selects the connection mode based on the Wi-Fi hot spot of the mobile phone, however, the power consumption of the mobile phone due to the connection mode based on the Wi-Fi hot spot of the mobile phone is higher than that of the mobile phone due to the connection mode based on Wi-Fi P2P, and the duration of the mobile phone is shortened.
Based on the analysis, the existing connection mode needs excessive participation of users, and the problems of high connection professionality and complicated operation steps of the mobile phone and the car phone prevent the users from obtaining good use experience.
In view of the above, the embodiment of the application provides a method for connecting a vehicle and a machine, which can automatically perform wireless connection based on the requirement of a user on interconnection of a mobile phone and the vehicle and machine, firstly try a connection mode based on Wi-Fi P2P, then try a connection mode based on Wi-Fi hot spots of the mobile phone, and prompt the user to perform manual connection under the condition that connection of the two wireless modes fails, so that the user does not need to select the wireless connection mode, the operation of the user is reduced as much as possible in the connection process, the convenience of interconnection of the mobile phone and the vehicle and machine is improved, and the learning cost of the user is reduced.
Fig. 1 is a schematic structural diagram of a terminal device to which the embodiment of the present application is applicable. As shown in fig. 1, the terminal device 100 may include: processor 110, external memory interface 120, internal memory 121, usb interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc. It is to be understood that the configuration illustrated in the present embodiment does not constitute a specific limitation on the terminal device 100. In other embodiments of the application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, a display processing unit (display process unit, DPU), and/or a neural-network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. In some embodiments, the terminal device 100 may also include one or more processors 110. The processor may be a neural hub and a command center of the terminal device 100. The processor can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution. A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 uses or recycles. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby improving the efficiency of the terminal device 100.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a USB interface, among others. The USB interface 130 is an interface conforming to the USB standard, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device 100, or may be used to transfer data between the terminal device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is illustrated schematically, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier, etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN), bluetooth, global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), NFC, infrared technology (IR), etc. applied on the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (bei dou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal device 100 may implement a display function through a GPU, a display screen 194, an application processor, and the like. The application processor may include an NPU and/or a DPU. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute instructions to generate or change display information. The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the terminal device 100 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc. The DPU is also referred to as a display sub-system (DSS) for adjusting the color of the display screen 194, and may adjust the color of the display screen via a color three-dimensional (3D) look-up table (LUT). The DPU can also perform processes such as scaling, noise reduction, contrast enhancement, backlight brightness management, hdr processing, display parameter Gamma adjustment, and the like on the picture.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-OLED, or a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED). In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device 100 may implement photographing functions through an ISP, one or more cameras 193, a video codec, a GPU, one or more display screens 194, an application processor, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, data files such as music, photos, videos, etc. are stored in an external memory card.
The internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may cause the terminal device 100 to execute various functional applications, data processing, and the like by executing the above-described instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system; the storage area may also store one or more applications (e.g., gallery, contacts, etc.), and so forth. The storage data area may store data (e.g., photos, contacts, etc.) created during use of the terminal device 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. In some embodiments, the processor 110 may cause the terminal device 100 to perform various functional applications and data processing by executing instructions stored in the internal memory 121, and/or instructions stored in a memory provided in the processor 110.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc. Wherein the audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110. The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or to handsfree talk through the speaker 170A. A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device 100 receives a call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear. Microphone 170C, also known as a "microphone" or "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc. The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130, or may be a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, or may be a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
Fig. 2 is a block diagram of a software architecture of a terminal device to which an embodiment of the present application is applicable. The layered architecture divides the software system of the terminal device 100 into several layers, each layer having a distinct role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into an application layer (APP), an application framework layer (application framework), an Zhuoyun rows (Android run) and libraries, a hardware abstraction layer (hardware abstraction layer, HAL), and a kernel layer (kernel). In some embodiments, the terminal device 100 also includes hardware (e.g., microphone, speaker).
The application layer may include a series of application packages that run applications by calling an application program interface (application programming interface, API) provided by the application framework layer. As shown in fig. 2, the application package may include applications for cameras, calendars, maps, conversations, music, WLAN, bluetooth, video, social, gallery, navigation, short messages, etc.
The application framework layer provides APIs and programming frameworks for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 2, the application framework layer may include a window manager, a content provider, a resource manager, a notification manager, a view system, a phone manager, a travel service, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the terminal device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is presented in a status bar, a presentation sound is emitted, the terminal device 100 vibrates, and an indicator light blinks.
The trip service is used for providing a vehicle-machine interconnection function in a driving vehicle scene, and is used as a decision center for interconnection of the terminal equipment 100 and the vehicle-machine, and different wireless connection modes are traversed intelligently and dynamically.
The android runtime includes a core library and virtual machines. And the android running time is responsible for scheduling and managing an android system. The core library consists of two parts: one part is a function to be called by a java language used by the java API framework, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), two-dimensional graphics engine (e.g., SGL), vehicle-to-machine interconnect protocol, bluetooth face-to-face synchronous link (synchronous connection oriented link, SCO), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The vehicle-computer interconnection protocol can provide a function of connection specification for interconnection of the mobile phone and the vehicle-computer. Through the car machine interconnection protocol, a user can project the application conforming to driving safety on the terminal equipment to the car machine for display, and the advantages of the terminal equipment and the car machine are fully utilized to provide safer and richer information entertainment experience for the user.
The hardware abstraction layer is an abstract interface driven by the device kernel, and provides an application program interface for accessing the bottom layer device for a java API framework at a higher level. The hardware abstraction layer may include a plurality of library modules, e.g., a display module, an audio module, a bluetooth module, a Wi-Fi module, etc., which may include a Wi-Fi P2P module and a Wi-Fi hotspot module. Each module may implement an interface for a particular type of hardware component. When the framework API requires access to the device hardware, the Android system will load the library module for that hardware component.
The kernel layer is a layer between hardware and software. The kernel layer is used for driving the hardware so that the hardware works. The kernel layer at least includes a display driver, an audio driver, a bluetooth driver, a Wi-Fi driver, and the like, which is not limited in the embodiment of the present application.
The terminal device in the embodiment of the present application may be a handheld device, an in-vehicle device, or the like with a wireless connection function, and the terminal device may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. Currently, examples of some terminal devices are: mobile phone (mobile phone), tablet, smart tv, notebook, tablet (Pad), palm, mobile internet device (mobile internet device, MID), virtual Reality (VR) device, augmented reality (augmented reality, AR) device, wireless terminal in industrial control (industrial control), wireless terminal in unmanned driving (self driving), wireless terminal in teleoperation (remote medical surgery), wireless terminal in smart grid (smart grid), wireless terminal in transportation security (transportation safety), wireless terminal in smart city (smart home), wireless terminal in smart home (smart home), cellular phone, cordless phone, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, computing device or other processing device connected to wireless modem, vehicle device, wearable device, terminal device in 5G network or terminal device in future evolution, public mode of the application is not adopted for specific embodiments of the present application, and the present application.
By way of example, and not limitation, in embodiments of the present application, the terminal device may also be a wearable device. The wearable device can also be called as a wearable intelligent device, and is a generic name for intelligently designing daily wear by applying wearable technology and developing wearable devices, such as glasses, gloves, watches, clothes, shoes and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. The generalized wearable intelligent device includes full functionality, large size, and may not rely on the smart phone to implement complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart jewelry, etc. for physical sign monitoring.
It should be understood that in the embodiment of the present application, the terminal device may be a device for implementing a function of the terminal device, or may be a device capable of supporting the terminal device to implement the function, for example, a chip system, and the device may be installed in the terminal. In the embodiment of the application, the chip system can be composed of chips, and can also comprise chips and other discrete devices.
In the following embodiment, a mobile phone is taken as an example of a terminal device, and an internal interaction flow chart of the mobile phone and the vehicle-to-vehicle interconnection is described in conjunction with fig. 3.
Fig. 3 is a schematic flow chart of a method for connecting a vehicle machine according to an embodiment of the present application. As shown in fig. 3, the system for implementing the method for connecting the vehicle device includes a mobile phone and a vehicle device, and the mobile phone may have the structure shown in fig. 1 and fig. 2, but the embodiment of the application is not limited thereto. The mobile phone and the car machine can comprise various functional modules for realizing the method for connecting the car machine, such as a Bluetooth module, a Wi-Fi P2P module, a car machine interconnection protocol and the like.
For convenience of description, the vehicle-to-machine interconnection protocol of the mobile phone is referred to as a first vehicle-to-machine interconnection protocol, the Wi-Fi P2P module of the mobile phone is referred to as a first Wi-Fi P2P module, the bluetooth module of the mobile phone is referred to as a first bluetooth module, and the mobile phone further comprises a Wi-Fi hotspot module and travel service. The Bluetooth module of the vehicle is called a second Bluetooth module, the vehicle-to-vehicle interconnection protocol of the vehicle is called a second vehicle-to-vehicle interconnection protocol, the Wi-Fi P2P module of the vehicle is called a second Wi-Fi P2P module, and the vehicle further comprises a Wi-Fi STA module.
The method for connecting the vehicle machine provided by the embodiment of the application can be divided into three stages, wherein the first stage is Bluetooth connection, the second stage is Wi-Fi P2P connection and the third stage is Wi-Fi hot spot connection. The stages are described separately below in connection with fig. 3.
First stage, bluetooth connection.
When the travel service of the mobile phone monitors some user behaviors, the travel service can send a Bluetooth search instruction to the first Bluetooth module to instruct the first Bluetooth module to find nearby Bluetooth equipment, and identify a target vehicle-mounted Bluetooth which is expected to be connected by a user of a driver from at least one nearby Bluetooth equipment. The user behavior may include an operation of enabling the vehicle-to-machine interconnection by a user in an interface of the travel service, or an operation of connecting the vehicle-to-machine by a user voice instruction. The specific monitored user behavior can be set by the trip service in a self-defined manner, and the embodiment of the application is not limited to the specific monitored user behavior.
In order to accurately identify the target bluetooth of the user, the mobile phone needs to solve the following two problems:
problem one: how to judge that the searched Bluetooth device is a vehicle Bluetooth device, not a Bluetooth device such as a Bluetooth earphone, a Bluetooth watch and the like.
And a second problem: how to judge that the searched vehicle-mounted Bluetooth is the vehicle-mounted Bluetooth of the vehicle where the user is currently located.
Aiming at the problems, the existing scheme does not recognize the vehicle-mounted Bluetooth, the vehicle-mounted equipment can be recognized as audio equipment, and then a user selects the target vehicle-mounted Bluetooth from at least one vehicle-mounted equipment recognized as the audio equipment.
As an optional embodiment, the mobile phone responds to the operation of connecting the mobile phone to the mobile phone by a user, and starts a bluetooth search to obtain a plurality of bluetooth devices; determining at least one vehicle-mounted Bluetooth from the plurality of Bluetooth devices according to the primary device type and/or the secondary device type of each Bluetooth device in the plurality of Bluetooth devices; in the case that the at least one vehicle-mounted Bluetooth is a plurality of vehicle-mounted Bluetooth, the target vehicle-mounted Bluetooth is determined from the at least one vehicle-mounted Bluetooth according to the signal intensity and/or the direction angle of each vehicle-mounted Bluetooth.
In the embodiment of the application, the travel service of the mobile phone searches at least one bluetooth device with visible periphery through the first bluetooth module, obtains bluetooth information of each bluetooth device in the at least one bluetooth device, wherein the bluetooth information can include information such as a bluetooth name, an MAC address, a device attribute and the like, and the device attribute can indicate a main device type of the bluetooth device, for example, the main device type is an audio device.
In some cases, no other bluetooth device is searched for outside and inside the vehicle in which the user is located, except for the own vehicle's onboard bluetooth. In this case, the number of the at least one bluetooth device is one, and the travel service determines that the bluetooth device is the target vehicle bluetooth after determining that the bluetooth device is the audio class device according to the main device type.
In the case where the at least one bluetooth device is plural, for each bluetooth device of the plurality of bluetooth devices, the travel service first determines whether each bluetooth device is an audio class device according to the primary device type. For the Bluetooth device determined to be the Bluetooth audio device, the travel service acquires the secondary device type of the Bluetooth audio device through the existing framework interface of the first Bluetooth module, and further determines whether each Bluetooth audio device is a vehicle-mounted audio device (or can be called vehicle Bluetooth) according to the secondary device type, so that at least one vehicle-mounted audio device is determined.
In addition, the travel service can directly acquire the secondary device type of each Bluetooth device, and determine at least one vehicle-mounted audio device from the plurality of Bluetooth devices based on the secondary device type.
Through the steps, the travel service can exclude the Bluetooth earphone and the Bluetooth watch of all passengers in the vehicle. In one possible implementation, after determining the at least one car audio class device, in order to distinguish the car audio class device from other non-car audio class devices, the travel service may increase the weight of each car audio class device in the at least one car audio class device by a first value, for example, the first value is 40%. In this way, the weight of the in-vehicle audio class device is higher than that of the other non-in-vehicle audio class devices, and the in-vehicle audio class device with the higher weight can be displayed in the queue of available in-vehicle bluetooth (also may be referred to as in-vehicle bluetooth list) as shown in fig. 4, while the other non-in-vehicle audio class devices are displayed in the queue of the other devices as shown in fig. 4.
Fig. 4 is an interface schematic diagram of a vehicle audio device according to an embodiment of the present application. As shown in fig. 4, the finally screened car audio devices are in the available car bluetooth queues of the mobile phone, for example, the car audio device a, the car audio device B and the car audio device C in fig. 4, and the ranks of the car audio devices in the available car bluetooth queues indicate the corresponding connection priorities, where the connection priority of the car audio device a is the highest, the connection priority of the car audio device B is the next highest, and the connection priority of the car audio device C is the next lowest. While other bluetooth devices are in the queue of other devices, such as audio class device D in fig. 4, which may be a bluetooth headset or a bluetooth watch, etc.
After determining the at least one car audio class device, the trip service determines that the car audio class device is the target car Bluetooth, if possible, the number of the at least one car audio class device is one. In another possible case, the number of the at least one car audio class device is a plurality, and the travel service determines the target car Bluetooth from the plurality of car audio class devices according to the signal intensity and/or the direction angle of each car audio class device.
It is assumed below that the car audio class device C in fig. 4 is the target car bluetooth to which the user desires to connect, and the car audio class device a is the car bluetooth located on the left of the vehicle that the user is driving, and the car audio class device B is the car bluetooth located on the right of the vehicle that the user is driving. At this time, the connection priority of the car audio class device C is not yet highest. Further, the travel service of the mobile phone adjusts the connection priority of each vehicle-mounted audio equipment in the queue of available vehicle-mounted Bluetooth through the signal intensity.
And the travel service of the mobile phone obtains the signal intensity and the stability time of the vehicle-mounted audio equipment through the existing frame interface of the first Bluetooth module according to the searched Bluetooth name of the vehicle-mounted audio equipment. For example, the trip service may screen out the first 5 car audio devices according to the principle that the signal fluctuation is not more than 50% and lasts for 3 seconds within the range of 1 meter, increase the weight of the car audio device with the strongest bluetooth signal by the second numerical value, and sequentially decrease the weight increment of the car audio device with the inferior signal strength by the third numerical value.
In one example, the second value is 40%, the third value is 8%, that is, the travel service increases the weight of the car audio device with the strongest signal by 40%, increases the weight of the car audio device with the second signal intensity by 32%, increases the weight of the car audio device with the third signal intensity by 24%, and so on, to increase the corresponding weight for the car audio device with the signal intensity of 5.
Through the steps, the travel service can exclude vehicle-mounted audio equipment far away, and increase the weight of the vehicle-mounted audio equipment (high and stable in signal strength) nearest to the driver, so that the ordering of the vehicle-mounted audio equipment in the queue of available vehicle-mounted Bluetooth is improved.
Fig. 5 is a schematic diagram of another interface for displaying a vehicle audio device according to an embodiment of the present application. As shown in fig. 5, the ranking of the car audio class device C to which the user desires to connect is raised in the queue of available car bluetooth, while the ranking of the car audio class device B located on the right of the vehicle that the user drives is lowered.
In practice, the signal strength of the target bluetooth in the vehicle may not be the strongest, resulting in a situation where the target bluetooth in the vehicle is not ranked first in the queue of available bluetooth in the vehicle, because of the irregular/too strong power of the bluetooth in the vehicle of the other vehicle. For this situation, the travel service of the mobile phone can further utilize the direction angle of the bluetooth dual antenna for further processing.
The travel service of the mobile phone inquires of Bluetooth equipment in a preset angle range in front of the right of the driving position by utilizing the double antenna of the first Bluetooth module and the capability of measuring the direction of the departure angle (angle of departure, AOD) or the arrival angle (AOA) of the Bluetooth protocol.
Under the condition that the number of the vehicle-mounted Bluetooth in the preset angle range is one, the travel service determines that the vehicle-mounted Bluetooth is a target vehicle-mounted Bluetooth; and under the condition that the number of the vehicle-mounted Bluetooth in the preset angle range is a plurality of vehicle-mounted Bluetooth, the travel service determines that the vehicle-mounted Bluetooth with the strongest signal is the target vehicle-mounted Bluetooth.
Through the steps, the travel service determines the vehicle-mounted Bluetooth in a preset angle range right in front of the user by combining the signal intensity and the direction angle of each vehicle-mounted audio equipment, and adds a fourth value to the weight of the vehicle-mounted Bluetooth in the preset angle range, wherein the preset angle range is 0-70 degrees, and the fourth value is 20%. In this way, the vehicle-mounted audio equipment with the highest weight can be determined to be the target vehicle-mounted Bluetooth and displayed at the first position of the queue of available vehicle-mounted Bluetooth, so that the vehicle-mounted audio equipment near the vehicle driven by the user is eliminated.
Fig. 6 is a schematic diagram of an interface for displaying a vehicle audio device according to an embodiment of the present application. As shown in fig. 6, the car audio class device C is the target car bluetooth of the user, and is already arranged at the head of the queue of available car bluetooth.
The above-described case where the power of the on-board bluetooth of the other vehicle is not normalized/too strong results in the signal strength of the target on-board bluetooth not being strongest is a small probability event. Considering the general situation, in another implementation manner, the travel service may further determine a vehicle-mounted audio device with the strongest signal in the at least one vehicle-mounted audio device as the target vehicle-mounted bluetooth.
In still another implementation manner, the travel service may further determine a vehicle-mounted audio device with a direction angle within a preset angle range in the at least one vehicle-mounted audio device as the target vehicle-mounted bluetooth.
When the target vehicle-mounted Bluetooth is determined, and after the target vehicle-mounted Bluetooth is displayed at the first position of the queue of available vehicle-mounted Bluetooth, the travel service of the mobile phone reminds the user whether to connect to the vehicle-mounted Bluetooth displayed at the first position of the available vehicle-mounted Bluetooth through the voice assistant of the mobile phone. Illustratively, the voice assistant prompts the user "please confirm if the car of XXX is connected", which the user can confirm manually or by voice. After the user confirms, the travel service sends a connection instruction to the first Bluetooth module, and the connection instruction carries the MAC address of the target vehicle Bluetooth.
After receiving the connection instruction, the first Bluetooth module is connected with the target vehicle-mounted Bluetooth based on the MAC address of the target vehicle-mounted Bluetooth, and in the embodiment of the application, the first Bluetooth module is the second Bluetooth module connected with the vehicle. After confirming the connection, the second Bluetooth module sends a message of successful connection to the second vehicle interconnection protocol, and returns a message of successful connection to the first Bluetooth module, so that a physical communication channel of a bottom layer is established between the mobile phone and the vehicle. After receiving the message of successful connection, the first Bluetooth module informs the travel service of successful connection, and the travel service sends an instruction for starting private data channel connection to the first vehicle-mounted interconnection protocol, and carries Bluetooth information of a mobile phone and Bluetooth information of a vehicle-mounted device, wherein the Bluetooth information comprises a Bluetooth name and an MAC address.
After the bluetooth information of the mobile phone and the bluetooth information of the vehicle are acquired, the first vehicle interconnection protocol and the second vehicle interconnection protocol can establish a private service communication channel based on bluetooth serial port protocol (serial port profile, SPP) service according to the bluetooth protocol specification, and data transmission in a private format is performed.
After the Bluetooth connection is completed, the mobile phone travel service is used as a policy center, wi-Fi P2P connection can be tried first, and Wi-Fi hot spot connection is tried again under the condition that the Wi-Fi P2P connection fails.
Optionally, after the bluetooth connection is completed, the travel service may query an input-output (IO) capability of the connected target vehicle bluetooth through the first bluetooth module, check whether the target vehicle bluetooth has a screen display and input capability, and if not, may apply a subsequent screen-throwing service and a reverse control service of the mobile phone, and the mobile phone may prompt the user that the target vehicle does not have the screen display and input capability at bluetooth.
In one possible implementation, the trip service module reads a device type (COD) field of the target bluetooth on board through an interface of the first bluetooth module, obtains a corresponding mask (mask) position, and determines whether the device type (COD) field has both an input capability (keyboard) and a screen display (number output) capability.
Second phase, wi-Fi P2P connection.
The travel service of the mobile phone sends an instruction for starting the Wi-Fi P2P connection mode to the first vehicle interconnection protocol. The first vehicle interconnection protocol waits for and receives Wi-Fi P2P connection information (namely GO information of the vehicle) sent by the second vehicle interconnection protocol through the private service communication channel established in the first stage, wherein the GO information comprises the name, the MAC address and the password of Wi-Fi P2P of the vehicle. After the first vehicle interconnection protocol receives the GO information sent by the second vehicle interconnection protocol, the travel service vehicle is informed of supporting the Wi-Fi P2P connection mode, and the travel service considers that the Wi-Fi P2P capability detection of the vehicle is successful.
If the vehicle does not support Wi-Fi P2P connection due to the chip specification of Wi-Fi, the antenna cost and the like, the first vehicle interconnection protocol does not receive GO information sent by the second vehicle interconnection protocol.
In a possible case, the second vehicle interconnection protocol sends a message that the vehicle does not support Wi-Fi P2P connection to the first vehicle interconnection protocol, and after receiving the message that the vehicle does not support Wi-Fi P2P connection, the first vehicle interconnection protocol notifies a travel service vehicle of the mobile phone that the vehicle does not support Wi-Fi P2P connection, and then the travel service determines that the vehicle does not support Wi-Fi P2P connection mode, and enters a third stage.
In another possible case, if the travel service does not receive the message indicating whether the vehicle machine supports Wi-Fi P2P connection for the first preset duration, the travel service considers that the vehicle machine does not support Wi-Fi P2P connection mode, and enters the third stage. The first preset duration is illustratively 5 seconds, but embodiments of the present application are not limited thereto.
Under the condition that the vehicle supports a Wi-Fi P2P connection mode, the first vehicle interconnection protocol sends a Wi-Fi P2P connection instruction to the first Wi-Fi P2P module, carries GO information, and informs the first Wi-Fi P2P module to be used as a role of GC to access the second Wi-Fi P2P module. After the first Wi-Fi P2P module receives the Wi-Fi P2P connection instruction, wi-Fi P2P connection is established with the second Wi-Fi P2P module based on the GO information.
After receiving the Wi-Fi P2P connection instruction, the second Wi-Fi P2P module may establish a connection with the first Wi-Fi P2P module successfully, or may also establish a connection failure. The second Wi-Fi P2P module sends Wi-Fi P2P connection results to the first Wi-Fi P2P module according to whether connection establishment is successful or not, and the Wi-Fi P2P connection results comprise connection success and connection failure. And after receiving the Wi-Fi P2P connection result, the first Wi-Fi P2P module returns the Wi-Fi P2P connection result to the first vehicle interconnection protocol.
Under the condition that the Wi-Fi P2P of the first Wi-Fi P2P module and the Wi-Fi P2P of the second Wi-Fi P2P module are successfully connected, the Wi-Fi P2P module is used for successfully establishing a data channel between a first vehicle interconnection protocol and a second vehicle interconnection protocol, and can be used for subsequently transmitting service data such as screen throwing data and audio data.
Under the condition that the Wi-Fi P2P connection of the first Wi-Fi P2P module and the second Wi-Fi P2P module fails, the travel service starts a Wi-Fi hot spot automatic connection strategy and enters a third stage.
And in the third stage, wi-Fi hot spot connection.
After the travel service of the mobile phone determines that the mobile phone does not support the Wi-Fi P2P connection mode, the travel service sends an instruction for starting the Wi-Fi hot spot to the Wi-Fi hot spot module of the mobile phone. After receiving the instruction for starting the Wi-Fi hot spot, the Wi-Fi hot spot module starts the Wi-Fi hot spot, and returns a successful message for starting the Wi-Fi hot spot to the travel service, wherein the message carries the hot spot name and the password. The mobile phone travel service displays the name and the password of the hot spot to the user in a user interface and prompts the user to connect the hot spot from a Wi-Fi module of the car machine. Compared with the prior art that the user is required to find the connection mode in the multi-layer directory of the mobile phone, the mobile phone can automatically start Wi-Fi hotspots and prompt the user, and the user is not required to find the hotspot names and passwords, so that the mode is more convenient and easy to operate, and the time for finding by the user is reduced.
In a Wi-Fi hot spot connection mode, a Wi-Fi hot spot module of a mobile phone is used as an AP, a Wi-Fi module of a vehicle is used as an STA, and the Wi-Fi module of the vehicle as the STA is called a Wi-Fi STA module in the embodiment of the application.
Based on the prompt of the mobile phone, a user can be connected with a Wi-Fi hot spot module of the mobile phone through a Wi-Fi STA module of the vehicle. And the Wi-Fi hot spot module returns a Wi-Fi hot spot connection result to the first vehicle interconnection protocol, wherein the connection result comprises connection success or connection failure. The Wi-Fi hotspot module sends Wi-Fi hotspot connection results to the travel service.
And under the condition that the Wi-Fi hot spot connection result is that the connection is successful, if the travel service receives a message of successful Wi-Fi hot spot connection within a second preset time period, determining that the Wi-Fi hot spot connection is successful. If the travel service does not receive the message of successful connection within the second preset time period or the travel service receives the message of failure connection, the travel service determines that Wi-Fi hot spot connection fails.
And under the condition that the Wi-Fi hot spot connection is successful, sending an instruction for starting the service layer service to the first vehicle interconnection protocol, and starting the service layer service by the first vehicle interconnection protocol based on the instruction. After confirming the connection, the Wi-Fi STA module sends a message of successful Wi-Fi hot spot connection to the second vehicle interconnection protocol. The second handset interconnection protocol also initiates business layer services after receiving the Wi-Fi hotspot connection success message.
Therefore, after the Wi-Fi hotspot module is successfully connected with the Wi-Fi hotspot of the Wi-Fi STA module, the Wi-Fi hotspot module is successfully established for a data channel between the first vehicle interconnection protocol and the second vehicle interconnection protocol, and can be used for subsequently transmitting service data such as screen throwing data, audio data and the like.
Under the condition that the Wi-Fi hot spot connection is determined to be failed, the travel service prompts the user to skip to a guiding interface of the wired connection without supporting the wireless connection.
In the embodiment of the application, the mobile phone can finish the accurate vehicle Bluetooth identification frame and algorithm through the cooperation of hardware, a system, middleware, application and a vehicle-to-machine interconnection protocol, and manufacturers of vehicle-to-machine interconnection application and automobile manufacturers do not need to make great changes and adaptations, thereby being convenient for maintenance and upgrading.
Aiming at two wireless connection modes supporting a certain type of vehicle-machine interconnection protocol, the mobile phone can dynamically traverse two different wireless connection modes, a Wi-Fi P2P connection mode which is more automatic and saves power consumption is preferentially selected, and a Wi-Fi hot spot connection mode is selected under the condition that the connection mode fails.
In addition, the same mobile phone has consistent operation steps for the car machines supporting different types of wireless connection modes and the car machines not supporting the wireless connection modes and only supporting wired connection, thereby being beneficial to keeping the consistency of the operation habits of users.
In the third stage described above, the user needs to connect the Wi-Fi hotspot of the mobile phone from the Wi-Fi module of the vehicle manually at the vehicle side. In order to realize the complete automatic connection of the mobile phone, if the vehicle terminal can open the authority of Wi-Fi STA module connection, the vehicle terminal can automatically connect with the Wi-Fi hot spot of the mobile phone without manual connection of a user.
Under the condition that the vehicle side opens the authority of Wi-Fi STA module connection, the mobile phone can also concurrently attempt Wi-Fi hot spot connection and Wi-Fi P2P connection, and the method is particularly shown in fig. 7.
Fig. 7 is a schematic flow chart of another method for connecting a vehicle machine according to an embodiment of the present application. The mobile phone comprises a first vehicle interconnection protocol, a first Wi-Fi P2P module, a first Bluetooth module, a Wi-Fi hot spot module and travel service. The vehicle machine comprises a second Bluetooth module, a second vehicle machine interconnection protocol, a second Wi-Fi P2P module and a Wi-Fi STA module.
The method for connecting the vehicle machine provided by the embodiment of the application can be divided into two stages, wherein the first stage is Bluetooth connection, and the second stage is parallel connection of Wi-Fi P2P connection and Wi-Fi hot spot connection. The stages are described separately below in connection with fig. 4.
The first stage is similar to the first stage described in fig. 6, and will not be described here.
And in the second stage, the Wi-Fi P2P connection and the Wi-Fi hot spot connection are detected in parallel.
In the parallel connection phase, the Wi-Fi P2P connection procedure is similar to the second phase described in fig. 6, and will not be repeated here. In the Wi-Fi hotspot connection process, the travel service sends a Wi-Fi hotspot starting instruction to a Wi-Fi hotspot module of the mobile phone. After receiving the instruction for starting the Wi-Fi hot spot, the Wi-Fi hot spot module starts the Wi-Fi hot spot, and returns a successful message for starting the Wi-Fi hot spot to the travel service, wherein the message carries the hot spot name and the password. And the trip service sends a hot spot access message to the first vehicle interconnection protocol based on the message, wherein the hot spot access message carries a hot spot name and a password. After the first vehicle interconnection protocol receives the hot spot access message, the first vehicle interconnection protocol transmits the hot spot access message through a private service communication channel established by the first vehicle interconnection protocol and the second vehicle interconnection protocol in the first stage, and the hot spot access message carries a hot spot name and a password. After receiving the hotspot access message, the second vehicle interconnection protocol sends an instruction for connecting the Wi-Fi hotspot to the Wi-Fi STA module, wherein the instruction carries a hotspot name and a password. The Wi-Fi STA module can initiate Wi-Fi hotspot connection after receiving the instruction for connecting the Wi-Fi hotspot, and is connected with the Wi-Fi hotspot module of the mobile phone.
The travel service of the mobile phone can detect Wi-Fi P2P connection and Wi-Fi hot spot connection in parallel, and if only one of the Wi-Fi P2P connection and the Wi-Fi hot spot connection is successful, the travel service selects a successful connection mode. Or the trip service determines which connection is successful, namely which connection mode is selected, and further indicates that the module which is not connected successfully stops connecting.
In the embodiment of the application, the wireless connection mode of the mobile phone is more automatic, and a user does not need to manually connect with a Wi-Fi hot spot of the mobile phone under the condition that the vehicle opens Wi-Fi STA connection authority, so that the user operation is simplified.
If the Wi-Fi P2P connection and the Wi-Fi hotspot connection in fig. 6 or fig. 7 are failed, after receiving the connection failure message sent by the Wi-Fi hotspot module, the travel service prompts the vehicle to not support wireless connection at the user interface of the mobile phone, tries to intelligently guide the user to try other connection modes such as USB connection, and jumps to the guiding interface of wired connection. Therefore, the user can find the guiding interface of the wired connection without searching the multi-layer catalogue, and the operation of the user is reduced. And the mobile phone can guide the user to perform wired connection, so that the learning cost of the user for learning the wired connection is reduced, and the usability and the success of interconnection of the mobile phone and the vehicle are improved.
Fig. 8 is a schematic diagram of an interface of a wired connection according to an embodiment of the present application.
In one possible implementation, referring to the interface a in fig. 8, after the mobile phone guides the user to open the vehicle interconnection application at the vehicle end in the user interface, the mobile phone is connected by using the USB data line to complete the connection. But connection compatibility problems may occur during a wired connection resulting in connection failure, the user may be prompted in the a interface to attempt to use the enhanced connection mode in the event of a connection failure. When the user selects the button of "enhanced connection mode", the process jumps to the C interface as in fig. 8.
In another possible implementation, in case of a failure of the wired connection, the mobile phone automatically pops up the B interface as in fig. 8, prompting the user to use the enhanced connection mode. When the user selects the "go" button, jump to the C interface as in fig. 8. Besides popup window prompt, the mobile phone can also prompt the user to start the enhanced connection mode by voice under the condition of the failure of the wired connection, and after receiving the confirmation message replied by the user, the mobile phone can jump to the C interface in fig. 8. The embodiment of the application does not limit the mode of prompting the user.
After the handset displays the C interface in fig. 8, the user may click on the "open enhanced connection" button to initiate the enhanced connection.
In the embodiment of the application, when the wireless connection mode fails, the mobile phone can automatically conduct a guiding interface of wired connection, and further can conduct targeted guiding on the enhanced connection mode.
In summary, fig. 9 is a schematic flowchart of still another method 900 for connecting a vehicle machine according to an embodiment of the present application, where steps of the method 900 may be performed by a terminal device, and the terminal device may have a structure as shown in fig. 1 and/or fig. 2, but the embodiment of the present application is not limited thereto. The method 900 includes the following steps S901 to S904, which are as follows:
s901, in response to the operation of connecting the vehicle machine by the user, bluetooth connection is established with a target vehicle Bluetooth, wherein the target vehicle Bluetooth is the vehicle Bluetooth of the vehicle machine which the user desires to connect.
The operation of connecting the vehicle and the machine by the user can comprise the operation of starting the interconnection of the vehicle and the machine in an interface of the travel service by the user or the operation of connecting the vehicle and the machine by the voice indication of the user.
S902, starting Wi-Fi P2P connection under the condition that Bluetooth connection is successfully established.
The specific process of starting the Wi-Fi P2P connection may refer to the description of the second stage in fig. 3, and will not be repeated here.
S903, starting Wi-Fi hot spot connection under the condition that Wi-Fi P2P connection fails.
The specific process of starting the Wi-Fi hotspot connection may refer to the description of the third stage in fig. 3, which is not repeated here.
S904, prompting the user to perform wired connection under the condition that the Wi-Fi hot spot fails.
The process of specifically prompting the user to make a wired connection may refer to the description of fig. 8 above, and will not be repeated here.
In the embodiment of the application, the terminal equipment can determine Wi-Fi P2P connection which is tried by priority by the terminal equipment in the process of connecting the vehicle machine, a user does not need to select a wireless connection mode, and the successful Wi-Fi P2P connection can save the power consumption of the terminal equipment. And automatically attempting Wi-Fi hot spot connection under the condition that Wi-Fi P2P connection fails, and prompting a user to need an additional connecting wire wired connection mode under the condition that Wi-Fi hot spot connection fails.
Based on the technical scheme of the embodiment of the application, the process of connecting the terminal equipment and the vehicle machine only needs a small amount of participation of users, so that the time for searching the multi-layer catalogue for connection guidance by the users is saved, the users do not need to learn excessive connection professional knowledge, and the learning cost of the users is reduced.
It should be understood that the sequence numbers of the above processes do not mean the order of execution, and the execution order of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation process of the embodiments of the present application.
The method for connecting the vehicle machine provided by the embodiment of the application can be applied to the terminal equipment with the communication function. The specific device configuration of the terminal device may refer to the above related description, and will not be described herein.
The embodiment of the application provides a terminal device, which comprises: comprising the following steps: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to cause the terminal device to perform the method described above.
The embodiment of the application provides a chip. The chip comprises a processor for invoking a computer program in a memory to perform the technical solutions in the above embodiments. The principle and technical effects of the present application are similar to those of the above-described related embodiments, and will not be described in detail herein.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium stores a computer program. The computer program realizes the above method when being executed by a processor. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
In one possible implementation, the computer readable medium may include random access memory (random access memory, RAM), read-only memory (ROM), compact disk (compact disc read-only memory, CD-ROM) or other optical disk memory, magnetic disk memory or other magnetic storage device, or any other medium targeted for carrying or storing the desired program code in the form of instructions or data structures, and accessible by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (digital subscriber line, DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes optical disc, laser disc, optical disc, digital versatile disc (digital versatile disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Embodiments of the present application provide a computer program product comprising a computer program which, when executed, causes a computer to perform the above-described method.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing detailed description of the application has been presented for purposes of illustration and description, and it should be understood that the foregoing is by way of illustration and description only, and is not intended to limit the scope of the application.

Claims (16)

1. A method for connecting a vehicle to a terminal device, the method comprising:
responding to the operation of connecting a vehicle machine by a user, and establishing Bluetooth connection with a target vehicle-mounted Bluetooth, wherein the target vehicle-mounted Bluetooth is the vehicle-mounted Bluetooth of the vehicle machine;
under the condition that the Bluetooth connection is successfully established, starting wireless fidelity direct connection Wi-Fi P2P connection;
under the condition that the Wi-FiP2P connection fails, starting wireless fidelity Wi-Fi hot spot connection;
and prompting the user to perform wired connection under the condition that the Wi-Fi hot spot connection fails.
2. The method of claim 1, wherein prior to said establishing a bluetooth connection with a target bluetooth onboard the vehicle, the method further comprises:
responding to the operation of connecting a vehicle machine by a user, starting Bluetooth searching to obtain a plurality of Bluetooth devices;
determining at least one vehicle-mounted Bluetooth from the plurality of Bluetooth devices according to the primary device type and/or the secondary device type of each Bluetooth device in the plurality of Bluetooth devices;
and in the case that the at least one vehicle-mounted Bluetooth is a plurality of vehicle-mounted Bluetooth, determining the target vehicle-mounted Bluetooth from the at least one vehicle-mounted Bluetooth according to the signal intensity and/or the direction angle of each vehicle-mounted Bluetooth.
3. The method of claim 2, wherein the target bluetooth is a bluetooth with a strongest signal strength among bluetooth with a direction angle within a preset angle range.
4. A method according to claim 2 or 3, wherein after determining the target bluetooth in-vehicle from the at least one bluetooth in-vehicle, the method further comprises:
and displaying a vehicle-mounted Bluetooth list on a user interface, wherein the vehicle-mounted Bluetooth list displays at least one vehicle-mounted Bluetooth, and the target vehicle-mounted Bluetooth is positioned at the head of the vehicle-mounted Bluetooth list.
5. The method according to any one of claims 1 to 4, wherein after the initiating of the Wi-Fi P2P connection, the method further comprises:
determining whether the Wi-FiP2P connection is successful.
6. The method of claim 5, wherein the determining whether the Wi-Fi P2P connection was successful comprises:
if Wi-Fi P2P connection information from the vehicle is not received within a first preset time period, determining that the Wi-Fi P2P connection fails, wherein the Wi-Fi P2P connection information comprises a Wi-Fi P2P name, a Media Access Control (MAC) address and a password of the vehicle; or alternatively, the first and second heat exchangers may be,
If a message of connection failure from the vehicle machine is received, determining that the Wi-Fi P2P connection fails; or alternatively, the first and second heat exchangers may be,
and if a message of successful connection from the vehicle-mounted device is received, determining that the Wi-Fi P2P connection is successful.
7. The method according to any one of claims 1 to 6, wherein after the initiating a Wi-Fi hotspot connection, the method further comprises:
starting Wi-Fi hotspots of the terminal equipment;
acquiring a hotspot name and a password of the Wi-Fi hotspot;
and displaying the hotspot name and the password of the Wi-Fi hotspot on a user interface.
8. The method of claim 7, wherein after the displaying the hotspot name and password of the Wi-Fi hotspot in a user interface, the method further comprises:
prompting a user to connect the Wi-Fi hot spot on the vehicle;
and responding to the operation of connecting the Wi-Fi hot spot on the vehicle, and connecting the Wi-Fi hot spot with the vehicle.
9. The method of claim 8, wherein after the Wi-Fi hotspot connection with the vehicle, the method comprises:
determining whether the Wi-Fi hotspot connection is successful.
10. The method of claim 9, wherein the determining whether the Wi-Fi hotspot connection was successful comprises:
If a message of connection failure from the vehicle machine is received, determining that the Wi-Fi hot spot connection fails; or alternatively, the first and second heat exchangers may be,
and if a message of successful connection from the vehicle machine is received within a second preset time period, determining that the Wi-Fi hot spot connection is successful.
11. The method according to any one of claims 1 to 10, further comprising:
and prompting a user to start an enhanced connection mode under the condition that the wired connection fails.
12. The method of claim 11, wherein prompting the user to turn on the enhanced connection mode comprises:
and displaying a popup window, wherein the popup window is used for prompting a user to open the enhanced connection mode.
13. The method of any one of claims 1 to 10, wherein the prompting the user to make a wired connection comprises:
displaying a guiding interface of the wired connection to prompt a user to make the wired connection, wherein the guiding interface comprises an inlet for opening an enhanced connection mode.
14. A terminal device, comprising: a processor and a memory, wherein,
the memory is used for storing a computer program;
the processor is configured to invoke and execute the computer program to cause the terminal device to perform the method of any of claims 1 to 13.
15. A computer readable storage medium for storing a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 13.
16. A computer program product comprising a computer program which, when run, causes a computer to perform the method of any one of claims 1 to 13.
CN202211325102.1A 2022-10-27 2022-10-27 Method for connecting car machine and terminal equipment Active CN116709584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211325102.1A CN116709584B (en) 2022-10-27 2022-10-27 Method for connecting car machine and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211325102.1A CN116709584B (en) 2022-10-27 2022-10-27 Method for connecting car machine and terminal equipment

Publications (2)

Publication Number Publication Date
CN116709584A true CN116709584A (en) 2023-09-05
CN116709584B CN116709584B (en) 2024-05-17

Family

ID=87834519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211325102.1A Active CN116709584B (en) 2022-10-27 2022-10-27 Method for connecting car machine and terminal equipment

Country Status (1)

Country Link
CN (1) CN116709584B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818669A (en) * 2020-06-04 2020-10-23 青岛海信移动通信技术股份有限公司 Mobile terminal and data transmission method thereof
CN113316130A (en) * 2021-05-20 2021-08-27 Tcl通讯(宁波)有限公司 WiFi address transmission method and device, mobile terminal and storage medium
CN114071792A (en) * 2021-12-21 2022-02-18 广州小鹏汽车科技有限公司 Control method based on vehicle cabin, vehicle and storage medium
WO2022042637A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Bluetooth-based data transmission method and related apparatus
CN114554619A (en) * 2020-11-24 2022-05-27 博泰车联网(南京)有限公司 Method and system for establishing point-to-point connection, storage medium and electronic equipment
US20220301343A1 (en) * 2021-06-11 2022-09-22 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Method and apparatus for connecting through on-vehicle bluetooth, and storage medium
CN115225627A (en) * 2021-04-21 2022-10-21 博泰车联网科技(上海)股份有限公司 File transmission method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818669A (en) * 2020-06-04 2020-10-23 青岛海信移动通信技术股份有限公司 Mobile terminal and data transmission method thereof
WO2022042637A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Bluetooth-based data transmission method and related apparatus
CN114554619A (en) * 2020-11-24 2022-05-27 博泰车联网(南京)有限公司 Method and system for establishing point-to-point connection, storage medium and electronic equipment
CN115225627A (en) * 2021-04-21 2022-10-21 博泰车联网科技(上海)股份有限公司 File transmission method and device, computer equipment and storage medium
CN113316130A (en) * 2021-05-20 2021-08-27 Tcl通讯(宁波)有限公司 WiFi address transmission method and device, mobile terminal and storage medium
US20220301343A1 (en) * 2021-06-11 2022-09-22 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Method and apparatus for connecting through on-vehicle bluetooth, and storage medium
CN114071792A (en) * 2021-12-21 2022-02-18 广州小鹏汽车科技有限公司 Control method based on vehicle cabin, vehicle and storage medium

Also Published As

Publication number Publication date
CN116709584B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
JP7381021B2 (en) Device control page display method, related equipment, and system
CN110602686B (en) Method for using remote SIM module and electronic equipment
EP4084486A1 (en) Cross-device content projection method, and electronic device
CN114079893B (en) Bluetooth communication method, terminal device and computer readable storage medium
US11949805B2 (en) Call method and apparatus
CN117014859A (en) Address book-based device discovery method, audio and video communication method and electronic device
EP4243556A1 (en) Method for monitoring link and terminal device
CN112130788A (en) Content sharing method and device
CN116114239B (en) Volume management method and electronic equipment
CN116233300A (en) Method for controlling communication service state, terminal device and readable storage medium
WO2023072139A1 (en) Audio playing method, and electronic device and system
WO2023071940A1 (en) Cross-device method and apparatus for synchronizing navigation task, and device and storage medium
CN116709584B (en) Method for connecting car machine and terminal equipment
CN114338922B (en) Video playing method and video playing device
CN117425227A (en) Method and device for establishing session based on WiFi direct connection
CN116663587A (en) Two-dimensional code identification method and identification device
CN116077943B (en) Method for scheduling system resources and related device
CN116709295B (en) Data acquisition method and terminal equipment
CN114900583B (en) Method and device for controlling video color vibration playing
CN115087134B (en) Bluetooth connection method and electronic equipment
CN114466339B (en) Bluetooth pairing method, system, storage medium and chip
WO2023104075A1 (en) Navigation information sharing method, electronic device, and system
EP4366235A1 (en) Cross-device authentication method and apparatus
CN117956061A (en) Data transmission method and terminal equipment
CN116709225A (en) Communication method, electronic equipment, network equipment and system

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