Permission processing method and device, vehicle and storage medium

By receiving and judging the vehicle's scene information in the vehicle's permission issuance end, and only activate the vehicle's permission to play target audio in emergency mode, the problem of abuse or misuse of sirens in emergency situations is solved, and safe and fast passage is achieved The effect of congested road sections.

CN119516809APending Publication Date: 2025-02-25GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311084282.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-25
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the prior art, the use of sirens in an emergency may have problems with abuse or misuse, resulting in serious consequences.

Method used

The permission issuing end receives the permission request sent by the vehicle, and determines whether the vehicle is in emergency mode based on the scene information inside and outside the vehicle, and only activates the permission to play target audio in the emergency mode.

Benefits of technology

Effectively avoid the abuse or misuse of target audio, ensuring that the vehicle can quickly pass through congested roads and deal with emergency events when it is in an emergency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119516809A_ABST
    Figure CN119516809A_ABST
Patent Text Reader

Abstract

The invention provides a permission processing method and device, a vehicle and a storage medium. A permission issuing end in the application receives a permission request sent by a vehicle; events occurring inside and outside the vehicle are judged according to scene information inside and outside the vehicle included in the permission request; and under the condition that the vehicle is determined to be in a congested road section based on the scene information and the driver drives the vehicle to handle an emergency event (the vehicle is in an emergency mode), the permission issuing end opens the permission of the vehicle to play the target audio. Namely, under the condition that the vehicle is in the emergency mode, the vehicle can have the permission to play the target audio, and abuse or misuse of the target audio can be avoided. Besides, under the condition that the vehicle has the permission to play the target audio, the vehicle can play the target audio on the congested road section, so that vehicles and / or pedestrians around the vehicle give way, the vehicle can quickly pass through the congested road section, and a driver can deal with the emergency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, a device, a vehicle and a storage medium for processing permissions in the field of vehicles. Background Art

[0002] In daily life, people often use vehicles to deal with some emergency situations, such as driving a vehicle to transport emergency patients to the hospital, helping candidates retrieve their admission tickets, etc.

[0003] For the above emergency situation, one possible implementation method is that the driver of the vehicle plays a siren through the vehicle to make pedestrians or vehicles around the vehicle give way, thereby enabling the vehicle to travel quickly and handle the emergency situation quickly.

[0004] However, the above process may lead to abuse or misuse of sirens, which may lead to serious consequences. Summary of the invention

[0005] The present application provides a method, device, vehicle and storage medium for handling permissions, which can avoid abuse or misuse of target audio. In addition, when the vehicle has permission to play the target audio, the vehicle can play the target audio in a congested section, so that vehicles and / or pedestrians around the vehicle give way, thereby allowing the vehicle to quickly pass through the congested section and handle the emergency.

[0006] In a first aspect, a method for processing permissions is provided, the method being executed by a permission issuing end, the method comprising: receiving a permission request sent by a vehicle, the permission request being used to request playing of a target audio, the permission request carrying scene information inside and outside the vehicle, the target audio being used to prompt vehicles and / or pedestrians around the vehicle to give way; in response to the permission request, determining whether the vehicle is in an emergency mode based on the scene information inside and outside the vehicle, the emergency mode being used to reflect that the vehicle is traveling on a congested road section and the driver of the vehicle is driving the vehicle to handle an emergency; and when the vehicle is in emergency mode, enabling the vehicle to play the target audio so that the vehicle can play the target audio.

[0007] In the above technical solution, the permission issuing end receives the permission request sent by the vehicle; through the scene information inside and outside the vehicle included in the permission request, the events occurring inside and outside the vehicle are judged to determine whether the vehicle is in a congested section and whether the driver drives the vehicle to handle an emergency; thus, when the vehicle is in a congested section and the driver drives the vehicle to handle an emergency (the vehicle is in emergency mode), the permission issuing end opens the permission for the vehicle to play the target audio. That is to say, only when the vehicle is in emergency mode can the vehicle have the permission to play the target audio, which can avoid the abuse or misuse of the target audio. In addition, when the vehicle has the permission to play the target audio, the vehicle can play the target audio in the congested section, so that the vehicles and / or pedestrians around the vehicle give way, so that the vehicle can quickly pass through the congested section and the driver can handle the emergency.

[0008] In combination with the first aspect, in some possible implementations, the scene information inside and outside the vehicle includes an outside video stream and an inside video stream, and based on the scene information inside and outside the vehicle, determining whether the vehicle is in emergency mode includes: performing image recognition on the image frames in the outside video stream to determine a first number of vehicles and / or pedestrians contained in the image frame; determining whether the vehicle is traveling on a congested road section based on a size relationship between the first number and a preset number; performing speech recognition on the audio in the inside video stream to determine whether a first object in the vehicle outputs a preset word; determining whether the driver of the vehicle is driving the vehicle to handle an emergency based on whether the first object outputs the preset word; and / or performing face recognition on the first object in the image frame in the inside video stream to determine whether the facial expression of the first object is a first preset expression; determining whether the driver of the vehicle is driving the vehicle to handle an emergency based on whether the facial expression is the first preset expression.

[0009] In the above technical solution, by performing image recognition on the image frames in the video stream outside the vehicle, it is possible to accurately determine whether the vehicle is traveling on a congested road section; by performing voice recognition on the audio in the video stream inside the vehicle, and by performing face recognition on the first object in the image frame in the video stream inside the vehicle, it is possible to determine whether the driver of the vehicle is driving the vehicle to handle an emergency. Whether the driver is driving the vehicle to handle an emergency can be accurately determined in multiple ways.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the first interface of the permission issuing end displays the outside-vehicle video stream, the inside-vehicle video stream and the corresponding logo of the vehicle, and when the vehicle is in emergency mode, the permission of the vehicle to play the target audio is enabled, including: when the vehicle is in emergency mode, in response to a second object clicking the logo on the first interface, a second interface is displayed, and the second interface displays multiple permissions to be enabled corresponding to the vehicle; in response to the second object selecting a permission to be enabled item corresponding to the permission to play the target audio among the multiple permissions to be enabled, the permission of the vehicle to play the target audio is enabled.

[0011] In the above technical solution, the first interface of the permission issuing end displays the vehicle's external video stream and the vehicle's internal video stream, as well as the corresponding vehicle logo. When the vehicle is in emergency mode, the second object can click the vehicle logo on the first interface, and select the permission to be activated item corresponding to the permission to play the target audio on the displayed second interface to activate the vehicle's permission to play the target audio. The above process enables the second object to activate the permission to play the target audio for the vehicle through human-computer interaction, thereby increasing the second object's sense of participation.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after enabling the vehicle's permission to play the target audio, the method further includes: receiving a request for cancellation of the permission to play the target audio sent by the vehicle; and canceling the vehicle's permission to play the target audio.

