CN111276123A - Method and device for voice broadcasting message, computer equipment and storage medium - Google Patents

Method and device for voice broadcasting message, computer equipment and storage medium Download PDF

Info

Publication number
CN111276123A
CN111276123A CN201811368161.0A CN201811368161A CN111276123A CN 111276123 A CN111276123 A CN 111276123A CN 201811368161 A CN201811368161 A CN 201811368161A CN 111276123 A CN111276123 A CN 111276123A
Authority
CN
China
Prior art keywords
broadcasting
user
message
binding
voice
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.)
Granted
Application number
CN201811368161.0A
Other languages
Chinese (zh)
Other versions
CN111276123B (en
Inventor
王志涛
黄海彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alavening Shenzhen Artificial Intelligence Co ltd
Original Assignee
Alavening Shenzhen Artificial Intelligence Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alavening Shenzhen Artificial Intelligence Co ltd filed Critical Alavening Shenzhen Artificial Intelligence Co ltd
Priority to CN201811368161.0A priority Critical patent/CN111276123B/en
Publication of CN111276123A publication Critical patent/CN111276123A/en
Application granted granted Critical
Publication of CN111276123B publication Critical patent/CN111276123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The embodiment of the application relates to a method for voice broadcasting message, which comprises the following steps: receiving a connection request sent by a user terminal; acquiring a first user identifier of a user terminal from the connection request, acquiring a second user identifier bound with the broadcasting device from the broadcasting device, and judging whether the first user identifier is matched with the second user identifier; if the first user identification is matched with the second user identification, message information uploaded to a cloud end or stored in the local by a user terminal is obtained, and the message information carries a corresponding tone label; identifying a tone label carried in the message information; synthesizing the message information into corresponding audio information by a voice synthesis technology according to the tone label; and broadcasting the audio information. The application also provides a device for voice broadcasting messages, computer equipment and a storage medium. The method and the device can convert the text message content into the multi-tone audio information, and broadcast the multi-tone audio information, so that the method and the device are timely and convenient, and the user experience is improved.

Description

Method and device for voice broadcasting message, computer equipment and storage medium
Technical Field
The present application relates to the field of artificial intelligence technologies, and in particular, to a method and an apparatus for voice broadcasting a message, a computer device, and a storage medium.
Background
In daily life of people, various social software is used more and more frequently as a tool for remote communication, however, because attention cannot be paid to a mobile phone or a computer all the time, the message information of a message-leaving person cannot be read timely in many times, and various inconveniences are brought to work and life of people.
Broadcast equipment is as an equipment that collects amusement and recreation and in time remind the user as an organic whole, and is used extensively, but broadcast equipment most among the prior art does not have the message function, can not carry out voice broadcast to the text content message in the user terminal, and a small part has the message function also can only play the message with single, mechanical tone, influences user and uses experience.
Disclosure of Invention
The embodiment of the application aims to provide a voice broadcast message method and device, computer equipment and a storage medium, wherein the voice broadcast message method and device can be used for broadcasting text contents through multiple timbres.
In order to solve the above technical problem, an embodiment of the present application provides a method for voice broadcasting a message, which adopts the following technical scheme:
a method for voice broadcasting message includes the following steps:
receiving a connection request sent by a user terminal;
acquiring a first user identifier of a user terminal from the connection request, acquiring a second user identifier bound with the broadcasting device from the broadcasting device, and judging whether the first user identifier is matched with the second user identifier;
if the first user identification is matched with the second user identification, message information uploaded to a cloud end or stored in the local by a user terminal is obtained, and the message information carries a corresponding tone label;
identifying a tone label carried in the message information;
synthesizing the message information into corresponding audio information by a voice synthesis technology according to the tone label;
and broadcasting the audio information.
Further, after obtaining the first user identifier of the user terminal from the connection request, before obtaining the second user identifier bound to the broadcasting device from the broadcasting device, the method further includes:
detecting whether a second user identification bound with the broadcasting equipment exists on the server or not,
and if the second user identification bound with the broadcasting equipment does not exist, the broadcasting equipment is bound with the first user identification, and the bound first user identification is used as the second user identification.
Further, the step of determining whether the first user identifier is matched with the second user identifier further includes:
if the first user identification is not matched with the second user identification, the second user identification and the broadcasting equipment are unbound;
binding the first user identification with the unbound broadcasting equipment;
and acquiring message information uploaded to the cloud or stored locally by the user terminal corresponding to the first user identifier.
Further, the step of binding the first user identifier and the unbound broadcast device specifically includes:
triggering a binding function;
receiving a binding request sent by a user terminal on a cloud end;
and binding the first user identification with the broadcasting equipment at the cloud end.
In order to solve the above technical problem, an embodiment of the present application further provides a device for voice broadcasting a message, which adopts the following technical scheme:
a device for voice broadcasting a message, comprising:
a request receiving module, configured to receive a connection request sent by a user terminal;
the identifier judging module is used for acquiring a first user identifier of the user terminal from the connection request, acquiring a second user identifier bound with the broadcasting device from the broadcasting device, and judging whether the first user identifier is matched with the second user identifier;
the first information acquisition module is used for acquiring message information uploaded to a cloud or stored locally by a user terminal if the first user identifier is matched with the second user identifier, wherein the message information carries a corresponding tone label;
the label identification module is used for identifying the tone label carried in the message information;
the information synthesis module is used for synthesizing the message information into corresponding audio information through a voice synthesis technology according to the tone label;
and the information broadcasting module is used for broadcasting the audio information.
Further, the method also comprises the following steps:
the binding removing module is used for removing the binding between the second user identification and the broadcasting equipment if the first user identification is not matched with the second user identification;
the identifier binding module is used for binding the first user identifier with the broadcasting equipment after the binding is released;
and the second information acquisition module is used for acquiring message information uploaded to the cloud or stored locally by the user terminal corresponding to the first user identifier.
Further, the identifier binding module specifically includes: the device comprises a first function triggering unit, a second request receiving unit and a third binding unit;
the first function trigger unit is used for triggering a binding function;
the second request receiving unit is used for receiving a binding request sent by a user terminal on the cloud end;
the third identification binding unit is used for binding the first user identification with the broadcasting equipment at the cloud end.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, which adopts the following technical solutions:
a computer device comprises a memory and a processor, wherein a computer program is stored in the memory, and the processor realizes the steps of the method for voice broadcasting the message when executing the computer program.
In order to solve the above technical problem, an embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a method of voice broadcasting a message as described above.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects: the method, the device, the computer equipment and the storage medium for voice broadcasting the message acquire the first user identification of the user terminal from the connection request by receiving the connection request sent by the user terminal, acquire the second user identification bound with the broadcasting equipment from the broadcasting equipment, judge whether the first user identification is matched with the second user identification, acquire the message information uploaded to the cloud or stored in the local by the user terminal if the first user identification is matched with the second user identification, recognize the tone label carried in the message information, synthesize the message information into the audio information corresponding to the tone label by using a voice synthesis technology and play the audio information, broadcast the text content in a voice mode and match different tones, thereby increasing the interest and experience of listening to the message and playing the text content by voice, the function of reminding the user in time can be played.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings needed for describing the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
fig. 2 is a flowchart of one embodiment of a method of voice broadcasting a message according to the present application;
FIG. 3 is a flow diagram of one embodiment when the first subscriber identity does not match the second subscriber identity;
fig. 4 is a schematic structural diagram of an embodiment of a device for voice broadcasting a message according to the present application;
fig. 5 is a schematic structural diagram of another embodiment of a device for voice broadcasting a message according to the present application;
FIG. 6 is a block diagram illustrating one embodiment of an identity binding module shown in FIG. 5;
FIG. 7 is a schematic block diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, 105 and a server 104. The terminal devices 101, 102, 103, 105 and the server 104 are medium of communication links with a network. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 101, 102, 103 to interact with the server 104 over a network to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like. The terminal device 105 is a broadcasting device, and includes but is not limited to an AI speaker, an AI alarm clock, an AI voice intelligent terminal, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 104 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the method for voice broadcasting a message provided in the embodiment of the present application is generally executed by a terminal device, and accordingly, a device for voice broadcasting a message is generally disposed in a terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flowchart of one embodiment of a method for voice broadcasting a message according to the present application is shown. The method for voice broadcasting the message comprises the following steps:
step S201, receiving a connection request sent by a user terminal;
in this embodiment, an electronic device (for example, the terminal device shown in fig. 1) on which the method for voice broadcasting a message is operated may receive a connection request of the user terminal through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
Step S202, a first user identification of the user terminal is obtained from the connection request, a second user identification bound with the broadcasting device is obtained from the broadcasting device, and whether the first user identification is matched with the second user identification is judged.
In this embodiment, after receiving a connection request sent by a user terminal, a user identifier of the user terminal is obtained according to the connection request, that is, the user identifier is a first user identifier. When the user terminal of the first user identifier is connected with the broadcast equipment, the user terminal needs to be bound with the broadcast equipment in advance, and connection with the broadcast equipment is achieved after the user terminal is bound. The second user identification is the user identification bound with the broadcasting equipment and is stored in the broadcasting equipment. The second user identification can be directly matched with the broadcasting equipment, and the broadcasting equipment can automatically detect the user terminal of the second user identification and is connected with the user terminal.
Step S203, if the first user identification is matched with the second user identification, message information uploaded to the cloud or stored locally by the user terminal is obtained, and the message information carries a corresponding tone label.
Specifically, when the first user identifier is matched with the second user identifier, that is, the first user identifier is the second user identifier, the broadcasting device is directly connected with the second user identifier, message information uploaded to a cloud or stored locally by a user terminal corresponding to the second user identifier is obtained, and the message information carries a corresponding tone label selected by a user.
In this embodiment, the message can be a function provided in the server, and can be left in the friend interface through the user terminal, or leave a message for oneself, remark the item, set up the corresponding broadcast time, play the effect that the alarm clock reminded, make user experience degree improve.
Specifically, the manner in which the server provides the broadcast device with the unread message information may be a push manner, that is, the broadcast device and the server are kept in long connection, the message information is received in the user terminal and then pushed to the server by the user terminal, the server pushes the unread message information to the broadcast device, and specific client software may be installed on the user terminal for inputting the message information, uploading the message information to the server, and receiving the message information.
Furthermore, the broadcasting equipment can input a control instruction through specific client software on the user terminal to set the attribute information and control.
Specifically, specific client software on the user terminal can set the attribute of the broadcasting device, such as: alarm clock labels, etc. The specific client software can control tone quality selection, volume, opening and closing of the broadcasting equipment, playing and pausing, previous message leaving, next message leaving and the like of the broadcasting equipment.
When the server directly sends the unread message to the user terminal, if the client software of the user terminal is not started, the server sends a message to the user terminal prompting the user to start the client software, and later (the time interval can be configured by an administrator or a system) tries to resend the unread message. In addition, if the link is interrupted in the process of sending the message information, the breakpoint continuous transmission is supported until the message information is completely sent.
In this embodiment, the message information is text information, and the text information occupies a smaller storage space than direct voice information, can be transmitted quickly, and can save the encoding and decoding processes of the voice information and save time.
And step S204, identifying the tone label carried in the message information.
In an embodiment, the tone label may be selected when a message is left in the client software of the user terminal, such as: the voice of children, the voice of the middle of a man, the bass of a man, the voice of the middle of a woman or the bass of a woman and the like are uploaded, and then the corresponding tone labels are uploaded together through the uploaded message information.
And step S205, synthesizing the message information into corresponding audio information by a voice synthesis technology according to the tone label.
In this embodiment, according to the corresponding tone label, a voice synthesis technology is adopted, and the message information is synthesized into an artificial voice through mechanical synthesis, so that voices with different tones can be generated, and the user experience is improved.
And step S206, broadcasting the audio information.
Specifically, in this embodiment, the sender inputs the message information through the client software, and pushes the message information to the server, and the server sends the message information to the receiver, and the receiver receives the message information in the client software, and then pushes the message information to the broadcasting device through the server, and the broadcasting device broadcasts the message information, so that voice broadcasting can be performed while the message information can be rapidly transmitted, people can receive messages conveniently, and the experience of the user is improved.
Furthermore, the time for broadcasting the audio information can be set in client software of the user terminal, and the time can be preset as fixed time for broadcasting the messages; or after client software of the user terminal is opened and the broadcasting equipment is connected, the default broadcasting equipment can acquire and broadcast message information stored in the local of the user terminal; and after the message information is uploaded to the server by the user terminal, the uploaded message information can be broadcasted.
In this embodiment, by receiving a connection request sent by a user terminal, obtaining a first user identifier of the user terminal and a second user identifier bound to a broadcast device from the connection request, determining whether the first user identifier and the second user identifier are matched, if the first user identifier and the second user identifier are matched, namely, message information uploaded to the cloud or stored in the local by the terminal is obtained, and the tone label carried in the message information is identified, synthesizing the left message information into corresponding audio information by a voice synthesis technology according to the tone label, finally broadcasting the audio information, converting the text left message content into voice broadcast with various tones by adopting the voice synthesis technology, on the premise that the storage space is not excessively occupied and the messages can be rapidly transmitted, a message receiving mode is added, so that the messages can be rapidly, timely and conveniently received.
In some optional implementation manners of this embodiment, after receiving the connection request sent by the user terminal in step S201, before obtaining, in step S202, the second user identifier bound to the broadcasting device from the broadcasting device, the electronic device may further perform the following steps:
detecting whether a second user identifier bound with the broadcasting equipment exists on the server or not;
and if the second user identification bound with the broadcasting equipment does not exist, the broadcasting equipment is bound with the first user identification, and the bound first user identification is used as the second user identification.
In some optional implementation manners of this embodiment, when the step of determining whether the first user identifier and the second user identifier are matched is performed in step S202, the electronic device may further perform the following steps:
step S301, if the first user identification is not matched with the second user identification, the second user identification is unbound with the broadcasting equipment;
and if the first user identification is matched with the second user identification, directly acquiring identification information and user labels of corresponding user terminals related to the second user identification, which are stored in the broadcasting equipment, and connecting the user terminals corresponding to the second user identification with the broadcasting equipment.
Step S302, binding the first user identification with the unbound broadcasting equipment;
step S303, obtaining message information uploaded to the cloud or stored locally by the user terminal corresponding to the first user identifier.
In some optional implementation manners, when the first user identifier is bound to the broadcast device after being unbound in step S302, the electronic device may perform the following steps:
triggering a binding function;
receiving a binding request sent by a user terminal on a cloud end;
and binding the first user identification with the broadcasting equipment at the cloud end.
After the first user identification is bound with the broadcasting equipment, the broadcasting equipment can directly connect the user terminal corresponding to the first user identification with the broadcasting equipment when recognizing a connection request sent by the user terminal corresponding to the first user identification, and therefore the broadcasting equipment can acquire the message information uploaded to a server and a local storage by the user terminal more quickly.
In this embodiment, when the user terminal sends the binding request, the identification information of the user terminal and the user tag may be carried in the binding request, where the identification information of the user terminal is for facilitating identification of the broadcast device, and the user tag is for facilitating identification of the user when leaving a message.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
With further reference to fig. 4, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a device for voice broadcasting a message, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device may be specifically applied to various electronic devices.
As shown in fig. 4, the apparatus 400 for broadcasting a message by voice according to this embodiment includes: the system comprises a request receiving module 401, an identification obtaining module 402, an information obtaining module 403, a tag identification module 404, an information synthesizing module 405 and an information broadcasting module 406. Wherein:
the request receiving module 401 is configured to receive a connection request sent by a user terminal;
the identifier determining module 402 is configured to obtain a first user identifier of the user terminal from the connection request, obtain a second user identifier bound to the broadcast device from the broadcast device, and determine whether the first user identifier and the second user identifier are matched;
the first information obtaining module 403 is configured to obtain message information uploaded to a cloud or stored locally by a user terminal if the first user identifier matches the second user identifier, where the message information carries a corresponding tone label;
the tag identification module 404 is configured to identify a tone tag carried in the message information;
the information synthesis module 405 is configured to synthesize the message information into corresponding audio information through a voice synthesis technology according to the tone label;
the information broadcasting module 406 is used for broadcasting the audio information.
In this embodiment, the device 400 for broadcasting messages by voice may be a sound box, the sound box may be disposed in a home, the family members may use terminal devices to mutually message through the sound box, the terminal used by the family members may include a plurality of terminal devices, and each terminal device may be bound with the sound box on the server, message and receive messages.
In this embodiment, the device 400 for voice broadcasting messages can actively search the message information in the terminal device, synthesize the message information into audio information, and play audio, so that the message-leaving person can leave a message directionally, and the message-leaving person can directly hear the message left by the message-leaving party, thereby saving time, avoiding the problem of untimely reading caused by message missing, and improving user experience.
Referring to fig. 5, in some optional implementations of the present embodiment, the apparatus 400 further includes: a binding release module 407, an identification binding module 408, and a second information acquisition module 409. Wherein:
the binding release module 407 is configured to release the binding between the second user identifier and the broadcast device if the first user identifier is not matched with the second user identifier;
the identifier binding module 408 is configured to bind the first user identifier with the broadcast device after being unbound;
the second information obtaining module 409 is configured to obtain message information uploaded to the cloud or stored locally by the user terminal corresponding to the first user identifier.
Referring to fig. 6, which is a schematic structural diagram of a specific embodiment of the identifier binding module 408, the identifier binding module 408 includes a first function triggering unit 4081, a second request receiving unit 4082, and a third identifier binding unit 4083. Wherein:
the first function triggering unit 4081 is configured to trigger a binding function;
the second request receiving unit 4082 is configured to receive a binding request sent by a user terminal on the cloud;
the third identifier binding unit 4083 is configured to bind the first user identifier with the broadcast device at the cloud.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 7, fig. 7 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 7 comprises a memory 71, a processor 72, a network interface 73, which are communicatively connected to each other via a system bus. It is noted that only a computer device 7 having components 71-73 is shown, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable gate array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 71 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 71 may be an internal storage unit of the computer device 7, such as a hard disk or a memory of the computer device 7. In other embodiments, the memory 71 may also be an external storage device of the computer device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash Card (FlashCard), and the like, which are provided on the computer device 7. Of course, the memory 71 may also comprise both an internal storage unit of the computer device 7 and an external storage device thereof. In this embodiment, the memory 71 is generally used for storing an operating system installed in the computer device 7 and various application software, such as program codes of a method for voice broadcasting a message. Further, the memory 71 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 72 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 72 is typically used to control the overall operation of the computer device 7. In this embodiment, the processor 72 is configured to run a program code stored in the memory 71 or process data, for example, a program code for running the method for voice broadcasting a message.
The network interface 73 may comprise a wireless network interface or a wired network interface, and the network interface 73 is typically used for establishing a communication connection between the computer apparatus 7 and other electronic devices.
The present application provides another embodiment, which is to provide a computer-readable storage medium storing a program of a method for voice broadcasting a message, where the program of the method for voice broadcasting a message is executable by at least one processor, so that the at least one processor performs the steps of the method for voice broadcasting a message as described above.
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 solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. A method for voice broadcasting message is characterized by comprising the following steps:
receiving a connection request sent by a user terminal;
acquiring a first user identifier of a user terminal from the connection request, acquiring a second user identifier bound with the broadcasting device from the broadcasting device, and judging whether the first user identifier is matched with the second user identifier;
if the first user identification is matched with the second user identification, message information uploaded to a cloud end or stored in the local by a user terminal is obtained, and the message information carries a corresponding tone label;
identifying a tone label carried in the message information;
synthesizing the message information into corresponding audio information by a voice synthesis technology according to the tone label;
and broadcasting the audio information.
2. The method for voice broadcasting a message according to claim 1, wherein after acquiring the first subscriber identity of the user terminal from the connection request and before acquiring the second subscriber identity bound to the broadcasting device from the broadcasting device, the method further comprises:
detecting whether a second user identifier bound with the broadcasting equipment exists on the server or not;
and if the second user identification bound with the broadcasting equipment does not exist, the broadcasting equipment is bound with the first user identification, and the bound first user identification is used as the second user identification.
3. The method for voice broadcasting a message according to claim 1, wherein the step of determining whether the first subscriber identity and the second subscriber identity are matched further comprises:
if the first user identification is not matched with the second user identification, the second user identification and the broadcasting equipment are unbound;
binding the first user identification with the unbound broadcasting equipment;
and acquiring message information uploaded to the cloud or stored locally by the user terminal corresponding to the first user identifier.
4. The method for broadcasting messages by voice according to claim 3, wherein the step of binding the first subscriber identity with the broadcasting device after being unbound specifically comprises:
triggering a binding function;
receiving a binding request sent by a user terminal on a cloud end;
and binding the first user identification with the broadcasting equipment at the cloud end.
5. The method for voice broadcasting a message according to claim 1, wherein the message information includes text content and a message holder identification.
6. A device for voice broadcasting messages, comprising:
a request receiving module, configured to receive a connection request sent by a user terminal;
the identifier judging module is used for acquiring a first user identifier of the user terminal from the connection request, acquiring a second user identifier bound with the broadcasting device from the broadcasting device, and judging whether the first user identifier is matched with the second user identifier;
the first information acquisition module is used for acquiring message information uploaded to a cloud or stored locally by a user terminal if the first user identifier is matched with the second user identifier, wherein the message information carries a corresponding tone label;
the label identification module is used for identifying the tone label carried in the message information;
the information synthesis module is used for synthesizing the message information into corresponding audio information through a voice synthesis technology according to the tone label;
and the information broadcasting module is used for broadcasting the audio information.
7. A device for voice broadcasting a message according to claim 6, further comprising:
the binding removing module is used for removing the binding between the second user identification and the broadcasting equipment if the first user identification is not matched with the second user identification;
the identifier binding module is used for binding the first user identifier with the broadcasting equipment after the binding is released;
and the second information acquisition module is used for acquiring message information uploaded to the cloud or stored locally by the user terminal corresponding to the first user identifier.
8. The device for voice broadcasting messages according to claim 7, wherein the identifier binding module specifically comprises: the system comprises a first function triggering unit, a second request receiving unit and a third identification binding unit;
the first function trigger unit is used for triggering a binding function;
the second request receiving unit is used for receiving a binding request sent by a user terminal on the cloud end;
the third identification binding unit is used for binding the first user identification with the broadcasting equipment at the cloud end.
9. A computer device comprising a memory having stored therein a computer program and a processor that when executed implements the steps of the method of voice broadcasting a message according to any one of claims 1 to 5.
10. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of voice broadcasting a message according to any one of claims 1 to 5.
CN201811368161.0A 2018-11-16 2018-11-16 Method and device for voice broadcasting message, computer equipment and storage medium Active CN111276123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811368161.0A CN111276123B (en) 2018-11-16 2018-11-16 Method and device for voice broadcasting message, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811368161.0A CN111276123B (en) 2018-11-16 2018-11-16 Method and device for voice broadcasting message, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111276123A true CN111276123A (en) 2020-06-12
CN111276123B CN111276123B (en) 2023-01-24

Family

ID=71001290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811368161.0A Active CN111276123B (en) 2018-11-16 2018-11-16 Method and device for voice broadcasting message, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111276123B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986648A (en) * 2020-06-29 2020-11-24 联想(北京)有限公司 Information processing method, device and equipment
CN112087669A (en) * 2020-08-07 2020-12-15 广州华多网络科技有限公司 Method and device for presenting virtual gift and electronic equipment
CN112735375A (en) * 2020-12-25 2021-04-30 北京百度网讯科技有限公司 Voice broadcasting method, device, equipment and storage medium
CN114510144A (en) * 2020-11-16 2022-05-17 上海擎感智能科技有限公司 Interaction method, terminal and computer readable storage medium
CN114745349A (en) * 2021-01-08 2022-07-12 上海博泰悦臻网络技术服务有限公司 Commenting method, electronic device and computer readable storage medium
CN114760257A (en) * 2021-01-08 2022-07-15 上海博泰悦臻网络技术服务有限公司 Commenting method, electronic device and computer readable storage medium
WO2022247267A1 (en) * 2021-05-25 2022-12-01 北京百度网讯科技有限公司 Voice playing system, and voice playing timbre configuration method and related apparatus

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050041749A (en) * 2003-10-31 2005-05-04 한국전자통신연구원 Voice synthesis apparatus depending on domain and speaker by using broadcasting voice data, method for forming voice synthesis database and voice synthesis service system
WO2005064895A1 (en) * 2003-12-31 2005-07-14 France Telecom System, method, device, and computer program product for a sender to send a personalized notification to a recipient of a communication
JP2007256375A (en) * 2006-03-20 2007-10-04 Yamaha Corp Musical sound generation system
JP2008048126A (en) * 2006-08-15 2008-02-28 Softbank Mobile Corp Cellular phone having function of generating announcement for answering machine and system of generating announcement for answering machine
US20100042688A1 (en) * 2008-08-13 2010-02-18 Adham Maghraby Systems and methods for provision of content data
CN104464716A (en) * 2014-11-20 2015-03-25 北京云知声信息技术有限公司 Voice broadcasting system and method
US20160063894A1 (en) * 2014-09-01 2016-03-03 Samsung Electronics Co., Ltd. Electronic apparatus having a voice guidance function, a system having the same, and a corresponding voice guidance method
CN106652995A (en) * 2016-12-31 2017-05-10 深圳市优必选科技有限公司 Voice broadcasting method and system for text
CN107205051A (en) * 2017-07-31 2017-09-26 绵阳美菱软件技术有限公司 The method and processing system, intelligent refrigerator, cloud server of intelligence message
CN107452400A (en) * 2017-07-24 2017-12-08 珠海市魅族科技有限公司 Voice broadcast method and device, computer installation and computer-readable recording medium
CN107644640A (en) * 2016-07-22 2018-01-30 佛山市顺德区美的电热电器制造有限公司 A kind of information processing method and home appliance
CN107644637A (en) * 2017-03-13 2018-01-30 平安科技(深圳)有限公司 Phoneme synthesizing method and device
US20180152445A1 (en) * 2016-11-30 2018-05-31 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for authenticating user
CN108415974A (en) * 2018-02-08 2018-08-17 上海爱优威软件开发有限公司 Message leaving method, message information acquisition method, terminal device and cloud system
CN108769131A (en) * 2018-05-03 2018-11-06 平安科技(深圳)有限公司 A kind of PUSH message broadcasting method, computer readable storage medium and terminal device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050041749A (en) * 2003-10-31 2005-05-04 한국전자통신연구원 Voice synthesis apparatus depending on domain and speaker by using broadcasting voice data, method for forming voice synthesis database and voice synthesis service system
WO2005064895A1 (en) * 2003-12-31 2005-07-14 France Telecom System, method, device, and computer program product for a sender to send a personalized notification to a recipient of a communication
JP2007256375A (en) * 2006-03-20 2007-10-04 Yamaha Corp Musical sound generation system
JP2008048126A (en) * 2006-08-15 2008-02-28 Softbank Mobile Corp Cellular phone having function of generating announcement for answering machine and system of generating announcement for answering machine
US20100042688A1 (en) * 2008-08-13 2010-02-18 Adham Maghraby Systems and methods for provision of content data
US20160063894A1 (en) * 2014-09-01 2016-03-03 Samsung Electronics Co., Ltd. Electronic apparatus having a voice guidance function, a system having the same, and a corresponding voice guidance method
CN104464716A (en) * 2014-11-20 2015-03-25 北京云知声信息技术有限公司 Voice broadcasting system and method
CN107644640A (en) * 2016-07-22 2018-01-30 佛山市顺德区美的电热电器制造有限公司 A kind of information processing method and home appliance
US20180152445A1 (en) * 2016-11-30 2018-05-31 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for authenticating user
CN106652995A (en) * 2016-12-31 2017-05-10 深圳市优必选科技有限公司 Voice broadcasting method and system for text
CN107644637A (en) * 2017-03-13 2018-01-30 平安科技(深圳)有限公司 Phoneme synthesizing method and device
CN107452400A (en) * 2017-07-24 2017-12-08 珠海市魅族科技有限公司 Voice broadcast method and device, computer installation and computer-readable recording medium
CN107205051A (en) * 2017-07-31 2017-09-26 绵阳美菱软件技术有限公司 The method and processing system, intelligent refrigerator, cloud server of intelligence message
CN108415974A (en) * 2018-02-08 2018-08-17 上海爱优威软件开发有限公司 Message leaving method, message information acquisition method, terminal device and cloud system
CN108769131A (en) * 2018-05-03 2018-11-06 平安科技(深圳)有限公司 A kind of PUSH message broadcasting method, computer readable storage medium and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XINGYU NA ET,AL.: "An improved tone labeling and prediction method with non-uniform segmentation of F0 contour", 《2012 8TH INTERNATIONAL SYMPOSIUM ON CHINESE SPOKEN LANGUAGE PROCESSING》 *
曾谁飞,王仁波: "语音合成技术在智能语音播报系统中的应用探析", 《电信科学》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986648A (en) * 2020-06-29 2020-11-24 联想(北京)有限公司 Information processing method, device and equipment
CN112087669A (en) * 2020-08-07 2020-12-15 广州华多网络科技有限公司 Method and device for presenting virtual gift and electronic equipment
CN114510144A (en) * 2020-11-16 2022-05-17 上海擎感智能科技有限公司 Interaction method, terminal and computer readable storage medium
CN112735375A (en) * 2020-12-25 2021-04-30 北京百度网讯科技有限公司 Voice broadcasting method, device, equipment and storage medium
CN114745349A (en) * 2021-01-08 2022-07-12 上海博泰悦臻网络技术服务有限公司 Commenting method, electronic device and computer readable storage medium
CN114760257A (en) * 2021-01-08 2022-07-15 上海博泰悦臻网络技术服务有限公司 Commenting method, electronic device and computer readable storage medium
CN114745349B (en) * 2021-01-08 2023-12-26 上海博泰悦臻网络技术服务有限公司 Comment method, electronic equipment and computer readable storage medium
WO2022247267A1 (en) * 2021-05-25 2022-12-01 北京百度网讯科技有限公司 Voice playing system, and voice playing timbre configuration method and related apparatus

Also Published As

Publication number Publication date
CN111276123B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
CN111276123B (en) Method and device for voice broadcasting message, computer equipment and storage medium
CN101543011B (en) Bundling of multimedia content and decoding means
US20170249934A1 (en) Electronic device and method for operating the same
US11244686B2 (en) Method and apparatus for processing speech
CN103179267A (en) Apparatus and method for managing attached file of message in portable terminal
CN107274882B (en) Data transmission method and device
KR20160047485A (en) Method and apparatus for classifying data items based on sound tags
CN104035995A (en) Method and device for generating group tags
CN111966441A (en) Information processing method and device based on virtual resources, electronic equipment and medium
CN104468760A (en) Method and device for pushing reminding information
CN112637428A (en) Invalid call judgment method and device, computer equipment and storage medium
US20220021922A1 (en) Playlist switching method, apparatus and system, terminal and storage medium
CN108881766B (en) Video processing method, device, terminal and storage medium
CN103136235A (en) Data processing platform, data processing system and data processing method
CN112422514A (en) Multimedia data transmission method and device, intelligent household equipment and storage medium
CN110442416B (en) Method, electronic device and computer-readable medium for presenting information
CN112447179A (en) Voice interaction method, device, equipment and computer readable storage medium
CN116419196A (en) Data transmission method, device, equipment and computer readable storage medium
CN106559573B (en) Mobile terminal and multimedia data processing method
CN106302821B (en) Data request method and equipment thereof
CN103338315A (en) Information processing method and device
CN111782989B (en) Fast application association method and related device
CN101873297A (en) Device and system for acquiring voice network information
CN115700451A (en) Service recommendation method and electronic equipment
WO2016173136A1 (en) Terminal application processing method and device thereof

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