Information broadcasting method and apparatus
By generating personalized broadcast content on the network side, the problem that existing information broadcasting methods cannot meet users' personalized needs is solved, achieving flexible and interesting broadcasting effects, while reducing the processing pressure on the client and improving broadcasting efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
- Filing Date
- 2020-06-28
- Publication Date
- 2026-04-24
AI Technical Summary
The existing information broadcasting methods cannot meet users' personalized needs, resulting in a lack of flexibility and interest in the broadcast content. In addition, the client faces a heavy information processing burden, which can easily lead to broadcast delays.
By generating personalized broadcast content based on user identification information and service type on the network side, generating target audio files, and broadcasting them through the client, the information processing pressure on the client is reduced.
It achieves personalized information broadcasting effects, enhances the flexibility and fun of broadcasting, reduces the information processing pressure on the client, avoids broadcasting delays, and improves the efficiency of information broadcasting.
Smart Images

Figure CN116366719B_ABST
Abstract
Description
[0001] This invention patent application was filed on June 28, 2020, with application number CN202010595779.1 and title... This is a divisional application of the Chinese invention patent application for "Information Broadcasting Method and Apparatus". Technical Field
[0002] This specification relates to the field of information processing technology, and in particular to an information broadcasting method and apparatus. Background Technology
[0003] Currently, in some business scenarios, the server pushes messages to the application client to trigger the client to broadcast the message in a pre-defined manner, such as displaying the message on the client screen or broadcasting the message via voice. For example, an application with payment collection functionality can broadcast a notification message through the client when it receives a payment to inform the user of the payment. As another example, an application with ordering functionality can play a notification message through the client after receiving information that a customer has scanned a QR code to place an order, informing the merchant that a new order has been received. Summary of the Invention
[0004] On one hand, one or more embodiments of this specification provide an information broadcasting method, comprising: receiving service information of a first user, the service information including user identification information of the first user and first information content of the service information; determining, based on the mapping relationship between each user identification information and the broadcast content, and the user identification information of the first user, a first broadcast content corresponding to the first user and matching the service type corresponding to the service information; generating a target audio file corresponding to the service information based on the first broadcast content and the first information content; and sending a notification message carrying file identification information of the target audio file to the client of the first user, the client being used to obtain the target audio file based on the file identification information for broadcasting.
[0005] On the other hand, one or more embodiments of this specification provide an information broadcasting method, including: receiving a notification message from a network side, the notification message including file identification information of a target audio file to be broadcast, the target audio file being generated by the network side based on the information content of service information and broadcasting content corresponding to a first user and matching the service type corresponding to the service information; obtaining the target audio file based on the file identification information; and broadcasting the target audio file.
[0006] Furthermore, one or more embodiments of this specification provide an information broadcasting device, comprising: a first receiving module for receiving service information of a first user, the service information including user identification information of the first user and first information content of the service information; a first determining module for determining, based on the mapping relationship between each user identification information and the broadcast content, and the user identification information of the first user, a first broadcast content corresponding to the first user and matching the service type corresponding to the service information; a generating module for generating a target audio file corresponding to the service information based on the first broadcast content and the first information content; and a first sending module for sending a notification message carrying file identification information of the target audio file to the client of the first user, the client being used to obtain the target audio file based on the file identification information for broadcasting.
[0007] Furthermore, one or more embodiments of this specification provide an information broadcasting device, comprising: a second receiving module for receiving a notification message from a network side, the notification message including file identification information of a target audio file to be broadcast, the target audio file being generated by the network side based on the information content of service information and broadcast content corresponding to a first user and matching the service type corresponding to the service information; an acquisition module for acquiring the target audio file based on the file identification information; and a broadcasting module for broadcasting the target audio file.
[0008] Furthermore, one or more embodiments of this specification provide an information broadcasting device, including: a processor; and a memory arranged to store computer-executable instructions, which, when executed, cause the processor to: receive service information from a first user, the service information including user identification information of the first user and first information content of the service information; determine, based on the mapping relationship between each user identification information and the broadcast content, and the user identification information of the first user, a first broadcast content corresponding to the first user and matching the service type corresponding to the service information; generate a target audio file corresponding to the service information based on the first broadcast content and the first information content; and send a notification message carrying file identification information of the target audio file to the client of the first user, the client being used to obtain the target audio file based on the file identification information for broadcasting.
[0009] Furthermore, one or more embodiments of this specification provide an information broadcasting device, including: a processor; and a memory arranged to store computer-executable instructions, which, when executed, cause the processor to: receive a notification message from a network side, the notification message including file identification information of a target audio file to be broadcast, the target audio file being generated by the network side based on the information content of service information and broadcast content matching the service type corresponding to a first user and the service information; obtain the target audio file based on the file identification information; and broadcast the target audio file.
[0010] Furthermore, one or more embodiments of this specification provide a storage medium for storing computer-executable instructions, which, when executed, implement the following process: receiving service information from a first user, the service information including the first user's user identification information and first information content of the service information; determining, based on the mapping relationship between each user identification information and the broadcast content, and the first user's user identification information, first broadcast content corresponding to the first user and matching the service type corresponding to the service information; generating a target audio file corresponding to the service information based on the first broadcast content and the first information content; and sending a notification message carrying file identification information of the target audio file to the first user's client, the client being used to obtain the target audio file based on the file identification information for broadcasting.
[0011] Furthermore, one or more embodiments of this specification provide a storage medium for storing computer-executable instructions. When executed, these instructions implement the following process: receiving a notification message from a network side, the notification message including file identification information of a target audio file to be played, the target audio file being generated by the network side based on the information content of service information and playback content matching the service type corresponding to a first user and the service information; obtaining the target audio file based on the file identification information; and playing the target audio file. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in one or more embodiments of this specification or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a schematic flowchart of an information broadcasting method according to an embodiment of this specification;
[0014] Figure 2 This is a schematic flowchart of an information broadcasting method according to another embodiment of this specification;
[0015] Figure 3 This is a schematic flowchart of an information broadcasting method according to another embodiment of this specification;
[0016] Figure 4 This is a schematic block diagram of an information broadcasting device according to an embodiment of this specification;
[0017] Figure 5 This is a schematic block diagram of an information broadcasting device according to another embodiment of this specification;
[0018] Figure 6 This is a schematic block diagram of an information broadcasting device according to an embodiment of this specification;
[0019] Figure 7 This is a schematic block diagram of an information broadcasting device according to another embodiment of this specification. Detailed Implementation
[0020] This specification provides one or more embodiments of an information broadcasting method and apparatus to solve the problem that existing information broadcasting methods cannot meet users' personalized needs.
[0021] To enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of one or more embodiments of this specification.
[0022] Figure 1 This is a schematic flowchart illustrating an information broadcasting method according to an embodiment of this specification, such as... Figure 1 As shown, the information broadcasting method can be applied to the network side and includes the following steps:
[0023] S102, Receive the service information of the first user, the service information includes the user identification information of the first user and the first information content of the service information.
[0024] In one or more embodiments of this specification, the business type of the received business information is not limited. For example, the business type may be payment and receipt business, QR code ordering business, QR code authentication business, etc.; correspondingly, the business information may be payment and receipt information, QR code ordering information, QR code authentication information, etc.
[0025] User identification information can include a user's ID number, name, contact number, account, nickname, etc.
[0026] The content of business information is related to the type of business it pertains to. For example, for a payment collection business, the business information could include the amount received and the source of payment (payer's name, payment method); for a restaurant's QR code ordering business, the business information could include the user's information, the user's location information, and order details (such as the name and price of the ordered dishes).
[0027] S104. Based on the mapping relationship between each user identification information and the broadcast content, and the user identification information of the first user, determine the first broadcast content corresponding to the first user and matching the business type corresponding to the business information.
[0028] The mapping relationship between each user identifier and the broadcast content can be pre-stored on the network side, and in this mapping relationship, the same user identifier can correspond to broadcast content of at least one business type. For example, a certain user identifier corresponds to the broadcast content "Received X yuan" for the payment business, and also corresponds to the broadcast content "You have a new order" for the order business; and so on.
[0029] In the above mapping relationship, the broadcast content may include replaceable dynamic elements. For example, in the broadcast content "Received X yuan", "X" is a replaceable dynamic element. After receiving the service information, the network side can parse the service information to determine the replacement content corresponding to "X".
[0030] The storage format of the broadcast content in the above mapping relationship can include various forms. In one embodiment, the broadcast content may include broadcast information content, which may include replacement dynamic information elements. In another embodiment, the broadcast content may include broadcast audio content, which may include replacement dynamic audio elements.
[0031] S106, Generate the target audio file corresponding to the business information based on the first broadcast content and the first information content.
[0032] The generation method of the target audio file varies depending on the storage format of the broadcast content in the above mapping relationship, which will be explained in detail in the following embodiments.
[0033] S108, a notification message carrying the file identification information of the target audio file is sent to the client of the first user. The client is used to obtain the target audio file based on the file identification information and play it.
[0034] The file identification information may include the file storage path information of the target audio file on the network side. Based on this, the client can download the target audio file from the network side for playback.
[0035] By employing the technical solutions of one or more embodiments of this specification, after receiving user service information, the system determines the broadcast content corresponding to the user and matching the service type of the service information. Based on the determined broadcast content and the information content of the service information, a target audio file corresponding to the service information is generated. The target audio file is then broadcast via voice from the client. This ensures that the target audio file broadcast to the user is related to the individual user and the service type, rather than broadcasting the same content to all users for the same service type. Therefore, this technical solution can meet users' personalized voice broadcast needs for various services, making the information broadcasting effect more flexible and engaging. Furthermore, since the target audio file is generated by the network side, the client only needs to broadcast the target audio file, thus reducing the information processing pressure on the client, avoiding information broadcasting delays caused by heavy client information processing, and improving the efficiency of information broadcasting.
[0036] In one embodiment, the broadcast content corresponding to each user identification information can be customized by the user in advance. Therefore, before receiving the service information from the first user, the voice broadcast customization request of the first user can be received first. The voice broadcast customization request includes customized information customized by the first user for a specified type of service. The customized information may include broadcast content, language category, etc., corresponding to at least one specified type of service. Secondly, according to the voice broadcast customization request of the first user, a mapping relationship between the customized information and the user identification information of the first user is established and the mapping relationship is stored.
[0037] Among them, the designated service type corresponds to the service type in the above embodiments. Users can customize the broadcast content and language category for one or more designated services (or services of a designated service type).
[0038] If a user customizes the broadcast content and language category for only one specific service type, the customization information in the voice broadcast customization request includes the broadcast content and language category corresponding to the target customized service (i.e., the specific service type the user wants to customize). If a user customizes the broadcast content and language category for multiple specific services, the customization information in the voice broadcast customization request includes the broadcast content and language category corresponding to each target customized service. Each target customized service may correspond to the same or different language categories.
[0039] In this embodiment, the network side supports personalized customization of broadcast content for any content. For example, if a user owns a store called "XX Store", the user can customize broadcast content with the characteristics of their own store, such as "XX Store received X yuan".
[0040] Language categories can be categorized according to geographical location, such as Sichuan dialect and Shanghai dialect. For example, if a user resides in Shanghai and wants the client to announce their account's payment information in Shanghai dialect, that user can customize the language category to Shanghai dialect.
[0041] For example, based on the user's input of customized information, such as the broadcast content "XX store received X yuan" and the language type "Shanghai dialect," the client generates a voice broadcast customization request containing this customized information and sends the generated voice broadcast customization request to the network side. Upon receiving the user's voice broadcast customization request, the network side parses the customized information contained in the request, establishes a mapping relationship between this customized information and the user's user identification information, and stores it on the network side. The user identification information can be included in the voice broadcast customization request or sent to the network side as a separate piece of information.
[0042] In this embodiment, the network side can establish a mapping relationship between the customized information in the user's voice broadcast customization request and the user identification information. Since the customized information may include broadcast content, language category, etc., it realizes the information broadcast effect of personalized broadcast information for different users, making the information broadcast effect more flexible and interesting, and meeting the user's personalized needs for information broadcast effect.
[0043] In one embodiment, the first broadcast content includes information to be broadcast, which includes replaceable dynamic information elements.
[0044] The information to be broadcast can be in the form of text, symbols, numbers, etc., that is, information content that has not been converted into audio format. For example, "Received X yuan" in the above embodiment is the information to be broadcast, where "X" is the specific amount received, and therefore it is a replaceable dynamic information element.
[0045] In this embodiment, generating an audio file corresponding to the business information based on the first broadcast content and the first information content can be performed in the following manner:
[0046] First, identify the key information elements to be broadcast in the first part of the business information.
[0047] The initial information content of a business message may include multiple information elements, but in a real-world scenario, it may not be necessary to broadcast all of them. The information elements that must be broadcast are the key information elements. For example, if the initial information content includes the following elements: payer "Zhang San", payment method "Application A", and amount received "10 yuan", then if only the amount received needs to be broadcast, the amount received "10 (yuan)" is the key information element.
[0048] After receiving service information, the network side can parse out the key information elements in the first information content of the service information using pre-defined parsing rules. These pre-defined parsing rules specify the information elements to be parsed.
[0049] Secondly, by replacing the dynamic information elements in the information to be broadcast with key information elements, the second broadcast content corresponding to the business information is obtained.
[0050] Using the example above, after the network side determines the key information element "10" in the first information content, it replaces the dynamic information element "X" in the information content to be broadcast "Received X yuan" with the key information element "10", thus obtaining the second broadcast content "Received 10 yuan" corresponding to the business information.
[0051] Next, determine the audio content corresponding to the second broadcast content, and generate the target audio file corresponding to the business information based on the audio content.
[0052] Using the example above, by determining the audio content corresponding to the second broadcast content "Received 10 yuan", that is, converting the second broadcast content "Received 10 yuan" into the corresponding audio format, the target audio file is generated.
[0053] When determining the audio content corresponding to the second broadcast content, the first audio element corresponding to each first information element in the second broadcast content can be determined firstly. Then, according to the order of the first information elements in the second broadcast content, the first audio elements corresponding to each first information element are combined to obtain the audio content corresponding to the second broadcast content. The network side pre-stores the audio elements corresponding to each information element, and the information elements can include any type of element such as text, numbers, and symbols.
[0054] In one embodiment, when determining the audio content corresponding to the second broadcast content, the target language category corresponding to the first user can be determined first, and the first audio element corresponding to each first information element in each second broadcast content can be determined, and then the first audio element corresponding to each first information element and conforming to the target language category can be determined.
[0055] In this embodiment, if the first user who sends the service information has pre-defined the language category, the target language category corresponding to the first user can be determined according to the mapping relationship between the first user's user identification information and the customized information (including the language category).
[0056] If the first user sending the business information has not pre-defined a language category, the target language category for the first user can be determined based on the first user's geographical location information. The first user's geographical location information can be located using the client's location function and uploaded to the network side. For example, if the network side determines that the first user is currently in Shanghai, then the target language category for the first user can be determined to be Shanghainese dialect.
[0057] In the above embodiments, by pre-storing the mapping relationship between the first user (or user identification information) and the broadcast content and / or language category on the network side, upon receiving business information, the broadcast content and / or language category corresponding to the first user can be determined based on the pre-stored mapping relationship. Then, the business information is broadcast to the first user based on the broadcast content and / or language category corresponding to the first user, satisfying the user's personalized needs for information broadcasting effects. Furthermore, the broadcast content in the above mapping relationship is stored in the form of information to be broadcast; therefore, the broadcast content corresponding to the business information can be accurately determined by using the first information content of the business information and the information to be broadcast, thereby improving the efficiency of information broadcasting.
[0058] In one embodiment, the first broadcast content includes audio content to be broadcast, which includes replaceable dynamic audio elements.
[0059] The audio content to be played can be generated in advance based on the information to be played. Optionally, after receiving a voice playback customization request containing the playback content customized by the first user, the network side can convert the playback content into corresponding audio content, and store the converted audio content as the audio content to be played, corresponding to the user identification information of the first user.
[0060] In this embodiment, generating an audio file corresponding to the business information based on the first broadcast content and the first information content can be performed in the following manner:
[0061] First, identify the key information elements to be broadcast in the first part of the business information.
[0062] The first information content of the business information may include multiple information elements. The method for determining the key information elements has been described in detail in the above embodiments and will not be repeated here.
[0063] Secondly, determine the second audio element corresponding to the key information element.
[0064] The network side can pre-store the audio elements corresponding to each information element. Based on this, the second audio element corresponding to the key information element can be determined.
[0065] Next, the dynamic audio elements in the audio content to be broadcast are replaced with the second audio element to obtain the target audio file corresponding to the business information.
[0066] Continuing with the example above, suppose the audio content to be broadcast is the audio content corresponding to "Received X Yuan", where the dynamic audio element is the audio element corresponding to "X". The key information element to be broadcast in the first information content is "10". After converting the key information element "10" into an audio file (i.e., obtaining the second audio element), the dynamic audio element in the audio content corresponding to "Received X Yuan" is replaced with the second audio element corresponding to "10", thereby obtaining the audio file corresponding to the business information.
[0067] In the above embodiments, when determining the second audio element corresponding to the key information element, the target language category corresponding to the first user can be determined first, and then the second audio element corresponding to the key information element and conforming to the target language category can be determined.
[0068] Furthermore, the language category corresponding to the audio content to be played for the first user, pre-stored on the network side, can be a language category pre-defined by the first user (i.e., the target language category) or a language category used by default on the network side. For example, if the first user pre-defined the content to be played and its corresponding language category (such as Shanghai dialect), the network side can convert the content to be played into audio content that conforms to Shanghai dialect and store the audio content that conforms to Shanghai dialect along with the user's user identification information.
[0069] If the language category of the audio content to be played pre-stored on the network side is inconsistent with the target language category of the first user, then the audio content to be played will be converted to a different language to obtain audio content that conforms to the target language category.
[0070] In one embodiment, when determining the target language category corresponding to the first user, if the first user has pre-defined the language category, the target language category corresponding to the first user can be determined based on the mapping relationship between the first user's user identification information and the customized information (including the language category).
[0071] If the first user has not pre-defined a language category, the target language category for the first user can be determined based on the user's geographical location information. The user's geographical location information can be located using the client's location function and uploaded to the network side. For example, if the network side determines that the first user is currently in Shanghai, then the target language category for the first user can be determined to be Shanghainese dialect.
[0072] Figure 2 This is a schematic flowchart of an information broadcasting method according to another embodiment of this specification, such as... Figure 2 As shown, the information broadcasting method can be applied to the client and includes the following steps:
[0073] S202, receive a notification message from the network side, which includes the file identification information of the target audio file to be played.
[0074] The target audio file is generated by the network side based on the information content of the service information and the broadcast content that matches the service type corresponding to the first user and the service information. The generation process of the target audio file has been described in detail in the above embodiments and will not be repeated here.
[0075] S204: Obtain the target audio file based on the file identifier information of the target audio file.
[0076] The file identification information may include the 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 based on the file storage path information of the target audio file on the network side, and determine (or change) the file name of the downloaded target audio file to the specified file name, and then store it locally on the client side.
[0077] When the client is using iOS (a mobile operating system), the downloaded target audio file can be stored in the client's specified directory, such as Library / Sounds.
[0078] S206, broadcast the target audio file.
[0079] In this step, the client can locate the target audio file locally for playback. If the client is using an iOS system, it can find the target audio file in a specified local directory (such as Library / Sounds); if the client is using another system (such as Android), it can find the target audio file in the local storage location after downloading it.
[0080] By employing the technical solutions of one or more embodiments of this specification, after receiving a notification message from the network side, the target audio file can be obtained according to the file identifier information of the target audio file in the notification message. The target audio file is generated by the network side based on the information content of the service information and the broadcast content that matches the service type corresponding to the first user and the service information, and then the obtained target audio file is broadcast. Since the target audio file generated by the network side is related to the individual user and the service type, and not the same broadcast content generated for all users of the same service type, the client's broadcast effect of the target audio content can meet the user's personalized voice broadcast needs for various services, making the information broadcast effect more flexible and interesting. Furthermore, since the target audio file is generated by the network side, the client only needs to broadcast the target audio file, thus reducing the client's information processing pressure, avoiding information broadcast delays caused by high client information processing pressure, and improving the efficiency of information broadcasting.
[0081] In one embodiment, when a client downloads a target audio file from the network side based on the file storage path information of the target audio file on the network side, download failures may occur. Considering the possibility of download failures, the notification message sent by the network side also includes business information.
[0082] If the client fails to download the target audio file from the network side, it obtains the broadcast content corresponding to the first user and matching the business type of the business information, and then generates the target audio file corresponding to the business information based on the information content of the business information and the obtained broadcast content.
[0083] In this embodiment, the network side pre-stores the mapping relationship between each user's identification information and customized information. The customized information may include broadcast content corresponding to at least one specified service type, language category, etc. Based on this, the client can obtain the broadcast content corresponding to the first user from the network side, which matches the service type corresponding to the service information.
[0084] In one embodiment, the broadcast content obtained by the client includes information to be broadcast, which includes replaceable dynamic information elements. Based on this, the client generates the target audio file corresponding to the business information according to the information content of the business information and the obtained broadcast content, which can be executed in the following way:
[0085] First, identify the key information elements to be broadcast in the information content of the business information; second, replace the dynamic information elements in the information content to be broadcast with the key information elements to obtain the broadcast content corresponding to the business information; third, determine the audio content corresponding to the broadcast content of the business information, and generate the target audio file corresponding to the business information based on the audio content. The execution process of each step in this method is similar to the corresponding process executed on the network side in the above embodiment, and will not be described again here.
[0086] In one embodiment, the broadcast content obtained by the client includes audio content to be broadcast, which includes replaceable dynamic audio elements. Based on this, the client generates the target audio file corresponding to the business information according to the information content of the business information and the obtained broadcast content, which can be executed in the following way:
[0087] First, identify the key information elements to be broadcast in the business information content; second, identify the corresponding audio elements; third, replace the dynamic audio elements in the audio content to be broadcast with the audio elements corresponding to the key information elements to obtain the target audio file corresponding to the business information. The execution process of each step in this method is similar to the corresponding process executed on the network side in the above embodiment, and will not be described again here.
[0088] In the above embodiments, before generating the target audio file, the client can also determine the target language category corresponding to the first user; then, based on the broadcast content obtained from the information content of the business information, it generates a target audio file that corresponds to the business information and conforms to the target language category.
[0089] When determining the target language category for the first user, if the first user has pre-defined the language category, the target language category for the first user can be determined based on the mapping relationship between the user identifier information and the customized information (including the language category) pre-stored on the network side.
[0090] If the first user has not pre-defined a language category, the target language category for the first user can be determined based on the user's geographical location information. The user's geographical location information can be determined using the client's location function. For example, if the client determines that the first user is currently in Shanghai, then the target language category for the first user can be determined to be Shanghainese dialect.
[0091] In the above embodiments, if the client fails to download the target audio file corresponding to the business information, the target audio file corresponding to the business information can be generated locally on the client, thereby avoiding the situation where the target audio file cannot be played normally when the download fails, and ensuring the efficiency of information playback.
[0092] Figure 3This is a schematic flowchart illustrating an information broadcasting method according to another embodiment of this specification. In this embodiment, the information broadcasting method is applied to both the network side and the client. The network side is used to customize the broadcast content and / or language category for a specified service type according to the user's personalized needs, and to generate a target audio file corresponding to the service information. The client is used to output the target audio file via voice broadcasting. Figure 3 As shown, the information broadcasting method includes the following steps:
[0093] S301, users input customized information for at least one specified business category through the client.
[0094] The customized information may include the broadcast content and language category corresponding to at least one specified type of service. A specified type of service refers to a service of a specific business type, such as payment processing, QR code ordering, or QR code authentication.
[0095] 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 the network side.
[0096] S303: The network side establishes and stores the mapping relationship between customized information and user identification information based on the customized request for voice broadcast.
[0097] S304 When the network side receives the user's service information, it determines the user's user identification information and the service type corresponding to the service information.
[0098] S305, based on user identification information, service type and pre-stored mapping relationship, determine the first broadcast content that corresponds to the user identification information and matches the service type.
[0099] There are several ways to represent the first broadcast content. For example, the first broadcast content may include information to be broadcast, which includes replaceable dynamic information elements. Alternatively, the first broadcast content may also include audio content to be broadcast, which includes replaceable dynamic audio elements.
[0100] S306, the network side generates the target audio file corresponding to the service information based on the content of the first broadcast and the information of the service information, and stores the target audio file to the specified path.
[0101] Depending on the different representation methods of the first broadcast content, the network side generates the target audio file in different ways. The specific generation method of the target audio file has been detailed in the above embodiments and will not be repeated here.
[0102] S307, the network side sends a notification message to the client, which contains information about the file storage path of the target audio file and business information.
[0103] In 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 download fails, proceed to S309; if the download succeeds, proceed to S310.
[0104] S309, the client obtains broadcast content from the network side that corresponds to the user and matches the service type corresponding to the service information, and generates the target audio file based on the broadcast content and the information content of the service information.
[0105] The method for generating the target audio file on the client side is similar to the method for generating the target audio file on the network side in the aforementioned steps, and will not be described again here.
[0106] S310: The client determines the filename of the target audio file to a specified name and stores it in a specified directory.
[0107] S311, the client retrieves the target audio file from the specified directory for playback.
[0108] As can be seen, by adopting the technical solution of this embodiment, the network side can establish a mapping relationship between the customized information in the user's voice broadcast customization request and the user identification information. Since the customized information may include broadcast content, language category, etc., personalized broadcast effects are achieved for different users, making the broadcast effects more flexible and interesting, and meeting users' personalized needs for broadcast effects. Furthermore, if the client successfully downloads the target audio file from the network side, the client can skip the process of generating the audio file, thereby reducing the client's information processing pressure and avoiding broadcast delays caused by heavy client information processing, thus improving broadcast efficiency. Even if the client fails to download the target audio file from the network side, the target audio file will not fail to play; instead, it will be generated locally by the client, ensuring broadcast efficiency.
[0109] In summary, specific embodiments of this subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing can be advantageous.
[0110] The above describes one or more embodiments of the information broadcasting method provided in this specification. Based on the same idea, one or more embodiments of this specification also provide an information broadcasting device.
[0111] Figure 4 This is a schematic block diagram of an information broadcasting device according to an embodiment of this specification, such as... Figure 4 As shown, the information broadcasting device includes:
[0112] The first receiving module 410 receives the service information of the first user, the service information including the user identification information of the first user and the first information content of the service information;
[0113] The first determining module 420 determines the first broadcast content corresponding to the first user and matching the service type corresponding to the service information based on the mapping relationship between each user identification information and the broadcast content, as well as the user identification information of the first user.
[0114] The generation module 430 generates a target audio file corresponding to the business information based on the first broadcast content and the first information content.
[0115] The first sending module 440 sends a notification message carrying file identification information of the target audio file to the client of the first user; the client is used to obtain the target audio file according to the file identification information and play it.
[0116] In one embodiment, the apparatus further includes:
[0117] The second receiving module receives a voice broadcast customization request from the first user before receiving the service information from the first user; the voice broadcast customization request includes customization information customized by the first user for a specified type of service; the customization information includes broadcast content and / or language category.
[0118] The module establishes and stores a mapping relationship between the customized information and the user identification information of the first user based on the customized voice broadcast request; and stores the mapping relationship.
[0119] In one embodiment, the first broadcast content includes information to be broadcast; the information to be broadcast includes replaceable dynamic information elements;
[0120] The generation module 430 includes:
[0121] The first determining unit determines the key information elements to be broadcast in the first information content;
[0122] The first replacement unit replaces the dynamic information element in the information content to be broadcast with the key information element to obtain the second broadcast content corresponding to the business information.
[0123] The second determining unit determines the audio content corresponding to the second broadcast content and generates the target audio file corresponding to the business information based on the audio content.
[0124] In one embodiment, the second determining unit determines the first audio element corresponding to each first information element in the second broadcast content; and combines the first audio elements corresponding to each first information element according to the order of the first information elements in the second broadcast content to obtain the audio content corresponding to the second broadcast content.
[0125] In one embodiment, the second determining unit determines the target language category corresponding to the first user before determining the audio element corresponding to each of the first information elements contained in the second broadcast content.
[0126] Determine the first audio element that corresponds to each of the first information elements and conforms to the target language category.
[0127] In one embodiment, the first broadcast content includes audio content to be broadcast; the audio content to be broadcast includes replaceable dynamic audio elements;
[0128] The generation module 430 includes:
[0129] The third determining unit determines the key information elements to be broadcast in the first information content;
[0130] The fourth determining unit determines the second audio element corresponding to the key information element;
[0131] The second replacement unit replaces the dynamic audio element in the audio content to be played with the second audio element to obtain the target audio file corresponding to the business information.
[0132] In one embodiment, the fourth determining unit determines the target language category corresponding to the first user; and determines the second audio element corresponding to the key information element that conforms to the target language category.
[0133] The generation module 430 further includes:
[0134] Before replacing the dynamic audio element in the audio content to be played with the audio element to obtain the audio file corresponding to the business information, the language conversion unit performs language conversion on the audio content to be played if the language category corresponding to the audio content to be played is inconsistent with the target language category, so as to obtain the audio content to be played that conforms to the target language category.
[0135] In one embodiment, the second determining unit or the fourth determining unit determines the language category corresponding to the user identifier information of the first user as the target language category corresponding to the first user based on a preset mapping relationship between each user identifier information and the language category; or, determines the target language category corresponding to the first user based on the geographical location information of the first user.
[0136] Those skilled in the art will understand that the above-described information broadcasting device can be used to implement the information broadcasting method implemented by the network side as described above. The detailed description therein should be similar to the method description above, and will not be repeated here to avoid being cumbersome.
[0137] The apparatus employing one or more embodiments of this specification, upon receiving user service information, determines the broadcast content corresponding to the user and matching the service type corresponding to the service information. Based on the determined broadcast content and the information content of the service information, it generates a target audio file corresponding to the service information and then broadcasts the target audio file via voice from the client. This ensures that the target audio file broadcast to the user is related to the individual user and the service type, rather than broadcasting the same content to all users for the same service type. Therefore, this apparatus can meet users' personalized voice broadcast needs for various services, making the information broadcasting effect more flexible and interesting. Furthermore, since the target audio file is generated by the network side, the client only needs to broadcast the target audio file, thus reducing the information processing pressure on the client, avoiding information broadcasting delays caused by high client information processing pressure, and improving the efficiency of information broadcasting.
[0138] Figure 5 This is a schematic block diagram of an information broadcasting device according to another embodiment of this specification, such as... Figure 5 As shown, the information broadcasting device includes:
[0139] The second receiving module 510 receives a notification message from the network side; the notification message includes file identification information of the target audio file to be played; the target audio file is generated by the network side based on the information content of the service information and the playback content that corresponds to the first user and matches the service type corresponding to the service information.
[0140] The acquisition module 520 acquires the target audio file based on the file identification information;
[0141] The broadcast module 530 broadcasts the target audio file.
[0142] In one embodiment, the file identification information includes the file storage path information of the target audio file on the network side;
[0143] The acquisition module 520 includes:
[0144] The download unit downloads the target audio file from the network side according to the file storage path information;
[0145] The storage unit determines the filename of the downloaded target audio file as a specified filename and stores the target audio file in a specified directory on the client.
[0146] The broadcast module 530 includes:
[0147] The broadcasting unit locates the target audio file stored locally according to the specified directory and broadcasts the target audio file.
[0148] In one embodiment, the notification message further includes the information content of the business information;
[0149] The acquisition module 520 further includes:
[0150] The acquisition unit, after downloading the target audio file from the network side, if the download fails, acquires the broadcast content corresponding to the first user and matching the service type corresponding to the service information;
[0151] The generation unit generates the target audio file corresponding to the business information based on the information content and the broadcast content.
[0152] In one embodiment, the generation unit determines the target language category corresponding to the first user; and generates the target audio file that corresponds to the business information and conforms to the target language category based on the information content and the broadcast content.
[0153] In one embodiment, the generating unit acquires the mapping relationship between each user identifier information and language category pre-stored on the network side; determines the language category corresponding to the user identifier information of the first user as the target language category corresponding to the first user based on the mapping relationship; or, locates the geographical location information of the first user; and determines the target language category corresponding to the first user based on the geographical location information.
[0154] Those skilled in the art will understand that the above-described information broadcasting device can be used to implement the information broadcasting method implemented by the client as described above. The detailed description therein should be similar to the method description above, and will not be repeated here to avoid being cumbersome.
[0155] The apparatus employing one or more embodiments of this specification, upon receiving a notification message from the network side, can obtain a target audio file based on the file identifier information of the target audio file in the notification message. The target audio file is generated by the network side based on the information content of the service information and the broadcast content that matches the service type corresponding to the first user and the service information, and then broadcasts the obtained target audio file. Since the target audio file generated by the network side is related to the individual user and the service type, and not the same broadcast content generated for all users of the same service type, the client's broadcast effect of the target audio content can meet the user's personalized voice broadcast needs for various services, making the information broadcast effect more flexible and interesting. Furthermore, since the target audio file is generated by the network side, the client only needs to broadcast the target audio file, thus reducing the client's information processing pressure, avoiding information broadcast delays caused by high client information processing pressure, and improving the efficiency of information broadcasting.
[0156] Based on the same idea, one or more embodiments of this specification also provide an information broadcasting device, such as... Figure 6 As shown. Information broadcasting devices can vary considerably depending on configuration or performance, and may include one or more processors 601 and memory 602. Memory 602 may store one or more application programs or data. Memory 602 may be temporary or persistent storage. The application programs stored in memory 602 may include one or more modules (not shown), each module including a series of computer-executable instructions for the information broadcasting device. Furthermore, processor 601 may be configured to communicate with memory 602 and execute the series of computer-executable instructions in memory 602 on the information broadcasting device. The information broadcasting 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.
[0157] Specifically, in this embodiment, the information broadcasting device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and 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 is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following:
[0158] Receive service information from a first user, the service information including the user identifier information of the first user and the first information content of the service information;
[0159] Based on the mapping relationship between each user identification information and the broadcast content, and the user identification information of the first user, determine the first broadcast content corresponding to the first user and matching the service type corresponding to the service information;
[0160] Based on the first broadcast content and the first information content, generate the target audio file corresponding to the business information;
[0161] A notification message carrying the file identification information of the target audio file is sent to the client of the first user; the client is used to obtain the target audio file based on the file identification information and play it.
[0162] Optionally, when the computer-executable instructions are executed, they may also cause the processor to:
[0163] Before receiving service information from the first user, a voice broadcast customization request is received from the first user; the voice broadcast customization request includes customization information customized by the first user for a specified type of service; the customization information includes broadcast content and / or language category;
[0164] Based on the voice broadcast customization request, establish a mapping relationship between the customization information and the user identification information of the first user; and store the mapping relationship.
[0165] Optionally, the first broadcast content includes information to be broadcast; the information to be broadcast includes replaceable dynamic information elements;
[0166] When executed, computer-executable instructions can also cause the processor to:
[0167] Identify the key information elements to be broadcast in the first information content;
[0168] By replacing the dynamic information element in the information to be broadcast with the key information element, the second broadcast content corresponding to the business information is obtained;
[0169] Determine the audio content corresponding to the second broadcast content, and generate the target audio file corresponding to the business information based on the audio content.
[0170] Optionally, when the computer-executable instructions are executed, they may also cause the processor to:
[0171] For each first information element contained in the second broadcast content, determine the first audio element corresponding to each first information element;
[0172] According to the order of each of the first information elements in the second broadcast content, the first audio elements corresponding to each of the first information elements are combined to obtain the audio content corresponding to the second broadcast content.
[0173] Optionally, when the computer-executable instructions are executed, they may also cause the processor to:
[0174] Before determining the audio element corresponding to each of the first information elements contained in the second broadcast content, the target language category corresponding to the first user is determined.
[0175] The step of determining the first audio element corresponding to each of the first information elements includes:
[0176] Determine the first audio element that corresponds to each of the first information elements and conforms to the target language category.
[0177] Optionally, the first broadcast content includes audio content to be broadcast; the audio content to be broadcast includes replaceable dynamic audio elements;
[0178] When executed, computer-executable instructions can also cause the processor to:
[0179] Identify the key information elements to be broadcast in the first information content;
[0180] Determine the second audio element corresponding to the key information element;
[0181] The target audio file corresponding to the business information is obtained by replacing the dynamic audio element in the audio content to be played with the second audio element.
[0182] Optionally, when the computer-executable instructions are executed, they may also cause the processor to:
[0183] Determine the target language category corresponding to the first user;
[0184] Determine the second audio element that corresponds to the key information element and conforms to the target language category;
[0185] Before replacing the dynamic audio element in the audio content to be played with the audio element to obtain the audio file corresponding to the business information, if the language category corresponding to the audio content to be played is inconsistent with the target language category, then the audio content to be played is converted into a language to obtain the audio content to be played that conforms to the target language category.
[0186] Optionally, when the computer-executable instructions are executed, they may also cause the processor to:
[0187] Based on the preset mapping relationship between user identification information and language categories, the language category corresponding to the user identification information of the first user is determined as the target language category corresponding to the first user; or,
[0188] Based on the geographical location information of the first user, the target language category corresponding to the first user is determined.
[0189] Based on the same idea, one or more embodiments of this specification also provide an information broadcasting device, such as... Figure 7 As shown. Information broadcasting devices can vary considerably due to differences in configuration or performance, and may include one or more processors 701 and memory 702. Memory 702 may store one or more application programs or data. Memory 702 may be temporary or persistent storage. The application programs stored in memory 702 may include one or more modules (not shown), each module including a series of computer-executable instructions for the information broadcasting device. Furthermore, processor 701 may be configured to communicate with memory 702 and execute the series of computer-executable instructions in memory 702 on the information broadcasting device. The information broadcasting device may also 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.
[0190] Specifically, in this embodiment, the information broadcasting device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and 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 is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following:
[0191] Receive a notification message from the network side; the notification message includes the file identifier information of the target audio file to be played; the target audio file is generated by the network side based on the information content of the service information and the playback content that corresponds to the first user and matches the service type corresponding to the service information.
[0192] The target audio file is obtained based on the file identification information;
[0193] The target audio file is played.
[0194] Optionally, the file identification information includes the file storage path information of the target audio file on the network side;
[0195] When executed, computer-executable instructions can also cause the processor to:
[0196] Download the target audio file from the network side according to the file storage path information;
[0197] The downloaded target audio file is named as a specified filename, and the target audio file is stored in a specified directory on the client.
[0198] The target audio file is located in the specified directory and stored locally, and then played.
[0199] Optionally, the notification message may also include the information content of the business information;
[0200] When executed, computer-executable instructions can also cause the processor to:
[0201] After downloading the target audio file from the network side, if the download fails, the broadcast content corresponding to the first user and matching the service type corresponding to the service information is obtained.
[0202] Based on the information content and the broadcast content, the target audio file corresponding to the business information is generated.
[0203] Optionally, when the computer-executable instructions are executed, they may also cause the processor to:
[0204] Determine the target language category corresponding to the first user;
[0205] Based on the information content and the broadcast content, generate the target audio file that corresponds to the business information and conforms to the target language category.
[0206] Optionally, when the computer-executable instructions are executed, they may also cause the processor to:
[0207] Obtain the mapping relationship between each user identifier information and language category pre-stored on the network side; based on the mapping relationship, determine the language category corresponding to the user identifier information of the first user as the target language category corresponding to the first user; or,
[0208] Locate the geographic location information of the first user; determine the target language category corresponding to the first user based on the geographic location information.
[0209] One or more embodiments of this specification also provide a computer-readable storage medium storing one or more programs, the programs including instructions that, when executed by an electronic device including multiple applications, enable the electronic device to perform the above-described information broadcasting method, and specifically for performing:
[0210] Receive service information from a first user, the service information including the user identifier information of the first user and the first information content of the service information;
[0211] Based on the mapping relationship between each user identification information and the broadcast content, and the user identification information of the first user, determine the first broadcast content corresponding to the first user and matching the service type corresponding to the service information;
[0212] Based on the first broadcast content and the first information content, generate the target audio file corresponding to the business information;
[0213] A notification message carrying the file identification information of the target audio file is sent to the client of the first user; the client is used to obtain the target audio file based on the file identification information and play it.
[0214] One or more embodiments of this specification also provide a computer-readable storage medium storing one or more programs, the programs including instructions that, when executed by an electronic device including multiple applications, enable the electronic device to perform the above-described information broadcasting method, and specifically for performing:
[0215] Receive a notification message from the network side; the notification message includes the file identifier information of the target audio file to be played; the target audio file is generated by the network side based on the information content of the service information and the playback content that corresponds to the first user and matches the service type corresponding to the service information.
[0216] The target audio file is obtained based on the file identification information;
[0217] The target audio file is played.
[0218] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0219] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0220] Those skilled in the art will understand that one or more embodiments of this specification can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0221] This specification describes one or more embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0222] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0223] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0224] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0225] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0226] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0227] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0228] One or more embodiments of this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0229] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0230] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of one or more embodiments of this specification.
Claims
1. An information broadcasting method, comprising: Receive service information from a first user, the service information including the user identifier information of the first user and the first information content of the service information; Based on the mapping relationship between each user's identification information and the broadcast content, and the user identification information of the first user, the first broadcast content corresponding to the first user and matching the service type corresponding to the service information is determined; the first broadcast content includes the audio content to be broadcast. Based on the first broadcast content and the first information content, generate the target audio file corresponding to the business information; A notification message carrying the file identification information of the target audio file is sent to the client of the first user; the notification message includes the first information content. The client is used to download the target audio file from the network side according to the file identification information and play it; the client is also used to obtain the audio content to be played from the network side in the event that the download of the target audio file fails, and generate the target audio file according to the audio content to be played and the first information content.
2. The method according to claim 1, further comprising, before receiving the service information of the first user: Receive the first user's voice broadcast customization request; The voice broadcast customization request includes customization information customized by the first user for a specified type of service; The customized information includes the broadcast content and / or language category; Based on the customized voice broadcast request, a mapping relationship is established between the customized information and the user identification information of the first user; And, store the mapping relationship.
3. The method according to claim 2, wherein the first broadcast content includes information content to be broadcast; the information content to be broadcast includes replaceable dynamic information elements; The step of generating the audio file corresponding to the business information based on the first broadcast content and the first information content includes: Identify the key information elements to be broadcast in the first information content; By replacing the dynamic information element in the information to be broadcast with the key information element, the second broadcast content corresponding to the business information is obtained; Determine the audio content corresponding to the second broadcast content, and generate the target audio file corresponding to the business information based on the audio content.
4. The method according to claim 3, wherein determining the audio content corresponding to the second broadcast content includes: For each first information element contained in the second broadcast content, determine the first audio element corresponding to each first information element; According to the order of each of the first information elements in the second broadcast content, the first audio elements corresponding to each of the first information elements are combined to obtain the audio content corresponding to the second broadcast content.
5. The method according to claim 4, further comprising, before determining the audio element corresponding to each of the first information elements contained in the second broadcast content: Determine the target language category corresponding to the first user; The step of determining the first audio element corresponding to each of the first information elements includes: Determine the first audio element that corresponds to each of the first information elements and conforms to the target language category.
6. The method according to claim 2, wherein the audio content to be played includes replaceable dynamic audio elements; The step of generating the target audio file corresponding to the business information based on the first broadcast content and the first information content includes: Identify the key information elements to be broadcast in the first information content; Determine the second audio element corresponding to the key information element; The target audio file corresponding to the business information is obtained by replacing the dynamic audio element in the audio content to be played with the second audio element.
7. The method according to claim 6, wherein determining the second audio element corresponding to the key information element comprises: Determine the target language category corresponding to the first user; Determine the second audio element that corresponds to the key information element and conforms to the target language category; Before replacing the dynamic audio element in the audio content to be played with the audio element to obtain the audio file corresponding to the business information, the method further includes: If the language category of the audio content to be played is inconsistent with the target language category, then the audio content to be played is converted into a language to obtain the audio content to be played that conforms to the target language category.
8. The method according to claim 5 or 7, wherein determining the target language category corresponding to the first user includes: Based on the preset mapping relationship between user identification information and language categories, the language category corresponding to the user identification information of the first user is determined as the target language category corresponding to the first user; or, Based on the geographical location information of the first user, the target language category corresponding to the first user is determined.
9. An information broadcasting method, comprising: Receive service information from a first user, the service information including the user identifier information of the first user and the first information content of the service information; Based on the mapping relationship between each user's identification information and the broadcast content, and the user identification information of the first user, a first broadcast content corresponding to the first user and matching the service type corresponding to the service information is determined; the first broadcast content includes the information content to be broadcast. Based on the first broadcast content and the first information content, generate the target audio file corresponding to the business information; A notification message carrying the file identification information of the target audio file is sent to the client of the first user; the notification message includes the first information content. The client is used to download the target audio file from the network side according to the file identification information and broadcast it; the client is also used to obtain the information content to be broadcast from the network side in the event that the download of the target audio file fails, and generate the target audio file according to the information content to be broadcast and the first information content.
10. An information broadcasting method, comprising: Receive notification messages from the network side; The notification message includes the file identification information of the target audio file to be played and the information content of the business information. The target audio file is generated by the network side based on the information content and the broadcast content that matches the service type corresponding to the first user and the service information; the broadcast content includes the audio content to be broadcast. Download the target audio file from the network side based on the file identification information; If downloading the target audio file fails, the audio content to be played is obtained from the network side, and the target audio file is generated based on the audio content to be played and the information content. The target audio file is played.
11. The method according to claim 10, wherein the file identification information includes the file storage path information of the target audio file on the network side; The step of downloading the target audio file from the network side according to the file identification information includes: Download the target audio file from the network side according to the file storage path information; The downloaded target audio file is named as a specified filename, and the target audio file is stored in a specified directory on the client. The playback of the target audio file includes: The target audio file is located in the specified directory and stored locally, and then played.
12. The method according to claim 10, wherein generating the target audio file based on the audio content to be played and the information content comprises: Determine the target language category corresponding to the first user; Based on the information content and the audio content to be played, generate the target audio file that corresponds to the business information and conforms to the target language category.
13. The method according to claim 12, wherein determining the target language category corresponding to the first user includes: Obtain the mapping relationship between each user identifier information and language category pre-stored on the network side; Based on the mapping relationship, the language category corresponding to the user identifier information of the first user is determined as the target language category corresponding to the first user; or, Locate the geographic location information of the first user; determine the target language category corresponding to the first user based on the geographic location information.
14. An information broadcasting method, comprising: Receive notification messages from the network side; The notification message includes the file identification information of the target audio file to be played and the information content of the business information. The target audio file is generated by the network side based on the information content and the broadcast content that matches the service type corresponding to the first user and the service information; the broadcast content includes the information content to be broadcast. Download the target audio file from the network side based on the file identification information; If downloading the target audio file fails, the information to be played is obtained from the network side, and the target audio file is generated based on the information to be played and the information content. The target audio file is played.
15. An information broadcasting device, comprising: The first receiving module receives the service information of the first user, the service information including the user identification information of the first user and the first information content of the service information; The first determining module determines, based on the mapping relationship between each user identification information and the broadcast content, and the user identification information of the first user, the first broadcast content corresponding to the first user and matching the service type corresponding to the service information; the first broadcast content includes the audio content to be broadcast. The generation module generates the target audio file corresponding to the business information based on the first broadcast content and the first information content; The first sending module sends a notification message carrying file identification information of the target audio file to the client of the first user; the notification message includes the first information content. The client is used to download the target audio file from the network side according to the file identification information and play it; the client is also used to obtain the audio content to be played from the network side in the event that the download of the target audio file fails, and generate the target audio file according to the audio content to be played and the first information content.
16. The apparatus of claim 15, further comprising: The second receiving module receives the first user's voice broadcast customization request before receiving the first user's service information; The voice broadcast customization request includes customization information customized by the first user for a specified type of service; The customized information includes the broadcast content and / or language category; The establishment and storage module establishes a mapping relationship between the customized information and the user identification information of the first user based on the customized voice broadcast request. And, store the mapping relationship.
17. An information broadcasting device, comprising: The second receiving module receives notification messages from the network side; The notification message includes the file identification information of the target audio file to be played and the information content of the business information. The target audio file is generated by the network side based on the information content and the broadcast content that matches the service type corresponding to the first user and the service information; the broadcast content includes the audio content to be broadcast. The acquisition module downloads the target audio file from the network side based on the file identification information; if the download of the target audio file fails, it acquires the audio content to be played from the network side and generates the target audio file based on the audio content to be played and the information content. The broadcast module broadcasts the target audio file.
18. The apparatus according to claim 17, wherein the file identification information includes the file storage path information of the target audio file on the network side; The acquisition module includes: The download unit downloads the target audio file from the network side according to the file storage path information; The storage unit determines the filename of the downloaded target audio file as a specified filename and stores the target audio file in a specified directory on the client. The broadcast module includes: The broadcasting unit locates the target audio file stored locally according to the specified directory and broadcasts the target audio file.
19. An information broadcasting device, comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to: Receive service information from a first user, the service information including the user identifier information of the first user and the first information content of the service information; Based on the mapping relationship between each user's identification information and the broadcast content, and the user identification information of the first user, the first broadcast content corresponding to the first user and matching the service type corresponding to the service information is determined; the first broadcast content includes the audio content to be broadcast. Based on the first broadcast content and the first information content, generate the target audio file corresponding to the business information; A notification message carrying the file identification information of the target audio file is sent to the client of the first user; the notification message includes the first information content. The client is used to download the target audio file from the network side according to the file identification information and play it; the client is also used to obtain the audio content to be played from the network side in the event that the download of the target audio file fails, and generate the target audio file according to the audio content to be played and the first information content.
20. An information broadcasting device, comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to: The system receives a notification message from the network side; the notification message includes file identification information of the target audio file to be played and information content of the service information; the target audio file is generated by the network side based on the information content and the playback content that matches the service type corresponding to the first user and the service information; the playback content includes the audio content to be played. Download the target audio file from the network side based on the file identification information; If downloading the target audio file fails, the audio content to be played is obtained from the network side, and the target audio file is generated based on the audio content to be played and the information content. The target audio file is played.
21. A storage medium for storing computer-executable instructions, which, when executed, perform the following process: Receive service information from a first user, the service information including the user identifier information of the first user and the first information content of the service information; Based on the mapping relationship between each user's identification information and the broadcast content, and the user identification information of the first user, the first broadcast content corresponding to the first user and matching the service type corresponding to the service information is determined; the first broadcast content includes the audio content to be broadcast. Based on the first broadcast content and the first information content, generate the target audio file corresponding to the business information; A notification message carrying the file identification information of the target audio file is sent to the client of the first user; the notification message includes the first information content. The client is used to download the target audio file from the network side according to the file identification information and play it; the client is also used to obtain the audio content to be played from the network side in the event that the download of the target audio file fails, and generate the target audio file according to the audio content to be played and the first information content.
22. A storage medium for storing computer-executable instructions, which, when executed, perform the following process: The system receives a notification message from the network side; the notification message includes file identification information of the target audio file to be played and information content of the service information; the target audio file is generated by the network side based on the information content and the playback content that matches the service type corresponding to the first user and the service information; the playback content includes the audio content to be played. Download the target audio file from the network side based on the file identification information; If downloading the target audio file fails, the audio content to be played is obtained from the network side, and the target audio file is generated based on the audio content to be played and the information content. The target audio file is played.
Citation Information
Patent Citations
Voice broadcasting method, device and system, and intelligent broadcasting equipment
CN108234636A
Voice message broadcasting method and device, computer equipment and storage medium
CN111276123A