Device linkage real-time broadcasting method and device, storage medium and computer device
By establishing a real-time transmission channel and storage mechanism between the client and the device, the problem of inaccurate broadcasting and playback was solved, thus enabling the accurate delivery of notifications.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-14
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, broadcasting cannot accurately target specific audiences based on actual needs and scenarios, and the broadcast content cannot be replayed after the broadcast ends, thus failing to guarantee the accurate delivery of notifications.
By initiating a real-time broadcast request from the client, the system obtains a list of devices to be broadcast and their assembly parameters, establishes a real-time transmission channel between the client and the broadcasting devices, receives and transmits audio data in real time, and stores it when the broadcast ends. The system also utilizes the business platform, signaling service, and voice gateway management service to achieve real-time broadcasting in conjunction with the devices.
It enables precise broadcasting by segmenting broadcast groups according to actual needs and scenarios, and allows for the storage and playback of broadcast content after the broadcast ends, ensuring accurate delivery of notifications.
Smart Images

Figure CN115720121B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of emerging information technology, and in particular to a method, apparatus, storage medium, and computer device for real-time broadcasting in conjunction with equipment. Background Technology
[0002] Broadcasting refers to a news dissemination tool that transmits sound via radio waves or wires. Broadcasting that transmits programs via radio waves is called wireless broadcasting, while broadcasting that transmits programs via wires is called wired broadcasting. With the trend of rural modernization, broadcasting continues to be widely used in rural areas and grassroots units due to its practicality, economy, and convenience. Its advantages lie in its wide reach, rapid dissemination, diverse functions, and strong appeal.
[0003] Radio broadcasting meets the needs of rural village committees and grassroots units for timely dissemination of various information. However, with current technology, radio broadcasting cannot accurately broadcast to specific groups based on actual needs and scenarios, and it is impossible to replay the broadcast content after the broadcast ends, thus failing to guarantee the accurate delivery of notices. Summary of the Invention
[0004] The purpose of this application is to at least solve one of the aforementioned technical defects, particularly the technical defects in the prior art where broadcasting cannot accurately broadcast to specific groups according to actual needs and scenarios, and the broadcast content cannot be replayed after the broadcast ends, thus failing to guarantee the accurate delivery of notices.
[0005] This application provides a device-linked real-time broadcasting method, the method comprising:
[0006] In response to a real-time broadcast request initiated by a client, a list of devices to be broadcast and assembly parameters corresponding to the list of devices to be broadcast are obtained, wherein the list of devices to be broadcast includes multiple broadcast devices;
[0007] Based on the assembly parameters, a real-time transmission channel is established between the client and each broadcasting device;
[0008] The system receives audio data input by the user in real time on the client and transmits the audio data to each of the broadcasting devices in real time using the real-time transmission channel.
[0009] Upon receiving the end-of-play command initiated by the client, the audio data is stored.
[0010] Optionally, the step of responding to a real-time broadcast request initiated by the client and obtaining the list of devices to be broadcast and the assembly parameters corresponding to the list of devices to be broadcast includes:
[0011] The business platform is used to analyze the real-time broadcast requests initiated by the client to determine the list of devices to be broadcast;
[0012] Based on the list of devices to be broadcast, obtain the voice gateway connection information and session ID from the voice gateway management service;
[0013] Based on the voice gateway connection information and the session ID, the assembly parameters corresponding to the list of devices to be broadcast are constructed.
[0014] Optionally, the step of using the business platform to perform data analysis on the real-time broadcast request to determine the list of devices to be broadcast includes:
[0015] The business platform is used to analyze the real-time broadcast requests initiated by the client to determine the initial device list;
[0016] The broadcasting devices that are idle are selected from the initial device list to form a list of devices to be broadcasted.
[0017] Optionally, establishing a real-time transmission channel between the client and each broadcasting device based on the assembly parameters includes:
[0018] The assembly parameters and the list of devices to be broadcast are sent to the signaling service so that the signaling service can send the assembly parameters to each broadcasting device in the list of devices to be broadcast.
[0019] Based on the voice gateway connection information included in the assembly parameters, each of the broadcasting devices is triggered to connect to the voice gateway;
[0020] The assembly parameters are returned to the client so that the client can connect to the voice gateway according to the voice gateway connection information;
[0021] Once the client and each of the broadcasting devices are connected to the voice gateway, a real-time transmission channel is established between the client and each of the broadcasting devices based on the session ID using the voice gateway.
[0022] Optionally, storing the audio data upon receiving a stop playback command initiated by the client includes:
[0023] When the client sends a command to the voice gateway to end the broadcast, the client uses the voice gateway to obtain the upload address from the service platform.
[0024] Based on the upload address, the audio data is uploaded to the resource pool for storage.
[0025] Optionally, the method further includes:
[0026] After receiving the end broadcast instruction initiated by the client to the voice gateway, the system obtains the current broadcast data and reports the current broadcast data to the service platform. The current broadcast data includes the current broadcast status, broadcast details, and resource pool storage information of each device.
[0027] The current broadcast data is recorded using the aforementioned business platform.
[0028] This application also provides a device-linked real-time broadcasting device, including:
[0029] The data acquisition module is used to respond to a real-time broadcast request initiated by the client, and to acquire a list of devices to be broadcast and assembly parameters corresponding to the list of devices to be broadcast, wherein the list of devices to be broadcast includes multiple broadcast devices;
[0030] A transmission channel establishment module is used to establish a real-time transmission channel between the client and each broadcasting device based on the assembly parameters.
[0031] A real-time transmission module is used to receive audio data input by the user in real time on the client, and to transmit the audio data to each of the broadcasting devices in real time using the real-time transmission channel;
[0032] The data update module is used to store the audio data when it receives a stop broadcast command initiated by the client.
[0033] Optionally, the data acquisition module includes:
[0034] The data analysis submodule is used to analyze the real-time broadcast requests initiated by the client using the business platform to determine the list of devices to be broadcast.
[0035] The connection information acquisition submodule is used to obtain the voice gateway connection information and session ID from the voice gateway management service based on the list of devices to be broadcast;
[0036] The assembly parameter construction module is used to construct the assembly parameters corresponding to the list of devices to be broadcast based on the voice gateway connection information and the session ID.
[0037] This application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the device linkage real-time broadcasting method as described in any of the above embodiments.
[0038] This application also provides a computer device, including: one or more processors, and memory;
[0039] The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the device linkage real-time broadcasting method as described in any of the above embodiments.
[0040] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0041] The device-linked real-time broadcasting method, apparatus, storage medium, and computer equipment provided in this application utilize platform services to enable one-to-many real-time broadcasting between users and devices. This platform includes a business platform, signaling services, voice network management services, and a voice gateway. The business platform can respond to real-time broadcasting requests initiated by the client, obtaining a list of multiple broadcasting devices to be broadcasted. It then obtains assembly parameters corresponding to the list from the voice network management service, and uses the signaling service to distribute these assembly parameters to each broadcasting device in the list. Based on these assembly parameters, the voice gateway establishes a real-time transmission channel between the client and each broadcasting device, enabling intelligent distribution and precise delivery to households by segmenting the broadcasting group according to actual needs and selecting the devices to be broadcasted, based on specific scenarios. After receiving audio data input by the user on the client, this application can broadcast the audio data to each broadcasting device in real time through a real-time transmission channel, obtain the current broadcast details, and store the audio data and record the current broadcast details when it receives a stop broadcast command initiated by the client, so that the user can view the audio data content and broadcast details at any time, thereby ensuring the accurate delivery of the notification. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application 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 of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 A flowchart illustrating a device-linked real-time broadcasting method provided in an embodiment of this application;
[0044] Figure 2 A schematic diagram of the overall architecture of a device-linked real-time broadcasting method provided in an embodiment of this application;
[0045] Figure 3 This application provides a schematic diagram of the business process for a device-linked real-time broadcasting method.
[0046] Figure 4This is a schematic diagram of the structure of a device-linked real-time broadcasting device provided in an embodiment of this application;
[0047] Figure 5 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0049] With the trend of rural modernization, radio broadcasting has been widely used in rural areas and grassroots units due to its practicality, economy, and convenience. Its advantages lie in its wide reach, rapid dissemination, diverse functions, and strong persuasiveness, meeting the needs of village committees and grassroots units for timely communication. However, current radio technology cannot accurately segment broadcast groups according to actual needs and scenarios, and it cannot replay broadcast content after the broadcast ends, thus failing to guarantee the accurate delivery of notices.
[0050] Therefore, the purpose of this application is to solve the technical problems in the prior art where broadcasting cannot accurately broadcast to specific groups according to actual needs and scenarios, and where the broadcast content cannot be replayed after the broadcast ends, thus failing to guarantee the accurate delivery of notifications. The following technical solution is proposed:
[0051] In one embodiment, such as Figure 1 As shown, Figure 1 This application provides a flowchart illustrating a device-linked real-time broadcasting method according to an embodiment of the present application. The present application provides a device-linked real-time broadcasting method, specifically including the following:
[0052] S110: In response to a real-time broadcast request initiated by the client, obtain the list of devices to be broadcast and the assembly parameters corresponding to the list of devices to be broadcast.
[0053] In this step, when a user needs to broadcast devices in real time, they can use the client to select the devices they want to broadcast, form a list of devices to be broadcast, and send a real-time broadcast request. After the platform service receives the real-time broadcast request initiated by the client, it obtains the list of devices to be broadcast carried in the real-time broadcast request and the assembly parameters corresponding to the list of devices to be broadcast.
[0054] It should be noted that the platform service may include four modules: business platform, signaling service, voice gateway management service, and voice gateway, which are used for data interaction between the client and the broadcasting device and to establish a real-time transmission channel. The list of devices to be broadcast includes multiple broadcasting devices. The broadcasting devices are used by users to segment the broadcasting group according to the actual needs and scenarios, and the client selects the device to be broadcast, thereby realizing intelligent distribution and accurate delivery to the household.
[0055] Indicatively, such as Figure 2 As shown, Figure 2 This is a schematic diagram of the overall architecture of a device-linked real-time broadcasting method provided in an embodiment of this application; by Figure 2 As can be seen, this application uses the client as the user entry point to receive data information input by the client. Then, middleware is used on the platform service to interact with the data between the client and the device, thereby establishing a one-to-many real-time transmission channel between the client and the device. This enables the sound emitted by the user on the client to be broadcast in real time on the device side or the external speaker. The middleware used to process the interactive data includes multiple processing modules, such as MySQL, Codis, Cassandra, RocketMQ, K8S, etc. The client can include terminals such as PC, Android, and iOS that can receive and transmit data information. The device can adopt a combination of camera and external speaker, using the real-time broadcast function of the camera to broadcast the content broadcast by the user on the client side or the external speaker in real time.
[0056] Furthermore, after receiving a real-time broadcast request from a client, the platform service can parse the request to obtain the information carried by it, thereby determining the list of devices to be broadcast and acquiring the assembly parameters corresponding to that list. These assembly parameters include the voice gateway connection information and session ID obtained from the voice gateway management service.
[0057] S120: Based on the assembly parameters, establish a real-time transmission channel between the client and each broadcasting device.
[0058] In this step, after obtaining the list of devices to be broadcast and the assembly parameters corresponding to the list of devices to be broadcast through step S110, a one-to-many real-time transmission channel can be established between the client and each broadcast device based on the assembly parameters.
[0059] Specifically, after obtaining the assembly parameters, the signaling service can be used to send the assembly parameters to each broadcasting device in the broadcasting device list. After the client and each broadcasting device receive the assembly parameters, they can connect to the voice gateway management service according to the assembly parameters. Then, the voice gateway management service confirms the consistency of the assembly parameter information carried by the client and each broadcasting device, and establishes a real-time transmission channel between the client and each broadcasting device.
[0060] Furthermore, if the assembly parameter information carried by the client and each broadcasting device is consistent, a one-to-many real-time transmission channel is directly established between the client and each broadcasting device. If the assembly parameter information carried by the broadcasting device and the client is inconsistent, the broadcasting device with inconsistent information is first removed before a one-to-many real-time transmission channel is established.
[0061] S130: Receives audio data input by the user in real time on the client and transmits the audio data to each broadcasting device in real time using the real-time transmission channel.
[0062] In this step, after establishing a real-time transmission channel through step S120, the user can transmit the notification content to be broadcast in the form of audio data to the client in real time. When the client receives the audio data input by the user, it can synchronously transmit the audio data to each broadcasting device in real time.
[0063] It is understandable that the audio data here refers to a series of continuous or non-continuous audio data input by the user on the client. The acquisition of audio data can be transmitted by the user speaking in real time on the client, or it can be pre-stored recording data, without any restrictions.
[0064] Specifically, once the platform service establishes a real-time transmission channel between the client and various broadcasting devices, it can return confirmation broadcasting information to the user so that the user can input audio data on the client for real-time broadcasting. During the audio data transmission process, in order to further improve the synchronization rate of the transmission, the audio data can be segmented. The amount of audio data after segmentation is smaller, which can achieve the synchronization rate of audio data input from the client and audio data output from the device, thereby achieving the effect of real-time transmission in device linkage.
[0065] S140: Upon receiving a termination playback command from the client, store the audio data.
[0066] In this step, after obtaining the audio data through step S130, it can be permanently stored when the user issues an end-of-broadcast command after the broadcast ends, so that the user can replay the broadcast content and confirm the notification information at any time.
[0067] Specifically, after the notification broadcast ends, the user can use the client to send a request to the voice gateway to end the broadcast. The voice gateway can then respond to the request, disconnect the real-time transmission channel between the client and each broadcasting device, obtain the broadcast details record of each broadcasting device, and permanently store the audio data and broadcast details record of the broadcast content so that the user can view and replay the broadcast content at any time.
[0068] In the above embodiments, a platform service is used to enable real-time broadcasting between the client and multiple devices. This platform includes a business platform, a signaling service, a voice network management service, and a voice gateway. The business platform can respond to real-time broadcasting requests initiated by the client, obtain a list of multiple broadcasting devices to be broadcasted, and retrieve assembly parameters corresponding to the list from the voice network management service. Then, the signaling service sends the assembly parameters to each broadcasting device in the list. Based on the assembly parameters, the voice gateway establishes a real-time transmission channel between the client and each broadcasting device, so as to segment the broadcasting group according to the actual needs and select the devices to be broadcasted, thereby achieving intelligent distribution and precise delivery to the user. After receiving audio data input by the user on the client, this application can broadcast the audio data to each broadcasting device in real time through a real-time transmission channel, obtain the current broadcast details, and store the audio data and record the current broadcast details when it receives a stop broadcast command initiated by the client, so that the user can view the audio data content and broadcast details at any time, thereby ensuring the accurate delivery of the notification.
[0069] In one embodiment, step S110, in response to a real-time broadcast request initiated by the client, obtaining the list of devices to be broadcast and the assembly parameters corresponding to the list of devices to be broadcast, may include:
[0070] S111: Utilize the business platform to perform data analysis on real-time broadcast requests initiated by clients to determine the list of devices to be broadcast.
[0071] S112: Based on the list of devices to be broadcast, obtain the voice gateway connection information and session ID from the voice gateway management service.
[0072] S113: Based on the voice gateway connection information and the session ID, construct the assembly parameters corresponding to the list of devices to be broadcast.
[0073] In this embodiment, after receiving a real-time broadcast request initiated by the client, the business platform can analyze the data carried in the real-time broadcast request to determine the list of devices to be broadcast. Then, the business platform can obtain the voice gateway connection information and session ID from the voice gateway management service based on the list of devices to be broadcast, and construct the voice gateway connection information and session ID into the assembly parameters corresponding to the list of devices to be broadcast.
[0074] It is understandable that the voice gateway connection information here refers to the voice gateway connection information that is idle and available in the voice gateway management service. This information serves as the basis for determining whether the client and broadcasting device can connect to the voice gateway management service. The session ID, on the other hand, is assigned to the business platform by the voice gateway management service when the business platform obtains the voice gateway connection information from the voice gateway management service.
[0075] Specifically, after the business platform confirms the list of devices to be broadcast, it can send a request to the voice gateway management service to obtain voice gateway connection information. After receiving the request, the voice gateway management service queries all voice gateway connection information, filters out available voice gateway connection information, and randomly returns one of them along with the assigned session ID to the business platform. This session ID is unique to avoid data confusion caused by duplicate session IDs. After receiving the voice gateway connection information and session ID returned by the voice gateway management service, the business platform constructs the assembly parameters.
[0076] In one embodiment, step S111, which involves using the service platform to perform data analysis on the real-time broadcast request to determine the list of devices to be broadcast, may include:
[0077] S1111: Utilize the business platform to perform data analysis on real-time broadcast requests initiated by clients to determine the initial device list.
[0078] S1112: Select the broadcasting devices that are in an idle state from the initial device list to form a list of devices to be broadcast.
[0079] In this embodiment, after receiving a real-time broadcast request initiated by the client, the business platform can be used to analyze the data carried in the real-time broadcast request to determine the initial device list. Then, the broadcast devices included in the initial device list are filtered to remove broadcast devices that are already broadcasting, thereby obtaining broadcast devices that are in an idle state and forming a list of devices to be broadcast.
[0080] It is understandable that in the process of device linkage real-time broadcasting, this application can simultaneously broadcast multiple real-time broadcasts within the same time period, broadcasting different notification information to different broadcasting devices. For example, if there are two real-time broadcasts within the same time period, each needs to broadcast its own notification to its corresponding broadcasting device. If there is overlap among the broadcasting devices, the broadcasting device that is already broadcasting will be removed from the initial device list of the client that sent the real-time broadcast request later.
[0081] In one embodiment, establishing a real-time transmission channel between the client and each broadcasting device based on the assembly parameters in step S120 may include:
[0082] S121: The assembly parameters and the list of devices to be broadcast are sent to the signaling service so that the signaling service can send the assembly parameters to each broadcasting device in the list of devices to be broadcast.
[0083] S122: Based on the voice gateway connection information included in the assembly parameters, trigger each of the broadcasting devices to connect to the voice gateway.
[0084] S123: Return the assembly parameters to the client so that the client can connect to the voice gateway according to the voice gateway connection information.
[0085] S124: After the client and each of the broadcasting devices are connected to the voice gateway, a real-time transmission channel between the client and each of the broadcasting devices is established using the voice gateway based on the session ID.
[0086] In this embodiment, after obtaining the assembly parameters, the assembly parameters can be returned to the client so that the client can connect to the voice gateway according to the voice gateway connection information. At the same time, the assembly parameters and the list of devices to be broadcast are sent to the signaling service. After receiving the assembly parameters, the signaling service sends them to each broadcasting device in the list of devices to be broadcast so that each broadcasting device can connect to the voice gateway according to the voice gateway connection information in the assembly parameters. After the client and each broadcasting device have connected to the voice gateway, a real-time transmission channel between the client and each broadcasting device is established according to the session ID.
[0087] Specifically, after the client receives the assembly parameters, it can initiate a connection request to the business platform. Then, the business platform connects to the corresponding voice gateway service based on the voice gateway connection information carried by the client. At the same time, after each broadcasting device receives the assembly parameters issued by the signaling service, it also connects to the corresponding voice gateway service in the voice gateway based on the voice gateway connection information contained in the assembly parameters. Finally, the voice gateway service establishes an audio data transmission channel between the client and multiple devices based on the session ID carried by the client and each broadcasting device, and performs real-time transmission of audio data, thereby achieving the function of real-time broadcasting in device linkage.
[0088] In this application, the client and all broadcasting devices connect to the voice gateway service using TCP (Transmission Control Protocol). TCP is a connection-oriented, reliable, byte-stream-based transport layer communication protocol specifically designed to provide reliable end-to-end byte streams over unreliable internet networks, and it adapts to layered protocol structures supporting multiple network applications. Other methods that can achieve the connection to the Vietnam gateway service as described in this application are also acceptable and are not limited here.
[0089] In one embodiment, storing the audio data in step S140 upon receiving the end-of-play command initiated by the client may include:
[0090] S141: When receiving the end broadcast command initiated by the client to the voice gateway, obtain the upload address from the service platform using the voice gateway.
[0091] S142: Based on the upload address, upload the audio data to the resource pool for storage.
[0092] In this embodiment, after the user confirms the end of the live broadcast, the client can send an end broadcast command to the voice gateway. The voice gateway responds to the end broadcast command by obtaining the upload address from the service platform so as to upload the audio data of the live broadcast to the resource pool.
[0093] For example, after a user broadcasts an important notification to all broadcasting devices with one click through the client, and then clicks to end the live broadcast, the client sends an end broadcast command to the voice gateway and reports the end broadcast status to the business platform. After receiving the end broadcast command, the voice gateway can send a data upload request to the business platform. The business platform responds to the request and selects an available address from the resource pool and returns it to the business platform, so that the business platform can return the address to the voice gateway for uploading voice data in this live broadcast.
[0094] In one embodiment, the method may further include:
[0095] S150: After receiving the end broadcast instruction initiated by the client to the voice gateway, obtain the current broadcast data and report the current broadcast data to the service platform.
[0096] S160: Record the current broadcast data using the business platform.
[0097] In this embodiment, after the user confirms the end of the live broadcast, the voice gateway receives the end broadcast instruction initiated by the client, obtains the current broadcast data and reports it to the business platform. Then, the business platform can record the current broadcast data so that the user can view the details of the historical live broadcast later.
[0098] Understandably, the current broadcast data here includes the current broadcast status, broadcast details, and resource pool storage information of each broadcast device. The current broadcast status of each broadcast device can specifically be expressed as recording file generation in progress, broadcast failure, or broadcast success. Broadcast details can include broadcast volume, broadcast duration, etc. The resource pool storage information can include the upload address and resource usage corresponding to the audio data of this broadcast. The current broadcast data records various detailed information of the device and resource pool in this real-time broadcast, and there are no restrictions on this.
[0099] To better explain the device linkage real-time broadcasting method of this application, the following will be conducted through... Figure 3 To further illustrate, illustratively, such as Figure 3 As shown, Figure 3 This application provides a schematic diagram of a business process for real-time broadcasting via device linkage.
[0100] Figure 3 In this process, after the user selects a broadcast device on the client to form a broadcast device list, they initiate a real-time broadcast request to the business platform. Upon receiving the request, the business platform can obtain available voice gateways from the voice gateway management service. After obtaining the available voice gateway information through querying, the voice gateway management service constructs assembly parameters from the available voice gateway information and the assigned session ID, and returns them to the business platform. Before the business platform sends the assembly parameters to the signaling service, it can remove devices already broadcasting from the device list. Then, it sends the assembly parameters to the client and each device in the device list so that the client and each device can connect to the voice gateway. After the client and each device are connected, the voice gateway can establish a real-time transmission channel between the client and the broadcast device for the client to transmit audio data to the broadcast device. When the client ends the broadcast, it sends an end-of-broadcast command to the voice gateway. Upon receiving the command, the voice gateway responds to the request and disconnects the real-time transmission channel.
[0101] The device linkage real-time broadcasting device provided in the embodiments of this application is described below. The device linkage real-time broadcasting device described below and the device linkage real-time broadcasting method described above can be referred to in correspondence.
[0102] In one embodiment, such as Figure 4 As shown, Figure 4 This application provides a schematic diagram of the structure of a device-linked real-time broadcasting device according to an embodiment of the present application. The present application also provides a device-linked real-time broadcasting device, including a data acquisition module 210, a transmission channel establishment module 220, a real-time transmission module 230, and a data update module 240, specifically comprising the following:
[0103] The data acquisition module 210 is used to respond to a real-time broadcast request initiated by the client, and to acquire a list of devices to be broadcast and assembly parameters corresponding to the list of devices to be broadcast, wherein the list of devices to be broadcast includes multiple broadcast devices.
[0104] The transmission channel establishment module 220 is used to establish a real-time transmission channel between the client and each broadcasting device based on the assembly parameters.
[0105] The real-time transmission module 230 is used to receive audio data input by the user in real time on the client and to transmit the audio data to each of the broadcasting devices in real time using the real-time transmission channel.
[0106] The data update module 240 is used to store the audio data when it receives the end-of-play instruction initiated by the client.
[0107] In the above embodiments, a platform service is used to enable real-time broadcasting between the client and multiple devices. This platform includes a business platform, a signaling service, a voice network management service, and a voice gateway. The business platform can respond to real-time broadcasting requests initiated by the client, obtain a list of multiple broadcasting devices to be broadcasted, and retrieve assembly parameters corresponding to the list from the voice network management service. Then, the signaling service sends the assembly parameters to each broadcasting device in the list. Based on the assembly parameters, the voice gateway establishes a real-time transmission channel between the client and each broadcasting device, so as to segment the broadcasting group according to the actual needs and select the devices to be broadcasted, thereby achieving intelligent distribution and precise delivery to the user. After receiving audio data input by the user on the client, this application can broadcast the audio data to each broadcasting device in real time through a real-time transmission channel, obtain the current broadcast details, and store the audio data and record the current broadcast details when it receives a stop broadcast command initiated by the client, so that the user can view the audio data content and broadcast details at any time, thereby ensuring the accurate delivery of the notification.
[0108] In one embodiment, the data acquisition module 210 may include:
[0109] The data analysis submodule is used to analyze the real-time broadcast requests initiated by the client using the business platform to determine the list of devices to be broadcast.
[0110] The connection information acquisition submodule is used to obtain voice gateway connection information and session ID from the voice gateway management service based on the list of devices to be broadcast.
[0111] The assembly parameter construction submodule is used to construct the assembly parameters corresponding to the list of devices to be broadcast based on the voice gateway connection information and the session ID.
[0112] In one embodiment, the data analysis submodule may include:
[0113] The data analysis unit is used to analyze the real-time broadcast requests initiated by the client using the business platform to determine the initial device list.
[0114] The data filtering unit is used to filter out the broadcasting devices that are in an idle state from the initial device list to form a list of devices to be broadcast.
[0115] In one embodiment, the transmission channel establishment module 220 may include:
[0116] The data delivery submodule is used to send the assembly parameters and the list of devices to be broadcast to the signaling service, so that the signaling service can send the assembly parameters to each broadcasting device in the list of devices to be broadcast.
[0117] The device connection submodule is used to trigger each broadcasting device to connect to the voice gateway based on the voice gateway connection information included in the assembly parameters.
[0118] The client connection submodule is used to return the assembly parameters to the client so that the client can connect to the voice gateway according to the voice gateway connection information.
[0119] The transmission channel establishment submodule is used to establish a real-time transmission channel between the client and each of the broadcasting devices based on the session ID after the client and each of the broadcasting devices are connected to the voice gateway.
[0120] In one embodiment, the data update module 240 may include:
[0121] The upload address acquisition submodule is used to obtain the upload address from the service platform using the voice gateway when it receives the end broadcast instruction initiated by the client to the voice gateway.
[0122] The resource upload submodule is used to upload the audio data to the resource pool based on the upload address.
[0123] In one embodiment, the apparatus may further include:
[0124] The broadcast data acquisition module is used to acquire the current broadcast data after receiving the end broadcast instruction initiated by the client to the voice gateway, and to report the current broadcast data to the service platform. The current broadcast data includes the current broadcast status, broadcast details and resource pool storage information of each device.
[0125] The broadcast data update module is used to record the current broadcast data using the business platform.
[0126] In one embodiment, this application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the device-linked real-time broadcasting method as described in any of the above embodiments.
[0127] In one embodiment, this application also provides a computer device storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the device-linked real-time broadcasting method as described in any of the above embodiments.
[0128] Indicatively, such as Figure 5 As shown, Figure 5 This is a schematic diagram of the internal structure of a computer device 300 provided in an embodiment of this application. The computer device 300 can be provided as a server. (Refer to...) Figure 5 The computer device 300 includes a processing component 302, which further includes one or more processors, and memory resources represented by memory 301 for storing instructions, such as application programs, that can be executed by the processing component 302. The application programs stored in memory 301 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 302 is configured to execute instructions to perform the device-linked real-time broadcasting method of any of the above embodiments.
[0129] The computer device 300 may also include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 may operate on an operating system stored in memory 301, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or similar.
[0130] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0131] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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 limitations, 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.
[0132] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.
[0133] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for real-time broadcasting in conjunction with equipment, characterized in that, The method includes: In response to a real-time broadcast request initiated by a client, a list of devices to be broadcast and assembly parameters corresponding to the list of devices to be broadcast are obtained, wherein the list of devices to be broadcast includes multiple broadcast devices; Based on the assembly parameters, a real-time transmission channel is established between the client and each broadcasting device; The system receives audio data input by the user in real time on the client and transmits the audio data to each of the broadcasting devices in real time using the real-time transmission channel. Upon receiving the end-of-play command initiated by the client, the audio data is stored; The step of responding to a real-time broadcast request initiated by the client and obtaining the list of devices to be broadcast and the assembly parameters corresponding to the list of devices to be broadcast includes: The business platform is used to analyze the real-time broadcast requests initiated by the client to determine the list of devices to be broadcast; Based on the list of devices to be broadcast, obtain the voice gateway connection information and session ID from the voice gateway management service; Based on the voice gateway connection information and the session ID, the assembly parameters corresponding to the list of devices to be broadcast are constructed; The process of establishing a real-time transmission channel between the client and each broadcasting device based on the assembly parameters includes: The assembly parameters and the list of devices to be broadcast are sent to the signaling service so that the signaling service can send the assembly parameters to each broadcasting device in the list of devices to be broadcast. Based on the voice gateway connection information included in the assembly parameters, each of the broadcasting devices is triggered to connect to the voice gateway; The assembly parameters are returned to the client so that the client can connect to the voice gateway according to the voice gateway connection information; Once the client and each of the broadcasting devices are connected to the voice gateway, a real-time transmission channel is established between the client and each of the broadcasting devices based on the session ID carried by the client and each of the broadcasting devices using the voice gateway.
2. The device linkage real-time broadcasting method according to claim 1, characterized in that, The step of using the business platform to perform data analysis on the real-time broadcast request to determine the list of devices to be broadcast includes: The business platform is used to analyze the real-time broadcast requests initiated by the client to determine the initial device list; The broadcasting devices that are idle are selected from the initial device list to form a list of devices to be broadcasted.
3. The device linkage real-time broadcasting method according to claim 1, characterized in that, The step of storing the audio data upon receiving the end-of-play command initiated by the client includes: When the client sends a stop broadcast command to the voice gateway, the system uses the voice gateway to obtain the upload address from the service platform. Based on the upload address, the audio data is uploaded to the resource pool for storage.
4. The device linkage real-time broadcasting method according to claim 1, characterized in that, The method further includes: After receiving the end broadcast instruction initiated by the client to the voice gateway, the system obtains the current broadcast data and reports the current broadcast data to the service platform. The current broadcast data includes the current broadcast status, broadcast details, and resource pool storage information of each device. The current broadcast data is recorded using the aforementioned business platform.
5. A device-linked real-time broadcasting device, characterized in that, include: The data acquisition module is used to respond to a real-time broadcast request initiated by the client, and to acquire a list of devices to be broadcast and assembly parameters corresponding to the list of devices to be broadcast, wherein the list of devices to be broadcast includes multiple broadcast devices; A transmission channel establishment module is used to establish a real-time transmission channel between the client and each broadcasting device based on the assembly parameters. The real-time transmission module receives audio data input by the user in real time on the client and transmits the audio data to each of the broadcasting devices in real time using the real-time transmission channel; The data update module is used to store the audio data when it receives the end-of-play instruction initiated by the client; The data acquisition module includes: The data analysis submodule is used to analyze the real-time broadcast requests initiated by the client using the business platform to determine the list of devices to be broadcast. The connection information acquisition submodule is used to obtain the voice gateway connection information and session ID from the voice gateway management service based on the list of devices to be broadcast; An assembly parameter construction module is used to construct assembly parameters corresponding to the list of devices to be broadcast based on the voice gateway connection information and the session ID. The transmission channel establishment module includes: The assembly parameters and the list of devices to be broadcast are sent to the signaling service so that the signaling service can send the assembly parameters to each broadcasting device in the list of devices to be broadcast. Based on the voice gateway connection information included in the assembly parameters, each of the broadcasting devices is triggered to connect to the voice gateway; The assembly parameters are returned to the client so that the client can connect to the voice gateway according to the voice gateway connection information; Once the client and each of the broadcasting devices are connected to the voice gateway, a real-time transmission channel is established between the client and each of the broadcasting devices based on the session ID carried by the client and each of the broadcasting devices using the voice gateway.
6. A storage medium, characterized in that: The storage medium stores computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the device-linked real-time broadcasting method as described in any one of claims 1 to 4.
7. A computer device, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the device-linked real-time broadcasting method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Audio playing method and display equipment
CN113794928A
Camera-based low-delay intelligent cloud broadcasting method
CN115134340A
KR1018680850000B1