CN110288982B - Voice prompt broadcasting method, device, storage medium and device for charging station - Google Patents
Voice prompt broadcasting method, device, storage medium and device for charging station Download PDFInfo
- Publication number
- CN110288982B CN110288982B CN201910535938.6A CN201910535938A CN110288982B CN 110288982 B CN110288982 B CN 110288982B CN 201910535938 A CN201910535938 A CN 201910535938A CN 110288982 B CN110288982 B CN 110288982B
- Authority
- CN
- China
- Prior art keywords
- voice prompt
- target
- voice
- charging station
- prompt content
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000013507 mapping Methods 0.000 claims abstract description 76
- 238000012163 sequencing technique Methods 0.000 claims description 16
- 238000000605 extraction Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B3/00—Audible signalling systems; Audible personal calling systems
- G08B3/10—Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/02—Feature extraction for speech recognition; Selection of recognition unit
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L2015/088—Word spotting
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a charging station voice prompt broadcasting method, a device, a storage medium and a device, which search current voice prompt contents corresponding to current operation information in a first mapping relation by acquiring the current operation information input by a user based on a charging station, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt contents, extract a plurality of target fields from the current voice prompt contents, search target voices respectively corresponding to the target fields, and broadcast the current voice prompt contents based on the target voices And is more accurate.
Description
Technical Field
The invention relates to the technical field of voice prompt, in particular to a charging station voice prompt broadcasting method, charging station voice prompt broadcasting equipment, a charging station voice prompt storage medium and a charging station voice prompt broadcasting device.
Background
At present, charging station equipment has a voice prompt function, but has the problems that the voice prompt content is too single and not accurate enough, for example, the reminding of charging start "start charging, thank you for using", for a multi-path charging station, the charging start is only reminded, and specific path is not reminded to start charging. However, in the aspect of voice broadcast of a charging station, a single-segment type input mode and a single-segment type output mode are still adopted at present, and the content of broadcast is required to be more and more abundant, so that the capacity of a voice chip needs to be continuously increased in the single-segment type broadcast mode.
Disclosure of Invention
The invention mainly aims to provide a charging station voice prompt broadcasting method, equipment, a storage medium and a device, and aims to solve the technical problems that the current charging station has single voice prompt content and the prompt content is not accurate enough.
In order to achieve the above object, the present invention provides a voice prompt broadcasting method for a charging station, the method comprising the steps of:
acquiring current operation information input by a user based on a charging station;
searching current voice prompt content corresponding to the current operation information in a first mapping relation, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content;
extracting a plurality of target fields from the current voice prompt content;
searching target voices corresponding to the target fields respectively;
and broadcasting the current voice prompt content based on the target voice.
Preferably, the searching for the target voices corresponding to the target fields respectively specifically includes:
and searching target voices respectively corresponding to each target field in a second mapping relation, wherein the second mapping relation comprises the corresponding relation between the field and the voice.
Preferably, before the current voice prompt content corresponding to the current operation information is searched in the first mapping relationship, the method further includes:
acquiring a plurality of operation information based on a charging station;
receiving a setting instruction input by a user, and setting corresponding voice prompt contents for each operation information according to the setting instruction;
and adding the operation information and the voice prompt content corresponding to each operation information into the first mapping relation.
Preferably, after the adding the operation information and the voice prompt content corresponding to each operation information to the first mapping relationship, the method further includes:
traversing each voice prompt content, and extracting fields in the traversed voice prompt content;
acquiring voice corresponding to the extracted field;
and adding the fields and the voice corresponding to the fields into the second mapping relation.
Preferably, after the fields and the voices corresponding to the fields are added to the second mapping relationship, the method further includes:
sorting the fields based on the extracted probability of each field appearing in the voice prompt content to obtain a sorting result;
and adjusting the positions of the fields in the second mapping relation based on the positions of the fields in the sorting result.
Preferably, the broadcasting the current voice prompt content based on the target voice specifically includes:
sequencing the target voice according to the position of the target field in the current voice prompt content to obtain a sequencing result;
and broadcasting the current voice prompt content based on the sequencing result.
Preferably, after traversing each voice prompt content and extracting a field in the traversed voice prompt content, the method further includes:
acquiring the occurrence frequency of each field in each voice prompt content, and determining target voice prompt content, wherein each field in the target voice prompt content occurs 1 time;
acquiring a voice corresponding to the target voice prompt content;
adding the target voice prompt content and the voice corresponding to the target voice prompt content into the second mapping relation;
correspondingly, after the target voices corresponding to the target fields are searched, the method further includes:
when the target voice corresponding to each target field cannot be searched;
and searching a target voice corresponding to the current voice prompt content.
In addition, in order to achieve the above object, the present invention further provides a charging station voice prompt broadcasting device, including: the charging station voice prompt broadcasting method comprises a memory, a processor and a charging station voice prompt broadcasting program which is stored in the memory and can be operated on the processor, wherein the charging station voice prompt broadcasting program realizes the steps of the charging station voice prompt broadcasting method when the processor executes the charging station voice prompt broadcasting program.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a charging station voice prompt broadcasting program is stored on the storage medium, and the charging station voice prompt broadcasting program, when executed by a processor, implements the steps of the charging station voice prompt broadcasting method described above.
In addition, in order to achieve the above object, the present invention further provides a charging station voice prompt broadcasting device, including:
the acquisition module is used for acquiring current operation information input by a user based on the charging station;
the first searching module is used for searching the current voice prompt content corresponding to the current operation information in a first mapping relation, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content;
the extraction module is used for extracting a plurality of target fields from the current voice prompt content;
the second searching module is used for searching target voices corresponding to the target fields respectively;
and the broadcasting module is used for broadcasting the current voice prompt content based on the target voice.
In the invention, current operation information input by a user based on a charging station is acquired, current voice prompt content corresponding to the current operation information is searched in a first mapping relation, the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content, a plurality of target fields are extracted from the current voice prompt content, target voices respectively corresponding to the target fields are searched, and the current voice prompt content is broadcasted based on the target voices. According to the charging station voice broadcasting method and the charging station voice broadcasting system, corresponding voice prompt is carried out based on the preset voice prompt content corresponding to the current operation information of the user instead of adopting uniform voice prompt content, so that the voice broadcasting content of the charging station is richer, and the prompt content is more accurate.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a voice prompt broadcasting method for a charging station according to a first embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a voice prompt broadcasting method for a charging station according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a voice prompt broadcasting method for a charging station according to a third embodiment of the present invention;
fig. 5 is a functional block diagram of a voice prompt broadcasting device for a charging station according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage server separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the charging station voice prompt announcement device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating device, a network communication module, a user interface module, and a charging station voice prompt announcement program.
In the device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting user equipment; the device calls the charging station voice prompt broadcasting program stored in the memory 1005 through the processor 1001, and executes the charging station voice prompt broadcasting method provided by the embodiment of the invention.
The device calls the charge station voice prompt announcement program stored in the memory 1005 by the processor 1001, and performs the following operations:
acquiring current operation information input by a user based on a charging station;
searching current voice prompt content corresponding to the current operation information in a first mapping relation, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content;
extracting a plurality of target fields from the current voice prompt content;
searching target voices corresponding to the target fields respectively;
and broadcasting the current voice prompt content based on the target voice.
Further, the processor 1001 may call the charging station voice prompt announcement program stored in the memory 1005, and also perform the following operations:
and searching target voices respectively corresponding to each target field in a second mapping relation, wherein the second mapping relation comprises the corresponding relation between the field and the voice.
Further, the processor 1001 may call the charging station voice prompt announcement program stored in the memory 1005, and also perform the following operations:
acquiring a plurality of operation information based on a charging station;
receiving a setting instruction input by a user, and setting corresponding voice prompt contents for each operation information according to the setting instruction;
and adding the operation information and the voice prompt content corresponding to each operation information into the first mapping relation.
Further, the processor 1001 may call the charging station voice prompt announcement program stored in the memory 1005, and also perform the following operations:
traversing each voice prompt content, and extracting fields in the traversed voice prompt content;
acquiring voice corresponding to the extracted field;
and adding the fields and the voice corresponding to the fields into the second mapping relation.
Further, the processor 1001 may call the charging station voice prompt announcement program stored in the memory 1005, and also perform the following operations:
sorting the fields based on the extracted probability of each field appearing in the voice prompt content to obtain a sorting result;
and adjusting the positions of the fields in the second mapping relation based on the positions of the fields in the sorting result.
Further, the processor 1001 may call the charging station voice prompt announcement program stored in the memory 1005, and also perform the following operations:
sequencing the target voice according to the position of the target field in the current voice prompt content to obtain a sequencing result;
and broadcasting the current voice prompt content based on the sequencing result.
Further, the processor 1001 may call the charging station voice prompt announcement program stored in the memory 1005, and also perform the following operations:
acquiring the occurrence frequency of each field in each voice prompt content, and determining target voice prompt content, wherein each field in the target voice prompt content occurs 1 time;
acquiring a voice corresponding to the target voice prompt content;
adding the target voice prompt content and the voice corresponding to the target voice prompt content into the second mapping relation;
when the target voice corresponding to each target field cannot be searched;
and searching a target voice corresponding to the current voice prompt content.
In this embodiment, current operation information input by a user based on a charging station is acquired, current voice prompt content corresponding to the current operation information is searched in a first mapping relationship, where the first mapping relationship includes a corresponding relationship between the operation information and the voice prompt content, a plurality of target fields are extracted from the current voice prompt content, target voices respectively corresponding to the target fields are searched, and the current voice prompt content is broadcasted based on the target voices. According to the charging station voice broadcasting method and the charging station voice broadcasting system, corresponding voice prompt is carried out based on the preset voice prompt content corresponding to the current operation information of the user instead of adopting uniform voice prompt content, so that the voice broadcasting content of the charging station is richer, and the prompt content is more accurate.
Based on the hardware structure, the embodiment of the voice prompt broadcasting method for the charging station is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a charging station voice prompt broadcasting method according to a first embodiment of the present invention.
In a first embodiment, the charging station voice prompt broadcasting method includes the following steps:
step S10: and acquiring current operation information input by a user based on the charging station.
It should be noted that, the execution subject of the present invention is a charging station voice prompt broadcasting device, and the device may be a charging station itself, or may also be a terminal device connected to the charging station and capable of processing data and performing voice broadcasting, which is not limited in this embodiment.
The current operation information is information related to the operation of the user on the basis of the charging station, such as the position where the user starts charging, the charging position, or the user finishes charging.
It can be understood that the more comprehensive the acquired operation information of the user, the more accurate the content of the voice prompt performed for the operation of the user.
Step S20: and searching current voice prompt content corresponding to the current operation information in a first mapping relation, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content.
And establishing a first mapping relation in advance based on the corresponding relation between the operation information and the voice prompt content, and quickly finding the current voice prompt content corresponding to each current operation information through the first mapping relation.
Step S30: and extracting a plurality of target fields from the current voice prompt content.
It should be noted that the target field may be a single word, phrase, or the like.
Step S40: and searching target voices respectively corresponding to the target fields.
In specific implementation, target voices corresponding to the target fields can be searched for in real time through a network, voices corresponding to the fields can be obtained in advance, corresponding relations between the fields and the voices are established, and the target voices corresponding to the target fields are searched for based on the corresponding relations.
Step S50: and broadcasting the current voice prompt content based on the target voice.
In specific implementation, after target voices corresponding to each target field are acquired, the target voices are sequenced according to the positions of the target fields in the current voice prompt content to acquire sequencing results, and the target voices are sequentially broadcasted based on the sequencing results, namely, the broadcasting of the current voice prompt content is completed.
In the implementation example, the current operation information input by the user based on the charging station is acquired, the current voice prompt content corresponding to the current operation information is searched in a first mapping relation, the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content, a plurality of target fields are extracted from the current voice prompt content, target voices respectively corresponding to the target fields are searched, and the current voice prompt content is broadcasted based on the target voices.
Referring to fig. 3, fig. 3 is a schematic flow chart of a charging station voice prompt broadcasting method according to a second embodiment of the present invention, and a second embodiment of the charging station voice prompt broadcasting method according to the present invention is proposed based on the embodiment shown in fig. 2.
In the second embodiment, the step S40 specifically includes:
step S401: and searching target voices respectively corresponding to each target field in a second mapping relation, wherein the second mapping relation comprises the corresponding relation between the field and the voice.
In this embodiment, a second mapping relationship is established based on the correspondence between the fields and the voices, and by the second mapping relationship, the target voices corresponding to the target fields can be quickly searched, so that the search efficiency is improved, the user behavior is quickly responded, and the user experience is improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of a charging station voice prompt broadcasting method according to a third embodiment of the present invention, and based on the embodiment shown in fig. 3, a third embodiment of the charging station voice prompt broadcasting method according to the present invention is provided.
In the third embodiment, before the step S20, the method further includes:
step S01: a number of charging station based operational information is obtained.
It should be noted that all possible operation information may be obtained by collecting and counting the operation information input by the user based on the charging station, or by exhausting the operation information that may be input by the user based on the charging station based on the function of the charging station itself, and the specific obtaining manner of the operation information based on the charging station is not limited in this embodiment.
Step S02: receiving a setting instruction input by a user, and setting corresponding voice prompt contents for each operation information according to the setting instruction.
Step S03: and adding the operation information and the voice prompt content corresponding to each operation information into the first mapping relation.
Further, after establishing the first mapping relationship, the second mapping relationship may be established by:
traversing each voice prompt content, and extracting fields in the traversed voice prompt content;
acquiring voice corresponding to the extracted field;
and adding the fields and the voice corresponding to the fields into the second mapping relation.
It should be noted that, when the current charging station announces at voice prompt, adopt single-stage type input mode usually, if, when broadcasting the content and opening for the socket, have 5 sockets at the charging station under the condition, need input 5 sections recording contents: the No. 1 socket is opened; opening a No. 2 socket; opening a No. 3 socket; opening a No. 4 socket; no. 5 socket is opened, and the recording time is long, if extract 5 the same fields in the recording content, only need to type in 1, 2, 3, 4, 5, number, socket alone and open, will practice thrift the recording time length greatly, reduce the capacity of the pronunciation chip that occupies simultaneously.
Further, after the second mapping relationship is established, the fields may be sorted based on the extracted probability of the fields appearing in the voice prompt content to obtain a sorting result, and the positions of the fields in the second mapping relationship are adjusted based on the positions of the fields in the sorting result.
It will be appreciated that placing fields with high probability of occurrence at the top of the second mapping can improve the efficiency of object finding.
It should be noted that some voice prompt contents are special, and a field included in the voice prompt contents may not appear in other voice prompt contents, and if such voice prompt contents are divided into fields, in subsequent steps, the voice corresponding to each field is searched one by one, but the search workload is increased, and the search efficiency is reduced, so in this embodiment, a special processing manner is adopted for such voice prompt contents, and specifically, the following steps are adopted for processing:
acquiring the occurrence frequency of each field in each voice prompt content, and determining target voice prompt content, wherein each field in the target voice prompt content occurs 1 time;
acquiring a voice corresponding to the target voice prompt content;
and adding the target voice prompt content and the voice corresponding to the target voice prompt content into the second mapping relation.
That is, the fields in the target voice prompt content are not extracted, but are added to the second mapping relationship as a whole.
Correspondingly, in the subsequent search, when the target voice corresponding to each target field cannot be searched, the target voice corresponding to the whole voice prompt content can be directly searched.
In the embodiment, the original voice input mode is changed, each field in each voice prompt content is extracted, voice input is carried out based on each field, the voice input duration is reduced to a great extent, and abundant voice prompt contents are provided under the condition that the capacity of a voice chip is not increased.
In addition, an embodiment of the present invention further provides a storage medium, where a charging station voice prompt broadcast program is stored on the storage medium, and when executed by a processor, the charging station voice prompt broadcast program implements the following operations:
acquiring current operation information input by a user based on a charging station;
searching current voice prompt content corresponding to the current operation information in a first mapping relation, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content;
extracting a plurality of target fields from the current voice prompt content;
searching target voices corresponding to the target fields respectively;
and broadcasting the current voice prompt content based on the target voice.
Further, the charging station voice prompt broadcasting program further realizes the following operations when executed by the processor:
and searching target voices respectively corresponding to each target field in a second mapping relation, wherein the second mapping relation comprises the corresponding relation between the field and the voice.
Further, the charging station voice prompt broadcasting program further realizes the following operations when executed by the processor:
acquiring a plurality of operation information based on a charging station;
receiving a setting instruction input by a user, and setting corresponding voice prompt contents for each operation information according to the setting instruction;
and adding the operation information and the voice prompt content corresponding to each operation information into the first mapping relation.
Further, the charging station voice prompt broadcasting program further realizes the following operations when executed by the processor:
traversing each voice prompt content, and extracting fields in the traversed voice prompt content;
acquiring voice corresponding to the extracted field;
and adding the fields and the voice corresponding to the fields into the second mapping relation.
Further, the charging station voice prompt broadcasting program further realizes the following operations when executed by the processor:
sorting the fields based on the extracted probability of each field appearing in the voice prompt content to obtain a sorting result;
and adjusting the positions of the fields in the second mapping relation based on the positions of the fields in the sorting result.
Further, the charging station voice prompt broadcasting program further realizes the following operations when executed by the processor:
sequencing the target voice according to the position of the target field in the current voice prompt content to obtain a sequencing result;
and broadcasting the current voice prompt content based on the sequencing result.
Further, the charging station voice prompt broadcasting program further realizes the following operations when executed by the processor:
acquiring the occurrence frequency of each field in each voice prompt content, and determining target voice prompt content, wherein each field in the target voice prompt content occurs 1 time;
acquiring a voice corresponding to the target voice prompt content;
adding the target voice prompt content and the voice corresponding to the target voice prompt content into the second mapping relation;
when the target voice corresponding to each target field cannot be searched;
and searching a target voice corresponding to the current voice prompt content.
In this embodiment, current operation information input by a user based on a charging station is acquired, current voice prompt content corresponding to the current operation information is searched in a first mapping relationship, where the first mapping relationship includes a corresponding relationship between the operation information and the voice prompt content, a plurality of target fields are extracted from the current voice prompt content, target voices respectively corresponding to the target fields are searched, and the current voice prompt content is broadcasted based on the target voices. According to the charging station voice broadcasting method and the charging station voice broadcasting system, corresponding voice prompt is carried out based on the preset voice prompt content corresponding to the current operation information of the user instead of adopting uniform voice prompt content, so that the voice broadcasting content of the charging station is richer, and the prompt content is more accurate.
Referring to fig. 5, fig. 5 is a functional block diagram of a charging station voice prompt broadcasting device according to a first embodiment of the present invention, and the charging station voice prompt broadcasting method is based on the first embodiment of the charging station voice prompt broadcasting device according to the present invention.
In this embodiment, the charging station voice prompt reports the device and includes:
the acquisition module 10 is used for acquiring current operation information input by a user based on the charging station.
The current operation information is information related to the operation of the user on the basis of the charging station, such as the position where the user starts charging, the charging position, or the user finishes charging.
It can be understood that the more comprehensive the acquired operation information of the user, the more accurate the content of the voice prompt performed for the operation of the user.
The first searching module 20 is configured to search a first mapping relationship for a current voice prompt content corresponding to the current operation information, where the first mapping relationship includes a corresponding relationship between the operation information and the voice prompt content.
And establishing a first mapping relation in advance based on the corresponding relation between the operation information and the voice prompt content, and quickly finding the current voice prompt content corresponding to each current operation information through the first mapping relation.
An extracting module 30, configured to extract a plurality of target fields from the current voice prompt content.
It should be noted that the target field may be a single word, phrase, or the like.
And the second searching module 40 is used for searching the target voices corresponding to the target fields respectively.
In specific implementation, target voices corresponding to the target fields can be searched for in real time through a network, voices corresponding to the fields can be obtained in advance, corresponding relations between the fields and the voices are established, and the target voices corresponding to the target fields are searched for based on the corresponding relations.
And the broadcasting module 50 is used for broadcasting the current voice prompt content based on the target voice.
In specific implementation, after target voices corresponding to each target field are acquired, the target voices are sequenced according to the positions of the target fields in the current voice prompt content to acquire sequencing results, and the target voices are sequentially broadcasted based on the sequencing results, namely, the broadcasting of the current voice prompt content is completed.
In this embodiment, current operation information input by a user based on a charging station is acquired, current voice prompt content corresponding to the current operation information is searched in a first mapping relationship, the first mapping relationship includes a corresponding relationship between the operation information and the voice prompt content, a plurality of target fields are extracted from the current voice prompt content, target voices respectively corresponding to the target fields are searched, and the current voice prompt content is broadcasted based on the target voices. In the invention, corresponding voice prompt is carried out based on the preset voice prompt content corresponding to the current operation information of the user instead of adopting uniform voice prompt content, so that the voice broadcast content of the charging station is richer and the prompt content is more accurate.
It can be understood that each module in the charging station voice prompt broadcasting device is further used for implementing each step in the above method, and details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The use of the words first, second, third, etc. do not denote any order, but rather the words are to be construed as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal smart tv (which may be a mobile phone, a computer, a server, an air conditioner, or a network smart tv, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A charging station voice prompt broadcasting method is characterized by comprising the following steps:
acquiring current operation information input by a user based on a charging station;
searching current voice prompt content corresponding to the current operation information in a first mapping relation, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content;
extracting a plurality of target fields from the current voice prompt content;
searching target voices corresponding to the target fields respectively;
and broadcasting the current voice prompt content based on the target voice.
2. The method according to claim 1, wherein the searching for the target voices corresponding to the target fields respectively comprises:
and searching target voices respectively corresponding to each target field in a second mapping relation, wherein the second mapping relation comprises the corresponding relation between the field and the voice.
3. The method of claim 2, wherein prior to finding the current voice prompt content corresponding to the current operation information in the first mapping relationship, the method further comprises:
acquiring a plurality of operation information based on a charging station;
receiving a setting instruction input by a user, and setting corresponding voice prompt contents for each operation information according to the setting instruction;
and adding the operation information and the voice prompt content corresponding to each operation information into the first mapping relation.
4. The method of claim 3, wherein after adding the operation information and the voice prompt content corresponding to each operation information to the first mapping relationship, the method further comprises:
traversing each voice prompt content, and extracting fields in the traversed voice prompt content;
acquiring voice corresponding to the extracted field;
and adding the fields and the voice corresponding to the fields into the second mapping relation.
5. The method of claim 4, wherein after adding the fields and the voices corresponding to the fields to the second mapping, the method further comprises:
sorting the fields based on the extracted probability of each field appearing in the voice prompt content to obtain a sorting result;
and adjusting the positions of the fields in the second mapping relation based on the positions of the fields in the sorting result.
6. The method according to claim 5, wherein the reporting of the current voice prompt content based on the target voice specifically comprises:
sequencing the target voice according to the position of the target field in the current voice prompt content to obtain a sequencing result;
and broadcasting the current voice prompt content based on the sequencing result.
7. The method of claim 4, wherein traversing each voice prompt content, after extracting the fields in the traversed voice prompt content, the method further comprises:
acquiring the occurrence frequency of each field in each voice prompt content, and determining a target voice prompt content, wherein each field in the target voice prompt content occurs 1 time, and the target voice prompt content refers to the voice prompt content of which all the fields occur once in a first mapping relation;
acquiring a voice corresponding to the target voice prompt content;
adding the target voice prompt content and the voice corresponding to the target voice prompt content into the second mapping relation;
correspondingly, after the target voices corresponding to the target fields are searched, the method further includes:
when the target voice corresponding to each target field cannot be searched;
and searching a target voice corresponding to the current voice prompt content.
8. The utility model provides a charging station voice prompt broadcasts equipment which characterized in that, equipment includes: the charging station voice prompt broadcasting method comprises a memory, a processor and a charging station voice prompt broadcasting program which is stored on the memory and can be operated on the processor, wherein when the charging station voice prompt broadcasting program is executed by the processor, the steps of the charging station voice prompt broadcasting method according to any one of claims 1 to 7 are realized.
9. A storage medium having a charging station voice prompt announcement program stored thereon, the charging station voice prompt announcement program, when executed by a processor, implementing the steps of the charging station voice prompt announcement method according to any one of claims 1 to 7.
10. The utility model provides a charging station voice prompt reports device which characterized in that, charging station voice prompt reports device includes:
the acquisition module is used for acquiring current operation information input by a user based on the charging station;
the first searching module is used for searching the current voice prompt content corresponding to the current operation information in a first mapping relation, wherein the first mapping relation comprises the corresponding relation between the operation information and the voice prompt content;
the extraction module is used for extracting a plurality of target fields from the current voice prompt content;
the second searching module is used for searching target voices corresponding to the target fields respectively;
and the broadcasting module is used for broadcasting the current voice prompt content based on the target voice.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910535938.6A CN110288982B (en) | 2019-06-18 | 2019-06-18 | Voice prompt broadcasting method, device, storage medium and device for charging station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910535938.6A CN110288982B (en) | 2019-06-18 | 2019-06-18 | Voice prompt broadcasting method, device, storage medium and device for charging station |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110288982A CN110288982A (en) | 2019-09-27 |
CN110288982B true CN110288982B (en) | 2022-02-15 |
Family
ID=68004364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910535938.6A Active CN110288982B (en) | 2019-06-18 | 2019-06-18 | Voice prompt broadcasting method, device, storage medium and device for charging station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110288982B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008098707A (en) * | 2006-10-05 | 2008-04-24 | Chugoku Electric Power Co Inc:The | Wireless paging apparatus |
CN202231467U (en) * | 2011-10-10 | 2012-05-23 | 威胜集团有限公司 | AC charging pile |
KR20160098088A (en) * | 2015-02-09 | 2016-08-18 | (주)티아이스퀘어 | System and method for providing voice phishing warning service during call |
CN106128478A (en) * | 2016-06-28 | 2016-11-16 | 北京小米移动软件有限公司 | Voice broadcast method and device |
CN106373572A (en) * | 2016-09-01 | 2017-02-01 | 北京百度网讯科技有限公司 | Information prompting method based on artificial intelligence and device |
CN108390901A (en) * | 2017-11-30 | 2018-08-10 | 深圳市颐邦科技有限公司 | The intelligent picture and text and voice system and its method of domestic electronic Medical Devices |
CN109410958A (en) * | 2017-08-16 | 2019-03-01 | 芜湖美的厨卫电器制造有限公司 | Phonetic prompt method, device and water dispenser |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150090966A (en) * | 2014-01-29 | 2015-08-07 | 삼성전자주식회사 | Method For Providing Search Result And Electronic Device Using The Same |
US10963879B2 (en) * | 2017-03-27 | 2021-03-30 | Ncr Corporation | Sale authorization system |
-
2019
- 2019-06-18 CN CN201910535938.6A patent/CN110288982B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008098707A (en) * | 2006-10-05 | 2008-04-24 | Chugoku Electric Power Co Inc:The | Wireless paging apparatus |
CN202231467U (en) * | 2011-10-10 | 2012-05-23 | 威胜集团有限公司 | AC charging pile |
KR20160098088A (en) * | 2015-02-09 | 2016-08-18 | (주)티아이스퀘어 | System and method for providing voice phishing warning service during call |
CN106128478A (en) * | 2016-06-28 | 2016-11-16 | 北京小米移动软件有限公司 | Voice broadcast method and device |
CN106373572A (en) * | 2016-09-01 | 2017-02-01 | 北京百度网讯科技有限公司 | Information prompting method based on artificial intelligence and device |
CN109410958A (en) * | 2017-08-16 | 2019-03-01 | 芜湖美的厨卫电器制造有限公司 | Phonetic prompt method, device and water dispenser |
CN108390901A (en) * | 2017-11-30 | 2018-08-10 | 深圳市颐邦科技有限公司 | The intelligent picture and text and voice system and its method of domestic electronic Medical Devices |
Non-Patent Citations (2)
Title |
---|
Broadcast News Story Segmentation Using Conditional Random Fields and Multimodal Features;Xiaoxuan WANG等;《IEICE TRANS. INF. & SYST》;20120531;第1206-1215页 * |
网站语音播报程序的设计与实现;杨尚真等;《现代计算机专业版》;20041231;第95-98页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110288982A (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7747276B2 (en) | Mobile communication terminal and communication control method | |
CN108415830B (en) | Method and device for generating software test case | |
WO2016173336A1 (en) | Network access method and mobile communication terminal | |
CN109548045B (en) | Equipment debugging method, device, system and storage medium | |
CN106028279B (en) | Network registration method and device | |
CN111291157B (en) | Response method, device, terminal and storage medium | |
CN105827877A (en) | IVR (Interactive Voice Response) platform based service processing method and IVR platform | |
CN106210908A (en) | A kind of advertisement sending method and device | |
CN108391259B (en) | Bluetooth rapid pairing method | |
CN102075915A (en) | Mobile terminal and parameter setting method thereof | |
CN112711963A (en) | User terminal fault detection method, device, computer device and storage medium | |
CN110288982B (en) | Voice prompt broadcasting method, device, storage medium and device for charging station | |
CN109976758A (en) | UI control carousel method, television terminal and storage medium based on android system | |
CN105376839A (en) | Mobile terminal and mobile network selection prompting method and system thereof | |
CN109376228B (en) | Information recommendation method, device, equipment and medium | |
CN112735424A (en) | Speech recognition method and device, storage medium and electronic device | |
CN1633198A (en) | A method and system for compatibility test of subscriber identification module tool kit card | |
CN102316211A (en) | Method and device for realizing key acceleration | |
CN104954437A (en) | Situation card pushing method and system | |
CN113110997A (en) | Test method, device and equipment | |
CN109040774B (en) | Program information extraction method, terminal equipment, server and storage medium | |
CN112351304A (en) | Intelligent large screen control method, device, equipment and computer readable storage medium | |
CN109697230B (en) | Information processing method and electronic equipment | |
CN109065066B (en) | Call control method, device and equipment | |
CN113190437A (en) | Time sequence analysis method and device of wireless module, computer equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |