Network call state control method

By monitoring the changes in the phone sound channel and sending simulated call status, the problem of in-car device voice calls cannot be hung up and the interface cannot be refreshed is solved, improving the user experience.

CN120018068APending Publication Date: 2025-05-16FORYOU GENERAL ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510110720.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

When the on-board device makes voice calls through social software, it is often impossible to hang up, or the phone end is still displayed when the phone ends, resulting in the inability to clear abnormal calls, affecting the user experience.

Method used

By monitoring the change of the sound channel of the phone, the status of the Bluetooth phone object is judged, and the analog call status is sent to the Bluetooth phone APP according to the status of the sound channel, and the network call interface is refreshed.

Benefits of technology

It realizes that the interface is refreshed according to the sound channel status during Bluetooth network calls, avoiding the problem of being unable to hang up and the interface cannot be refreshed, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120018068A_ABST
    Figure CN120018068A_ABST
Patent Text Reader

Abstract

The invention provides a network call state control method, which comprises the following steps of: 1, monitoring whether a sound channel of a telephone is changed or not, if so, entering the next step, otherwise, repeating the step; 2, judging whether the Bluetooth telephone object is in a call or not, if so, entering the next step, and otherwise, returning to the step 1; 3, judging whether the Bluetooth telephone object is a network telephone or not, if so, entering the next step, and otherwise, returning to the step 1; step 4, sending a corresponding analog call state to the Bluetooth phone APP according to the state of the sound channel; and step 5, the Bluetooth telephone APP refreshes a network call interface according to the simulated call state. According to the invention, the problem that the network call cannot be hung up or the interface cannot be refreshed is avoided, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network communications, and in particular to a network call state control method. Background Art

[0002] With the continuous popularization and penetration of social software, social software, such as WeChat, is currently installed on most mobile devices. These social software have instant voice communication functions and can establish voice calls with each other. At present, the use of social software for instant voice communication by in-vehicle devices is mainly achieved through the Bluetooth protocol after the mobile phone and the car computer are connected by Bluetooth. However, unlike traditional telephone voice communication, when the car computer makes a voice call through social software, it is often impossible to hang up; or after the mobile phone hangs up, the car computer still shows that the call is in progress. When a new call comes in, this abnormal call cannot be cleared and will be identified as a three-party call. The above problems have brought unnecessary troubles to users and reduced the user experience. Summary of the invention

[0003] The present invention provides a network call state control method, which aims to solve the defects in the prior art, avoid the problem that a network call cannot be hung up or the interface cannot be refreshed, and improve the user experience.

[0004] In order to achieve the above object, the technical solution adopted by the present invention is:

[0005] The present invention provides a network call state control method, comprising:

[0006] Step 1: Monitor whether the voice channel of the phone has changed. If yes, proceed to the next step. Otherwise, repeat this step.

[0007] Step 2: Determine whether the Bluetooth phone object is in a call, if yes, proceed to the next step, otherwise return to step 1;

[0008] Step 3, determine whether the Bluetooth phone object is an Internet phone, if yes, proceed to the next step, otherwise return to step 1;

[0009] Step 4: Send the corresponding simulated call status to the Bluetooth phone APP according to the status of the sound channel;

[0010] Step 5: The Bluetooth phone APP refreshes the network call interface according to the simulated call status.

[0011] Specifically, step 2 includes: obtaining the current phone number from the Bluetooth protocol stack

[0012] BluetoothHeadsetClientCall object, and determine whether the status of the BluetoothHeadsetClientCall object is in a call.

[0013] Specifically, obtaining the current phone BluetoothHeadsetClientCall object from the Bluetooth protocol stack includes: passing the current device object through the getCurrentCalls method of the BluetoothHeadsetClient object of the Bluetooth protocol stack, thereby obtaining the phone list.

[0014] Specifically, determining whether the Bluetooth phone object is an Internet phone includes: obtaining a current number from the BluetoothHeadsetClientCall object, and comparing it with a preset feature phone number; if the current number is the same as the preset feature phone number, determining that it is an Internet phone number.

[0015] Specifically, the preset feature phone number is at least one of an empty number, 10000000, 0000000000, 10000001, and the local number.

[0016] Specifically, step 4 includes:

[0017] If the audio channel is in the vehicle, the simulated call status is sent to the Bluetooth phone APP;

[0018] If the sound channel is in the mobile phone, a simulated hang-up signal is sent to the Bluetooth phone APP.

[0019] Specifically, the sending of the simulated call status includes: the Bluetooth service encapsulates the call information through the BluetoothHeadsetClientCall object according to the corresponding preset rule, and sets the call status to call during encapsulation.

[0020] Specifically, the sending of the simulated hang-up signal includes: the Bluetooth service via the

[0021] The BluetoothHeadsetClientCall object encapsulates the call information according to the corresponding preset rules and sets the call status to hang up when encapsulating.

[0022] The beneficial effect of the present invention is that when a Bluetooth network call is made, the present invention simulates the corresponding call status according to the status of the sound channel and sends it to the Bluetooth phone APP, so that the Bluetooth phone APP can refresh the network call interface according to the corresponding simulated call status, avoiding the problem of being unable to hang up or the interface being unable to refresh during a network call, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of the network call status control method of the present invention. DETAILED DESCRIPTION

[0024] The following specifically describes the embodiments of the present invention in conjunction with the accompanying drawings, which are only for reference and illustration and do not constitute a limitation on the scope of patent protection of the present invention.

[0025] In the process described in the specification, claims or drawings of the present invention, the serial numbers of each step (such as step 10, 20, etc.) are included. The serial numbers are only used to distinguish the steps, and the serial numbers themselves do not represent any execution order. It should be noted that the descriptions such as "first" and "second" in this article are only used to distinguish the description objects, etc., and do not represent the order of precedence, nor do they mean that "first", "second", etc. are different types.

[0026] like Figure 1 As shown, this embodiment provides a network call state control method, including:

[0027] Step 1: Monitor whether the voice channel of the phone has changed. If yes, proceed to the next step. Otherwise, repeat this step.

[0028] For example, if the voice channel of the phone was previously on the car side and now it has switched to the mobile phone side, it means that the voice channel of the phone has changed.

[0029] Step 2: Determine whether the Bluetooth phone object is in a call, if yes, proceed to the next step, otherwise return to step 1.

[0030] In this embodiment, step 2 includes: obtaining the current phone BluetoothHeadsetClientCall object from the Bluetooth protocol stack, and determining whether the status of the BluetoothHeadsetClientCall object is in a call.

[0031] The obtaining of the current phone BluetoothHeadsetClientCall object from the Bluetooth protocol stack includes: passing the current device object through the getCurrentCalls method of the BluetoothHeadsetClient object of the Bluetooth protocol stack, thereby obtaining the phone list.

[0032] Step 3: determine whether the Bluetooth phone object is an Internet phone, if yes, proceed to the next step, otherwise return to step 1.

[0033] In this embodiment, determining whether the Bluetooth phone object is an Internet phone includes: obtaining a current number from the BluetoothHeadsetClientCall object, and comparing it with a preset feature phone number; if the current number is the same as the preset feature phone number, determining it to be an Internet phone number.

[0034] In this embodiment, the preset feature phone number is at least one of an empty number, 10000000, 0000000000, 10000001, and the local number.

[0035] Step 4: Send the corresponding simulated call status to the Bluetooth phone APP according to the status of the sound channel.

[0036] In this embodiment, step 4 includes:

[0037] If the audio channel is in the vehicle, the simulated call status is sent to the Bluetooth phone APP;

[0038] If the sound channel is in the mobile phone, a simulated hang-up signal is sent to the Bluetooth phone APP.

[0039] The sending of the simulated call status includes: the Bluetooth service passes the

[0040] The BluetoothHeadsetClientCall object encapsulates the call information according to the corresponding preset rules and sets the call status to in progress during encapsulation.

[0041] The sending of the simulated hang-up signal includes: the Bluetooth service encapsulates the call information through the BluetoothHeadsetClientCall object according to the corresponding preset rule, and sets the call state to hang up during encapsulation.

[0042] In this embodiment, the Bluetooth phone APP is an application layer program that can handle services such as interface refresh.

[0043] Step 5: The Bluetooth phone APP refreshes the network call interface according to the simulated call status.

[0044] The above disclosure is only a preferred embodiment of the present invention, which cannot be used to limit the scope of protection of the present invention. Therefore, equivalent changes made according to the scope of the patent application of the present invention are still within the scope covered by the present invention.

Claims

1. A network call status control method, characterized in that: include: Step 1: Monitor whether the voice channel of the phone has changed. If yes, proceed to the next step. Otherwise, repeat this step. Step 2: Determine whether the Bluetooth phone object is in a call, if yes, proceed to the next step, otherwise return to step 1; Step 3, determine whether the Bluetooth phone object is an Internet phone, if yes, proceed to the next step, otherwise return to step 1; Step 4: Send the corresponding simulated call status to the Bluetooth phone APP according to the status of the sound channel; Step 5: The Bluetooth phone APP refreshes the network call interface according to the simulated call status.

2. The network call status control method according to claim 1, characterized in that: The step 2 includes: obtaining the current phone BluetoothHeadsetClientCall object from the Bluetooth protocol stack, and determining whether the state of the BluetoothHeadsetClientCall object is in a call.

3. The network call status control method according to claim 2, characterized in that: The obtaining of the current phone BluetoothHeadsetClientCall object from the Bluetooth protocol stack includes: passing the current device object through the getCurrentCalls method of the BluetoothHeadsetClient object of the Bluetooth protocol stack, thereby obtaining the phone list.

4. The network call status control method according to claim 3, characterized in that: Determining whether the Bluetooth phone object is an Internet phone includes: obtaining a current number from the BluetoothHeadsetClientCall object, and comparing it with a preset feature phone number; if the current number is the same as the preset feature phone number, determining that it is an Internet phone number.

5. The network call status control method according to claim 4, characterized in that: The preset feature phone number is at least one of an empty number, 10000000, 0000000000, 10000001, and the local number.

6. The network call status control method according to claim 5, characterized in that: The step 4 comprises: If the audio channel is in the vehicle, the simulated call status is sent to the Bluetooth phone APP; If the sound channel is in the mobile phone, a simulated hang-up signal is sent to the Bluetooth phone APP.

7. The network call status control method according to claim 6, characterized in that: The sending of the simulated call status includes: the Bluetooth service encapsulates the call information according to the corresponding preset rule through the BluetoothHeadsetClientCall object, and sets the call status to be in call during encapsulation.

8. The network call status control method according to claim 6, characterized in that: The sending of the simulated hang-up signal includes: the Bluetooth service encapsulates the call information through the BluetoothHeadsetClientCall object according to the corresponding preset rule, and sets the call state to hang up during encapsulation.