[0013] In the above technical solution, the permission issuing end can receive a cancellation request for the permission to play the target audio sent by the vehicle, and cancel the permission of the vehicle to play the target audio. In other words, the permission issuing end can also cancel the permission of the vehicle to play the target audio by the vehicle independently canceling the permission to play the target audio.

[0014] In a second aspect, another method for handling permissions is provided, which is executed by a vehicle, and the method includes: in response to a target operation, sending a permission request to a permission issuing end, the target operation is used to trigger the vehicle to play a target audio, the permission request is used to request to play the target audio, the permission request carries scene information inside and outside the vehicle, and the target audio is used to prompt vehicles and / or pedestrians around the vehicle to give way; playing the target audio when the vehicle has permission to play the target audio, the permission being the permission to play the target audio enabled for the vehicle when the permission issuing end determines that the vehicle is in emergency mode based on the scene information.

[0015] In the above technical solution, the vehicle can respond to the target operation and send a permission request to the permission issuing end for requesting to play the target audio. When the vehicle obtains the authorization of the permission issuing end to play the target audio, the vehicle can play the target audio. This enables the vehicle to play the target audio only when it is determined to be in emergency mode, so that vehicles and / or pedestrians around the vehicle give way, allowing the vehicle to quickly pass through congested sections and handle emergency events. In addition, the abuse or misuse of the target audio can also be avoided.

[0016] In combination with the second aspect, in some possible implementations, the target operation is an operation based on a button to trigger the vehicle to play the target audio, and in response to the target operation, a permission request is sent to the permission issuing end, including: in response to the target operation, obtaining scene information within the vehicle; based on the scene information, determining whether the button is accidentally touched; and if the button is not accidentally touched, sending the permission request to the permission issuing end.

[0017] In the above technical solution, the vehicle responds to the target operation and sends the permission request to the permission issuing end only when it determines that the button has not been touched by mistake based on the scene information in the vehicle. Through the above method, it is possible to avoid the phenomenon that the permission request is sent to the permission issuing end when the button is touched by mistake, and avoid unnecessary waste of resources (the vehicle sends the permission request, wasting transmission resources, and the permission issuing end responds to the permission request, wasting processing resources).

[0018] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, when the vehicle has permission to play the target audio, the target audio is played, including: when the vehicle has permission to play the target audio, entering a third interface through the multimedia system in the vehicle, the third interface displaying multiple playback modes corresponding to the target audio; in response to a selection operation of a target playback mode among the multiple playback modes, controlling the target audio to be played in the target playback mode.

[0019] In the above technical solution, when the vehicle can play the target audio, the play mode of the target audio can also be set, so that the vehicle controls the target audio to play in the set play mode. This can meet the needs of different objects for the play mode of the target audio.

[0020] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the third interface also displays a function for canceling the permission to play the target audio, and the method also includes: in response to a trigger operation of the cancel function displayed on the third interface, sending a cancellation request to the permission issuing end, and the cancellation request is used to request cancellation of the permission to play the target audio.

[0021] In the above technical solution, when the permission to play the target audio is not needed, the cancellation function on the third interface can be triggered to cause the vehicle to send a cancellation request to the permission issuing end, thereby canceling the permission to play the target audio. This proactive method of sending a cancellation request to the permission issuing end can avoid the complicated process of the permission issuing end judging the progress of the emergency.

[0022] In a third aspect, a vehicle is provided, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the vehicle executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0023] In a fourth aspect, a computer-readable storage medium is provided, which stores instructions. When the instructions are executed on a computer or a processor, the computer or the processor executes the method in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a system structure diagram of a processing authority provided in an embodiment of the present application;

[0025] Figure 2 is a schematic flow chart of a method for processing permissions provided in an embodiment of the present application;

[0026] Figure 3 is a schematic diagram of an interface for selecting a play mode provided in an embodiment of the present application;

[0027] Figure 4 It is a flowchart of a method for processing permissions provided in an embodiment of the present application;

[0028] Figure 5 is a schematic flow chart of another method for processing permissions provided in an embodiment of the present application;

[0029] Figure 6 This is a schematic diagram of an interface for processing permissions provided in an embodiment of the present application;

[0030] Figure 7 It is a structural diagram of a device for processing permissions provided in an embodiment of the present application;

[0031] Figure 8 It is a structural diagram of another device for processing permissions provided in an embodiment of the present application;

[0032] Fig. 9 This is a schematic diagram of the structure of a permission issuing terminal provided in an embodiment of the present application;

[0033] Fig.10 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The technical solutions in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, "multiple" means two or more than two. The terms "first" and "second" are used for descriptive purposes only and should not be understood as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0035] Figure 1 It is a system structure diagram of a processing authority provided in an embodiment of the present application.

[0036] It should be understood that the vehicle can communicate with the permission issuing end through wireless communication technology. The vehicle can send a permission request to the permission issuing end, and the permission issuing end processes the permission request and provides corresponding services to the vehicle.

[0037] For example, Figure 1 As shown, the vehicle sends a permission request to the permission issuing end through a wireless communication network, and the permission request is used to request the activation of the target permission; after the permission issuing end receives the permission request, it analyzes the vehicle-related information carried in the permission request to determine whether to activate the target permission for the vehicle; after the permission issuing end activates the target permission for the vehicle, the vehicle can use the target permission.

[0038] Figure 2 It is a schematic flowchart of a method for processing permissions provided in an embodiment of the present application.

[0039] It should be understood that the method for processing permissions provided in the embodiment of the present application can be applied to Figure 1 The vehicle shown. Specifically, the method for processing permissions can be applied to a target controller in the vehicle, which is any one of a vehicle controller and a body domain controller, and the body domain controller is used to control various vehicle components in the vehicle. In some embodiments, the vehicle components include a lamp assembly, a wiper, a window, a rearview mirror, a seat, a vehicle air conditioner, a door, an audio player, and a Bluetooth device.

[0040] For example, Figure 2 As shown, the method 200 includes:

[0041] Step 201, in response to a target operation, the vehicle sends a permission request to the permission issuing end, the target operation is used to trigger the vehicle to play the target audio, the permission request is used to request the playing of the target audio, the permission request carries scene information inside and outside the vehicle, and the target audio is used to prompt vehicles and / or pedestrians around the vehicle to give way.

[0042] In some embodiments, the target audio is a siren. Optionally, the siren includes any one of a siren corresponding to an ambulance, a siren corresponding to a police car, and a siren corresponding to a fire truck.

[0043] In some embodiments, the target operation is an operation in which a target object triggers the vehicle to play the target audio, or the target operation is an operation in which a voice is used to trigger the vehicle to play the target audio, or the target operation is an operation in which a key is used to trigger the vehicle to play the target audio.

[0044] In some embodiments, the button is a virtual button or a physical button. The target object can trigger the playing of the target audio by pressing the physical button or touching the virtual button. Optionally, the target object can be the driver of the vehicle or other passengers in the vehicle.

[0045] It should be understood that when a vehicle is traveling on a congested road section and the driver of the vehicle is driving the vehicle to handle an emergency, the vehicle can play the target audio. In this case, the vehicles and / or pedestrians around the vehicle determine that an emergency has occurred in the vehicle and that the emergency needs to be handled quickly. At the same time, the vehicles and / or pedestrians around the vehicle give way to the vehicle, allowing the vehicle to quickly pass through the congested road section so that the driver can handle the emergency. It should also be understood that the emergency is an event that needs to be handled and completed as quickly as possible.

[0046] It should also be understood that the "authorization issuing end" in step 201 is used to grant the vehicle the authority to play the target audio when the vehicle is indeed in an emergency mode. The emergency mode is when the vehicle is in a congested road section and the driver of the vehicle is driving the vehicle to handle an emergency (an emergency occurs in the vehicle).

[0047] It should also be understood that the "target audio is used to prompt vehicles and / or pedestrians around the vehicle to give way" in step 201 can be specifically understood as: an emergency occurs in the vehicle, the vehicle needs to drive quickly, and the vehicles and / or pedestrians around the vehicle need to give way, so that the driver of the vehicle can drive the vehicle quickly to deal with the emergency.

[0048] In some embodiments, the emergency event is that a candidate does not bring his admission ticket before the college entrance examination. The driver of the vehicle drives the vehicle to handle the emergency event: the driver of the vehicle (which may be the candidate's parent) drives the vehicle to handle the event that the candidate does not bring his admission ticket before the college entrance examination.

[0049] In one possible implementation, the target operation is an operation based on a button that triggers the vehicle to play the target audio. Step 201 includes: the vehicle obtains scene information within the vehicle in response to the target operation; the vehicle determines whether the button is accidentally touched based on the scene information; if the button is not accidentally touched, the vehicle sends the permission request to the permission issuing end.

[0050] In the above technical solution, the vehicle responds to the target operation and sends the permission request to the permission issuing end only when it determines that the button has not been touched by mistake based on the scene information in the vehicle. Through the above method, it is possible to avoid the phenomenon that the permission request is sent to the permission issuing end when the button is touched by mistake, and avoid unnecessary waste of resources (the vehicle sends the permission request, wasting transmission resources, and the permission issuing end responds to the permission request, wasting processing resources).

[0051] In some embodiments, visual sensors are installed inside and around the vehicle's cockpit, and the vehicle obtains scene information inside the vehicle in response to the target operation, including: the vehicle obtains scene information inside the vehicle through the visual sensors in the cockpit in response to the target operation.

[0052] Optionally, the scene information is a video stream.

[0053] In some embodiments, the vehicle can determine whether the target object has touched the button by mistake based on the scene information. Specifically, the vehicle can determine whether the target object has touched the button by mistake based on the scene information, including: the vehicle identifies the image frames in the video stream in the vehicle to determine whether the target object is looking at the button for playing the target audio; if the target object is looking at the button, the vehicle determines that the target object has not touched the button by mistake; if the target object is not looking at the button, the vehicle determines that the target object has touched the button by mistake.

[0054] In the above technical solution, the vehicle recognizes the image frames in the video stream inside the vehicle, and can more accurately determine whether the target object really wants to play the target audio at this time, rather than accidentally touching it.

[0055] Step 202, the vehicle plays the target audio when the permission for the vehicle to play the target audio is enabled, and the permission is the permission for playing the target audio enabled for the vehicle when the permission issuing end determines that the vehicle is in emergency mode based on the scenario information.

[0056] In some embodiments, the vehicle plays the target audio, including: the vehicle plays the target audio through an audio playback device in a multimedia system in the vehicle.

[0057] In one possible implementation, step 202 includes: when the vehicle has permission to play the target audio, the vehicle enters a third interface through the multimedia system in the vehicle, and the third interface displays multiple playback modes corresponding to the target audio; the vehicle responds to the selection operation of the target playback mode among the multiple playback modes, and controls the target audio to play in the target playback mode.

[0058] In the above technical solution, when the vehicle can play the target audio, the play mode of the target audio can also be set, so that the vehicle controls the target audio to play in the set play mode. This can meet the needs of different objects for the play mode of the target audio.

[0059] In some embodiments, the target audio is a siren, and the multiple play modes include any one of a siren play mode corresponding to an ambulance, a siren play mode corresponding to a police car, and a siren play mode corresponding to a fire truck.

[0060] In some embodiments, the multiple playback modes include a playback volume corresponding to the target audio.

[0061] It should be understood that when the vehicle plays the target audio, the headlight assembly on the vehicle can be linked with the target audio. Therefore, in some embodiments, the method 200 further includes: when playing the target audio, controlling the headlight assembly to flash in a target flashing mode, the target flashing mode including the flashing frequency and flashing color of the headlight assembly.

[0062] Figure 3 This is a schematic diagram of an interface for selecting a playback mode provided in an embodiment of the present application.

[0063] For example, taking the target audio as a siren sound as an example, the process of the target object controlling the playback settings of the target audio is described. Figure 3 As shown, the third interface displays multiple playback modes corresponding to the siren, including the siren playback mode corresponding to the ambulance, the siren playback mode corresponding to the police car, and the siren playback mode corresponding to the fire truck. In addition, the third interface also displays the flashing mode corresponding to the headlight assembly in the vehicle, including multiple flashing frequencies and multiple flashing colors of the headlight assembly. The multiple flashing frequencies include 0.5s / time, 1s / time, 1.5s / time, 2s / time, and a custom flashing frequency, and the multiple flashing colors include red, yellow, green, and a custom color.

[0064] The target object can make the vehicle play any of the sirens corresponding to the ambulance, the police car and the fire truck by clicking on any of the multiple play modes (the siren play mode corresponding to the ambulance, the police car and the fire truck) on the third interface. The target object can make the vehicle play any of the sirens corresponding to the ambulance, the police car and the fire truck by clicking on any of the multiple flashing frequencies (0.5s / time, 1s / time, 1.5s / time, 2s / time and a custom flashing frequency) on the third interface so that when the vehicle plays the siren, the headlight assembly in the vehicle flashes at the flashing frequency. The target object can make the vehicle play the siren by clicking on any of the multiple flashing colors (red, yellow, green and a custom color) on the third interface so that when the vehicle plays the siren, the headlight assembly in the vehicle flashes at the flashing frequency and the flashing color.

[0065] It should be understood that when the target object is placed on the mouse cursor Figure 3 In the case of "Flicker frequency" in the display, multiple frequencies (0.5s / time, 1s / time, 1.5s / time, 2s / time and custom flicker frequency) are displayed for the target object to choose from, and the target object can choose from them based on its own needs. The same is true for "Flicker color". The target object places the mouse cursor on the Figure 3 In the case of "blinking color" in the image processing, multiple colors (red, yellow, green and custom colors) that can be selected by the target object are displayed, and the target object can select from them based on its own needs.

[0066] In one possible implementation, the third interface also displays a function for canceling the permission to play the target audio. The method 200 also includes: in response to a triggering operation of the cancel function displayed on the third interface, the vehicle sends a cancellation request to the permission issuing end, and the cancellation request is used to request cancellation of the permission to play the target audio.

[0067] In the above technical solution, when the permission to play the target audio is not needed, the cancellation function on the third interface can be triggered to cause the vehicle to send a cancellation request to the permission issuing end, thereby canceling the permission to play the target audio. This proactive method of sending a cancellation request to the permission issuing end can avoid the complicated process of the permission issuing end judging the progress of the emergency.

[0068] Figure 4 A flowchart of a method for processing permissions provided in an embodiment of the present application.

[0069] For example, Figure 4As shown, in response to the target object pressing the physical button for playing the target audio, the vehicle obtains scene information within the vehicle; based on the scene information, the vehicle determines whether the target object touches the physical button by mistake; when the target object touches the physical button by mistake, the vehicle does not send a permission request to the permission issuing end; when the target object does not touch the physical button by mistake, the vehicle sends a permission request to the permission issuing end, and the permission request is used to request to play the target audio; when the vehicle is authorized to play the target audio, the vehicle enters a third interface through the multimedia system in the vehicle, and the third interface displays multiple playback modes corresponding to the target audio; in response to the target object selecting a target playback mode from the multiple playback modes, the vehicle controls the target audio to play in the target playback mode.

[0070] Figure 5 It is a schematic flowchart of another method for processing permissions provided in an embodiment of the present application.

[0071] It should be understood that the method for processing permissions provided in the embodiment of the present application can be applied to Figure 1 Specifically, the method for processing permissions can be applied to a controller in the permission issuing end.

[0072] For example, Figure 5 As shown, the method 500 includes:

[0073] Step 501, the permission issuing end receives a permission request sent by a vehicle, the permission request is used to request to play a target audio, the permission request carries scene information inside and outside the vehicle, and the target audio is used to prompt vehicles and / or pedestrians around the vehicle to give way.

[0074] It should be understood that the implementation method of the "target audio" in step 501 is the same as the "target audio" in step 201. In some embodiments, the target audio is a siren. Optionally, the siren includes any one of a siren corresponding to an ambulance, a siren corresponding to a police car, and a siren corresponding to a fire truck.

[0075] It should also be understood that the "scene information inside and outside the vehicle" in step 501 specifically includes scene information inside the vehicle and scene information outside the vehicle. Optionally, the scene information is a video stream.

[0076] Step 502, the permission issuing end responds to the permission request and determines whether the vehicle is in emergency mode based on scene information inside and outside the vehicle. The emergency mode is used to reflect that the vehicle is traveling on a congested road and the driver of the vehicle is driving the vehicle to handle an emergency.

[0077] It should be understood that the “congested road section” in step 502 means that the first number of vehicles and / or pedestrians on the road section where the vehicle is currently traveling is greater than a preset number.

[0078] It should also be understood that "the driver of the vehicle drives the vehicle to handle the emergency" in step 502 means that the driver of the vehicle uses the vehicle to handle the emergency that occurs in the vehicle. It should also be understood that the emergency is an event that needs to be handled and completed within a preset period of time. Usually, the preset period of time is relatively short.

[0079] In one possible implementation, the scene information inside and outside the vehicle includes an outside video stream and an inside video stream. The authority issuing end in step 502 determines whether the vehicle is in emergency mode based on the scene information inside and outside the vehicle, including: the authority issuing end performs image recognition on the image frame in the outside video stream to determine a first number of vehicles and / or pedestrians contained in the image frame; the authority issuing end determines whether the vehicle is traveling on a congested road section based on the relationship between the first number and a preset number; the authority issuing end performs voice recognition on the audio in the inside video stream to determine whether a first object in the vehicle outputs a preset word; the authority issuing end determines whether the driver of the vehicle is driving the vehicle to handle an emergency event based on whether the first object outputs the preset word; and / or, the authority issuing end performs face recognition on the first object in the image frame in the inside video stream to determine whether the facial expression of the first object is a first preset expression; the authority issuing end determines whether the driver of the vehicle is driving the vehicle to handle an emergency event based on whether the facial expression is the first preset expression.

[0080] Optionally, the first object is a driver or other passenger in the vehicle.

[0081] It should be understood that the “video stream outside the vehicle” and the “video stream inside the vehicle” in the above scheme can be respectively regarded as the video stream inside the vehicle and the video stream outside the vehicle in the above scheme.

[0082] It should also be understood that the "preset vocabulary" and "first preset expression" in the above solution are both used to represent that the driver and the first object in the vehicle need to deal with the emergency event urgently.

[0083] In some embodiments, the authority issuing end determines whether the vehicle is traveling on a congested road section based on the size relationship between the first number and the preset number, including: when the first number is greater than the preset number, the authority issuing end determines that the vehicle is traveling on a congested road section; when the first number is equal to or less than the preset number, the authority issuing end determines that the vehicle is not traveling on a congested road section.

[0084] In some embodiments, the authority issuing end determines whether the driver of the vehicle is driving the vehicle to handle an emergency event based on whether the first object outputs the preset vocabulary, including: when the first object outputs the preset vocabulary, the authority issuing end determines that the driver of the vehicle is driving the vehicle to handle an emergency event; when the first object does not output the preset vocabulary, the authority issuing end determines that the driver of the vehicle is not driving the vehicle to handle an emergency event.

[0085] In some embodiments, the authority issuing end determines whether the driver of the vehicle is driving the vehicle to handle an emergency event based on whether the facial expression is the first preset expression, including: when the facial expression is the first preset expression, the authority issuing end determines that the driver of the vehicle is driving the vehicle to handle an emergency event; when the facial expression is not the first preset expression, the authority issuing end determines that the driver of the vehicle is driving the vehicle without handling an emergency event.

[0086] In some embodiments, the preset vocabulary includes at least one of "quick", "hurry up", "how long", "anxious" and "worry".

[0087] In some embodiments, the first preset expression includes any one of an anxious expression, a panic expression, a nervous expression, and a worried expression.

[0088] In the above technical solution, by performing image recognition on the image frames in the video stream outside the vehicle, it is possible to accurately determine whether the vehicle is traveling on a congested road section; by performing voice recognition on the audio in the video stream inside the vehicle, and by performing face recognition on the first object in the image frame in the video stream inside the vehicle, it is possible to determine whether the driver of the vehicle is driving the vehicle to handle an emergency. Whether the driver is driving the vehicle to handle an emergency can be accurately determined in multiple ways.

[0089] The “first number of vehicles and / or pedestrians included in the image frames in the off-vehicle video stream” is further explained as follows.

[0090] In some embodiments, the permission issuing end performs image recognition on the image frame in the off-vehicle video stream to determine a first number of vehicles and / or pedestrians contained in the image frame, including: the permission issuing end inputs the image frame into a vehicle and pedestrian detection model, and the vehicle and pedestrian detection model recognizes the image frame based on characteristics of the vehicle and / or pedestrians to determine whether the image frame includes vehicles and / or pedestrians; when the image frame includes vehicles and / or pedestrians, the permission issuing end determines the first number.

[0091] Optionally, the vehicle-pedestrian detection model is a Faster R-CNN (Region-Convolutional Neural Network) model.

[0092] Optionally, the vehicle and pedestrian detection model identifies the image frame based on features of vehicles and / or pedestrians to determine whether the image frame includes vehicles and / or pedestrians, including: the region generation network in the Faster R-CNN model extracts vehicle and / or pedestrian candidate regions in the image frame; the Faster R-CNN model extracts features of vehicles and / or pedestrians in the vehicle and / or pedestrian candidate regions; the Faster R-CNN model classifies the extracted features through a classifier to determine whether the image frame includes vehicles and / or pedestrians.

[0093] In the above technical solution, since the Faster R-CNN model in deep learning is obtained through training based on a large number of data sets, the Faster R-CNN model can improve the accuracy of vehicle and / or pedestrian detection in image frames, and improve the accuracy of vehicle and / or pedestrian detection in the image frames. Based on the vehicle and pedestrian detection model, vehicle and / or pedestrian detection is performed in the image frames, and the efficiency of vehicle and / or pedestrian detection can also be improved.

[0094] The following further explains "whether the first object in the vehicle outputs a preset vocabulary".

[0095] In some embodiments, the permission issuing end performs voice recognition on the audio in the in-vehicle video stream to determine whether a first object in the vehicle outputs a preset vocabulary, including: the permission issuing end inputs the audio into a vocabulary detection model, and the vocabulary detection model recognizes the audio to determine whether the audio contains a preset vocabulary; if the audio contains the preset vocabulary, the permission issuing end determines that the first object outputs the preset vocabulary; if the audio does not contain the preset vocabulary, the permission issuing end determines that the first object does not output the preset vocabulary.

[0096] In the above technical solution, usually, when people need to deal with an emergency urgently, they are nervous and anxious, and they will say some sentences or words that express nervousness. Therefore, the permission issuing end can perform voice recognition on the sentences or words output by the first object in the vehicle (audio in the in-vehicle video stream) through the vocabulary detection model. When it is determined that the audio contains preset words (any one of "quick", "hurry up", "how long", "anxious" and "worried"), it can be more accurately determined that the driver of the vehicle is driving the vehicle to deal with an emergency.

[0097] It should be understood that the "vocabulary detection model" in the above scheme is a pre-trained model. In some embodiments, the method for determining the vocabulary detection model includes: the authority issuing end obtains a training sample set and a corresponding sample label, the training sample set includes multiple training audios, and the sample label is used to indicate whether the training audio contains a preset vocabulary; the authority issuing end inputs the first training audio in the training sample set into the first vocabulary detection model, and the first vocabulary detection model performs speech recognition on the first training audio to obtain a first training result; when the loss value between the first training result and the first sample label is greater than a preset value, the authority issuing end adjusts the parameters in the first vocabulary detection model to obtain a second vocabulary detection model; the authority issuing end inputs the second training audio in the training sample set into the second vocabulary detection model, ..., and so on. When the loss value between the Nth training result and the Nth sample label is less than or equal to the preset value, the authority issuing end no longer adjusts the parameters in the Nth vocabulary detection model, and determines the Nth vocabulary detection model as the vocabulary detection model.

[0098] The question "whether the expression of the first object in the vehicle is the first preset expression" is further explained as follows.

[0099] In some embodiments, the permission issuing end performs face recognition on the first object in the image frame in the in-vehicle video stream to determine whether the facial expression of the first object is a first preset expression, including: the permission issuing end performs face recognition on the first object in the image frame to segment a face image from the image frame; the permission issuing end extracts facial features in the face image, and the facial features include the shape, size and position of the eyes, mouth, eyebrows and nose; the permission issuing end determines the facial expression of the first object based on the facial features through a classifier; the permission issuing end matches the facial expression with the first preset expression; if the facial expression matches the first preset expression, the permission issuing end determines that the facial expression of the first object is the first preset expression; if the facial expression does not match the first preset expression, the permission issuing end determines that the facial expression of the first object is not the first preset expression.

[0100] Optionally, a method for determining whether the facial expression matches the first preset expression includes: the authority issuing end determines the similarity between the expression feature map corresponding to the facial expression and the expression feature map corresponding to the first preset expression; when the similarity is greater than the preset similarity, the authority issuing end determines that the facial expression matches the first preset expression.

[0101] In the above technical solution, usually, when people need to deal with an emergency urgently, their facial expressions are tense and anxious. Therefore, the permission issuing end can more accurately determine that the driver of the vehicle is driving the vehicle to deal with an emergency by identifying the facial expression of the first object in the vehicle and determining that the facial expression matches the first preset expression (any one of anxious expression, panic expression, nervous expression and anxious expression).

[0102] Step 503: When the vehicle is in emergency mode, the permission issuing end grants the vehicle permission to play the target audio, so that the vehicle can play the target audio.

[0103] It should be understood that the vehicle can only have the permission to play the target audio after the permission issuing end in step 503 opens the permission for the vehicle to play the target audio. In other words, the vehicle can play the target audio when an emergency occurs on a congested road section.

[0104] In one possible implementation, the first interface of the permission issuing end displays the outside-vehicle video stream, the inside-vehicle video stream and the corresponding logo of the vehicle, and step 503 includes: when the vehicle is in emergency mode, the permission issuing end responds to the second object's click operation on the logo on the first interface, and displays a second interface, and the second interface displays a plurality of permissions to be activated corresponding to the vehicle; the permission issuing end responds to the second object's selection operation on the permission to be activated item corresponding to the permission to play the target audio among the plurality of permissions to be activated, and activates the permission of the vehicle to play the target audio.

[0105] In some embodiments, the target audio is a siren, the permission issuing end is a device corresponding to a traffic police rescue center, and the second object is a traffic police.

[0106] In the above technical solution, the first interface of the permission issuing end displays the vehicle's external video stream, the vehicle's internal video stream, and the corresponding vehicle logo. When the vehicle is in emergency mode, the second object can click the vehicle logo on the first interface, and select the permission to be activated corresponding to the permission to play the target audio on the displayed second interface to activate the vehicle's permission to play the target audio. The above process enables the second object to activate the permission to play the target audio for the vehicle through human-computer interaction, thereby increasing the second object's sense of participation.

[0107] In some embodiments, the identification of the vehicle is the license plate number of the vehicle or the vehicle identification number (VIN) of the vehicle.

[0108] It should be understood that the VIN can uniquely identify the vehicle. For example, the VIN of the first vehicle is LFPH5ABC469010138, wherein the first three digits LFP indicate a vehicle produced by a certain manufacturer, the fourth digit H indicates the brand of the vehicle, the fifth digit 5 ​​indicates that the displacement of the vehicle is between 2.1 and 2.6 liters, the sixth digit A indicates that the driving mode of the vehicle is front-wheel drive, the seventh digit B indicates that the vehicle is a four-door model, the eighth digit C indicates that the seat belt of the vehicle is an emergency locking seat belt, the ninth digit indicates the digital check code of the vehicle, the tenth digit 6 indicates that the production year of the vehicle is 2006, the eleventh digit 9 indicates that the assembly plant that produced the vehicle is an assembly plant certified by a certain communications committee, the twelfth digit indicates the production line code of the vehicle, and the thirteenth to seventeenth digits indicate the production sequence number of the vehicle.

[0109] In some embodiments, the multiple permissions to be activated include changing the color of the vehicle, adding other components to the vehicle, and parking the vehicle in an emergency lane.

[0110] Figure 6 It is a schematic diagram of an interface for processing permissions provided in an embodiment of the present application.

[0111] For example, Figure 6 The first interface shown in (a) in FIG. 1 shows multiple vehicle logos and corresponding scene information inside and outside the vehicle, including the license plate number of vehicle A and the license plate number of vehicle B. The scene information includes an outside video stream and an inside video stream. Figure 6 The second interface shown in (b) in the figure displays the license plate number of vehicle A and various permissions to be activated corresponding to vehicle A, including playing target audio, changing vehicle color, adding other components to the vehicle, and parking the vehicle in an emergency channel.

[0112] The second object can click on the license plate number of vehicle A (the identification of vehicle A) on the first interface. In response to the click operation of the second object on the identification of vehicle A, the permission issuing end displays the following information: Figure 6 The second interface shown in (b) in the figure. The second object can click on the second interface to play the target audio, change the vehicle color, add other components to the vehicle, and park the vehicle in the emergency channel to play the target audio. The permission issuing end responds to the second object's selection operation on the play target audio and opens the permission for the vehicle to play the target audio.

[0113] In some embodiments, the permission issuing end opens the vehicle's permission to play the target audio in response to the second object's selection operation on the permission to be activated item among the multiple permissions to be activated that corresponds to the permission to play the target audio, including any one of the following: the permission issuing end opens the vehicle's permission to play the target audio in response to the second object's checking the selection box associated with the permission to be activated item among the multiple permissions to be activated that corresponds to the permission to play the target audio; the permission issuing end opens the vehicle's permission to play the target audio in response to the second object's double-clicking operation on the permission to be activated item among the multiple permissions to be activated that corresponds to the permission to play the target audio.

[0114] In the above technical solution, for the object operating the permission issuing end (when the permission issuing end is the equipment corresponding to the traffic police rescue center, the object can be the second object), two methods are given to select the permission to be activated item corresponding to the permission to play the target audio from multiple permission to be activated items. The first method is to check the selection box associated with the permission to be activated item corresponding to the permission to play the target audio; the second method is to double-click the permission to be activated item corresponding to the permission to play the target audio. Selecting the permission to be activated item corresponding to the permission to play the target audio from multiple permission to be activated items in a variety of ways can meet the operational requirements of different objects operating the permission issuing end.

[0115] In one possible implementation, the permission request also includes the location of the vehicle and an identification of the vehicle. The method 500 also includes: the permission issuing end determines whether the second object needs to travel to the location based on the scene information inside and outside the vehicle; if the second object needs to travel to the location, the permission issuing end sends the location and the identification to the mobile terminal of the second object.

[0116] It should be understood that "the authority issuing end determines whether the second object is required to drive to the location" in the above solution can be simply understood as: whether the assistance of the second object is required during the process of the driver driving the vehicle to deal with the emergency.

[0117] In the above technical solution, when the vehicle is in emergency mode, the permission issuing end can also determine whether the vehicle needs assistance from the second object based on the scene information inside and outside the vehicle. If assistance is needed, the permission issuing end sends the location of the vehicle and the identification of the vehicle to the mobile terminal of the second object, so that the second object can quickly find the vehicle and assist the vehicle to exit the emergency mode as soon as possible.

[0118] In some embodiments, the permission issuing end determines whether a second object is required to travel to the location based on scene information inside and outside the vehicle, including: the permission issuing end processes the scene information inside and outside the vehicle to determine whether the driver can handle the emergency event within a preset time while the vehicle is playing the target audio; if the driver cannot handle the emergency event within the preset time while driving the vehicle, the permission issuing end determines that the second object is required to travel to the location; if the driver can handle the emergency event within the preset time while driving the vehicle, the permission issuing end determines that the second object is not required to travel to the location.

[0119] In the above technical solution, the authority issuing end processes the scene information inside and outside the vehicle to determine whether the driver can handle the emergency event within a preset time when the vehicle plays the target audio; if the driver cannot handle the emergency event within the preset time when driving the vehicle, the authority issuing end determines that the second object needs to drive to the location. The second object can drive to the location to assist the driver in handling the emergency, so that the emergency is handled as soon as possible. If the driver can handle the emergency within the preset time when driving the vehicle, the authority issuing end determines that the second object does not need to drive to the location. In this way, the second object can handle other things, such as assisting other objects to complete certain things.

[0120] The process of "removing the vehicle's permission to play the target audio" is further explained as follows.

[0121] The first

[0122] In one possible implementation, after the permission issuing end in step 503 opens the permission for the vehicle to play the target audio, the method 500 also includes: the permission issuing end obtains target scene information for a first time period in the vehicle, and the first time period is any time period after the permission for the vehicle to play the target audio is opened; the permission issuing end determines the processing progress of the emergency event based on the target scene information; and cancels the vehicle's permission to play the target audio when the processing progress indicates that the emergency event has been processed.

[0123] In the above technical solution, after the permission issuing end opens the permission to play the target audio for the vehicle, the vehicle can play the target audio in a congested road section, so that vehicles and / or pedestrians around the vehicle give way and handle the emergency. At the same time, the permission issuing end can obtain the target scene information in the vehicle and track the progress of the driver driving the vehicle to handle the emergency. When it is determined that the emergency has been handled, the permission issuing end cancels the vehicle's permission to play the target audio. The above process can avoid the phenomenon of abuse of the target audio by opening the permission to play the target audio for the vehicle after the driver has driven the vehicle to handle the emergency.

[0124] In some embodiments, the authority issuing end determines the processing progress of the emergency event based on the target scene information, including: the authority issuing end identifies the image frame included in the target scene information, and determines the expression of the first object in the vehicle; when the expression matches the second preset expression, the authority issuing end determines that the emergency event is processed; when the expression matches the first preset expression, the authority issuing end determines that the emergency event is not processed.

[0125] It should be understood that the “second preset expression” in the above solution is used to represent that the first object in the vehicle is in a relaxed state.

[0126] In some embodiments, the "second preset expression" in the above scheme is any one of a relaxed expression, a happy expression, a friendly expression, and a proud expression.

[0127] In the above technical solution, usually, when people need to deal with an emergency urgently, their expressions are tense and anxious. When they do not need to deal with an emergency urgently, their expressions are relaxed and happy. Therefore, the authority issuing end identifies the expression of the first object in the vehicle. When it is determined that the expression matches the first preset expression (any one of an anxious expression, a panic expression, a nervous expression, and a worried expression), it can be more accurately determined that the driver of the vehicle is still driving the vehicle to deal with the emergency, and the emergency has not been handled. When it is determined that the expression matches the second preset expression (any one of a relaxed expression, a happy expression, a friendly expression, and a proud expression), it can be more accurately determined that the driver of the vehicle is driving the vehicle without handling the emergency, and the emergency has been handled.

[0128] The second

[0129] In one possible implementation, after the permission issuing end in step 503 grants the vehicle permission to play the target audio, the method 500 further includes: the permission issuing end receives a request from the vehicle to cancel the permission to play the target audio; and the permission issuing end cancels the vehicle's permission to play the target audio.

[0130] In the above technical solution, the permission issuing end can receive a cancellation request for the permission to play the target audio sent by the vehicle, and cancel the permission of the vehicle to play the target audio. In other words, the permission issuing end can also cancel the permission of the vehicle to play the target audio by the vehicle independently canceling the permission to play the target audio.

[0131] It should be understood that the above scheme determines "canceling the vehicle's permission to play the target audio" in two ways. The first is that the permission issuing end autonomously obtains the scene information (target scene information) in the vehicle, and the permission issuing end automatically processes the target scene information to determine the progress of the emergency; when the processing progress indicates that the emergency has been processed, the permission issuing end cancels the vehicle's permission to play the target audio. The second is that the vehicle actively informs the permission issuing end to cancel the permission to play the target audio.

[0132] Figure 7 It is a structural diagram of a device for processing permissions provided in an embodiment of the present application.

[0133] For example, Figure 7 As shown, the device 700 is installed in the permission issuing end, and the device 700 includes:

[0134] The receiving module 701 is used to receive a permission request sent by a vehicle, where the permission request is used to request to play a target audio, and the permission request carries scene information inside and outside the vehicle, where the target audio is used to prompt vehicles and / or pedestrians around the vehicle to give way;

[0135] A determination module 702, configured to determine, in response to the permission request, whether the vehicle is in an emergency mode based on scene information inside and outside the vehicle, the emergency mode being used to reflect that the vehicle is traveling on a congested road section and the driver of the vehicle is driving the vehicle to handle an emergency;

[0136] The processing module 703 is used to enable the vehicle to play the target audio when the vehicle is in emergency mode, so that the vehicle can play the target audio.

[0137] Optionally, the scene information inside and outside the vehicle includes an outside video stream and an inside video stream, and the determination module 702 is specifically used to: perform image recognition on the image frames in the outside video stream to determine a first number of vehicles and / or pedestrians contained in the image frame; determine whether the vehicle is traveling on a congested road section based on the size relationship between the first number and a preset number; perform speech recognition on the audio in the inside video stream to determine whether a first object in the vehicle outputs a preset word; determine whether the driver of the vehicle is driving the vehicle to handle an emergency based on whether the first object outputs the preset word; and / or perform face recognition on the first object in the image frame in the inside video stream to determine whether the facial expression of the first object is a first preset expression; determine whether the driver of the vehicle is driving the vehicle to handle an emergency based on whether the facial expression is the first preset expression.

[0138] Optionally, the first interface of the permission issuing end displays the outside-vehicle video stream, the inside-vehicle video stream and the corresponding logo of the vehicle, and the device 700 also includes: a display module, which is used to display a second interface in response to a click operation of the second object on the logo on the first interface when the vehicle is in emergency mode, and the second interface displays multiple permissions to be activated corresponding to the vehicle; the processing module 703 is specifically used to activate the vehicle's permission to play the target audio in response to the second object's selection operation on the permission to be activated item corresponding to the permission to play the target audio among the multiple permissions to be activated items.

[0139] Optionally, the permission request also includes the location of the vehicle and the identification of the vehicle. The determination module 702 is also used to determine whether the second object needs to travel to the location based on scene information inside and outside the vehicle; the device 700 also includes: a sending module, which is used to send the location and the identification to the mobile terminal of the second object when the second object needs to travel to the location.

[0140] Optionally, after enabling the vehicle to play the target audio, the device 700 further includes: an acquisition module, used to acquire target scene information of a first time period in the vehicle, where the first time period is any time period after enabling the vehicle to play the target audio; the determination module 702, further used to determine the processing progress of the emergency event based on the target scene information; the processing module 703, further used to cancel the vehicle's permission to play the target audio when the processing progress indicates that the emergency event has been processed.

[0141] Optionally, after the vehicle is granted permission to play the target audio, the receiving module is further used to receive a request from the vehicle to cancel the permission to play the target audio; the processing module 703 is further used to cancel the vehicle's permission to play the target audio.

[0142] Figure 8 It is a structural diagram of a device for processing permissions provided in an embodiment of the present application.

[0143] For example, Figure 8 As shown, the device 800 is installed in a vehicle, and the device 800 includes:

[0144] The sending module 801 is used to send a permission request to the permission issuing end in response to a target operation, wherein the target operation is used to trigger the vehicle to play the target audio, the permission request is used to request to play the target audio, the permission request carries scene information inside and outside the vehicle, and the target audio is used to prompt vehicles and / or pedestrians around the vehicle to give way;

[0145] The playing module 802 is used to play the target audio when the vehicle has permission to play the target audio. The permission is the permission to play the target audio enabled for the vehicle when the permission issuing end determines that the vehicle is in emergency mode based on the scenario information.

[0146] Optionally, the target operation is an operation based on triggering the vehicle to play the target audio by pressing a button, and the device 800 also includes: an acquisition module, used to acquire scene information within the vehicle in response to the target operation; a determination module, used to determine whether the button is accidentally touched based on the scene information; the sending module 801 is specifically used to send the permission request to the permission issuing end when the button is not accidentally touched.

[0147] Optionally, the playback module 802 is specifically used to: when the permission for playing the target audio in the vehicle is enabled, enter a third interface through the multimedia system in the vehicle, and the third interface displays multiple playback modes corresponding to the target audio; in response to a selection operation of a target playback mode among the multiple playback modes, control the target audio to be played in the target playback mode.

[0148] Optionally, the third interface also displays a function for canceling the permission to play the target audio. The sending module 801 is also used to send a cancellation request to the permission issuing end in response to a trigger operation of the cancellation function displayed on the third interface. The cancellation request is used to request cancellation of the permission to play the target audio.

[0149] Fig. 9 It is a structural diagram of a permission issuing terminal provided in an embodiment of the present application.

[0150] For example, Fig. 9As shown, the permission issuing end 900 includes: a memory 901, a processor 902, and a computer program 903 stored in the memory 901 and running on the processor 902, wherein when the processor 902 executes the computer program 903, the permission issuing end can execute any one of the methods for processing permissions introduced above.

[0151] Fig.10 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0152] For example, Fig.10 As shown, the vehicle 100 includes: a memory 101, a processor 102, and a computer program 103 stored in the memory 101 and running on the processor 102, wherein when the processor 102 executes the computer program 103, the vehicle can execute any one of the methods for handling permissions introduced above.

[0153] In this embodiment, the functional modules of the vehicle can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0154] In the case of dividing each functional module according to each function, the vehicle may include: a sending module, a playing module, an acquiring module, a determining module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0155] The vehicle provided in this embodiment is used to execute the above-mentioned method of processing permissions, and thus can achieve the same effect as the above-mentioned implementation method.

[0156] In the case of an integrated unit, the vehicle may include a processing module and a storage module. The processing module may be used to control and manage the actions of the vehicle. The storage module may be used for the vehicle to execute mutual program codes and data.

[0157] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0158] This embodiment provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer or a processor, the computer or the processor executes any one of the aforementioned methods for processing permissions.

[0159] This embodiment also provides a computer program product including instructions. When the computer program product is executed on a computer or a processor, the computer or the processor executes the above-mentioned related steps to implement any one of the aforementioned methods for processing permissions.

[0160] Among them, the vehicle, computer-readable storage medium, computer program product or chip containing instructions provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0161] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0162] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0163] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for processing permissions, characterized in that: The method is executed by a permission issuing end, and the method includes: receiving a permission request sent by a vehicle, the permission request being used to request to play a target audio, the permission request carrying scene information inside and outside the vehicle, the target audio being used to prompt vehicles and / or pedestrians around the vehicle to give way; In response to the permission request, determining whether the vehicle is in an emergency mode based on scene information inside and outside the vehicle, the emergency mode being used to reflect that the vehicle is traveling on a congested road section and the driver of the vehicle is driving the vehicle to handle an emergency; When the vehicle is in emergency mode, permission for the vehicle to play the target audio is enabled so that the vehicle can play the target audio.

2. The method according to claim 1, characterized in that The scene information inside and outside the vehicle includes an outside-vehicle video stream and an inside-vehicle video stream, and determining whether the vehicle is in an emergency mode based on the scene information inside and outside the vehicle includes: Performing image recognition on the image frames in the off-vehicle video stream to determine a first number of vehicles and / or pedestrians contained in the image frames; Based on the magnitude relationship between the first number and a preset number, determining whether the vehicle is traveling on a congested road section; Performing speech recognition on the audio in the in-vehicle video stream to determine whether a first object in the vehicle outputs a preset vocabulary; determining whether the driver of the vehicle is driving the vehicle to handle an emergency event based on whether the first object outputs the preset vocabulary; and / or, Performing face recognition on the first object in the image frame in the in-vehicle video stream to determine whether the facial expression of the first object is a first preset expression; Based on whether the facial expression is the first preset expression, it is determined whether the driver of the vehicle is driving the vehicle to handle an emergency.

3. The method according to claim 2, characterized in that The first interface of the permission issuing end displays the external video stream, the internal video stream and the corresponding vehicle identification, and when the vehicle is in emergency mode, opening the permission for the vehicle to play the target audio includes: When the vehicle is in emergency mode, in response to a click operation of the second object on the mark on the first interface, a second interface is displayed, wherein the second interface displays a plurality of permission items to be activated corresponding to the vehicle; In response to the second object selecting a permission item corresponding to the permission to play the target audio among the plurality of permission items to be activated, the permission for the vehicle to play the target audio is activated.

4. The method according to any one of claims 1 to 3, characterized in that After the permission for the vehicle to play the target audio is enabled, the method further includes: receiving a request for cancelling the permission to play the target audio sent by the vehicle; Revoke the permission of the vehicle to play the target audio.

5. A method for processing permissions, characterized in that: The method is performed by a vehicle, and comprises: In response to a target operation, sending a permission request to the permission issuing end, the target operation is used to trigger the vehicle to play the target audio, the permission request is used to request to play the target audio, the permission request carries scene information inside and outside the vehicle, and the target audio is used to prompt vehicles and / or pedestrians around the vehicle to give way; In the case where the vehicle has permission to play the target audio, the target audio is played, wherein the permission is the permission to play the target audio enabled for the vehicle when the permission issuing end determines that the vehicle is in emergency mode based on the scenario information.

6. The method according to claim 5, characterized in that The target operation is an operation based on a key to trigger the vehicle to play the target audio, and in response to the target operation, sending a permission request to the permission issuing end includes: In response to the target operation, acquiring scene information within the vehicle; Based on the scene information, determining whether the button is accidentally touched; When the button is not touched by mistake, the permission request is sent to the permission issuing end.

7. The method according to claim 5, characterized in that When the permission for playing the target audio in the vehicle is enabled, playing the target audio includes: When the vehicle is authorized to play the target audio, a third interface is entered through the multimedia system in the vehicle, and the third interface displays multiple playback modes corresponding to the target audio; In response to a selection operation of a target playback mode among the multiple playback modes, the target audio is controlled to be played in the target playback mode.

8. The method according to claim 7, characterized in that The third interface also displays a function for canceling the permission to play the target audio, and the method further includes: In response to a triggering operation on the cancel function displayed on the third interface, a cancel request is sent to the permission issuing end, where the cancel request is used to request cancellation of permission to play the target audio.

9. A vehicle, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the vehicle executes the method for handling authority as claimed in any one of claims 5 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the method for processing permissions as claimed in any one of claims 1 to 8.