Vehicle-mounted telephone incoming call control method
By setting preset blocking rules in the on-board smart terminal and performing corresponding operations based on the preset personnel and incoming call numbers, the problem of incoming calls of specific contacts during driving is solved, and effective protection of driver privacy and improvement of user experience is achieved.
Patent Information
- Application Number
- CN202411894253.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-15
AI Technical Summary
The prior art cannot block calls from specific contacts during vehicle driving, resulting in the driver's privacy being unable to be effectively protected and may lead to disputes.
By setting preset masking rules in the on-board smart terminal, the corresponding masking rules are activated when a preset person is detected, and the corresponding masking operation is performed based on whether the incoming call number is in the masking list.
It blocks calls from specific contacts, protects driver privacy and improves user experience.
Smart Images

Figure CN119835358A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of assisted driving, and in particular to a method for controlling incoming calls of a vehicle-mounted telephone. Background Art
[0002] With the development of in-vehicle electronic technology, the functions of in-vehicle smart terminals are becoming more and more powerful, bringing many conveniences to drivers. One of them is that drivers can answer mobile phone calls through in-vehicle smart terminals, thereby freeing their hands and improving driving safety.
[0003] However, when driving, it is sometimes inconvenient for the driver to answer calls from certain specific contacts because there are other people in the car. The current call solution cannot block certain specific contacts when calling the driver, resulting in poor privacy protection for the car owner and even causing some disputes. Summary of the invention
[0004] The present invention provides a vehicle-mounted phone incoming call control method, aiming to solve the defects in the prior art, protect the driver's privacy and improve the user experience.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is:
[0006] The present invention provides a vehicle-mounted telephone incoming call control method, comprising:
[0007] Step 1: When it is detected that the preset blocking rule is activated, proceed to the next step;
[0008] Step 2: Receive an incoming call, identify its phone number, and determine whether the incoming call is a call in a preset blocking list. If so, execute the corresponding preset blocking rule; otherwise, do not execute the preset blocking rule and connect the incoming call.
[0009] Specifically, the step 1 includes:
[0010] Step 101, detecting whether there is a preset person in the car, if yes, starting the preset shielding rule corresponding to the preset person, otherwise proceeding to the next step;
[0011] Step 102: determine whether preset information for starting preset shielding rules is received, and if so, start the preset shielding rules, wherein the preset information includes preset voice instructions or gesture instructions, and the preset shielding rules include preset first-level shielding rules and preset second-level shielding rules.
[0012] Specifically, the executing the corresponding shielding rule includes: when the preset shielding rule is a preset secondary shielding, processing the incoming call according to a first preset rule, the first preset rule includes:
[0013] If a preset hang-up call instruction is received, the call is hung up and a preset prompt voice is played, wherein the preset hang-up call instruction includes a voice command or a gesture;
[0014] If a preset call connection instruction is received, the call audio target playback device selection interface is displayed;
[0015] According to the target playback device selected by the driver, the call audio is sent to the target playback device for playback.
[0016] Specifically, if the preset hang up call instruction is a gesture, the gesture is determined according to the following method:
[0017] Step A1: obtaining a palm image of the driver and processing it into a binary image according to a preset rule;
[0018] Step A2: extracting a gesture contour according to the binary image using a preset algorithm, and calculating the area and perimeter of the gesture contour;
[0019] Step A3, determining the convex hull of the gesture contour, and calculating the area of the convex hull, the major axis length, and the minor axis length of the convex hull;
[0020] Step A4, calculating the first parameter, the second parameter, and the third parameter according to the area and the perimeter of the gesture contour, the area of the convex hull, the major axis length and the minor axis length of the convex hull, and a first preset relationship;
[0021] Step A5, traversing the binary image from top to bottom, recording the number of white pixels in each row, and determining a first characteristic row, a second characteristic row, and a fourth parameter according to the number of white pixels, wherein the first characteristic row is a row with the most white pixels, and the second characteristic row is a row with a number of white pixels that is a preset ratio of the number of white pixels in the first characteristic row and is closest to the top of the image;
[0022] Step A6, recording the number of continuous regions between the second characteristic row and the top of the image in which each row of white pixels is greater than a preset width, and determining the same and largest value among the numbers as the fifth parameter;
[0023] Step A7, traverse the area between the first feature row and the second feature row, determine whether the third feature row is greater than a preset number, if yes, set the sixth parameter to be valid, otherwise set the sixth parameter to be invalid, the third feature row is: there are two white areas in the same pixel row and the number of pixels in the white areas is greater than a preset threshold;
[0024] Step A8: Determine the gesture type according to the first to sixth parameters.
[0025] Specifically, the step A8 includes: if the first parameter is ≥1, matching the gesture type according to the second parameter to the sixth parameter; otherwise matching the gesture type through the second parameter, the third parameter, and the fourth parameter.
[0026] Specifically, sending the call audio to the target playback device for playback includes:
[0027] If the target playback device is a car speaker and the current mode of the car system connected to the car speaker is navigation, it is determined whether the current navigation is in a broadcasting state, and if so, it is output according to a preset mixing rule.
[0028] Specifically, the preset mixing rules include:
[0029] Step B1, calculating the short-term energy of the audio data of the navigation and call voice channels;
[0030] Step B2, determining a mixing threshold value at the current moment according to the short-time energy;
[0031] Step B3, determining the audio compression coefficient of the corresponding channel according to the short-time energy and mixing threshold of each audio channel;
[0032] Step B4: mix and output each channel according to the third preset relationship.
[0033] Specifically, the step B3 includes: if the short-time energy of the current audio channel is greater than or equal to the mixing threshold, the mixing coefficient corresponding to the current audio channel is determined according to a second preset relationship; otherwise, the mixing coefficient is 1, and the second preset relationship is:
[0034]
[0035] Wherein, d(n,t) represents the mixing coefficient, In(1,t) represents the sound intensity of the navigation channel at time t, In(2,t) represents the sound intensity of the call voice channel at time t, Vol(1,t) represents the volume of the navigation channel at time t, and Vol(2,t) represents the volume of the call voice channel at time t.
[0036] Specifically, the third preset relationship is:
[0037]
[0038] Where Mix(t) represents the mixed output, S n represents the audio data of each channel, and d(n,t) represents the mixing coefficient.
[0039] Furthermore, after step 2, the method further includes:
[0040] Step 3: After executing the preset shielding rule, send preset information to the incoming call.
[0041] The beneficial effect of the present invention is that: by pre-setting shielding rules, the present invention activates the corresponding preset shielding rules when a preset person is detected in the car. When an incoming call is received, its phone number is identified. If the incoming call number exists in the shielding list, the corresponding shielding rules are executed, thereby protecting the driver's privacy and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a flow chart of the vehicle-mounted telephone incoming call control method of the present invention. DETAILED DESCRIPTION
[0043] 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.
[0044] 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.
[0045] like Figure 1 As shown, this embodiment provides a method for controlling incoming calls of a vehicle-mounted telephone, including:
[0046] Step 1: When it is detected that the preset blocking rule is activated, proceed to the next step.
[0047] In this embodiment, step 1 includes:
[0048] Step 101, detect whether there is a preset person in the car, if yes, start the preset shielding rule corresponding to the preset person, otherwise go to the next step.
[0049] In this embodiment, the detecting whether there is a preset person in the vehicle includes: acquiring an image of the vehicle interior; and detecting whether there is a preset person in the vehicle through image recognition.
[0050] In this embodiment, the preset personnel are personnel who execute the shielding rule when a specific contact calls in, and can be set in a preset shielding list.
[0051] Step 102: determine whether preset information for starting a preset shielding rule is received, and if so, start the preset shielding rule.
[0052] In this embodiment, the preset information includes a preset voice command or a gesture command.
[0053] In this embodiment, the preset shielding rules include preset first-level shielding rules and preset second-level shielding rules.
[0054] For example, you can set Zhang San's incoming calls to be shielded at the first level when Li Si is in the car, shielded at the second level when Wang Wu and Zhao Liu are in the car, and no shielding is required for other people.
[0055] Among them, the items that need to be blocked by the first-level blocking rules and the second-level blocking rules can be set according to actual needs.
[0056] In this embodiment, the preset first-level shielding rule is: no incoming call interface, no incoming call ringtone; the preset second-level shielding rule is: displaying a pre-set disguised incoming call avatar (such as an advertising avatar), and / or playing a custom incoming call ringtone.
[0057] Step 2: Receive an incoming call, identify its phone number, and determine whether the incoming call is a call in a preset blocking list. If so, execute the corresponding preset blocking rule; otherwise, do not execute the preset blocking rule and connect the incoming call.
[0058] In this embodiment, executing the corresponding shielding rule includes: when the preset shielding rule is a preset secondary shielding, processing the incoming call according to a first preset rule.
[0059] In this embodiment, the first preset rule includes:
[0060] If the preset hang up command is received, the call is hung up and the preset prompt voice is played.
[0061] If a preset call connection instruction is received, a call audio target playback device selection interface is displayed, and the target playback device includes but is not limited to a Bluetooth headset, a car speaker, and a mobile phone.
[0062] According to the target playback device selected by the driver, the call audio is sent to the target playback device for playback.
[0063] In this embodiment, the preset prompt voice may be "The advertising call has been hung up for you."
[0064] In this embodiment, sending the call audio to the target playback device for playback includes:
[0065] If the target playback device is a car speaker and the current mode of the car system connected to the car speaker is navigation, it is determined whether the current navigation is in a broadcasting state, and if so, it is output according to a preset mixing rule.
[0066] In this embodiment, the preset hang up call instruction includes a voice command or a gesture.
[0067] In this embodiment, if the preset hang up call instruction is a gesture, the gesture is determined according to the following method:
[0068] Step A1: Acquire the driver's palm image and process it into a binary image according to a preset rule.
[0069] In a specific implementation, a camera arranged at a suitable position in the vehicle is used to photograph the driver's palm, and then preprocessing (such as graying, corrosion expansion, etc.) is performed to finally obtain a binary image.
[0070] Step A2: extract the gesture contour using a preset algorithm based on the binary image, and calculate the area S of the gesture contour 1 , circumference L.
[0071] In this embodiment, the preset algorithm is the Canndy operator.
[0072] Step A3: Determine the convex hull of the gesture contour, and calculate the area S2 of the convex hull and the major axis length K of the convex hull. 1 , short axis length K 2 .
[0073] Step A4: according to the area S of the gesture contour 1 , perimeter L, area S of the convex hull 2 、The length of the major axis of the convex hull K 1 , short axis length K 2 And the first preset relationship calculates the first parameter P 1 , the second parameter P 2 、The third parameter P 3 .
[0074] In this embodiment, the first preset relationship is:
[0075] P 1 =K 1 / K 2 , P 2 =S 1 / S 2 , P 3 =L 2 / S 1 .
[0076] Among them, P 1 Represents the first parameter, P 2 Represents the second parameter, P 3 Represents the third parameter, K 1 represents the length of the major axis of the convex hull, K 2represents the minor axis length of the convex hull, L represents the perimeter of the gesture contour, S 1 Represents the area of the gesture contour, S 2 Represents the area of the convex hull.
[0077] Step A5: traverse the binary image from top to bottom, record the number of white pixels in each row, and determine the first characteristic row L[max], the second characteristic row L[c], and the fourth parameter P according to the number of white pixels. 4 The first characteristic row is the row with the most white pixels, and the second characteristic row is the row whose number of white pixels is a preset ratio of the number of white pixels in the first characteristic row and which is closest to the top of the image.
[0078] In this embodiment, the fourth parameter P 4 for:
[0079] P 4 =L[max] / K 1 , where P 4 represents the fourth parameter, L[max] represents the number of the row with the most white pixels, K 1 Represents the length of the major axis of the convex hull.
[0080] In this embodiment, the preset ratio is 2 / 3.
[0081] Step A6: Record the number of continuous regions between the second characteristic line L[c] and the top of the image where each row of white pixels is greater than a preset width, and determine the largest and identical value among the numbers as the fifth parameter P 5 .
[0082] In this embodiment, the preset width can be obtained by calibration according to actual effects.
[0083] Step A7, traverse the area between the first characteristic line L[max] and the second characteristic line L[c], and determine whether the third characteristic line is greater than a preset number, and if so, set the sixth parameter P 6 is valid, otherwise the sixth parameter P is set 6 is invalid, the third characteristic behavior is: there are two white areas in the same pixel row and the number of pixels in the white areas is greater than the preset threshold.
[0084] In this embodiment, the preset threshold value can be obtained by calibration according to actual effects.
[0085] Step A8: Determine the gesture type according to the first to sixth parameters.
[0086] In this embodiment, the step A8 includes: if the first parameter P 1 ≥1, then according to the second to sixth parameters P 2~P 6 Match the gesture type, otherwise pass the second parameter P 2 、The third parameter P 3 、The fourth parameter P 4 Match the gesture type.
[0087] In specific implementation, the first to sixth parameters corresponding to different gestures may be preset and saved, and after identifying the first to sixth parameters in the above steps, matching may be performed to determine the corresponding gesture type.
[0088] It is worth noting that, in this embodiment, the workload of gesture matching is reduced and the efficiency of gesture matching is improved by judging the first parameter.
[0089] In this embodiment, the preset mixing method includes:
[0090] Step B1: Calculate the short-time energy E(n) of the navigation and call voice channel audio data.
[0091]
[0092] Where n = 1, 2, S 1 [i] represents the audio sampling point of the navigation channel, S 2 [i] represents the audio sampling point of the call voice channel, and m represents the number of sampled data.
[0093] Step B2: determining the mixing threshold value G at the current moment according to the short-time energy E(n).
[0094] G=max{E(n)}-6dB
[0095] Step B3: Determine the audio compression coefficient d of the corresponding channel according to the short-time energy E(n) and the mixing threshold G of each audio channel.
[0096] In this embodiment, the step B3 includes: if the short-time energy E(n) of the current audio channel is ≥ the mixing threshold G, the mixing coefficient d(n, t) corresponding to the current audio channel is determined according to a second preset relationship; otherwise, the mixing coefficient d(n, t)=1, and the second preset relationship is:
[0097]
[0098] Among them, In(1,t) represents the sound intensity of the navigation channel at time t, In(2,t) represents the sound intensity of the call voice channel at time t, Vol(1,t) represents the volume of the navigation channel at time t, and Vol(2,t) represents the volume of the call voice channel at time t.
[0099] Step B4: mix and output each channel according to the third preset relationship.
[0100] In this embodiment, the third preset relationship is:
[0101]
[0102] Where Mix(t) represents the mixed output, S n represents the audio data of each channel, and d(n,t) represents the mixing coefficient.
[0103] In another embodiment of the present invention, after step 2, the method further includes:
[0104] Step 3: After executing the preset shielding rule, send preset information to the incoming call.
[0105] In this embodiment, the preset information may be: "I am driving now and it is not convenient for me to answer the phone for the time being. I will call you after I get off the car."
[0106] 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 method for controlling incoming calls of a vehicle-mounted telephone, characterized in that: include: Step 1: When it is detected that the preset blocking rule is activated, proceed to the next step; Step 2: Receive an incoming call, identify its phone number, and determine whether the incoming call is a call in a preset blocking list. If so, execute the corresponding preset blocking rule; otherwise, do not execute the preset blocking rule and connect the incoming call.
2. The vehicle-mounted telephone incoming call control method according to claim 1, characterized in that: The step 1 comprises: Step 101, detecting whether there is a preset person in the car, if yes, starting the preset shielding rule corresponding to the preset person, otherwise proceeding to the next step; Step 102: determine whether preset information for starting preset shielding rules is received, and if so, start the preset shielding rules, wherein the preset information includes preset voice instructions or gesture instructions, and the preset shielding rules include preset first-level shielding rules and preset second-level shielding rules.
3. The vehicle-mounted telephone incoming call control method according to claim 2, characterized in that: The executing the corresponding shielding rule includes: when the preset shielding rule is a preset secondary shielding, processing the incoming call according to a first preset rule, the first preset rule including: If a preset hang-up call instruction is received, the call is hung up and a preset prompt voice is played, wherein the preset hang-up call instruction includes a voice command or a gesture; If a preset call connection instruction is received, the call audio target playback device selection interface is displayed; According to the target playback device selected by the driver, the call audio is sent to the target playback device for playback.
4. The vehicle-mounted telephone incoming call control method according to claim 3, characterized in that: If the preset hang up call instruction is a gesture, the gesture is determined according to the following method: Step A1: obtaining a palm image of the driver and processing it into a binary image according to a preset rule; Step A2: extracting a gesture contour according to the binary image using a preset algorithm, and calculating the area and perimeter of the gesture contour; Step A3, determining the convex hull of the gesture contour, and calculating the area of the convex hull, the major axis length, and the minor axis length of the convex hull; Step A4, calculating the first parameter, the second parameter, and the third parameter according to the area and the perimeter of the gesture contour, the area of the convex hull, the major axis length and the minor axis length of the convex hull, and a first preset relationship; Step A5, traversing the binary image from top to bottom, recording the number of white pixels in each row, and determining a first characteristic row, a second characteristic row, and a fourth parameter according to the number of white pixels, wherein the first characteristic row is a row with the most white pixels, and the second characteristic row is a row with a number of white pixels that is a preset ratio of the number of white pixels in the first characteristic row and is closest to the top of the image; Step A6, recording the number of continuous regions between the second characteristic row and the top of the image in which each row of white pixels is greater than a preset width, and determining the same and largest value among the numbers as the fifth parameter; Step A7, traverse the area between the first feature row and the second feature row, determine whether the third feature row is greater than a preset number, if yes, set the sixth parameter to be valid, otherwise set the sixth parameter to be invalid, the third feature row is: there are two white areas in the same pixel row and the number of pixels in the white areas is greater than a preset threshold; Step A8: Determine the gesture type according to the first to sixth parameters.
5. The vehicle-mounted telephone incoming call control method according to claim 4, characterized in that: The step A8 includes: if the first parameter is ≥1, matching the gesture type according to the second parameter to the sixth parameter; otherwise matching the gesture type through the second parameter, the third parameter, and the fourth parameter.
6. The vehicle-mounted telephone incoming call control method according to claim 3, characterized in that: The sending the call audio to the target playback device for playback comprises: If the target playback device is a car speaker and the current mode of the car system connected to the car speaker is navigation, it is determined whether the current navigation is in a broadcasting state, and if so, it is output according to a preset mixing rule.
7. The vehicle-mounted telephone incoming call control method according to claim 6, characterized in that: The preset mixing rules include: Step B1, calculating the short-term energy of the audio data of the navigation and call voice channels; Step B2, determining a mixing threshold value at the current moment according to the short-time energy; Step B3, determining the audio compression coefficient of the corresponding channel according to the short-time energy and mixing threshold of each audio channel; Step B4: mix and output each channel according to the third preset relationship.
8. The vehicle-mounted telephone incoming call control method according to claim 7, characterized in that: The step B3 includes: if the short-time energy of the current audio channel is greater than or equal to the mixing threshold, the mixing coefficient corresponding to the current audio channel is determined according to a second preset relationship; otherwise, the mixing coefficient is 1, and the second preset relationship is: Wherein, d(n,t) represents the mixing coefficient, In(1,t) represents the sound intensity of the navigation channel at time t, In(2,t) represents the sound intensity of the call voice channel at time t, Vol(1,t) represents the volume of the navigation channel at time t, and Vol(2,t) represents the volume of the call voice channel at time t.
9. The vehicle-mounted telephone incoming call control method according to claim 8, characterized in that: The third preset relationship is: Where Mix(t) represents the mixed output, S n represents the audio data of each channel, and d(n,t) represents the mixing coefficient.
10. The vehicle-mounted telephone incoming call control method according to any one of claims 1 to 9, characterized in that: After step 2, the method further includes: Step 3: After executing the preset shielding rule, send preset information to the incoming call.