CN114500112A - Voice broadcasting method, vehicle-mounted loudspeaker, vehicle-mounted terminal and vehicle - Google Patents
Voice broadcasting method, vehicle-mounted loudspeaker, vehicle-mounted terminal and vehicle Download PDFInfo
- Publication number
- CN114500112A CN114500112A CN202210380476.7A CN202210380476A CN114500112A CN 114500112 A CN114500112 A CN 114500112A CN 202210380476 A CN202210380476 A CN 202210380476A CN 114500112 A CN114500112 A CN 114500112A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- broadcast
- mounted terminal
- loudspeaker
- ciphertext
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000013475 authorization Methods 0.000 claims abstract description 38
- 238000004891 communication Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 230000003993 interaction Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 230000003321 amplification Effects 0.000 claims description 3
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R11/00—Arrangements for holding or mounting articles, not otherwise provided for
- B60R11/02—Arrangements for holding or mounting articles, not otherwise provided for for radio sets, television sets, telephones, or the like; Arrangement of controls thereof
- B60R11/0217—Arrangements for holding or mounting articles, not otherwise provided for for radio sets, television sets, telephones, or the like; Arrangement of controls thereof for loud-speakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mechanical Engineering (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The disclosure relates to a voice broadcasting method, a vehicle-mounted loudspeaker, a vehicle-mounted terminal and a vehicle. The method comprises the following steps: the vehicle-mounted loudspeaker responds to a received broadcast request sent by the vehicle-mounted terminal and sends an authorization code to the vehicle-mounted terminal; receiving a first ciphertext generated by the vehicle-mounted terminal according to the authorization code; generating a second ciphertext according to the authorization code; if the first ciphertext is consistent with the second ciphertext, sending a first broadcast password to the vehicle-mounted terminal; receiving a second broadcast password and broadcast content sent by the vehicle-mounted terminal; if the first broadcast password is consistent with the second broadcast password, voice broadcast is carried out according to broadcast contents. So, can make a plurality of vehicle terminals can carry out voice broadcast through same on-vehicle loudspeaker, realize the shared use of on-vehicle loudspeaker in the vehicle, need not to install repeated report device in the vehicle. Meanwhile, the broadcasting content can be ensured to come from a correct vehicle-mounted terminal, and the accuracy of voice broadcasting is ensured.
Description
Technical Field
The disclosure relates to the field of vehicles, in particular to a voice broadcasting method, a vehicle-mounted loudspeaker, a vehicle-mounted terminal and a vehicle.
Background
With the development of vehicle technology, users often play music in vehicles, and provide necessary voice information broadcast for users in the use process of vehicles, so that the users can know the vehicle state in time, and therefore playing audio in the vehicles is a function required by the current vehicles. However, one vehicle is usually equipped with a plurality of different vehicle-mounted devices, such as T-Box (vehicle mounted wireless terminal), BCM (body control module), and the like, and the conventional vehicle-mounted horn is generally directly driven by an audio device to play the content of the vehicle-mounted device linked to the audio device. In order to realize the voice broadcast function of a plurality of vehicle-mounted devices, it is generally necessary to configure a corresponding audio device for each vehicle-mounted device.
Disclosure of Invention
The disclosed purpose is to provide a voice broadcasting method, a vehicle-mounted loudspeaker, a vehicle-mounted terminal and a vehicle, so that the shared use of the vehicle-mounted loudspeaker in the vehicle is realized, and a repeated broadcasting device does not need to be installed in the vehicle. Meanwhile, the broadcasting content can be ensured to come from a correct vehicle-mounted terminal, and the accuracy of voice broadcasting is ensured.
In order to achieve the above object, a first aspect of the present disclosure provides a voice broadcast method applied to a vehicle-mounted speaker, the method including:
sending an authorization code to a vehicle-mounted terminal in response to receiving a broadcast request sent by the vehicle-mounted terminal;
receiving a first ciphertext generated by the vehicle-mounted terminal according to the authorization code;
generating a second ciphertext according to the authorization code;
if the first ciphertext is consistent with the second ciphertext, sending a first broadcast password to the vehicle-mounted terminal;
receiving a second broadcast password and broadcast contents sent by the vehicle-mounted terminal;
if the first broadcast password is consistent with the second broadcast password, voice broadcast is carried out according to the broadcast content.
Optionally, the method further comprises:
and if the first ciphertext is inconsistent with the second ciphertext, generating a first indication message for indicating that the vehicle-mounted terminal and the vehicle-mounted loudspeaker fail to authenticate.
Optionally, the method further comprises:
and if the second broadcast password is inconsistent with the first broadcast password, generating a second indication message for indicating that the broadcast fails.
Optionally, before the sending an authorization code to the vehicle-mounted terminal in response to receiving the broadcast request sent by the vehicle-mounted terminal, the method further includes:
receiving an authentication code sent by the vehicle-mounted terminal;
and if the received authentication code is consistent with a preset authentication code, determining that the vehicle-mounted terminal is legal equipment.
The second aspect of the present disclosure provides a voice broadcast method, which is applied to a vehicle-mounted terminal, and the method includes:
sending a broadcast request to a vehicle-mounted loudspeaker;
receiving an authorization code sent by the vehicle-mounted loudspeaker;
generating a first ciphertext according to the authorization code;
sending the first ciphertext to the vehicle-mounted loudspeaker;
in response to receiving the broadcast password sent by the vehicle-mounted loudspeaker, sending the broadcast password and the broadcast content to the vehicle-mounted loudspeaker, so that the vehicle-mounted loudspeaker determines whether to perform voice broadcast according to the broadcast content according to the received broadcast password.
Optionally, before the sending the broadcast request to the vehicle-mounted speaker, the method further includes:
and sending an authentication code to the vehicle-mounted loudspeaker so that the vehicle-mounted loudspeaker determines whether the vehicle-mounted terminal is legal equipment.
A third aspect of the present disclosure provides an in-vehicle horn, comprising: the system comprises a communication component, a memory, a processor and a text-to-speech (TTS) conversion module, wherein the communication component is used for carrying out information interaction with the vehicle-mounted terminal; wherein,
the TTS conversion module is used for voice broadcast;
the memory stores a computer program;
the processor is configured to execute the computer program in the memory to implement the steps of the method provided by the first aspect of the disclosure.
Optionally, the vehicle-mounted horn further includes: and the power amplification assembly is used for amplifying the power of the vehicle-mounted loudspeaker.
A fourth aspect of the present disclosure provides a vehicle-mounted terminal, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method provided by the second aspect of the present disclosure.
The fifth aspect of the present disclosure provides a vehicle, which includes a vehicle-mounted horn and at least one vehicle-mounted terminal, where the vehicle-mounted horn is the vehicle-mounted horn provided by the third aspect of the present disclosure, and the vehicle-mounted terminal is the vehicle-mounted terminal provided by the fourth aspect of the present disclosure.
Through the technical scheme, the vehicle-mounted loudspeaker responds to a received broadcast request sent by the vehicle-mounted terminal and sends an authorization code to the vehicle-mounted terminal; receiving a first ciphertext generated by the vehicle-mounted terminal according to the authorization code; generating a second ciphertext according to the authorization code; if the first ciphertext is consistent with the second ciphertext, sending a first broadcast password to the vehicle-mounted terminal; receiving a second broadcast password and broadcast content sent by the vehicle-mounted terminal; if the first broadcast password is consistent with the second broadcast password, voice broadcast is carried out according to the broadcast content. By comparing the first ciphertext with the second ciphertext, whether the vehicle-mounted terminal passes the authentication of the vehicle-mounted loudspeaker or not can be determined; when the authentication is passed, whether the broadcast content comes from a required vehicle-mounted terminal can be determined through the comparison result of the first broadcast password and the second broadcast password, so that whether the broadcast content is broadcast or not can be determined. So, can make a plurality of vehicle terminals can carry out voice broadcast through same on-vehicle loudspeaker, realize the shared use of on-vehicle loudspeaker in the vehicle, need not to install repeated report device in the vehicle. Meanwhile, the broadcasting content can be ensured to come from a correct vehicle-mounted terminal, and the accuracy of voice broadcasting is ensured.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flowchart of a voice broadcast method according to an exemplary embodiment of the present disclosure;
fig. 2 is a flowchart of a voice broadcasting method according to another exemplary embodiment of the present disclosure;
fig. 3 is an interaction diagram between a vehicle-mounted speaker and a vehicle-mounted terminal in a voice broadcast method according to another exemplary embodiment of the present disclosure;
FIG. 4 is a block diagram of a vehicle mounted horn provided in an exemplary embodiment of the present disclosure;
fig. 5 is a block diagram of an in-vehicle terminal according to another exemplary embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart of a voice broadcast method according to an exemplary embodiment of the present disclosure. The method can be applied to the vehicle-mounted horn. As shown in fig. 1, the method may include S101 to S106.
And S101, sending an authorization code to the vehicle-mounted terminal in response to receiving the broadcast request sent by the vehicle-mounted terminal.
As an example, an authorization code in the vehicle horn may be preset. As another example, the authorization code in the in-vehicle horn may be generated instantaneously by the authorization code generation module in the in-vehicle horn. When receiving a broadcast request sent by the vehicle-mounted terminal, the vehicle-mounted loudspeaker sends an authorization code to the vehicle-mounted terminal, and the authorization code can be used for the vehicle-mounted terminal to generate a second ciphertext. The vehicle-mounted loudspeaker and the vehicle-mounted terminal CAN perform information interaction through respective CAN communication modules.
And S102, receiving a first ciphertext generated by the vehicle-mounted terminal according to the authorization code.
And S103, generating a second ciphertext according to the authorization code.
For example, the second ciphertext may be generated by an encryption module in the vehicle-mounted horn, for example, the authorization code is input into an encryption program preset by the vehicle-mounted horn encryption module to obtain the second ciphertext. It should be noted that, in the present disclosure, the execution sequence of S102 and S103 is not specifically limited, for example, S102 may be executed first and then S103 may be executed, S102 and S103 may also be executed simultaneously, in fig. 1, S102 and S103 are executed first and then S103 is executed, which is exemplified and not limited in the present disclosure.
And S104, if the first ciphertext is consistent with the second ciphertext, sending a first broadcast password to the vehicle-mounted terminal.
For example, if a first ciphertext generated by the vehicle-mounted terminal according to the authorization code and a second ciphertext generated by the vehicle-mounted speaker, which are received by the vehicle-mounted speaker, are consistent, it may be determined that the vehicle-mounted terminal and the vehicle-mounted speaker are successfully authenticated in an authorization code encryption manner. The vehicle-mounted terminal acquires the authentication of the vehicle-mounted loudspeaker, and the vehicle-mounted loudspeaker can send a first broadcast password to the vehicle-mounted terminal at the moment. Through sending first report password to vehicle terminal, can get into and report the flow. Wherein, first report password can be generated immediately through the report password generation module in the on-vehicle loudspeaker to store to the memory cell in.
And S105, receiving a second broadcast password and broadcast content sent by the vehicle-mounted terminal.
S106, if the first broadcast password is consistent with the second broadcast password, voice broadcast is carried out according to broadcast contents.
Exemplarily, if the second broadcast password received by the vehicle-mounted speaker and sent by the vehicle-mounted terminal is the same as the first broadcast password stored in the vehicle-mounted speaker storage unit, it may be determined that the broadcast content is from the correct vehicle-mounted terminal, and the voice broadcast is performed according to the broadcast content.
By comparing the first ciphertext with the second ciphertext, whether the vehicle-mounted terminal passes the authentication of the vehicle-mounted loudspeaker or not can be determined; when the authentication is passed, whether the broadcast content comes from a required vehicle-mounted terminal can be determined through a comparison result of the first broadcast password and the second broadcast password, so that whether the broadcast content is broadcast or not can be determined. So, can be so that a plurality of vehicle terminals can carry out voice broadcast through same on-vehicle loudspeaker, realize the shared use of on-vehicle loudspeaker in the vehicle, need not to install repeated report device in the vehicle. Meanwhile, the broadcasting content can be ensured to come from a correct vehicle-mounted terminal, and the accuracy of voice broadcasting is ensured.
Optionally, the voice broadcasting method may further include:
and if the first ciphertext is inconsistent with the second ciphertext, generating a first indication message for indicating that the vehicle-mounted terminal and the vehicle-mounted loudspeaker fail to authenticate.
For example, when different vehicle-mounted terminals authenticate with the vehicle-mounted horn, different vehicle-mounted terminals may generate different ciphertexts because the authorization codes corresponding to the different vehicle-mounted terminals are different, and under the condition that the vehicle-mounted terminal B and the vehicle-mounted horn authenticate, if the vehicle-mounted terminal a generates signal interference on the vehicle-mounted terminal B, a first cipher text received in the authentication process of the vehicle-mounted terminal B and the vehicle-mounted horn may be sent by the vehicle-mounted terminal a. At this moment, the second ciphertext generated in the vehicle-mounted loudspeaker corresponds to the vehicle-mounted terminal B, namely the first ciphertext is inconsistent with the second ciphertext, and under the condition, the vehicle-mounted loudspeaker can perform voice broadcast on the first indication message of 'authentication failure of the vehicle-mounted terminal and the vehicle-mounted loudspeaker'. Alternatively or additionally, the vehicle-mounted loudspeaker can transmit the first indication message to the vehicle-mounted display screen and display the first indication message through the vehicle-mounted display screen. So, under the condition that on-vehicle terminal and on-vehicle loudspeaker authentication failed, indicate the user to in time know the authentication condition in the user, promote user's use and experience and feel.
Optionally, the voice broadcasting method may further include:
and if the second broadcast password is inconsistent with the first broadcast password, generating a second indication message for indicating that the broadcast fails.
Exemplarily, if the currently communicating vehicle-mounted terminal is interfered by other vehicle-mounted terminals, an error may be generated in the process of receiving and sending the broadcast password, so that the second broadcast password is inconsistent with the first broadcast password, and the vehicle-mounted speaker can perform voice broadcast on the second indication message of 'broadcast failure'. Alternatively or additionally, the vehicle-mounted horn may transmit the above-mentioned second indication message to the vehicle-mounted display screen, and display the above-mentioned second indication message through the vehicle-mounted display screen. So, under the condition of broadcasting the failure, indicate the user, promote user's use and experience the sense.
Optionally, before sending an authorization code to the vehicle-mounted terminal in response to receiving a broadcast request sent by the vehicle-mounted terminal, the voice broadcast method may further include:
receiving an authentication code sent by a vehicle-mounted terminal;
and if the received authentication code is consistent with the preset authentication code, determining that the vehicle-mounted terminal is legal equipment.
Illustratively, before the vehicle-mounted terminal is determined to be a legal device, the vehicle-mounted loudspeaker is only allowed to judge the received authentication code, and does not process the received other information. The vehicle-mounted loudspeaker can store a preset authentication code, a user can acquire the preset authentication code in the vehicle-mounted loudspeaker through channels such as a vehicle-mounted loudspeaker use specification and the like, the preset authentication code is input into the vehicle-mounted terminal through a touch screen or a keyboard of the terminal device, and the vehicle-mounted terminal sends the authentication code input by the user to the vehicle-mounted loudspeaker so that the vehicle-mounted loudspeaker authenticates the legality of the vehicle-mounted terminal. Alternatively, the user may also input an authentication code through a mobile terminal matched with the vehicle-mounted terminal, such as a mobile phone, and send the authentication code input by the user to the vehicle-mounted terminal and then to the vehicle-mounted loudspeaker. And if the authentication code received by the vehicle-mounted loudspeaker is consistent with the preset authentication code, determining that the vehicle-mounted terminal is legal equipment. Therefore, the information interaction between the vehicle-mounted loudspeaker and illegal equipment can be avoided, and the safety of the user information of the vehicle-mounted loudspeaker is improved. After the vehicle-mounted terminal is confirmed to be legal equipment, the vehicle-mounted loudspeaker can perform normal information interaction with the vehicle-mounted terminal.
After the vehicle-mounted loudspeaker determines that the vehicle-mounted terminal is legal equipment, the equipment information of the vehicle-mounted terminal can be stored in the storage module, so that after the vehicle-mounted loudspeaker determines that the vehicle-mounted terminal is legal equipment for the first time, whether the vehicle-mounted terminal is legal equipment or not does not need to be confirmed through the authentication code again in the later use process.
Fig. 2 is a flowchart of a voice broadcast method according to an exemplary embodiment of the present disclosure. The method can be applied to the vehicle-mounted terminal. As shown in fig. 2, the method may include S201 to S205.
And S201, sending a broadcast request to the vehicle-mounted loudspeaker.
For example, a user may send a broadcast request through a mobile terminal, and if the request is issued through a mobile phone, the mobile phone may send the broadcast request to a vehicle-mounted terminal when receiving the broadcast request input by the user, and the vehicle-mounted terminal may send the broadcast request to a vehicle-mounted speaker. Illustratively, the user can also directly send the broadcast request through the vehicle-mounted terminal, if the broadcast request is sent through the display screen of the vehicle-mounted terminal, a voice broadcast function switch button can be displayed on the display screen, and the user can set whether the switch of the voice broadcast function is turned on. If the user sets the switch to be in the opening state, the vehicle-mounted terminal can send a broadcast request to the vehicle-mounted loudspeaker through the communication module. Alternatively, a voice broadcast function physical switch can be installed on the vehicle-mounted terminal, and a user can set whether the voice broadcast function of the vehicle-mounted terminal is started or not by operating the physical switch. So, can accurately acquire user's intention, open the voice broadcast function that corresponds vehicle mounted terminal when the user confirms that needs voice broadcast, make the vehicle more intelligent, promote user experience and feel.
For example, if important vehicle state prompt information is generated in the vehicle-mounted terminal in the use process of the vehicle, a broadcast request can be directly sent to the vehicle-mounted loudspeaker, so that a user can know the vehicle state in time, and the occurrence of accidents is reduced. In this case, the important vehicle state prompt information may be preset, for example, the vehicle electric quantity or the fuel quantity is insufficient.
And S202, receiving an authorization code sent by the vehicle-mounted loudspeaker.
S203, generating a first ciphertext according to the authorization code.
For example, the first ciphertext may be generated by an encryption module in the in-vehicle terminal, for example, the authorization code is input into an encryption program preset by the encryption module of the in-vehicle terminal to obtain the first ciphertext.
And S204, sending a first ciphertext to the vehicle-mounted loudspeaker.
S205, responding to the received broadcast password sent by the vehicle-mounted loudspeaker, sending the broadcast password and the broadcast content to the vehicle-mounted loudspeaker, so that the vehicle-mounted loudspeaker determines whether to perform voice broadcast according to the broadcast content according to the received broadcast password.
Exemplarily, if the vehicle mounted terminal receives the broadcast password sent by the vehicle mounted speaker, the broadcast password and the broadcast content can be sent to the vehicle mounted speaker, wherein the broadcast password sent to the vehicle mounted speaker can be used for the vehicle mounted speaker to determine that the broadcast content comes from a correct vehicle mounted terminal, so as to avoid the vehicle mounted speaker to broadcast wrong broadcast content. If the broadcast password that vehicle loudspeaker received is unanimous with the broadcast password of storage, then can carry out voice broadcast according to broadcasting the content.
And the vehicle-mounted loudspeaker can confirm whether the authentication with the vehicle-mounted terminal is successful or not through the transmitted first ciphertext. And then, the broadcast content can be determined to come from the correct vehicle-mounted terminal by comparing the broadcast passwords so as to prevent the vehicle-mounted loudspeaker from broadcasting wrong content.
Optionally, before sending the broadcast request to the vehicle-mounted speaker, the voice broadcast method may further include:
and sending an authentication code to the vehicle-mounted loudspeaker so that the vehicle-mounted loudspeaker determines whether the vehicle-mounted terminal is legal equipment.
Fig. 3 is an interaction diagram between a vehicle-mounted speaker and a vehicle-mounted terminal in a voice broadcast method according to another exemplary embodiment of the present disclosure. Through the fig. 3, the implementation process of the voice broadcasting method provided by the present disclosure can be more clearly understood. As shown in fig. 3, the method may include S301 to S312.
And S301, the vehicle-mounted terminal sends a broadcast request to the vehicle-mounted loudspeaker.
And S302, the vehicle-mounted loudspeaker responds to the received broadcast request sent by the vehicle-mounted terminal and sends an authorization code to the vehicle-mounted terminal.
And S303, the vehicle-mounted terminal receives the authorization code sent by the vehicle-mounted loudspeaker and generates a first ciphertext according to the authorization code.
And S304, the vehicle-mounted terminal sends the first ciphertext to the vehicle-mounted loudspeaker.
And S305, the vehicle-mounted loudspeaker generates a second ciphertext according to the authorization code.
It should be noted that, in the present disclosure, in the case of ensuring the execution order of S303 and S304, S305 may be executed before S303 and S304, may also be executed after S303 and S304, and may also be executed between S303 and S304. S303, S304, and S305 are illustrated as being performed in sequence in fig. 3, and the present disclosure does not limit this.
S306, the vehicle-mounted loudspeaker determines whether the first ciphertext and the second ciphertext are consistent. If so, go to S307, otherwise, go to S308.
And S307, if the first ciphertext is consistent with the second ciphertext, the vehicle-mounted loudspeaker sends the first broadcast password to the vehicle-mounted terminal.
S308, if the first ciphertext is inconsistent with the second ciphertext, the vehicle-mounted loudspeaker generates a first indication message for indicating that the vehicle-mounted terminal and the vehicle-mounted loudspeaker fail to authenticate.
S309, the vehicle-mounted terminal responds to the received first broadcast password sent by the vehicle-mounted loudspeaker, and sends a second broadcast password and broadcast content to the vehicle-mounted loudspeaker.
S310, the vehicle-mounted loudspeaker determines whether the first broadcast password is consistent with the second broadcast password. If so, go to S311, otherwise, go to S312.
S311, if the first broadcast password is consistent with the second broadcast password, the vehicle-mounted loudspeaker carries out voice broadcast according to broadcast contents.
S312, if the first broadcast password is inconsistent with the second broadcast password, the vehicle-mounted loudspeaker generates a second indication message used for indicating that the broadcast fails.
By comparing the first ciphertext with the second ciphertext, whether the vehicle-mounted terminal passes the authentication of the vehicle-mounted loudspeaker or not can be determined; when the authentication is passed, whether the broadcast content comes from a required vehicle-mounted terminal can be determined through the comparison result of the first broadcast password and the second broadcast password, so that whether the broadcast content is broadcast or not can be determined. So, can make a plurality of vehicle terminals can carry out voice broadcast through same on-vehicle loudspeaker, realize the shared use of on-vehicle loudspeaker in the vehicle, need not to install repeated report device in the vehicle. Meanwhile, the broadcasting content can be ensured to come from a correct vehicle-mounted terminal, and the accuracy of voice broadcasting is ensured.
Based on the same inventive concept, the present disclosure also provides a vehicle-mounted horn 400. Fig. 4 is a block diagram of an in-vehicle horn according to an exemplary embodiment of the present disclosure. Referring to fig. 4, the horn 400 may include: a communication component 401 for information interaction with the in-vehicle terminal, a memory 402, a processor 403 and a text-to-speech (TTS) conversion module 404; wherein,
the TTS conversion module 404 is configured to perform voice broadcast;
the memory 402 stores a computer program;
the processor 403 is configured to execute a computer program stored in the memory to perform all or part of the steps of the voice broadcasting method applied to the vehicle-mounted speaker.
Optionally, the vehicle-mounted horn 400 may further include: and the power amplification assembly is used for amplifying the power of the vehicle-mounted loudspeaker.
Fig. 5 is a block diagram illustrating an in-vehicle terminal 500 according to an exemplary embodiment. As shown in fig. 5, the in-vehicle terminal 500 may include: a processor 501 and a memory 502. The in-vehicle terminal 500 may also include one or more of a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
The processor 501 is configured to control the overall operation of the vehicle-mounted terminal 500, so as to complete all or part of the steps in the voice broadcasting method applied to the vehicle-mounted terminal. The memory 502 is used to store various types of data to support operation at the in-vehicle terminal 500, such as instructions for any application or method operating on the in-vehicle terminal 500, and application-related data, such as contact data, messaging, pictures, audio, video, and so forth. The Memory 502 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 502 or transmitted through the communication component 505. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 504 provides an interface between the processor 501 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the in-vehicle terminal 500 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 505 may thus comprise: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the car-mounted speaker 400 or the car-mounted terminal 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing a corresponding voice broadcasting method.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions, which when executed by a processor, implement the steps of the above-described method of voice broadcasting. For example, the computer readable storage medium may be the memory 402 including program instructions executable by the processor 403 of the vehicle-mounted speaker 400 to perform the voice broadcasting method applied to the vehicle-mounted speaker. For another example, the computer readable storage medium may be the memory 502 including the program instructions, which are executable by the processor 501 of the in-vehicle terminal 500 to implement the voice broadcasting method applied to the in-vehicle terminal.
In another exemplary embodiment, a computer program product is also provided, which contains a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described method of voice announcement when executed by the programmable apparatus.
The present disclosure further provides a vehicle, including a vehicle-mounted speaker and at least one vehicle-mounted terminal, wherein, the vehicle-mounted speaker is the vehicle-mounted speaker 400 provided by the present disclosure, and the vehicle-mounted terminal is the vehicle-mounted terminal 500 provided by the present disclosure.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.
Claims (10)
1. A voice broadcasting method is characterized by being applied to a vehicle-mounted loudspeaker and comprising the following steps:
sending an authorization code to a vehicle-mounted terminal in response to receiving a broadcast request sent by the vehicle-mounted terminal;
receiving a first ciphertext generated by the vehicle-mounted terminal according to the authorization code;
generating a second ciphertext according to the authorization code;
if the first ciphertext is consistent with the second ciphertext, sending a first broadcast password to the vehicle-mounted terminal;
receiving a second broadcast password and broadcast content sent by the vehicle-mounted terminal;
if the first broadcast password is consistent with the second broadcast password, voice broadcast is carried out according to the broadcast content.
2. The method of claim 1, further comprising:
and if the first ciphertext is inconsistent with the second ciphertext, generating a first indication message for indicating that the vehicle-mounted terminal and the vehicle-mounted loudspeaker fail to authenticate.
3. The method of claim 1, further comprising:
and if the second broadcast password is inconsistent with the first broadcast password, generating a second indication message for indicating that the broadcast fails.
4. The method according to claim 1, wherein before the sending of the authorization code to the in-vehicle terminal in response to receiving the broadcast request sent by the in-vehicle terminal, the method further comprises:
receiving an authentication code sent by the vehicle-mounted terminal;
and if the received authentication code is consistent with a preset authentication code, determining that the vehicle-mounted terminal is legal equipment.
5. A voice broadcasting method is characterized by being applied to a vehicle-mounted terminal and comprising the following steps:
sending a broadcast request to a vehicle-mounted loudspeaker;
receiving an authorization code sent by the vehicle-mounted loudspeaker;
generating a first ciphertext according to the authorization code;
sending the first ciphertext to the vehicle-mounted loudspeaker;
in response to receiving the broadcast password sent by the vehicle-mounted loudspeaker, sending the broadcast password and the broadcast content to the vehicle-mounted loudspeaker, so that the vehicle-mounted loudspeaker determines whether to perform voice broadcast according to the broadcast content according to the received broadcast password.
6. The method of claim 5, wherein prior to said sending a request for announcement to the vehicle speakers, the method further comprises:
and sending an authentication code to the vehicle-mounted loudspeaker so that the vehicle-mounted loudspeaker determines whether the vehicle-mounted terminal is legal equipment.
7. An on-vehicle horn, comprising: the system comprises a communication component, a memory, a processor and a text-to-speech (TTS) conversion module, wherein the communication component is used for carrying out information interaction with the vehicle-mounted terminal; wherein,
the TTS conversion module is used for voice broadcast;
the memory stores a computer program;
the processor is adapted to execute the computer program in the memory to implement the steps of the method of any of claims 1-4.
8. The vehicle horn of claim 7, further comprising: and the power amplification assembly is used for amplifying the power of the vehicle-mounted loudspeaker.
9. A vehicle-mounted terminal characterized by comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of claim 5 or claim 6.
10. A vehicle, characterized by comprising a vehicle-mounted horn and at least one vehicle-mounted terminal, wherein the vehicle-mounted horn is the vehicle-mounted horn according to claim 7 or 8, and the vehicle-mounted terminal is the vehicle-mounted terminal according to claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210380476.7A CN114500112A (en) | 2022-04-12 | 2022-04-12 | Voice broadcasting method, vehicle-mounted loudspeaker, vehicle-mounted terminal and vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210380476.7A CN114500112A (en) | 2022-04-12 | 2022-04-12 | Voice broadcasting method, vehicle-mounted loudspeaker, vehicle-mounted terminal and vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114500112A true CN114500112A (en) | 2022-05-13 |
Family
ID=81488617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210380476.7A Pending CN114500112A (en) | 2022-04-12 | 2022-04-12 | Voice broadcasting method, vehicle-mounted loudspeaker, vehicle-mounted terminal and vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114500112A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008102989A1 (en) * | 2007-02-22 | 2008-08-28 | Min Hwan Cho | System for downloading and playing audio data |
CN109862040A (en) * | 2019-03-27 | 2019-06-07 | 北京经纬恒润科技有限公司 | A kind of safety certifying method and Verification System |
CN113449141A (en) * | 2021-06-08 | 2021-09-28 | 阿波罗智联(北京)科技有限公司 | Voice broadcasting method and device, electronic equipment and storage medium |
CN113794734A (en) * | 2021-09-26 | 2021-12-14 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted CAN bus encryption communication method, control device and readable storage medium |
-
2022
- 2022-04-12 CN CN202210380476.7A patent/CN114500112A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008102989A1 (en) * | 2007-02-22 | 2008-08-28 | Min Hwan Cho | System for downloading and playing audio data |
CN109862040A (en) * | 2019-03-27 | 2019-06-07 | 北京经纬恒润科技有限公司 | A kind of safety certifying method and Verification System |
CN113449141A (en) * | 2021-06-08 | 2021-09-28 | 阿波罗智联(北京)科技有限公司 | Voice broadcasting method and device, electronic equipment and storage medium |
CN113794734A (en) * | 2021-09-26 | 2021-12-14 | 上汽通用五菱汽车股份有限公司 | Vehicle-mounted CAN bus encryption communication method, control device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6707915B1 (en) | Data transfer verification based on unique ID codes | |
US8351905B1 (en) | Visual voicemail privacy protection | |
US20160277923A1 (en) | Method and apparatus for performing secure bluetooth communication | |
JP2008211805A (en) | Terminal | |
CN106154997B (en) | Vehicle-mounted control device, terminal device, and vehicle control program updating method and system | |
CN113709737B (en) | Voice communication method and device based on TWS Bluetooth headset | |
CN113989958A (en) | Digital key sharing system, method and apparatus, vehicle and storage medium | |
CN107180205B (en) | Vehicle-mounted multimedia system and vehicle | |
CN114500112A (en) | Voice broadcasting method, vehicle-mounted loudspeaker, vehicle-mounted terminal and vehicle | |
JP2022178229A (en) | Vehicle control device, vehicle, vehicle control method and program | |
CN109889290B (en) | Emergency broadcast management method and device, storage medium and emergency broadcast adapter | |
CN111491272A (en) | Vehicle unlocking method and system | |
CN110933231A (en) | Vehicle-mounted wireless control device, system and method for controlling communication software | |
CN113709704B (en) | Communication processing method and device applied to vehicle | |
CN111935138B (en) | Protection method and device for secure login and electronic equipment | |
CN114979994A (en) | Vehicle-mounted telephone privacy protection method and system and computer readable storage medium | |
CN114222272A (en) | Vehicle control method, terminal device, vehicle-mounted terminal, and storage medium | |
CN115021916A (en) | Data format verification method, device and system | |
CN115035632A (en) | Bluetooth key learning method, device, medium, device and system | |
CN108886556B (en) | Emergency reporting device | |
WO2024066263A1 (en) | Data relay method and apparatus, system, storage medium, device, and vehicle | |
CN114666041B (en) | Key injection method, device, medium and vehicle | |
CN117807583A (en) | Identity authentication method, device, storage medium and terminal | |
KR20080008825A (en) | Method and apparatus for authentication of electronic devices lack of communication means | |
CN110395216B (en) | Vehicle unlocking and locking control method based on mobile terminal and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220513 |