CN111756849A - Information broadcasting method and device - Google Patents

Information broadcasting method and device Download PDF

Info

Publication number
CN111756849A
CN111756849A CN202010595779.1A CN202010595779A CN111756849A CN 111756849 A CN111756849 A CN 111756849A CN 202010595779 A CN202010595779 A CN 202010595779A CN 111756849 A CN111756849 A CN 111756849A
Authority
CN
China
Prior art keywords
information
user
content
audio file
target audio
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
CN202010595779.1A
Other languages
Chinese (zh)
Other versions
CN111756849B (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202310272955.1A priority Critical patent/CN116366719A/en
Priority to CN202010595779.1A priority patent/CN111756849B/en
Publication of CN111756849A publication Critical patent/CN111756849A/en
Application granted granted Critical
Publication of CN111756849B publication Critical patent/CN111756849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

One or more embodiments of the present specification disclose an information broadcasting method and apparatus, which are used to solve the problem that the existing information broadcasting method cannot meet the personalized requirements of users. The method comprises the following steps: receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information. And determining first broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user. And generating a target audio file corresponding to the service information according to the first broadcast content and the first information content. And sending a notification message carrying file identification information of the target audio file to a client of the first user, wherein the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.

Description

Information broadcasting method and device
Technical Field
The present specification relates to the field of information processing technologies, and in particular, to an information broadcasting method and apparatus.
Background
Currently, in some service scenarios, a server sends a message to an application client by pushing the message, so as to trigger the client to broadcast the message in a predetermined manner, such as displaying the message on a client screen or broadcasting the message by voice. For example, when the application with the collection function receives payment, a notification message can be broadcasted by the client to notify the user of the corresponding collection content. For another example, after receiving the information of the customer code scanning order, the application with the ordering function can play a notification message through the client to notify the merchant that a new order is currently available.
Disclosure of Invention
In one aspect, one or more embodiments of the present specification provide an information broadcasting method, including: receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information. And determining first broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user. And generating a target audio file corresponding to the service information according to the first broadcast content and the first information content. And sending a notification message carrying file identification information of the target audio file to a client of the first user, wherein the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
In another aspect, one or more embodiments of the present specification provide an information broadcasting method, including: receiving a notification message from a network side, wherein the notification message comprises file identification information of a target audio file to be broadcasted, and the target audio file is generated by the network side according to information content of service information and broadcast content which corresponds to a first user and is matched with a service type corresponding to the service information. And acquiring the target audio file according to the file identification information. And broadcasting the target audio file.
In another aspect, one or more embodiments of the present specification provide an information broadcasting device, including: the first receiving module receives service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information. The first determining module determines first broadcast contents corresponding to the first user and matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast contents and the user identification information of the first user. And the generating module is used for generating a target audio file corresponding to the service information according to the first broadcast content and the first information content. And the first sending module is used for sending a notification message carrying file identification information of the target audio file to a client of the first user, and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
In another aspect, one or more embodiments of the present specification provide an information broadcasting device, including: the second receiving module is used for receiving a notification message from a network side, wherein the notification message comprises file identification information of a target audio file to be broadcasted, and the target audio file is generated by the network side according to information content of service information and broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information. And the acquisition module acquires the target audio file according to the file identification information. And the broadcasting module is used for broadcasting the target audio file.
In another aspect, one or more embodiments of the present specification provide an information broadcasting apparatus, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information. And determining first broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user. And generating a target audio file corresponding to the service information according to the first broadcast content and the first information content. And sending a notification message carrying file identification information of the target audio file to a client of the first user, wherein the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
In another aspect, one or more embodiments of the present specification provide an information broadcasting apparatus, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: receiving a notification message from a network side, wherein the notification message comprises file identification information of a target audio file to be broadcasted, and the target audio file is generated by the network side according to information content of service information and broadcast content which corresponds to a first user and is matched with a service type corresponding to the service information. And acquiring the target audio file according to the file identification information. And broadcasting the target audio file.
In yet another aspect, one or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information. And determining first broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user. And generating a target audio file corresponding to the service information according to the first broadcast content and the first information content. And sending a notification message carrying file identification information of the target audio file to a client of the first user, wherein the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
In yet another aspect, one or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: receiving a notification message from a network side, wherein the notification message comprises file identification information of a target audio file to be broadcasted, and the target audio file is generated by the network side according to information content of service information and broadcast content which corresponds to a first user and is matched with a service type corresponding to the service information. And acquiring the target audio file according to the file identification information. And broadcasting the target audio file.
Drawings
In order to more clearly illustrate one or more embodiments or technical solutions in the prior art in the present specification, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in one or more embodiments of the present specification, and other drawings can be obtained by those skilled in the art without inventive exercise.
FIG. 1 is a schematic flow chart diagram of a method of information dissemination in accordance with an embodiment of the present description;
FIG. 2 is a schematic flow chart diagram of a method of messaging in accordance with another embodiment of the present description;
FIG. 3 is a schematic flow chart diagram of a method of messaging in accordance with yet another embodiment of the present description;
FIG. 4 is a schematic block diagram of an information dissemination apparatus in accordance with an embodiment of the present description;
FIG. 5 is a schematic block diagram of an information dissemination apparatus in accordance with another embodiment of the present specification;
FIG. 6 is a schematic block diagram of an information dissemination device in accordance with an embodiment of the present description;
fig. 7 is a schematic block diagram of an information dissemination device in accordance with another embodiment of the present description.
Detailed Description
One or more embodiments of the present specification provide an information broadcasting method and apparatus, so as to solve a problem that an existing information broadcasting method cannot meet personalized requirements of a user.
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments of the present disclosure without making any creative effort shall fall within the protection scope of one or more of the embodiments of the present disclosure.
Fig. 1 is a schematic flowchart of an information broadcasting method according to an embodiment of the present specification, and as shown in fig. 1, the information broadcasting method is applicable to a network side and includes the following steps:
s102, receiving service information of the first user, wherein the service information comprises user identification information of the first user and first information content of the service information.
In one or more embodiments of the present specification, the service type of the received service information is not limited, for example, the service type may be a payment and receipt service, a code scanning order service, a code scanning authentication service, or the like; correspondingly, the service information can be payment information, code scanning order information, code scanning authentication information and the like.
The user identification information may be information such as a user's identification number, name, communication number, account number, nickname, etc.
The information content of the service information is related to the service type of the service information. For example, for a collection service, the information content of the service information may be a collection amount, a collection source (name of a payer, payment method), and the like; for the code scanning order service of a certain restaurant, the information content of the service information can be code scanning user information, position information of a code scanning user, order details (such as the name and price of ordered dishes) and the like.
And S104, determining first broadcast content corresponding to the first user and matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user.
The mapping relationship between each user identification information and the broadcast content can be stored in the network side in advance, and in the mapping relationship, the same user identification information can correspond to the broadcast content of at least one service type. For example, a certain user identification information corresponds to a broadcast content "X element for collection" of a collection service, and also corresponds to a broadcast content "you have a new order" of a single-point service; and so on.
In the mapping relationship, the broadcast content may include a replaceable dynamic element, for example, in the broadcast content "X element for collection," X "is a replaceable dynamic element. After receiving the service information, the network side can obtain the replacement content corresponding to the X by analyzing the service information.
The storage form of the broadcast content in the mapping relationship may include various forms. In one embodiment, the announcement content may include announcement information content, which may include alternate dynamic information elements. In another embodiment, the audiovisual content may include audiovisual content, which may include replaceable dynamic audio elements.
And S106, generating a target audio file corresponding to the service information according to the first broadcast content and the first information content.
For different storage forms of the broadcast content in the mapping relationship, the generation manner of the corresponding target audio file is also different, and the following embodiments will be described in detail.
And S108, sending a notification message carrying file identification information of the target audio file to a client of the first user, wherein the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
The file identification information may include file storage path information of the target audio file at the network side, and based on this, the client may download the target audio file from the network side for broadcasting based on the file storage path information.
By adopting the technical scheme of one or more embodiments of the specification, after the business information of the user is received, the broadcast content corresponding to the user and matched with the business type corresponding to the business information is determined, the target audio file corresponding to the business information is generated according to the determined broadcast content and the information content of the business information, and then the target audio file is broadcasted through the client by voice, so that the target audio file broadcasted for the user is related to the individual and the business type of the user, and the same content is not broadcasted for all users aiming at the same business type, therefore, the technical scheme can meet the personalized voice broadcast requirements of the user on various businesses, and the information broadcast effect is more flexible and interesting; and because the target audio file is generated by the network side, the client only needs to broadcast the target audio file, so that the information processing pressure of the client is reduced, the information broadcast delay condition caused by the high information processing pressure of the client is avoided, and the information broadcast efficiency is improved.
In one embodiment, the broadcast content corresponding to each user identification information may be customized individually by the user in advance, so that before receiving the service information from the first user, a voice broadcast customization request of the first user may be received first, where the voice broadcast customization request includes customization information customized for a specific service by the first user, and the customization information may include broadcast content, language category, and the like corresponding to at least one specific service; and secondly, establishing a mapping relation between the customized information and the user identification information of the first user according to the voice broadcast customized request of the first user, and storing the mapping relation.
The user who specifies the service type corresponding to the service type in the above embodiment can customize the broadcast content and the language type for one or more specified services (or services of specified service types).
If the user only customizes the broadcast content and the language category of one appointed service, the customization information in the voice broadcast customization request comprises the broadcast content and the language category corresponding to the target customization service (namely the appointed service which the user wants to customize); if the user customizes the broadcast content and the language category of various specified services, the customization information in the voice broadcast customization request comprises the broadcast content and the language category which respectively correspond to each target customization service. Each targeted customized service may correspond to the same or different language classes.
In this embodiment, the network side supports personalized customization of broadcast contents of arbitrary contents, for example, if a user has a store named "XX store", the user may customize broadcast contents with own store characteristics, such as "XX store payment X element".
The language categories may be divided according to different geographic locations, such as language categories including Sichuan dialects, Shanghai dialects, and so on. Assuming that a user is living in Shanghai and wants the client to report the collection information of the account number by the Shanghai dialect, the user can customize the language type to be the Shanghai dialect.
For example, the client generates a voice broadcast customization request containing the customization information for the user according to the customization information input by the user, such as the broadcast content "XX store payment X element" and the language type "shanghai dialect", and sends the generated voice broadcast customization request to the network side. After receiving the voice broadcast customization request of the user, the network side analyzes the customization information contained in the voice broadcast customization request, and then establishes the mapping relation between the customization information and the user identification information of the user and stores the mapping relation in the network side. The user identification information can be carried in the voice broadcast customization request and sent to the network side, and can also be independently sent to the network side as one piece of information.
In the embodiment, the network side can broadcast the customized request based on the voice of the user, and establish the mapping relation between the customized information and the user identification information in the request, and the customized information can comprise broadcast contents, language categories and the like, so that the information broadcasting effect of the personalized broadcast information for different users is realized, the information broadcasting effect is more flexible and interesting, and the personalized requirements of the user on the information broadcasting effect are met.
In one embodiment, the first announcement content comprises information content to be announced, the information content to be announced comprising replaceable dynamic information elements.
The information content to be broadcasted can be in the forms of characters, symbols, numbers and the like, namely, the information content which is not converted into the audio form. For example, "X element to be collected" in the above embodiment is information content to be broadcasted, where "X" is a specific collection amount, and thus is a replaceable dynamic information element.
In this embodiment, generating an audio file corresponding to the service information according to the first broadcast content and the first information content may be implemented as follows:
firstly, key information elements to be broadcasted in first information content of service information are determined.
The first information content of the service information may include a plurality of information elements, but it may not be necessary to broadcast all the information elements in an actual scene, and then the information elements that must be broadcast are the key information elements. For example, the first information content comprises the following information elements: the payer is Zhang San, the payment mode is applied A, the collection amount is 10 Yuan, and if the collection amount only needs to be broadcasted, the collection amount is 10 Yuan, which is the key information element.
After receiving the service information, the network side can analyze the key information elements in the first information content of the service information through a preset analysis rule. The preset analysis rule can be used for defining the information elements to be analyzed.
And secondly, replacing the dynamic information elements in the information content to be broadcasted by using the key information elements to obtain second broadcast content corresponding to the service information.
Following the above example, after determining the key information element "10" in the first information content, the network side replaces the dynamic information element "X" in the "X element collected for broadcasting" information content with the key information element "10" to obtain the second broadcast content "10 element collected for broadcasting" corresponding to the service information.
And thirdly, determining the audio content corresponding to the second broadcast content, and generating a target audio file corresponding to the service information according to the audio content.
Continuing with the above example, by determining the audio content corresponding to the second broadcast content "receive 10 yuan", that is, converting the second broadcast content "receive 10 yuan" into a corresponding audio format, the target audio file is generated.
When the audio content corresponding to the second broadcast content is determined, first audio elements corresponding to the first information elements can be determined for the first information elements contained in the second broadcast content; and then according to the sequence of the first information elements in the second broadcast content, combining the first audio elements corresponding to the first information elements respectively to obtain the audio content corresponding to the second broadcast content. The network side stores the audio elements corresponding to the information elements in advance, and the information elements can include any type of elements such as characters, numbers, symbols and the like.
In an embodiment, when determining the audio content corresponding to the second broadcast content, a target language category corresponding to the first user may be determined, and first audio elements corresponding to the first information elements in each second broadcast content may be determined, so as to determine first audio elements corresponding to the first information elements and conforming to the target language category.
In this embodiment, if the first user sending the service information customizes the language category in advance, the target language category corresponding to the first user may be determined according to a mapping relationship between the user identification information of the first user and the customization information (including the language category).
If the first user sending the service information does not customize the language category in advance, the target language category corresponding to the first user can be determined according to the geographical position information of the first user. The geographic position information of the first user can be positioned through the positioning function of the client and uploaded to the network side. For example, if the network side determines that the first user is currently located in shanghai, it may be determined that the target language category corresponding to the first user is the shanghai dialect.
In the above embodiment, by pre-storing the mapping relationship between the first user (or the user identification information) and the broadcast content and/or the language category in the network side, after receiving the service information, the broadcast content and/or the language category corresponding to the first user can be determined based on the pre-stored mapping relationship, and then the service information is broadcast for the first user based on the broadcast content and/or the language category corresponding to the first user, so that the personalized requirement of the user on the information broadcast effect is met. Moreover, the broadcast content in the mapping relationship is stored in the form of the information content to be broadcast, so that the broadcast content corresponding to the service information can be accurately determined through the first information content of the service information and the information content to be broadcast, and the efficiency of information broadcast is improved.
In one embodiment, the first announcement content includes to-be-announced audio content that includes replaceable dynamic audio elements.
The audio content to be broadcasted can be generated in advance according to the information content to be broadcasted. Optionally, after receiving the voice broadcast customization request including the broadcast content customized by the first user, the network side may convert the broadcast content into corresponding audio content, and store the converted audio content as the audio content to be broadcast, corresponding to the user identification information of the first user.
In this embodiment, generating an audio file corresponding to the service information according to the first broadcast content and the first information content may be implemented as follows:
firstly, key information elements to be broadcasted in first information content of service information are determined.
The first information content of the service information may include a plurality of information elements, and the determination manner of the key information element is described in detail in the above embodiments, and is not described herein again.
Second, a second audio element corresponding to the key information element is determined.
The network side can prestore audio elements corresponding to the information elements, and based on the audio elements, second audio elements corresponding to the key information elements can be determined.
And thirdly, replacing the dynamic audio elements in the audio content to be broadcasted with the second audio elements to obtain a target audio file corresponding to the service information.
Continuing with the above example, assume that the audio content to be broadcasted is the audio content corresponding to "X element for collection", where the dynamic audio element is the audio element corresponding to "X". The key information element to be broadcasted in the first information content is '10', and after the key information element '10' is converted into an audio file (namely, a second audio element is obtained), the second audio element corresponding to '10' is used for replacing a dynamic audio element in the audio content corresponding to 'X element for collection', so that the audio file corresponding to the service information is obtained.
In the above embodiment, when determining the second audio element corresponding to the key information element, the target language category corresponding to the first user may be determined first, and then the second audio element corresponding to the key information element and conforming to the target language category is determined.
In addition, the language category corresponding to the audio content to be broadcasted, which is pre-stored by the network side and corresponds to the first user, may be a language category (i.e., a target language category) customized by the first user in advance, or may be a language category used by the network side by default. For example, if the first user customizes the broadcast content and the language type corresponding to the broadcast content in advance (such as the shanghai dialect), the network side may convert the broadcast content into the audio content to be broadcast conforming to the shanghai dialect, and correspondingly store the audio content to be broadcast conforming to the shanghai dialect and the user identification information of the first user.
And if the language type corresponding to the audio content to be broadcasted prestored at the network side is not consistent with the target language type corresponding to the first user, performing language conversion on the audio content to be broadcasted to obtain the audio content to be broadcasted according with the target language type.
In an embodiment, when the target language category corresponding to the first user is determined, if the first user customizes the language category in advance, the target language category corresponding to the first user may be determined according to a mapping relationship between the user identification information of the first user and the customization information (including the language category).
If the language type is not customized by the first user in advance, the target language type corresponding to the first user can be determined according to the geographical position information of the first user. The geographic position information of the first user can be positioned through the positioning function of the client and uploaded to the network side. For example, if the network side determines that the first user is currently located in shanghai, it may be determined that the target language category corresponding to the first user is a shanghai dialect
Fig. 2 is a schematic flow chart of an information broadcasting method according to another embodiment of the present specification, and as shown in fig. 2, the information broadcasting method is applicable to a client, and includes the following steps:
s202, receiving a notification message from a network side, wherein the notification message comprises file identification information of a target audio file to be broadcasted.
The target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information. The generation process of the target audio file has been described in detail in the above embodiments, and is not repeated here.
And S204, acquiring the target audio file according to the file identification information of the target audio file.
The file identification information may include file storage path information of the target audio file on the network side. Therefore, the client can download the target audio file from the network side according to the file storage path information of the target audio file on the network side, determine (or change) the file name of the downloaded target audio file into the specified file name, and then store the specified file name to the local client.
When the system used by the client is an ios system (a mobile operating system), the downloaded target audio file may be stored in a designated directory of the client, for example, the following directories: Library/Sound.
And S206, broadcasting the target audio file.
In this step, the client can search the target audio file locally for broadcasting. If the system used by the client is an ios system, the client can find the target audio file according to a local specified directory (such as Library/sources); if the client uses other systems (such as an android system), the target audio file can be searched in a local storage position after the target audio file is downloaded.
By adopting the technical scheme of one or more embodiments of the present specification, after receiving a notification message from a network side, a target audio file can be obtained according to file identification information of the target audio file in the notification message, wherein the target audio file is generated by the network side according to information content of service information and broadcast content which corresponds to a first user and is matched with a service type corresponding to the service information, and the obtained target audio file is broadcast. Because the target audio file generated by the network side is related to the individual user and the service type, and the same broadcast content is not generated for all users aiming at the same service type, the broadcast effect of the client on the target audio content can meet the personalized voice broadcast requirement of the users on various services, so that the information broadcast effect is more flexible and interesting; and because the target audio file is generated by the network side, the client only needs to broadcast the target audio file, so that the information processing pressure of the client is reduced, the information broadcast delay condition caused by the high information processing pressure of the client is avoided, and the information broadcast efficiency is improved.
In one embodiment, when the client downloads the target audio file from the network side according to the file storage path information of the target audio file on the network side, there may be a case of downloading failure. In consideration of the possibility of download failure, the notification message sent by the network side further includes the information content of the service information.
If the client fails to download the target audio file from the network side, broadcast content corresponding to the first user and matched with the service type corresponding to the service information is obtained, and then the target audio file corresponding to the service information is generated according to the information content of the service information and the obtained broadcast content.
In this embodiment, the network side prestores mapping relationships between the user identification information and the customization information, where the customization information may include broadcast content, language category, and the like corresponding to at least one specified service. Based on this, the client can obtain the broadcast content corresponding to the first user and matched with the service type corresponding to the service information from the network side.
In one embodiment, the broadcast content acquired by the client includes information content to be broadcast, and the information content to be broadcast includes a replaceable dynamic information element. Based on this, the client generates a target audio file corresponding to the service information according to the information content of the service information and the acquired broadcast content, and the following specific implementation can be performed:
firstly, determining key information elements to be broadcasted in the information content of the service information; secondly, replacing dynamic information elements in the information content to be broadcasted by using the key information elements to obtain the broadcasted content corresponding to the service information; and thirdly, determining the audio content corresponding to the broadcast content corresponding to the service information, and generating a target audio file corresponding to the service information according to the audio content. The execution process of each step in this manner is similar to the corresponding process executed by the network side in the above embodiment, and is not described herein again.
In one embodiment, the broadcast content acquired by the client includes audio content to be broadcast, and the audio content to be broadcast includes replaceable dynamic audio elements. Based on this, the client generates a target audio file corresponding to the service information according to the information content of the service information and the acquired broadcast content, and the following specific implementation can be performed:
firstly, determining key information elements to be broadcasted in the information content of the service information; secondly, determining an audio element corresponding to the key information element; and thirdly, replacing the dynamic audio elements in the audio content to be broadcasted by using the audio elements corresponding to the key information elements to obtain a target audio file corresponding to the service information. The execution process of each step in this manner is similar to the corresponding process executed by the network side in the above embodiment, and is not described herein again.
In the above embodiment, before the client generates the target audio file, the client may further determine a target language category corresponding to the first user; and then generating a target audio file which corresponds to the service information and accords with the target language category according to the broadcast content obtained by the information content of the service information.
When the target language type corresponding to the first user is determined, if the language type is customized in advance by the first user, the target language type corresponding to the first user can be determined according to a mapping relationship between the user identification information of the first user and the customization information (including the language type) prestored at the network side.
If the language type is not customized by the first user in advance, the target language type corresponding to the first user can be determined according to the geographical position information of the first user. The geographic position information of the first user can be positioned by a positioning function of the client. For example, if the client locates that the first user is currently in shanghai, the target language category corresponding to the first user may be determined to be the shanghai dialect.
In the above embodiment, after the client fails to download the target audio file corresponding to the service information, the client can locally generate the target audio file corresponding to the service information, so that the situation that the target audio file cannot be normally broadcasted when the downloading fails is avoided, and the efficiency of information broadcasting is ensured.
Fig. 3 is a schematic flowchart of an information broadcasting method according to still another embodiment of the present disclosure, where the information broadcasting method in this embodiment is applied to a network side and a client. The network side is used for customizing broadcast contents and/or language categories of specified services for the user according to the personalized customization requirements of the user and generating a target audio file corresponding to the service information. The client is used for outputting the target audio file in a voice broadcasting mode. As shown in fig. 3, the information broadcasting method includes the following steps:
s301, a user inputs customized information customized for at least one specified service through a client.
The customized information may include broadcast content, language category, and the like corresponding to at least one specified service. The specified service is a service of a specified service type, such as a payment and receipt service, a code scanning authentication service, and the like.
And S302, the client generates a voice broadcast customization request containing customization information and user identification information based on the customization information input by the user, and sends the voice broadcast customization request to a network side.
And S303, the network side establishes a mapping relation between the customized information and the user identification information based on the voice broadcast customization request and stores the mapping relation.
S304, when the network side receives the service information of the user, the user identification information of the user and the service type corresponding to the service information are determined.
S305, determining a first broadcast content which corresponds to the user identification information and is matched with the service type according to the user identification information, the service type and a pre-stored mapping relation.
The first broadcast content is characterized in multiple ways. For example, the first broadcast content may include information content to be broadcast, which includes replaceable dynamic information elements. Alternatively, the first broadcast content may also include audio content to be broadcast, where the audio content to be broadcast includes replaceable dynamic audio elements.
S306, the network side generates a target audio file corresponding to the service information according to the first broadcast content and the information content of the service information, and stores the target audio file to a specified path.
According to the different representation modes of the first broadcast content, the modes of generating the target audio file at the network side are also different. The specific generation manner of the target audio file has been described in detail in the above embodiments, and is not described herein again.
S307, the network side sends a notification message to the client, wherein the notification message comprises the file storage path information of the target audio file and the information content of the service information.
S308, the client responds to the notification message and downloads the target audio file from the network side based on the file storage path information. If the downloading fails, executing S309; if the downloading is successful, S310 is executed.
S309, the client side obtains the broadcast content corresponding to the user and matched with the service type corresponding to the service information from the network side, and generates a target audio file based on the broadcast content and the information content of the service information.
The method for generating the target audio file by the client is similar to the method for generating the target audio file by the network side in the foregoing steps, and is not described herein again.
S310, the client determines the file name of the target audio file as a designated name and stores the designated name in a designated directory.
And S311, the client acquires the target audio file from the specified directory for broadcasting.
Therefore, by adopting the technical scheme of the embodiment, the network side can broadcast the customized request based on the voice of the user and establish the mapping relation between the customized information and the user identification information in the request, and the customized information can comprise broadcast content, language category and the like, so that the information broadcasting effect of broadcasting the information individually for different users is realized, the information broadcasting effect is more flexible and interesting, and the individual requirements of the user on the information broadcasting effect are met. Moreover, under the condition that the client successfully downloads the target audio file from the network side, the client can save the process of generating the audio file, so that the information processing pressure of the client is reduced, the condition of information broadcasting delay caused by high information processing pressure of the client is avoided, and the information broadcasting efficiency is improved. And under the condition that the client fails to download the target audio file from the network side, the target audio file cannot be failed to be played, but the target audio file is locally generated by the client, so that the efficiency of information broadcasting is ensured.
In summary, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
Based on the same idea, the information broadcasting method provided in one or more embodiments of the present specification further provides an information broadcasting device.
Fig. 4 is a schematic block diagram of an information broadcasting device according to an embodiment of the present specification, and as shown in fig. 4, the information broadcasting device includes:
a first receiving module 410, configured to receive service information of a first user, where the service information includes user identification information of the first user and first information content of the service information;
a first determining module 420, configured to determine, according to a mapping relationship between each piece of user identification information and broadcast content and user identification information of the first user, a first broadcast content corresponding to the first user and matching a service type corresponding to the service information;
the generating module 430 is configured to generate a target audio file corresponding to the service information according to the first broadcast content and the first information content;
a first sending module 440, configured to send a notification message carrying file identification information of the target audio file to the client of the first user; and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
In one embodiment, the apparatus further comprises:
the second receiving module is used for receiving a voice broadcast customization request of a first user before the service information from the first user is received; the voice broadcast customization request comprises customized information customized by the first user for the specified service; the customized information comprises broadcast content and/or language categories;
the establishing and storing module is used for establishing a mapping relation between the customized information and the user identification information of the first user according to the voice broadcast customization request; and storing the mapping relationship.
In one embodiment, the first broadcast content comprises information content to be broadcast; the information content to be broadcasted comprises replaceable dynamic information elements;
the generating module 430 includes:
the first determining unit is used for determining key information elements to be broadcasted in the first information content;
the first replacing unit is used for replacing the dynamic information element in the information content to be broadcasted by using the key information element to obtain a second broadcast content corresponding to the service information;
and the second determining unit is used for determining the audio content corresponding to the second broadcast content and generating the target audio file corresponding to the service information according to the audio content.
In one embodiment, the second determining unit determines, for each first information element included in the second broadcast content, a first audio element corresponding to each first information element; and combining the first audio elements corresponding to the first information elements according to the sequence of the first information elements in the second broadcast content to obtain the audio content corresponding to the second broadcast content.
In an embodiment, the second determining unit determines a target language category corresponding to the first user before determining, for each first information element included in the second broadcast content, an audio element corresponding to each first information element;
and determining the first audio elements which correspond to the first information elements and conform to the target language category.
In one embodiment, the first broadcast content comprises audio content to be broadcast; the audio content to be broadcasted comprises replaceable dynamic audio elements;
the generating module 430 includes:
the third determining unit is used for determining key information elements to be broadcasted in the first information content;
the fourth determining unit is used for determining a second audio element corresponding to the key information element;
and the second replacing unit is used for replacing the dynamic audio element in the audio content to be broadcasted by using the second audio element to obtain the target audio file corresponding to the service information.
In one embodiment, the fourth determining unit determines a target language category corresponding to the first user; determining the second audio elements corresponding to the key information elements and conforming to the target language category;
the generating module 430 further comprises:
and the language conversion unit is used for carrying out language conversion on the audio content to be broadcasted to obtain the audio content to be broadcasted according with the target language category before the audio file corresponding to the service information is obtained by replacing the dynamic audio element in the audio content to be broadcasted with the audio element.
In an embodiment, the second determining unit or the fourth determining unit determines, according to a preset mapping relationship between each user identification information and a language category, that the language category corresponding to the user identification information of the first user is the target language category corresponding to the first user; or, determining the target language category corresponding to the first user according to the geographical location information of the first user.
It should be understood by those skilled in the art that the above-mentioned information broadcasting apparatus can be used to implement the above-mentioned information broadcasting method implemented by the network side, and the detailed description thereof should be similar to the above-mentioned method, and in order to avoid complexity, it is not repeated herein.
By adopting the device in one or more embodiments of the specification, after receiving the service information of the user, the target audio file corresponding to the service information is generated by determining the broadcast content corresponding to the user and matched with the service type corresponding to the service information and according to the determined broadcast content and the information content of the service information, and then the target audio file is broadcasted by the client terminal through voice, so that the target audio file broadcasted for the user is related to the user and the service type, but not the same content is broadcasted for all users aiming at the same service type, therefore, the device can meet the personalized voice broadcast requirement of the user on various services, and the information broadcast effect is more flexible and interesting; and because the target audio file is generated by the network side, the client only needs to broadcast the target audio file, so that the information processing pressure of the client is reduced, the information broadcast delay condition caused by the high information processing pressure of the client is avoided, and the information broadcast efficiency is improved.
Fig. 5 is a schematic block diagram of an information broadcasting device according to another embodiment of the present specification, and as shown in fig. 5, the information broadcasting device includes:
a second receiving module 510, which receives a notification message from the network side; the notification message comprises file identification information of a target audio file to be broadcasted; the target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
an obtaining module 520, obtaining the target audio file according to the file identification information;
and the broadcasting module 530 is used for broadcasting the target audio file.
In one embodiment, the file identification information includes file storage path information of the target audio file on the network side;
the obtaining module 520 includes:
the downloading unit downloads the target audio file from the network side according to the file storage path information;
the storage unit is used for determining the file name of the downloaded target audio file as a specified file name and storing the target audio file to a specified directory of a client;
broadcast module 530 includes:
and the broadcasting unit finds the locally stored target audio file according to the specified directory and broadcasts the target audio file.
In one embodiment, the notification message further includes information content of the service information;
the obtaining module 520 further includes:
an obtaining unit, configured to obtain, after the target audio file is downloaded from the network side, if the downloading fails, the broadcast content corresponding to the first user and matching with the service type corresponding to the service information;
and the generating unit is used for generating the target audio file corresponding to the service information according to the information content and the broadcast content.
In one embodiment, the generating unit determines a target language category corresponding to the first user; and generating the target audio file which corresponds to the service information and accords with the target language category according to the information content and the broadcast content.
In one embodiment, the generating unit obtains a mapping relationship between each user identification information and a language category pre-stored in a network side; determining the language category corresponding to the user identification information of the first user as the target language category corresponding to the first user according to the mapping relation; or, locating the geographical location information of the first user; and determining the target language category corresponding to the first user according to the geographical position information.
It should be understood by those skilled in the art that the above-mentioned information broadcasting apparatus can be used to implement the above-mentioned information broadcasting method implemented by the client, and the detailed description thereof should be similar to the above-mentioned method, and in order to avoid complexity, it is not repeated herein.
By adopting the device in one or more embodiments of the present specification, after receiving a notification message from a network side, a target audio file can be obtained according to file identification information of the target audio file in the notification message, where the target audio file is generated by the network side according to information content of service information and broadcast content corresponding to a first user and matching with a service type corresponding to the service information, and the obtained target audio file is broadcast. Because the target audio file generated by the network side is related to the individual user and the service type, and the same broadcast content is not generated for all users aiming at the same service type, the broadcast effect of the client on the target audio content can meet the personalized voice broadcast requirement of the users on various services, so that the information broadcast effect is more flexible and interesting; and because the target audio file is generated by the network side, the client only needs to broadcast the target audio file, so that the information processing pressure of the client is reduced, the information broadcast delay condition caused by the high information processing pressure of the client is avoided, and the information broadcast efficiency is improved.
Based on the same idea, one or more embodiments of the present specification further provide an information broadcasting device, as shown in fig. 6. The information broadcasting device may have a large difference due to different configurations or performances, and may include one or more processors 601 and a memory 602, where the memory 602 may store one or more stored applications or data. Wherein the memory 602 may be transient or persistent storage. The application stored in memory 602 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the information dissemination device. Still further, processor 601 may be configured to communicate with memory 602 to execute a series of computer-executable instructions in memory 602 on the information presentation device. The infomercial device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input-output interfaces 605, and one or more keyboards 606.
Specifically, in this embodiment, the information broadcasting device includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the information broadcasting device, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information;
determining first broadcast content corresponding to the first user and matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user;
generating a target audio file corresponding to the service information according to the first broadcast content and the first information content;
sending a notification message carrying the file identification information of the target audio file to the client of the first user; and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
before receiving the service information from the first user, receiving a voice broadcast customization request of the first user; the voice broadcast customization request comprises customized information customized by the first user for the specified service; the customized information comprises broadcast content and/or language categories;
according to the voice broadcast customization request, establishing a mapping relation between the customization information and the user identification information of the first user; and storing the mapping relationship.
Optionally, the first broadcast content comprises information content to be broadcast; the information content to be broadcasted comprises replaceable dynamic information elements;
the computer executable instructions, when executed, may further cause the processor to:
determining key information elements to be broadcasted in the first information content;
replacing the dynamic information element in the information content to be broadcasted with the key information element to obtain a second broadcast content corresponding to the service information;
and determining audio content corresponding to the second broadcast content, and generating the target audio file corresponding to the service information according to the audio content.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
determining first audio elements corresponding to the first information elements aiming at the first information elements contained in the second broadcast content;
and combining the first audio elements corresponding to the first information elements according to the sequence of the first information elements in the second broadcast content to obtain the audio content corresponding to the second broadcast content.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
determining a target language category corresponding to the first user before determining audio elements corresponding to the first information elements respectively aiming at the first information elements contained in the second broadcast content;
the determining the first audio elements corresponding to the first information elements respectively includes:
and determining the first audio elements which correspond to the first information elements and conform to the target language category.
Optionally, the first broadcast content comprises audio content to be broadcast; the audio content to be broadcasted comprises replaceable dynamic audio elements;
the computer executable instructions, when executed, may further cause the processor to:
determining key information elements to be broadcasted in the first information content;
determining a second audio element corresponding to the key information element;
and replacing the dynamic audio element in the audio content to be broadcasted with the second audio element to obtain the target audio file corresponding to the service information.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
determining a target language category corresponding to the first user;
determining the second audio elements corresponding to the key information elements and conforming to the target language category;
replacing the dynamic audio element in the audio content to be broadcasted by using the audio element, and performing language conversion on the audio content to be broadcasted before the audio file corresponding to the service information is obtained, if the language type corresponding to the audio content to be broadcasted is inconsistent with the target language type, so as to obtain the audio content to be broadcasted according with the target language type.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
determining a language category corresponding to the user identification information of the first user as the target language category corresponding to the first user according to a preset mapping relation between each user identification information and the language category; or the like, or, alternatively,
and determining the target language category corresponding to the first user according to the geographical position information of the first user.
Based on the same idea, one or more embodiments of the present specification further provide an information broadcasting device, as shown in fig. 7. The information broadcasting device may have a large difference due to different configurations or performances, and may include one or more processors 701 and a memory 702, where the memory 702 may store one or more stored applications or data. Memory 702 may be, among other things, transient storage or persistent storage. The application stored in memory 702 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the information dissemination device. Still further, processor 701 may be configured to communicate with memory 702 to execute a series of computer-executable instructions in memory 702 on the information reporting device. The information broadcasting apparatus may further include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input/output interfaces 705, and one or more keyboards 706.
Specifically, in this embodiment, the information broadcasting device includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the information broadcasting device, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving a notification message from a network side; the notification message comprises file identification information of a target audio file to be broadcasted; the target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
acquiring the target audio file according to the file identification information;
and broadcasting the target audio file.
Optionally, the file identification information includes file storage path information of the target audio file on the network side;
the computer executable instructions, when executed, may further cause the processor to:
downloading the target audio file from the network side according to the file storage path information;
determining the file name of the downloaded target audio file as a specified file name, and storing the target audio file to a specified directory of a client;
and searching the locally stored target audio file according to the specified directory, and broadcasting the target audio file.
Optionally, the notification message further includes information content of the service information;
the computer executable instructions, when executed, may further cause the processor to:
after the target audio file is downloaded from the network side, if the downloading fails, the broadcast content corresponding to the first user and matched with the service type corresponding to the service information is obtained;
and generating the target audio file corresponding to the service information according to the information content and the broadcast content.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
determining a target language category corresponding to the first user;
and generating the target audio file which corresponds to the service information and accords with the target language category according to the information content and the broadcast content.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
acquiring a mapping relation between user identification information and language categories prestored in a network side; determining the language category corresponding to the user identification information of the first user as the target language category corresponding to the first user according to the mapping relation; or the like, or, alternatively,
locating geographic location information of the first user; and determining the target language category corresponding to the first user according to the geographical position information.
One or more embodiments of the present specification also provide a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the above-mentioned information broadcasting method, and are specifically configured to perform:
receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information;
determining first broadcast content corresponding to the first user and matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user;
generating a target audio file corresponding to the service information according to the first broadcast content and the first information content;
sending a notification message carrying the file identification information of the target audio file to the client of the first user; and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
One or more embodiments of the present specification also provide a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the above-mentioned information broadcasting method, and are specifically configured to perform:
receiving a notification message from a network side; the notification message comprises file identification information of a target audio file to be broadcasted; the target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
acquiring the target audio file according to the file identification information;
and broadcasting the target audio file.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present specification are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only one or more embodiments of the present disclosure, and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of claims of one or more embodiments of the present specification.

Claims (21)

1. An information broadcasting method, comprising:
receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information;
determining first broadcast content corresponding to the first user and matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user;
generating a target audio file corresponding to the service information according to the first broadcast content and the first information content;
sending a notification message carrying the file identification information of the target audio file to the client of the first user; and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
2. The method of claim 1, before receiving the service information from the first user, further comprising:
receiving a voice broadcast customization request of the first user; the voice broadcast customization request comprises customized information customized by the first user for the specified service; the customized information comprises broadcast content and/or language categories;
according to the voice broadcast customization request, establishing a mapping relation between the customization information and the user identification information of the first user; and storing the mapping relationship.
3. The method of claim 2, wherein the first broadcast content comprises information content to be broadcast; the information content to be broadcasted comprises replaceable dynamic information elements;
generating an audio file corresponding to the service information according to the first broadcast content and the first information content, including:
determining key information elements to be broadcasted in the first information content;
replacing the dynamic information element in the information content to be broadcasted with the key information element to obtain a second broadcast content corresponding to the service information;
and determining audio content corresponding to the second broadcast content, and generating the target audio file corresponding to the service information according to the audio content.
4. The method of claim 3, wherein the determining the audio content corresponding to the second broadcast content comprises:
determining first audio elements corresponding to the first information elements aiming at the first information elements contained in the second broadcast content;
and combining the first audio elements corresponding to the first information elements according to the sequence of the first information elements in the second broadcast content to obtain the audio content corresponding to the second broadcast content.
5. The method according to claim 4, wherein before determining, for each first information element included in the second broadcast content, an audio element corresponding to each first information element, the method further comprises:
determining a target language category corresponding to the first user;
the determining the first audio elements corresponding to the first information elements respectively includes:
and determining the first audio elements which correspond to the first information elements and conform to the target language category.
6. The method of claim 2, wherein the first broadcast content comprises audio content to be broadcast; the audio content to be broadcasted comprises replaceable dynamic audio elements;
generating a target audio file corresponding to the service information according to the first broadcast content and the first information content, including:
determining key information elements to be broadcasted in the first information content;
determining a second audio element corresponding to the key information element;
and replacing the dynamic audio element in the audio content to be broadcasted with the second audio element to obtain the target audio file corresponding to the service information.
7. The method of claim 6, the determining a second audio element to which the key information element corresponds, comprising:
determining a target language category corresponding to the first user;
determining the second audio elements corresponding to the key information elements and conforming to the target language category;
before the audio file corresponding to the service information is obtained by replacing the dynamic audio element in the audio content to be broadcasted with the audio element, the method further includes:
if the language type corresponding to the audio content to be broadcasted is not consistent with the target language type, performing language conversion on the audio content to be broadcasted to obtain the audio content to be broadcasted which accords with the target language type.
8. The method of claim 5 or 7, wherein the determining the target language category corresponding to the first user comprises:
determining a language category corresponding to the user identification information of the first user as the target language category corresponding to the first user according to a preset mapping relation between each user identification information and the language category; or the like, or, alternatively,
and determining the target language category corresponding to the first user according to the geographical position information of the first user.
9. An information broadcasting method, comprising:
receiving a notification message from a network side; the notification message comprises file identification information of a target audio file to be broadcasted; the target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
acquiring the target audio file according to the file identification information;
and broadcasting the target audio file.
10. The method of claim 9, wherein the file identification information comprises file storage path information of the target audio file on the network side;
the obtaining the target audio file according to the file identification information includes:
downloading the target audio file from the network side according to the file storage path information;
determining the file name of the downloaded target audio file as a specified file name, and storing the target audio file to a specified directory of a client;
broadcast the target audio file includes:
and searching the locally stored target audio file according to the specified directory, and broadcasting the target audio file.
11. The method of claim 10, the notification message further comprising information content of the service information;
after downloading the target audio file from the network side, the method further comprises:
if the downloading fails, acquiring the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
and generating the target audio file corresponding to the service information according to the information content and the broadcast content.
12. The method according to claim 11, wherein the generating the target audio file corresponding to the service information according to the information content and the broadcast content includes:
determining a target language category corresponding to the first user;
and generating the target audio file which corresponds to the service information and accords with the target language category according to the information content and the broadcast content.
13. The method of claim 12, the determining the target language category corresponding to the first user, comprising:
acquiring a mapping relation between user identification information and language categories prestored in a network side; determining the language category corresponding to the user identification information of the first user as the target language category corresponding to the first user according to the mapping relation; or the like, or, alternatively,
locating geographic location information of the first user; and determining the target language category corresponding to the first user according to the geographical position information.
14. An information broadcasting device comprising:
the first receiving module is used for receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information;
the first determining module is used for determining first broadcast contents which correspond to the first user and are matched with the service types corresponding to the service information according to the mapping relation between each user identification information and the broadcast contents and the user identification information of the first user;
the generating module is used for generating a target audio file corresponding to the service information according to the first broadcast content and the first information content;
the first sending module is used for sending a notification message carrying the file identification information of the target audio file to the client of the first user; and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
15. The apparatus of claim 14, further comprising:
the second receiving module is used for receiving a voice broadcast customization request of a first user before the service information from the first user is received; the voice broadcast customization request comprises customized information customized by the first user for the specified service; the customized information comprises broadcast content and/or language categories;
the establishing and storing module is used for establishing a mapping relation between the customized information and the user identification information of the first user according to the voice broadcast customization request; and storing the mapping relationship.
16. An information broadcasting device comprising:
the second receiving module is used for receiving the notification message from the network side; the notification message comprises file identification information of a target audio file to be broadcasted; the target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
the acquisition module acquires the target audio file according to the file identification information;
and the broadcasting module is used for broadcasting the target audio file.
17. The apparatus of claim 16, the file identification information comprising file storage path information of the target audio file on the network side;
the acquisition module includes:
the downloading unit downloads the target audio file from the network side according to the file storage path information;
the storage unit is used for determining the file name of the downloaded target audio file as a specified file name and storing the target audio file to a specified directory of a client;
the broadcast module comprises:
and the broadcasting unit finds the locally stored target audio file according to the specified directory and broadcasts the target audio file.
18. An information broadcasting device comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information;
determining first broadcast content corresponding to the first user and matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user;
generating a target audio file corresponding to the service information according to the first broadcast content and the first information content;
sending a notification message carrying the file identification information of the target audio file to the client of the first user; and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
19. An information broadcasting device comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a notification message from a network side; the notification message comprises file identification information of a target audio file to be broadcasted; the target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
acquiring the target audio file according to the file identification information;
and broadcasting the target audio file.
20. A storage medium storing computer-executable instructions that, when executed, implement the following:
receiving service information of a first user, wherein the service information comprises user identification information of the first user and first information content of the service information;
determining first broadcast content corresponding to the first user and matched with the service type corresponding to the service information according to the mapping relation between each user identification information and the broadcast content and the user identification information of the first user;
generating a target audio file corresponding to the service information according to the first broadcast content and the first information content;
sending a notification message carrying the file identification information of the target audio file to the client of the first user; and the client is used for acquiring the target audio file according to the file identification information and broadcasting the target audio file.
21. A storage medium storing computer-executable instructions that, when executed, implement the following:
receiving a notification message from a network side; the notification message comprises file identification information of a target audio file to be broadcasted; the target audio file is generated by the network side according to the information content of the service information and the broadcast content which corresponds to the first user and is matched with the service type corresponding to the service information;
acquiring the target audio file according to the file identification information;
and broadcasting the target audio file.
CN202010595779.1A 2020-06-28 2020-06-28 Information broadcasting method and device Active CN111756849B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310272955.1A CN116366719A (en) 2020-06-28 2020-06-28 Information broadcasting method and device
CN202010595779.1A CN111756849B (en) 2020-06-28 2020-06-28 Information broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010595779.1A CN111756849B (en) 2020-06-28 2020-06-28 Information broadcasting method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310272955.1A Division CN116366719A (en) 2020-06-28 2020-06-28 Information broadcasting method and device

Publications (2)

Publication Number Publication Date
CN111756849A true CN111756849A (en) 2020-10-09
CN111756849B CN111756849B (en) 2023-04-07

Family

ID=72677417

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310272955.1A Pending CN116366719A (en) 2020-06-28 2020-06-28 Information broadcasting method and device
CN202010595779.1A Active CN111756849B (en) 2020-06-28 2020-06-28 Information broadcasting method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202310272955.1A Pending CN116366719A (en) 2020-06-28 2020-06-28 Information broadcasting method and device

Country Status (1)

Country Link
CN (2) CN116366719A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143400A (en) * 2021-11-29 2022-03-04 深圳壹账通智能科技有限公司 Method and device for voice-assisted broadcasting of information, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106128478A (en) * 2016-06-28 2016-11-16 北京小米移动软件有限公司 Voice broadcast method and device
CN107423974A (en) * 2017-08-15 2017-12-01 阿里巴巴集团控股有限公司 Intellectual broadcast method and apparatus
CN107480965A (en) * 2017-09-07 2017-12-15 阿里巴巴集团控股有限公司 Information-pushing method and device under line
CN108055653A (en) * 2017-12-27 2018-05-18 深圳市阿乐卡科技有限公司 cloud broadcasting method and system
WO2019128530A1 (en) * 2017-12-29 2019-07-04 阿里巴巴集团控股有限公司 Audio broadcasting method, device, and system, and smart broadcasting apparatus
CN110162292A (en) * 2019-04-15 2019-08-23 阿里巴巴集团控股有限公司 Voice broadcast method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106128478A (en) * 2016-06-28 2016-11-16 北京小米移动软件有限公司 Voice broadcast method and device
CN107423974A (en) * 2017-08-15 2017-12-01 阿里巴巴集团控股有限公司 Intellectual broadcast method and apparatus
CN107480965A (en) * 2017-09-07 2017-12-15 阿里巴巴集团控股有限公司 Information-pushing method and device under line
CN108055653A (en) * 2017-12-27 2018-05-18 深圳市阿乐卡科技有限公司 cloud broadcasting method and system
WO2019128530A1 (en) * 2017-12-29 2019-07-04 阿里巴巴集团控股有限公司 Audio broadcasting method, device, and system, and smart broadcasting apparatus
CN110162292A (en) * 2019-04-15 2019-08-23 阿里巴巴集团控股有限公司 Voice broadcast method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143400A (en) * 2021-11-29 2022-03-04 深圳壹账通智能科技有限公司 Method and device for voice-assisted broadcasting of information, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN111756849B (en) 2023-04-07
CN116366719A (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN109688418B (en) Live interface function guiding method, device and storage medium
CN104794008B (en) Application program synchronization method, device and system
US9386395B1 (en) Dynamic loading, unloading, and caching of alternate complete interfaces
KR101538755B1 (en) Device and method for outputting sound wave capable for controlling external device and contents syncronizing between the devices, and the external device
CN110262851B (en) Interface configuration method and device
US10755707B2 (en) Selectively blacklisting audio to improve digital assistant behavior
US20100222088A1 (en) Systems, methods and apparatus for receiving information by a mobile device
CN112241397A (en) Multimedia file sharing method and device, electronic equipment and readable storage medium
CN111756849B (en) Information broadcasting method and device
CN105354195B (en) Information searching method and device
CN104038774A (en) Ring tone file generating method and device
CN105577603A (en) Method and device for broadcasting multimedia messages
US20120295593A1 (en) Method and system for playing a media file and targeted advertisements upon receipt of a phone call
CN109067900B (en) Information output method, device and equipment
CN108881377B (en) Application service calling method, terminal equipment and server
CN110519244B (en) Game control method, communication device, system, and computer-readable storage medium
CN110989987B (en) Portal webpage generation method and device, client, server and storage medium
KR102617419B1 (en) User equipment, service providing device, access point, system for providing sound source information comprising the same, control method thereof and computer readable medium having computer program recorded thereon
CN110502251B (en) Application installation method and device
CN111367592B (en) Information processing method and device
CN111078215A (en) Software product application method and device, storage medium and electronic equipment
CN111553681A (en) Electronic card acquisition method and device
CN104137091A (en) Apparatus and method for processing data of mobile terminal
CN111291199B (en) Information query method and device
US8954834B1 (en) System for communicating information to a mobile device using portable code widgets

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40039433

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant