Bluetooth call control method, device, system, equipment, medium and program product
The method converts call data into a unified format using a preset Bluetooth protocol to address compatibility issues, ensuring complete and timely recognition of call information in car-mounted systems.
Patent Information
- Application Number
- CN202510522078.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2025-07-15
AI Technical Summary
Car Bluetooth systems are difficult to compatible with different call types, especially traditional phones and Internet phones, which leads to the inability to identify the source of Internet phones, affecting the user experience and posing security risks.
On the mobile device, different types of telephone data are converted into data packets with a unified format according to the preset Bluetooth protocol, and transmitted to the vehicle terminal through Bluetooth, so that the data can be received and identified by the vehicle terminal, including monitoring the link transmission status, adjusting the transmission strategy, packet compression and setting transmission priority.
It realizes compatibility between the car and machine terminal for different phone types, ensures timely identification and display of incoming call information, improves user experience and improves security.
Smart Images

Figure CN120321618A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Bluetooth communication technology, and particularly to a Bluetooth call control method, device, system, equipment, medium and program product. Background Art
[0002] With the development of communication technology, in-vehicle Bluetooth phones have been widely used in various vehicles. The people in the vehicle can answer the calls on the mobile device through the in-vehicle Bluetooth system, reducing the operation on the mobile device and improving driving safety.
[0003] However, the current in-vehicle Bluetooth system is mainly designed for answering and managing traditional calls. Some mobile devices provide Internet call functions in addition to traditional calls, and the in-vehicle Bluetooth system is difficult to be compatible with such Internet calls, resulting in problems such as unrecognizable call requests at the vehicle end. Summary of the Invention
[0004] One of the purposes of the present invention is to provide a Bluetooth call control method, device, system, equipment, medium and program product to solve the problem that the in-vehicle Bluetooth system is difficult to be compatible with different call types.
[0005] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0006] A Bluetooth call control method is applied to a terminal which has a Bluetooth connection with a vehicle head unit. The method includes:
[0007] In response to detecting an incoming call request, determining target information according to the incoming call request, and encapsulating the target information into a Bluetooth data packet conforming to a preset Bluetooth protocol, where the target information at least includes the identification information of the incoming call request;
[0008] Sending the Bluetooth data packet to the vehicle head unit through the Bluetooth connection.
[0009] Further, determining target information according to the incoming call request includes:
[0010] Judging whether the call type of the incoming call request is a traditional call or an Internet call based on an application;
[0011] If the incoming call request is an Internet call, reading the identification information of the incoming call request through the application programming interface (API) of the application;
[0012] If the incoming call request is a traditional call, parsing the incoming call request to obtain the identification information.
[0013] Further, it further includes:
[0014] Monitor the link transmission status of the Bluetooth connection and adjust the transmission strategy according to the link transmission status.
[0015] Further, adjusting the transmission strategy according to the link transmission status includes:
[0016] When the link transmission status deteriorates, increase the transmission rate of the Bluetooth data packet, and / or cache and process the Bluetooth data packet locally.
[0017] Further, before sending the Bluetooth data packet to the in-vehicle unit through the Bluetooth connection, it further includes:
[0018] Compress the Bluetooth data packet, and / or set the transmission priority of the Bluetooth data packet in the Bluetooth connection.
[0019] A Bluetooth call control method is applied to an in-vehicle unit, and the in-vehicle unit is established with a Bluetooth connection with a terminal. The method includes:
[0020] Receive the Bluetooth data packet sent by the terminal through the Bluetooth connection;
[0021] Parse the Bluetooth data packet based on a preset Bluetooth protocol to obtain target information, and at least the identification information of the incoming call request is included in the target information;
[0022] Display the identification information through the in-vehicle display screen, and / or broadcast the identification information by voice;
[0023] In response to obtaining a first control instruction, send a first control message to the terminal through the Bluetooth connection, and the first control message is used to instruct the terminal to perform one of the operations of answering, hanging up, and switching the incoming call request.
[0024] Further, the incoming call request includes a first incoming call request and a second incoming call request, and the method further includes:
[0025] Receive the audio stream corresponding to the first incoming call request transmitted by the terminal;
[0026] In response to obtaining a second control instruction, send a second control message to the terminal through the Bluetooth connection, and the second control message is used to instruct the terminal to switch the audio stream corresponding to the first incoming call request being transmitted to the audio stream corresponding to the second incoming call request.
[0027] Further, it further includes:
[0028] After establishing a Bluetooth connection with the terminal, perform digital certificate authentication with the terminal through the Bluetooth connection;
[0029] If the digital certificate authentication is passed, an encrypted transmission channel based on the Bluetooth connection is established with the terminal, and the encrypted transmission channel is used to transmit at least one of the Bluetooth data packet, the first control information, and the second control information.
[0030] Further, it further includes:
[0031] After establishing a Bluetooth connection with the terminal, exchange messages with the terminal through the Bluetooth connection, and the messages are used to determine the Bluetooth protocol used between the in-vehicle unit and the terminal.
[0032] A Bluetooth call control device is applied to a terminal, and the terminal has a Bluetooth connection with an in-vehicle unit. The device includes:
[0033] An incoming call detection module, which is used to respond to detecting an incoming call request, determine target information according to the incoming call request, and encapsulate the target information into a Bluetooth data packet that conforms to a preset Bluetooth protocol. At least the identification information of the incoming call request is included in the target information;
[0034] A transmission module, which is used to send the Bluetooth data packet to the in-vehicle unit through the Bluetooth connection.
[0035] A Bluetooth call control device is applied to an in-vehicle unit, and the in-vehicle unit has a Bluetooth connection with a terminal. The device includes:
[0036] A receiving module, which is used to receive the Bluetooth data packet sent by the terminal through the Bluetooth connection;
[0037] An analysis module, which is used to analyze the Bluetooth data packet based on a preset Bluetooth protocol to obtain target information. At least the identification information of the incoming call request is included in the target information;
[0038] A display module, which is used to display the identification information through an in-vehicle display screen, and / or broadcast the identification information in a voice manner;
[0039] A control module, which is used to respond to obtaining a first control instruction, and send first control information to the terminal through the Bluetooth connection. The first control information is used to instruct the terminal to perform one of the operations of answering, hanging up, and switching for the incoming call request.
[0040] A Bluetooth call control system includes a terminal and an in-vehicle unit. The terminal is used to implement the Bluetooth call control method applied to the terminal as described in any one of the above, and the in-vehicle unit is used to implement the Bluetooth call control method applied to the in-vehicle unit as described in any one of the above.
[0041] An electronic device includes: a processor, and a memory communicatively connected to the processor;
[0042] The memory stores computer-executable instructions;
[0043] The processor executes the computer-executable instructions stored in the memory to implement the Bluetooth call control method as described in any one of the above.
[0044] A computer-readable storage medium, comprising: computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the Bluetooth call control method as described in any one of the above.
[0045] A computer program product, comprising a computer program, and when the computer program is executed by a processor, it implements the Bluetooth call control method as described in any one of the above.
[0046] Advantages of the present invention: The terminal can uniformly extract the incoming call information of different call types and convert it into a format supported by the Bluetooth protocol and the vehicle head unit, so that the vehicle head unit can successfully receive the complete incoming call information through Bluetooth connection and can successfully identify it, thereby improving the compatibility problem of in-vehicle Bluetooth calls with different call types, enabling the users in the vehicle to timely perceive the information of the caller, and enhancing the call experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A timing diagram of Bluetooth call control provided for an exemplary embodiment of the present invention Figure 1 ;
[0048] Figure 2 A flowchart of a Bluetooth call control method provided for an exemplary embodiment of the present invention Figure 1 ;
[0049] Figure 3 A flowchart of a process for determining target information provided for an exemplary embodiment of the present invention;
[0050] Figure 4 A flowchart of a Bluetooth call control method provided for an exemplary embodiment of the present invention Figure 2 ;
[0051] Figure 5 A timing diagram of Bluetooth call control provided for an exemplary embodiment of the present invention Figure 2 ;
[0052] Figure 6 An interactive authentication flowchart provided for an exemplary embodiment of the present invention;
[0053] Figure 7 An encrypted transmission flowchart provided for an exemplary embodiment of the present invention;
[0054] Figure 8Schematic diagram of the architecture of a Bluetooth call control system provided by an exemplary embodiment of the present invention;
[0055] Figure 9 Schematic structure of a Bluetooth call control device provided by an exemplary embodiment of the present invention Figure 1 ;
[0056] Figure 10 Schematic structure of a Bluetooth call control device provided by an exemplary embodiment of the present invention Figure 2 ;
[0057] Figure 11 Schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present invention.
[0058] Through the above-mentioned drawings, specific embodiments of the present invention have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the inventive concept in any way, but to illustrate the concept of the present invention to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0059] The following will illustrate the implementation manners of the present invention with reference to the drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, rather than for limiting the protection scope of the present invention.
[0060] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner. Therefore, only the components related to the present invention are shown in the diagrams, rather than being drawn according to the number, shape, and size of the components in actual implementation. The type, quantity, and ratio of each component in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.
[0061] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present invention. On the contrary, they are only examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0062] The term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, product or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, product or apparatus. Without further limitation, there is no exclusion of additional identical or equivalent elements in the process, method, product or apparatus comprising the said elements. For example, when the first, second, etc. are used to denote names, they do not denote any particular order.
[0063] In-vehicle Bluetooth phones have been widely used in various types of vehicles. The in-vehicle Bluetooth system allows drivers to answer and make calls through Bluetooth devices during driving, avoiding the operation of holding the phone and improving driving safety. However, with the development of network communication technology, some application programs running on mobile devices such as mobile phones can also provide online call functions based on the network. More and more users have started to use Internet phones for calls, and the access of these Internet phones has brought new challenges to the in-vehicle Bluetooth system.
[0064] Currently, the in-vehicle Bluetooth system is mainly designed for the answering and management of traditional phones. After establishing a Bluetooth connection between the in-vehicle unit and a mobile device such as a mobile phone, when a call is received on the mobile phone side, the in-vehicle unit can display information such as the phone number and the name of the caller on the in-vehicle display screen, and the user can select to answer or hang up the call on the in-vehicle unit side. However, if a network phone generated by an application program is received on the mobile phone side, it is often difficult for the in-vehicle unit side to identify the source of the network phone, resulting in the user being unable to quickly identify the caller and needing to check the mobile phone screen to confirm the identity of the caller. This not only affects the user experience but also may pose a safety hazard. In more serious cases, the in-vehicle unit side cannot recognize the incoming call request of the network phone, resulting in the user missing an important call.
[0065] After research, the inventors found that the key to the above problems lies in that Internet phones are different from ordinary phones in terms of communication methods and protocols. Internet phones use wireless networks or mobile data networks for voice communication, and the data formats of Internet phones also vary according to different application programs, making it difficult to transmit them to the in-vehicle unit via Bluetooth. Based on this, a technical concept is proposed. On the mobile device side such as a mobile phone, different types of phone data are converted into data packets with a unified format according to a preset Bluetooth protocol and transmitted to the in-vehicle unit side via Bluetooth, so that the data can be received and recognized by the in-vehicle unit side, and thus information such as the phone source can be fully presented on the in-vehicle unit side.
[0066] The above-mentioned application scenarios are only partial examples, and those skilled in the art can expand the application according to specific requirements and scenarios. The embodiments of the present application do not make specific limitations in this regard. The following refers to Figures 1 to 7 to describe the Bluetooth call control method according to an exemplary embodiment of the present invention.
[0067] Figure 1 A schematic diagram of the timing for Bluetooth call control provided for an exemplary embodiment of the present invention.
[0068] As Figure 1 shown, data interaction can be carried out between the caller's device and the terminal (the answering device) based on a cellular network, a wireless network (such as Wi-Fi, etc.) or a mobile network, and data interaction can be carried out between the terminal and the in-vehicle unit based on Bluetooth.
[0069] When the caller's device makes a call to the terminal, the terminal can detect the incoming call request and determine the target information, and then encapsulate the target information into a Bluetooth data packet in a specific format and send it to the in-vehicle unit through Bluetooth. The in-vehicle unit can obtain the target information by parsing the Bluetooth data packet and can display it through the in-vehicle display screen. In addition, the in-vehicle unit can also play the target information through the in-vehicle audio system.
[0070] It should be noted that the terminal and the in-vehicle unit can adopt the same Bluetooth protocol, which can be obtained by adding a definition of the Bluetooth data packet format on the basis of some Bluetooth frameworks (such as Bluetooth 5.0, etc.). Based on this Bluetooth protocol, the terminal can encapsulate relevant data into a Bluetooth data packet in a specific format, and the in-vehicle unit can parse and utilize the data in the Bluetooth data packet.
[0071] The target information can include the identification information of the incoming call request. The identification information can include the call type, the name or number of the caller, etc. The user can select operations such as answering the call or hanging up the call according to this information, and can issue corresponding control instructions to the in-vehicle unit by voice commands or by operating the in-vehicle display screen, etc. The in-vehicle unit sends corresponding control information to the terminal through Bluetooth according to the control instructions issued by the user. If the control information indicates answering the call, the terminal can select to answer and perform audio stream transmission, enabling the user to conduct a voice call based on the communication link from the in-vehicle unit to the terminal and then to the caller's device. If the user then selects to hang up, the voice stream is disconnected. It can be understood that Figure 1 although not shown in , after learning the identification information, the user can also directly select to hang up or select other operations.
[0072] Figure 2 A schematic diagram of the process of a Bluetooth call control method provided for an exemplary embodiment of the present invention. As Figure 2 shown, the method can include:
[0073] Step S201, in response to detecting an incoming call request, determine the target information according to the incoming call request, and encapsulate the target information into a Bluetooth data packet that conforms to a preset Bluetooth protocol.
[0074] Among them, the target information at least includes the identification information of the incoming call request. The identification information can include the call type of the incoming call request, the name or number of the caller, etc.
[0075] An ordinary phone may refer to a phone that uses a cellular network (such as GSM, CDMA, LTE, etc.) for voice communication. Such a phone can synchronize incoming call information to the in-vehicle system through the HFP (Hands-Free Profile) or PBAP (Phone Book Access Profile) in the Bluetooth protocol. GSM is the Global System for Mobile Communications, CDMA is Code Division Multiple Access, and LTE is Long Term Evolution.
[0076] A network phone may refer to a phone generated based on an APP (Application) running on a terminal. Such a phone can use the Internet (such as a wireless network or a mobile data network) for voice communication, and the communication protocol used can be protocols such as SIP (Session Initialization Protocol) or WebRTC (Web Real-Time Communications).
[0077] Exemplarily, each type of phone generated by an application can be regarded as a type of phone. In this way, there can be (N + 1) types of phones, where N represents the types of applications. The types of phones include ordinary phones and N types of phones generated by applications. In addition, phones generated based on different applications can also be regarded as one type of phone. In this way, the types of phones can include two types: ordinary phones and network phones.
[0078] The Bluetooth call control method provided by the embodiments of the present invention can be applied to a terminal, and the terminal can establish a Bluetooth connection with a car stereo. The terminal can include mobile devices such as mobile phones and smart watches.
[0079] In the embodiments of the present invention, the terminal can monitor incoming call requests from different sources (such as various APPs), determine identification information according to the incoming call requests. The data formats of these identification information may vary. The terminal can determine the message format used for transmission according to the Bluetooth protocol negotiated with the car stereo, map the identification information to specific fields in the message, and package it into a data packet supported by the Bluetooth protocol.
[0080] In some possible implementation manners, the target information may further include an audio stream format transmitted via Bluetooth. If the user selects to answer an incoming call request, the terminal and the calling party's communication device will initiate a call. The calling party's communication device will transmit the voice of the calling party to the terminal in the form of an audio stream via a cellular network or a mobile network, etc. The terminal can convert the audio stream into a format supported by the Bluetooth protocol and then transmit it to the in-vehicle unit via a Bluetooth connection. The terminal can pre-package information such as the format of the audio stream or the conversion method into a Bluetooth data packet.
[0081] Step S202: Send the Bluetooth data packet to the in-vehicle unit via a Bluetooth connection.
[0082] In some possible implementation manners, after establishing a Bluetooth connection with the in-vehicle unit, the terminal can negotiate the Bluetooth protocol used by sending and receiving messages with the in-vehicle unit. The protocol content may include the supported Bluetooth protocol stack version, data encapsulation format, maximum number of concurrent calls, etc.
[0083] In the above embodiments, the terminal can determine target information such as identification information based on an incoming call request, and can encapsulate this target information into a Bluetooth data packet conforming to a specific format, and send the Bluetooth data packet via a Bluetooth connection pre-established with the in-vehicle unit. In this way, the terminal can uniformly extract the incoming call information of different call types and convert it into a format supported by the Bluetooth protocol and the in-vehicle unit, so that the in-vehicle unit can successfully receive the complete incoming call information via the Bluetooth connection and can successfully identify it, thereby improving the compatibility of in-vehicle Bluetooth calls with different call types, enabling the in-vehicle user to timely perceive the information of the calling party, and enhancing the call experience.
[0084] In one embodiment, as Figure 3 shown, determining the target information according to the incoming call request includes:
[0085] Step S301: Determine whether the call type of the incoming call request is a regular call or a network call based on an application.
[0086] Taking the terminal as a mobile phone as an example, a relevant Bluetooth service module can be developed through an API interface provided by the mobile phone operating system. When the mobile phone receives an external incoming call, the incoming call request can be reported to the Bluetooth service module. The Bluetooth service module can make a judgment based on the request source. If the request comes from the mobile phone communication module, it is a regular call; if the request comes from a certain application, it is a network call.
[0087] Step S302: If the incoming call request is a network call, read the identification information of the incoming call request through the application programming interface API of the application.
[0088] Among them, API (Application Programming Interface) is a set of defined rules and protocols that allow different applications to communicate and interact with each other, and enable developers to call a set of routine functions.
[0089] Exemplarily, if the incoming call request is an Internet phone based on an application, the Bluetooth service module can read out the identification information related to the incoming call request through the API interface related to the application, and the fields included in the identification information are related to the application itself. For example, some applications will display identification information such as the caller's avatar, user name, note information, and user grouping when receiving an incoming call.
[0090] Step S303, if the incoming call request is an ordinary call, parse the incoming call request to obtain the identification information.
[0091] If it is an ordinary call, the incoming call request itself will carry the phone number assigned by the communication operator to the caller, and some incoming call requests also include the number belonging location information of the caller. The mobile communication module can also match the phone number of the caller with the address book stored locally in the mobile phone. If the match is successful, the name of the caller in the address book will also be displayed. The caller's phone number, belonging location, and address book name can all be used as the identification information of the ordinary call.
[0092] After determining the identification information such as the call type of the incoming call request, the identification information such as the call type can be combined in a specific order to be used as the target information. For example, the format of the target information can be "ordinary call, Zhang XX, 158XXXXXXX8, a certain city in a certain province".
[0093] In some possible implementation manners, after obtaining the target information, the target information can be mapped to the corresponding target fields according to the message format of the Bluetooth data packet. For example, there can be multiple fields in the Bluetooth data packet. The first field can represent the caller's address, the second field can represent the caller's avatar, the third field can represent the caller's phone number, the fourth field can represent the caller's location, the fifth field can represent the caller's grouping, and the sixth field can represent the call type; if the incoming call request is an ordinary call and the identification information includes the caller's address book name, the caller's phone number, and the location, these identification information can be filled into the first, third, and fourth fields in sequence, and "ordinary call" can be filled into the sixth field. If there is no caller's address book name in the identification information, the first field can also not be filled; if the incoming call request is an Internet phone based on an application and the identification information includes the user name, avatar, and grouping information of the caller in the application, these information can be filled into the first, second, and fifth fields in sequence, and the name of the application can be filled into the sixth field.
[0094] In the above embodiments, by distinguishing whether the incoming call request is a regular call or an Internet call, the identification information of different call types can be obtained from the request source, and the identification information is filled in a specific field in the Bluetooth data packet based on a preset Bluetooth protocol, so that this information can support the Bluetooth protocol and be transmitted to the vehicle head unit through Bluetooth and can be parsed and utilized by the vehicle head unit. However, compared with the transmission of regular call information in Bluetooth, the above Bluetooth data packet also contains Internet call information. Whether it is regular call information or Internet call information, it needs to be synchronized to the vehicle head unit in real time to ensure that the information can be transmitted to the user in a timely manner when an incoming call occurs. This requires Bluetooth to have high transmission efficiency and reliability.
[0095] In one embodiment, the terminal can improve the Bluetooth transmission efficiency by optimizing the Bluetooth transmission link and optimizing the Bluetooth data packet.
[0096] Specifically, the link transmission status of the Bluetooth connection can be monitored, and the transmission strategy can be adjusted according to the link transmission status.
[0097] Among them, the link transmission status can include information such as the number of transmitted files and the transmission speed.
[0098] In some possible implementation manners, when the terminal transmits data through the Bluetooth connection, it can collect link transmission status such as the transmission speed. When the link transmission status deteriorates, the transmission rate of the Bluetooth data packet can be increased.
[0099] In some possible implementation manners, when the link transmission status deteriorates, the Bluetooth data packet can also be cached and processed locally.
[0100] In some scenarios, the link transmission status of the Bluetooth connection may change. For example, when the current vehicle passes through an area with poor signal, the link transmission status is poor. The terminal can dynamically adjust the transmission strategy according to the link transmission status. For example, when it is detected that the Bluetooth transmission speed continuously shows a downward trend, the transmission rate of the Bluetooth data packet can be increased, and the Bluetooth data packet can also be cached and processed locally by the terminal first. If the transmission fails, the cached Bluetooth data packet can be re-transmitted immediately when the link transmission status is restored.
[0101] In some possible implementation manners, the Bluetooth transmission historical data under different link transmission statuses can also be obtained, and machine learning algorithms can be used to analyze the historical data to predict and optimize the parameters in the transmission process. For example, it can be analyzed according to the historical data in which scenarios or when which data reaches a specific value, the link transmission status will deteriorate, and corresponding strategies (such as increasing the transmission rate of the Bluetooth data packet, etc.) can be predicted and adopted in advance through the model.
[0102] In some possible implementation manners, before sending the Bluetooth data packet to the vehicle head unit through the Bluetooth connection, the Bluetooth data packet can also be compressed.
[0103] Exemplarily, before transmitting the Bluetooth data packet via the Bluetooth connection, the data in the Bluetooth data packet can be preprocessed and encapsulated first to make the data packet smaller and more efficient. Alternatively, the entire Bluetooth data packet can be compressed to ensure that the Bluetooth data packet can be received by the in-vehicle unit faster.
[0104] In some possible implementation manners, before sending the Bluetooth data packet to the in-vehicle unit via the Bluetooth connection, the transmission priority of the Bluetooth data packet in the Bluetooth connection can also be set.
[0105] Exemplarily, before transmitting the Bluetooth data packet via the Bluetooth connection, the priority of the Bluetooth transmission queue can also be set, and the Bluetooth data packet can be set to a higher transmission priority to ensure that the information related to the incoming call request can be preferentially transmitted in the Bluetooth transmission queue.
[0106] In the above embodiments, by accelerating the transmission speed of the Bluetooth data packet and increasing the transmission priority of the Bluetooth data packet, etc., it can be ensured that the Bluetooth data packet can be received by the in-vehicle unit via the Bluetooth connection as soon as possible, reducing the influence of the Bluetooth link state, and timely transmitting the information related to the incoming call request to the user side.
[0107] Figure 4 The flowchart of a Bluetooth call control method provided by an exemplary embodiment of the present invention. As Figure 4 shown, the method may include:
[0108] Step S401: Receive the Bluetooth data packet sent by the terminal via the Bluetooth connection.
[0109] The Bluetooth call control method provided by the embodiments of the present invention can be applied to an in-vehicle unit, and the in-vehicle unit can establish a Bluetooth connection with the terminal. The terminal may include mobile devices such as a mobile phone and a smart watch.
[0110] Step S402: Parse the Bluetooth data packet based on a preset Bluetooth protocol to obtain target information.
[0111] Wherein, the target information at least includes the identification information of the incoming call request.
[0112] Step S403: Display the identification information through the in-vehicle display screen, and / or broadcast the identification information in a voice manner.
[0113] Wherein, the meanings of the identification information and the call type can refer to the above embodiments applied to the terminal, and will not be elaborated herein.
[0114] Step S404: In response to obtaining the first control instruction, send the first control information to the terminal via the Bluetooth connection.
[0115] Among them, the first control information is used to instruct the terminal to perform one of the operations of answering, hanging up, and switching for the incoming call request.
[0116] After establishing a Bluetooth connection with the terminal, the in-vehicle unit can receive Bluetooth data packets sent by the terminal. The in-vehicle unit can determine the Bluetooth protocol used through negotiation with the terminal or prior agreement, etc. This Bluetooth protocol can define the parsing method of Bluetooth data packets. By parsing the received Bluetooth data packets, the identification information of the incoming call request can be obtained. The parsing method can include file format, decoding rules, field meanings, etc. For example, the first field represents the caller's name, the second field represents the caller's avatar, the third field represents the caller's number,..., and the sixth field represents the call type.
[0117] After obtaining the identification information, the in-vehicle unit can choose to display it through the in-vehicle display screen, or can choose to perform voice broadcast through devices such as the in-vehicle audio, or can also choose multiple methods such as the in-vehicle display screen and voice broadcast to present the identification information to the users in the vehicle.
[0118] The in-vehicle unit can also sense the first control instruction triggered by the user. This instruction can be issued by the user after seeing or hearing the identification information and call type of the incoming call request. Based on this instruction, the in-vehicle unit can send corresponding control information to the terminal to achieve the user's operation intention (such as answering, hanging up, etc.).
[0119] In the above embodiment, the in-vehicle unit can receive Bluetooth data packets through the Bluetooth connection with the terminal, and can parse the data packets according to the preset Bluetooth protocol to obtain the information related to the incoming call request transmitted by the terminal. These related information can not only include the identification information of ordinary calls, but also include the identification information of network calls based on application programs, and display the incoming call information of different types of calls in the vehicle completely, improving the problem that the in-vehicle Bluetooth system is difficult to be compatible with different call types, so that the users in the vehicle can identify the call source in time.
[0120] In one embodiment, the incoming call request includes a first incoming call request and a second incoming call request, and the Bluetooth call control method further includes:
[0121] Receiving the audio stream corresponding to the first incoming call request transmitted by the terminal; in response to obtaining a second control instruction, sending second control information to the terminal through the Bluetooth connection.
[0122] Among them, the second control information is used to instruct the terminal to switch the audio stream corresponding to the first incoming call request transmitted to the audio stream corresponding to the second incoming call request.
[0123] Refer to Figure 5 , the terminal may receive multiple incoming call requests within a period of time, such as Figure 5As shown, after the first incoming call request is connected based on the Bluetooth call control method, a call request from a second caller may be received during the call with the first caller. The in-vehicle unit can prompt the user with the identification information of the second incoming call request through the in-vehicle display screen or voice. In response to this situation, the user can have multiple options. For example, hang up the first incoming call request and connect the second incoming call request, or temporarily hold the first incoming call request and connect the second incoming call request (that is, do not hang up the first incoming call request but switch the current call object to the caller of the second incoming call request, which can be referred to as "switching to the second incoming call request"), or hang up the second incoming call request to maintain the connection status of the first incoming call request, etc.
[0124] As Figure 5 As shown, after receiving the first incoming call request and the second incoming call request, the terminal can send corresponding Bluetooth data packets to the in-vehicle unit. The in-vehicle unit parses the identification information based on the Bluetooth data packets and displays it. During the call of the first incoming call request, the user can choose to switch the current call to the second incoming call request. The in-vehicle unit sends the second control information to the terminal according to the user control instruction. After receiving this information, the terminal disconnects the audio stream with the first caller and transmits the audio stream with the second caller.
[0125] It should be noted that the first incoming call request and the second incoming call request can be of the same call type or different call types. In some other possible examples, more than two incoming call requests can be controlled within a period of time. For example, three other incoming call requests can be detected and displayed during the connection of the first incoming call request. The control process can refer to the above embodiments and will not be elaborated here.
[0126] In some other possible implementation manners, the user can also choose to merge the incoming call requests from multiple parties, integrate the call recipient and multiple callers into the same call environment, so that all parties can hear the call content of all other people. The in-vehicle unit can display the identification information of all the people participating in the call through the in-vehicle display screen and prompt the current call status through voice.
[0127] The addition of Internet calls brings new problems to in-vehicle Bluetooth calls. For example, in a multi-party call scenario, if multiple calls are made to the terminal at the same time, it is necessary to effectively manage and control multiple incoming calls at the in-vehicle unit end. Especially, the compatibility of Internet calls is relatively poor and the solution is difficult. In the above embodiments, the in-vehicle unit converts the user control instruction into control information recognizable by the terminal, so that the terminal can perform corresponding multi-party call control operations according to different control information. For example, by switching the audio stream of the call, the current call can be switched from one caller to another caller, which can improve the compatibility of the Bluetooth call control solution.
[0128] In an embodiment of the present invention, after the in-vehicle infotainment (IVI) system establishes a Bluetooth connection with the terminal, it can exchange messages with the terminal through this Bluetooth connection. The message can be used to determine the Bluetooth protocol used between the IVI system and the terminal, specifically including the format of Bluetooth data packets, the format of Bluetooth transmitted audio streams, encryption methods, authentication methods, and field data of different control information (such as the first control information and the second control information), etc.
[0129] In one embodiment, the IVI system and the terminal can also determine the encryption method for Bluetooth transmission and the authentication method before transmission, etc. Ensure that only authorized applications and devices can access the IVI system and transmit data via Bluetooth, preventing unauthorized devices or applications from forging data packets for attacks. Optionally, use a certificate-based authentication mechanism to ensure the legitimacy of devices and applications. Implement two-way authentication to ensure that both the data sender and receiver are verified.
[0130] After establishing a Bluetooth connection with the terminal, the IVI system can perform digital certificate authentication with the terminal through the Bluetooth connection; if the digital certificate authentication is passed, an encrypted transmission channel based on the Bluetooth connection is established with the terminal.
[0131] Among them, the encrypted transmission channel is used to transmit at least one of the Bluetooth data packet, the first control information, and the second control information.
[0132] Figure 6 This is a schematic diagram of an interactive authentication process provided for an exemplary embodiment of the present invention. As Figure 6 shown, taking the terminal as a mobile phone for example, the IVI system and the mobile phone application can obtain digital certificates from a trusted certificate authority (CA) and install them locally. After the IVI system and the mobile phone establish a Bluetooth connection, before data transmission, the IVI system and the mobile phone can exchange their respective digital certificates for two-way authentication. By verifying the digital certificates of each other, the legitimacy of both data transmission parties is ensured.
[0133] After the authentication is passed, the Transport Layer Security (TLS) protocol can be used to establish an encrypted transmission channel to transmit data through the secure channel to prevent attacks.
[0134] Figure 7 This is a schematic diagram of an encrypted transmission process provided for an exemplary embodiment of the present invention. As Figure 7As shown, taking the terminal as a mobile phone as an example, when a Bluetooth device (a car head unit and a mobile phone) is paired, an encryption key can be generated. Before data transmission, both the car head unit and the mobile phone can encrypt the data to be transmitted respectively through algorithms such as AES-CCM (Counter with CBC-MAC) in the Bluetooth protocol. After data transmission, the receiving party can use the key generated during pairing to decrypt the received data and restore the original data.
[0135] In the above embodiments, by using methods such as data encryption and identity authentication, the security of data and the reliability of transmission can be ensured during the process of different types of phones transmitting information to the car head unit through the Bluetooth protocol.
[0136] Figure 8 The figure is a schematic architecture diagram of a Bluetooth call control system provided by an exemplary embodiment of the present invention. The Bluetooth call control system may include a terminal and a car head unit. Taking the terminal as a mobile phone as an example, the mobile phone can execute the steps corresponding to the terminal part in the above embodiments, and the car head unit can execute the steps corresponding to the car head unit part in the above embodiments.
[0137] As Figure 8 shown, the software part of the mobile phone may include a mobile phone application and a mobile phone Bluetooth service module, etc. The mobile phone application may include application programs supporting Internet telephony, applications related to ordinary telephones, and API interfaces of the mobile phone operating system. The mobile phone Bluetooth service module can be used to implement functions such as data processing and data encapsulation to obtain a Bluetooth data packet and perform Bluetooth transmission. The software part of the car head unit may include a car head unit phone application and a car head unit Bluetooth service module, etc. Among them, the car head unit Bluetooth service module can be used for data parsing and call management. For example, it can parse the Bluetooth data packet sent by the mobile phone to obtain the identification information of the incoming call request, and can also manage the connection, hang-up, and switching of different incoming calls when multiple incoming calls are received by the terminal. The car head unit phone application can be used to obtain and display relevant information of ordinary telephones and Internet telephones (such as phone type, caller name, etc.), and can also broadcast this information in the vehicle through devices such as the car audio.
[0138] Figure 9 The figure is a schematic structural diagram of a Bluetooth call control device provided by an exemplary embodiment of the present invention. The Bluetooth call control device 900 can be applied to a terminal, and the terminal can establish a Bluetooth connection with a car head unit. As Figure 9 shown, the Bluetooth call control device 900 may include:
[0139] An incoming call detection module 901, configured to, in response to detecting an incoming call request, determine target information according to the incoming call request, and encapsulate the target information into a Bluetooth data packet conforming to a preset Bluetooth protocol, where the target information at least includes the identification information of the incoming call request;
[0140] A transmission module 902, configured to send the Bluetooth data packet to the vehicle head unit through the Bluetooth connection.
[0141] In one embodiment, the incoming call detection module 901 is further configured to: determine whether the call type of the incoming call request is a regular call or an application-based network call; if the incoming call request is a network call, read the identification information of the incoming call request through the application programming interface (API) of the application; if the incoming call request is a regular call, parse the incoming call request to obtain the identification information.
[0142] In one embodiment, the transmission module 902 is further configured to: monitor the link transmission status of the Bluetooth connection, and adjust the transmission strategy according to the link transmission status.
[0143] In one embodiment, the transmission module 902 is further configured to: when the link transmission status deteriorates, increase the transmission rate of the Bluetooth data packet, and / or perform local caching processing on the Bluetooth data packet.
[0144] In one embodiment, the transmission module 902 is further configured to: compress the Bluetooth data packet, and / or set the transmission priority of the Bluetooth data packet in the Bluetooth connection.
[0145] Figure 10 The figure shows a schematic structural diagram of a Bluetooth call control device provided by an exemplary embodiment of the present invention. The Bluetooth call control device 1000 can be applied to a vehicle head unit, which can establish a Bluetooth connection with a terminal. As Figure 10 shown, the Bluetooth call control device 1000 may include:
[0146] A receiving module 1001, configured to receive the Bluetooth data packet sent by the terminal through the Bluetooth connection;
[0147] An analysis module 1002, configured to analyze the Bluetooth data packet based on a preset Bluetooth protocol to obtain target information, where the target information at least includes the identification information of the incoming call request;
[0148] A display module 1003, configured to display the identification information through an in-vehicle display screen, and / or announce the identification information in a voice manner;
[0149] A control module 1004, configured to, in response to obtaining a first control instruction, send first control information to the terminal through the Bluetooth connection, where the first control information is used to instruct the terminal to perform one of the operations of answering, hanging up, and switching on the incoming call request.
[0150] In one embodiment, the control module 1004 is also used to: receive the audio stream corresponding to the first incoming call request transmitted by the terminal; in response to obtaining the second control instruction, send second control information to the terminal through the Bluetooth connection, and the second control information is used to instruct the terminal to switch the audio stream corresponding to the first incoming call request to the audio stream corresponding to the second incoming call request.
[0151] In one embodiment, the control module 1004 is also used to: after establishing a Bluetooth connection with the terminal, perform digital certificate authentication with the terminal through the Bluetooth connection; if the digital certificate authentication passes, establish an encrypted transmission channel based on the Bluetooth connection with the terminal, and the encrypted transmission channel is used to transmit the Bluetooth data packet, at least one of the first control information and the second control information.
[0152] In one embodiment, the control module 1004 is further used to: after establishing a Bluetooth connection with the terminal, exchange messages with the terminal through the Bluetooth connection, wherein the messages are used to determine the Bluetooth protocol used between the vehicle computer and the terminal.
[0153] The Bluetooth call control device provided in this embodiment is used to execute the technical solution in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0154] It should be understood that the above device embodiments are only illustrative, and the device of the present invention can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0155] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present invention may be integrated into one unit / module, or each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0156] Figure 11 FIG. 1 is a schematic diagram of a structure of an electronic device provided by an exemplary embodiment of the present invention. Figure 11 As shown, the electronic device 110 includes:
[0157] Processor 111, memory 112, and communication interface 113;
[0158] The memory 112 is used to store executable instructions of the processor 111; the executable instructions may be computer-executable instructions;
[0159] Wherein, the processor 111 is configured to execute the technical solutions in any of the foregoing method embodiments by executing the executable instructions.
[0160] Optionally, the memory 112 can be either independent or integrated with the processor 111.
[0161] Optionally, when the memory 112 is a device independent of the processor 111, the electronic device 110 may further include:
[0162] A bus 114, through which the memory 112 and the communication interface 113 are connected to the processor 111 to complete mutual communication, and the communication interface 113 is used to communicate with other devices.
[0163] Optionally, the communication interface 113 can be specifically implemented by a transceiver. The communication interface is used to implement communication between the database access device and other devices (such as clients, read-write libraries, and read-only libraries). The memory may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.
[0164] The bus 114 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0165] The foregoing processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0166] This electronic device is used to execute the technical solutions in any of the foregoing method embodiments, and its implementation principle and technical effects are similar, and will not be elaborated here.
[0167] The embodiment of the present invention also provides a readable storage medium, which can be a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the technical solutions provided in any of the foregoing method embodiments are implemented.
[0168] An embodiment of the present invention further provides a computer program product, including a computer program, which is used to implement the technical solutions provided in any of the foregoing method embodiments when executed by a processor.
[0169] Those of ordinary skill in the art can understand that all or part of the steps of implementing the foregoing method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: various media such as ROM, RAM, magnetic disk, or optical disc that can store program codes.
[0170] In the above embodiments, the descriptions of the various embodiments have their own emphases. For parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0171] Those skilled in the art will readily think of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed by the present invention. The specification and the embodiments are only regarded as exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.
[0172] The above embodiments are only preferred embodiments given to fully illustrate the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present invention are all within the protection scope of the present invention.
Claims
1. A Bluetooth call control method, characterized in that, Applied to a terminal, the terminal has a Bluetooth connection established with a car head unit, and the method includes: In response to detecting an incoming call request, determining target information according to the incoming call request, and encapsulating the target information into a Bluetooth data packet conforming to a preset Bluetooth protocol, where at least the identification information of the incoming call request is included in the target information; Sending the Bluetooth data packet to the car head unit through the Bluetooth connection.
2. The Bluetooth call control method according to claim 1, wherein The determining target information according to the incoming call request includes: Judging whether the call type of the incoming call request is a regular call or a network call based on an application; If the incoming call request is a network call, reading the identification information of the incoming call request through an application programming interface (API) of the application; If the incoming call request is a regular call, parsing the incoming call request to obtain the identification information.
3. The Bluetooth call control method according to claim 1 or 2, characterized in that, It further includes: Monitoring the link transmission status of the Bluetooth connection, and adjusting the transmission strategy according to the link transmission status.
4. The Bluetooth call control method according to claim 3, wherein The adjusting the transmission strategy according to the link transmission status includes: When the link transmission status deteriorates, accelerating the transmission rate of the Bluetooth data packet, and / or caching and processing the Bluetooth data packet locally.
5. The Bluetooth call control method according to claim 1, wherein Before sending the Bluetooth data packet to the car head unit through the Bluetooth connection, it further includes: Compressing the Bluetooth data packet, and / or setting the transmission priority of the Bluetooth data packet in the Bluetooth connection.
6. A Bluetooth call control method, characterized in that, Applied to a car head unit, the car head unit has a Bluetooth connection established with a terminal, and the method includes: Receiving the Bluetooth data packet sent by the terminal through the Bluetooth connection; Parsing the Bluetooth data packet based on the preset Bluetooth protocol to obtain target information, where at least the identification information of the incoming call request is included in the target information; Displaying the identification information through an in-vehicle display screen, and / or announcing the identification information by voice; In response to obtaining a first control instruction, sending first control information to the terminal through the Bluetooth connection, where the first control information is used to instruct the terminal to perform one of the operations of answering, hanging up, and switching for the incoming call request.
7. The Bluetooth call control method according to claim 6, wherein The incoming call request includes a first incoming call request and a second incoming call request, and the method further includes: Receiving the audio stream corresponding to the first incoming call request transmitted by the terminal; In response to obtaining a second control instruction, sending second control information to the terminal through the Bluetooth connection, where the second control information is used to instruct the terminal to switch the audio stream corresponding to the first incoming call request transmitted to the audio stream corresponding to the second incoming call request.
8. The Bluetooth call control method according to claim 7, wherein It further includes: After establishing a Bluetooth connection with the terminal, performing digital certificate authentication with the terminal through the Bluetooth connection; If the digital certificate authentication is passed, establishing an encrypted transmission channel based on the Bluetooth connection with the terminal, where the encrypted transmission channel is used to transmit at least one of the Bluetooth data packet, the first control information, and the second control information.
9. The Bluetooth call control method according to any one of claims 6 to 8, characterized in that, It further includes: After establishing a Bluetooth connection with the terminal, exchanging messages with the terminal through the Bluetooth connection, where the messages are used to determine the Bluetooth protocol used between the car head unit and the terminal.
10. A Bluetooth call control device, characterized in that, Applied to a terminal, the terminal has a Bluetooth connection established with a car head unit, and the device includes: An incoming call detection module, configured to respond to detecting an incoming call request, determine target information according to the incoming call request, and encapsulate the target information into a Bluetooth data packet conforming to a preset Bluetooth protocol, where the target information at least includes identification information of the incoming call request; A transmission module, configured to send the Bluetooth data packet to the in-vehicle unit through the Bluetooth connection.
11. A Bluetooth call control device, characterized in that, Applied to an in-vehicle unit, where the in-vehicle unit has established a Bluetooth connection with a terminal, the device includes: A receiving module, configured to receive the Bluetooth data packet sent by the terminal through the Bluetooth connection; An analysis module, configured to analyze the Bluetooth data packet based on the preset Bluetooth protocol to obtain target information, where the target information at least includes identification information of the incoming call request; A display module, configured to display the identification information through an in-vehicle display screen, and / or announce the identification information in a voice manner; A control module, configured to respond to obtaining a first control instruction, and send first control information to the terminal through the Bluetooth connection, where the first control information is used to instruct the terminal to perform one of the operations of answering, hanging up, and switching for the incoming call request.
12. A Bluetooth call control system, characterized in that, Including a terminal and an in-vehicle unit, where the terminal is configured to execute the method according to any one of claims 1 to 5, and the in-vehicle unit is configured to execute the method according to any one of claims 6 to 9.
13. An electronic device, characterized in that, Including: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 9.
14. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 9.
15. A computer program product, characterized in that, Including a computer program, which when executed by a processor, implements the method according to any one of claims 1 to 9.
Citation Information
Cited By
Message reminding method, mobile terminal, vehicle, storage medium and program product
CN120547510A