An intelligent sound control method, system, terminal and storage medium

By using intelligent speaker control methods, the speaker control strategy is adjusted according to the current mode and user requests, which solves the problem of multi-person online interaction, realizes reasonable online connection and priority processing of multiple terminal devices, and improves the user experience.

CN116456243BActive Publication Date: 2025-11-25YUTIANXUN COMM TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310556224.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-16
Publication Date
2025-11-25
Estimated Expiration
2043-05-16

AI Technical Summary

Technical Problem

Existing audio equipment cannot meet the needs of multi-person online interaction scenarios, especially in scenarios such as parties, where it cannot effectively connect with multiple terminal devices.

Method used

By determining the current control mode of the audio system, and based on preset mode rules and user requests, the control mode is adjusted to allow multiple terminal devices to connect online, including reasonable allocation based on factors such as specified terminal priority and historical connection records.

Benefits of technology

It enables effective online interaction between multiple users and audio equipment, improving user experience and satisfaction, especially when there are many terminals, prioritizing connection to designated terminals or devices with frequent historical connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116456243B_ABST
    Figure CN116456243B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of audio equipment, in particular to a smart sound control method and system, a terminal and a storage medium, which comprises the following steps: judging whether an online request sent by a plurality of target terminals is received; if the online request sent by the plurality of target terminals is received, obtaining a current control mode of a target sound; judging whether the current control mode is a target control mode; if the current control mode is the target control mode, controlling the target sound and the target terminal to be online based on a preset mode rule; if the current control mode is not the target control mode, judging whether a mode changing request is obtained; if the mode changing request is received, changing the current control mode based on the mode changing request, and controlling the target sound and the target terminal to be online based on the preset mode rule. The application helps multiple people to interact with the sound online.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of audio equipment technology, and in particular to a smart speaker control method, system, terminal and storage medium. Background Technology

[0002] With the development of productivity and the improvement of living standards, enriching spiritual life has become an increasingly fervent desire of people. Music is undoubtedly one of the important ways for people to enrich their spiritual life, and audio equipment, as an audio playback device, has gradually become a necessity in people's daily lives.

[0003] The development of modern audio equipment is gradually trending towards intelligence, digitalization, and specialization. However, existing audio equipment on the market often only allows for connection and interaction with one or two target terminals. This is insufficient when multiple people need to connect with the audio equipment during parties or other scenarios. Summary of the Invention

[0004] To facilitate online interaction between multiple users and a speaker, this application provides a smart speaker control method, system, terminal, and storage medium.

[0005] Firstly, this application provides a smart speaker control method, which adopts the following technical solution:

[0006] A method for controlling a smart speaker, comprising:

[0007] Determine whether multiple connection requests have been received from target terminals;

[0008] If multiple connection requests are received from the target terminals, the current control mode of the target speaker is obtained.

[0009] Determine whether the current control mode is the target control mode;

[0010] If the current control mode is the target control mode, then the target speaker and the target terminal are connected based on the preset mode rules;

[0011] If the current control mode is not the target control mode, then determine whether a mode change request has been obtained;

[0012] If the mode change request is received, the current control mode is changed based on the mode change request;

[0013] Based on the preset mode rules, the target speaker is controlled to connect to the target terminal.

[0014] By adopting the above technical solution, when multiple connection requests from target terminals are received, the current control mode of the target speaker is first obtained. It is then determined whether the current control mode is the target control mode. If so, it indicates that the current control mode has been adjusted to the target control mode. The number of target terminals that can connect to the target speaker under the target control mode can be determined according to preset mode rules. The target speaker is then controlled to connect and interact with no more than that number of target terminals. If the current control mode is not the target control mode, it indicates that the current control mode is the default control mode. Therefore, it is necessary to further determine whether a mode change request has been received. If so, it indicates that the user wants the target speaker to connect and interact with more target terminals. Therefore, the current control mode is changed according to the mode change request, changing the current control mode from the default mode to the target control mode. The target speaker is then controlled to connect and interact with no more than that number of target terminals. By setting the target control mode, when the current control mode is the target control mode, the target speaker is allowed to connect with multiple target terminals, thus facilitating connection and interaction between multiple users and the speaker.

[0015] Optionally, if the current control mode is the target control mode, the specific steps for controlling the connection between the target speaker and the target terminal based on preset mode rules include:

[0016] If the current control mode is the target control mode, then obtain the target number corresponding to the target terminal;

[0017] Based on the preset pattern rules, determine whether the target quantity exceeds the preset quantity threshold corresponding to the target pattern;

[0018] If the target quantity does not exceed the preset quantity threshold, then the target speaker is connected to the target terminal based on the preset mode rules;

[0019] If the target number exceeds the preset number threshold, then it is determined whether a specified terminal exists among the target terminals;

[0020] If the designated terminal exists among the target terminals, then the target speaker is connected to the target terminal based on the designated terminal and the preset mode rules.

[0021] By adopting the above technical solution, it is determined whether the number of targets exceeds the preset number threshold corresponding to the target mode. If it does not exceed the threshold, it means that the number of targets corresponding to the target terminal does not exceed the maximum number of connections allowed by the target control mode. Therefore, the target speaker can be directly connected to all target terminals according to the preset mode rules. If it exceeds the threshold, it means that the number of targets corresponding to the target terminal has exceeded the maximum number of connections allowed by the target control mode. Therefore, the target speaker cannot be connected to all target terminals. Therefore, it is further determined whether there is a designated terminal. If there is, it means that among all target terminals, there is a target terminal that the user has specified must be connected or allowed to be connected first. Therefore, it is necessary to prioritize connecting the target speaker to the designated terminal, which helps to reduce the occurrence of the target speaker failing to connect to the designated terminal due to too many terminals.

[0022] Optionally, after determining whether a specified terminal exists among the target terminals if the target number exceeds the preset number threshold, the method further includes:

[0023] If the specified terminal is not among the target terminals, then the connection priority level of the target terminal is obtained;

[0024] Sort the connection priority levels to generate a connection level list;

[0025] Based on the connection priority list, determine whether there are multiple target terminals with the same connection priority level;

[0026] If there are no multiple target terminals with the same connection priority level, the connection between the target speaker and the target terminal is controlled based on the connection level list and the preset mode rules.

[0027] By adopting the above technical solution, if no specified terminal is found among the target terminals, it indicates that no user-specified target terminal is required to connect or is allowed priority connection. Therefore, it is necessary to further obtain the connection priority level of the target terminals and determine whether there are multiple target terminals with the same connection priority level. If there are no multiple target terminals with the same connection priority level, it indicates that the connection priority levels of all target terminals in the connection priority list are arranged in order of size and are all different. Therefore, the target speaker can be directly connected to the target terminal with the highest connection priority level according to the connection priority list and the preset mode rules. This not only helps multiple people to connect and interact with the speaker, but also helps the target terminal with the higher connection priority level to connect with the target speaker first.

[0028] Optionally, after determining whether there are multiple target terminals with the same connection priority level based on the connection priority list, the method further includes:

[0029] If there are multiple target terminals with the same connection priority level, then the target terminals corresponding to the same connection priority level are designated as special terminals.

[0030] Determine whether there is a special historical connection record corresponding to the special terminal;

[0031] If the special historical connection record exists, then the historical connection count of different special terminals is obtained based on the special historical connection record;

[0032] The connection between the target speaker and the target terminal is controlled based on the historical number of connections, the connection level list, and the preset mode rules.

[0033] By adopting the above technical solution, if there are multiple target terminals with the same connection priority level, it indicates that there are multiple target terminals with the same connection priority level in the connection priority list. To facilitate differentiation, target terminals with the same connection priority level are set as special terminals, and it is determined whether there is a special historical connection record corresponding to the special terminal. If there is, it indicates that the special terminal has connected with the target speaker before. Therefore, by obtaining the historical connection counts of different special terminals and controlling the target speaker to connect with special terminals with a larger historical connection count, it is not only helpful for multiple people to connect and interact with the speaker, but also helps target terminals with earlier receiving time nodes to connect with the target speaker first.

[0034] Optionally, after determining whether a special historical online record corresponding to the special terminal exists, the method further includes:

[0035] If no special historical connection record exists, then obtain the receiving time node of the connection request sent by different target terminals;

[0036] The received time nodes are sorted to generate a time sorting list;

[0037] The target speaker and the target terminal are connected based on the time sorting list, the connection level list, and the preset mode rules.

[0038] By adopting the above technical solution, if there is no special historical connection record, it indicates that the special terminal has never connected with the target speaker. Therefore, it is necessary to further obtain the receiving time nodes of the connection requests sent by different target terminals, sort the receiving time nodes to generate a time sorting list, and then directly control the target speaker to connect with the target terminal with the earlier receiving time node according to the preset mode rules based on the time sorting list.

[0039] Optionally, if the designated terminal exists among the target terminals, the specific steps for controlling the connection between the target speaker and the target terminal based on the designated terminal and the preset mode rules include:

[0040] If the specified terminal exists among the target terminals, then the number of the specified terminal is obtained;

[0041] Determine whether the number of terminals exceeds the preset number threshold;

[0042] If the number of terminals does not exceed the preset number threshold, the target speaker is connected to the target terminal based on the designated terminal, the preset mode rule, and the preset connection rule.

[0043] By adopting the above technical solution, if a specified terminal exists among the target terminals, it indicates that among all target terminals, there is a target terminal that the user has specified must connect or is allowed to connect first. The number of specified terminals is then obtained, and it is determined whether this number exceeds a preset threshold. If it does not exceed the threshold, it indicates that the number of specified terminals does not exceed the maximum number of connections allowed by the preset control rules. Therefore, according to the preset connection rules, the target speaker is prioritized to connect with the specified terminal. Then, according to the remaining number of connections allowed by the preset control rules, the target speaker is further controlled to connect with the target terminal. This not only facilitates online interaction between multiple users and the speaker but also helps to prioritize the connection between the target speaker and the specified terminal, improving user satisfaction.

[0044] Optionally, after determining whether the number of terminals exceeds a preset threshold, the method further includes:

[0045] If the number of terminals exceeds the preset number threshold, then the specified level of the specified terminal is obtained;

[0046] Sort the specified levels to generate a list of specified levels;

[0047] Based on the specified level list and the preset mode rules, the target speaker is controlled to connect to the specified terminal.

[0048] By adopting the above technical solution, if the number of terminals exceeds the preset threshold, it indicates that the number of specified terminals exceeds the maximum number of connections allowed by the preset control rules. Therefore, it is not possible to control the target speaker to connect with all specified terminals. Thus, it is necessary to further obtain the specified level of the specified terminals, sort the specified levels, generate a specified level list, and finally control the target speaker to connect with the target terminals ranked higher in the specified level list according to the preset mode rules. This not only helps multiple people to connect and interact with the speaker, but also helps to prioritize the connection between the target speaker and the specified terminals with higher specified levels, reducing the occurrence of specified terminals with higher specified levels failing to connect with the target speaker, thereby helping to improve user satisfaction.

[0049] Secondly, this application also discloses an intelligent audio control system, which adopts the following technical solution:

[0050] A smart speaker control system, comprising:

[0051] The first judgment module is used to determine whether multiple online requests from target terminals have been received;

[0052] If the first acquisition module receives the connection request sent by multiple target terminals, the first acquisition module is used to acquire the current control mode of the target speaker.

[0053] The second judgment module is used to determine whether the current control mode is the target control mode;

[0054] If the current control mode is the target control mode, the first connection module is used to control the connection between the target speaker and the target terminal based on preset mode rules.

[0055] If the current control mode is not the target control mode, the second acquisition module is used to determine whether a mode change request has been acquired.

[0056] If the mode change request is received, the replacement module is used to change the current control mode based on the mode change request.

[0057] The second connection module controls the connection between the target speaker and the target terminal based on the preset mode rules.

[0058] By adopting the above technical solution, when multiple connection requests from target terminals are received, the current control mode of the target speaker is first obtained. It is then determined whether the current control mode is the target control mode. If so, it indicates that the current control mode has been adjusted to the target control mode. The number of target terminals that can connect to the target speaker under the target control mode can be determined according to preset mode rules. The target speaker is then controlled to connect and interact with no more than that number of target terminals. If the current control mode is not the target control mode, it indicates that the current control mode is the default control mode. Therefore, it is necessary to further determine whether a mode change request has been received. If so, it indicates that the user wants the target speaker to connect and interact with more target terminals. Therefore, the current control mode is changed according to the mode change request, changing the current control mode from the default mode to the target control mode. The target speaker is then controlled to connect and interact with no more than that number of target terminals. By setting the target control mode, when the current control mode is the target control mode, the target speaker is allowed to connect with multiple target terminals, thus facilitating connection and interaction between multiple users and the speaker.

[0059] Thirdly, the computer device provided in this application adopts the following technical solution:

[0060] A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can run on the processor, and when the processor loads the computer program, it executes the method of the first aspect.

[0061] Fourthly, the computer-readable storage medium provided in this application adopts the following technical solution:

[0062] A computer-readable storage medium storing a computer program, which, when loaded by a processor, executes the method of the first aspect.

[0063] In summary, this application includes the following beneficial technical effects:

[0064] When multiple connection requests are received from target terminals, the system first obtains the current control mode of the target speaker and determines whether it is the target control mode. If so, it indicates that the current control mode has been adjusted to the target control mode. Based on preset mode rules, the number of target terminals that can connect to the target speaker under the target control mode is determined, and the target speaker is then controlled to connect and interact with no more than that number of target terminals. If the current control mode is not the target control mode, it indicates that the current control mode is the default control mode. Therefore, it is necessary to further determine whether a mode change request has been received. If so, it indicates that the user wants the target speaker to connect and interact with more target terminals. Therefore, the current control mode is changed according to the mode change request, from the default mode to the target control mode, and then the target speaker is controlled to connect and interact with no more than that number of target terminals. By setting the target control mode, when the current control mode is the target control mode, the target speaker is allowed to connect to multiple target terminals, thus facilitating multi-user interaction with the speaker. Attached Figure Description

[0065] Figure 1 This is a main flowchart of a smart speaker control method according to an embodiment of this application;

[0066] Figure 2 This is a flowchart of steps S201 to S205;

[0067] Figure 3 This is a flowchart of steps S301 to S304;

[0068] Figure 4 This is a flowchart of steps S401 to S404;

[0069] Figure 5 This is a flowchart of steps S501 to S503;

[0070] Figure 6 This is a flowchart of steps S601 to S603;

[0071] Figure 7 This is a flowchart of steps S701 to S703;

[0072] Figure 8 This is a block diagram of an intelligent audio control system according to an embodiment of this application.

[0073] Explanation of reference numerals in the attached figures:

[0074] 1. First judgment module; 2. First acquisition module; 3. Second judgment module; 4. First connection module; 5. Second acquisition module; 6. Replacement module; 7. Second connection module. Detailed Implementation

[0075] Firstly, this application discloses a method for controlling an intelligent speaker.

[0076] Reference Figure 1 A smart speaker control method includes steps S101 to S107:

[0077] Step S101: Determine whether multiple online requests from target terminals have been received.

[0078] Specifically, in this embodiment, when a user wants to connect their device terminal to a target speaker, they need to send a connection request to the target speaker. Connection to the target speaker is only possible if the connection request is approved. The target speaker is the speaker that the user wants to connect to through their terminal device. The device terminal can be a mobile phone, tablet, computer, etc. The target terminal is the device terminal that sent the connection request to the target speaker. The connection request is an instruction sent by the device terminal to the target speaker to request connection. It can be a fixed instruction or a dynamic instruction, etc.

[0079] When only one connection request is received from a target terminal, if the request is approved, the target speaker is controlled to connect directly to the target terminal; if no connection request is received, step S101 is re-executed after a preset time interval. In this embodiment, the preset time interval can be 5 seconds or other times.

[0080] Step S102: If multiple connection requests are received from target terminals, the current control mode of the target speaker is obtained.

[0081] Specifically, in this embodiment, the current control mode is the current control mode of the target speaker. The target speaker includes multiple control modes, such as the default control mode, conference control mode, and party control mode. Different control modes allow different maximum number of terminals to connect. For example, the default control mode allows a maximum of 1 target terminal to connect with the target speaker, the conference control mode allows a maximum of 20 target terminals to connect with the target speaker, and the party control mode allows a maximum of 50 target terminals to connect with the target speaker.

[0082] Step S103: Determine whether the current control mode is the target control mode.

[0083] Specifically, in this embodiment, the target control mode is a control mode other than the default control mode that is preset by the user, such as a conference control mode or a queuing control mode. It is worth noting that in this embodiment, the target control mode allows a maximum number of terminals to be connected that is greater than 1.

[0084] Step S104: If the current control mode is the target control mode, then control the connection between the target speaker and the target terminal based on the preset mode rules.

[0085] Specifically, in this embodiment, the preset mode rules are the control rules for different control modes of the target speaker, including the maximum number of connected devices allowed for the target speaker under different control modes. The preset mode rules are pre-set and stored in the intelligent speaker control system.

[0086] If the current control mode is the target control mode, it means that the target speaker can be connected to multiple target terminals under the current control mode. For example, when the target control mode is the party control mode, the maximum number of target speakers allowed to be connected is 50, according to the preset mode rules. Therefore, the target speaker should be controlled to connect to no more than 50 target terminals.

[0087] Step S105: If the current control mode is not the target control mode, determine whether a mode change request has been obtained.

[0088] Specifically, in this embodiment, if the current control mode is not the target control mode, it indicates that the current control mode is the default target mode, and the target speaker can only connect to one target terminal. Therefore, it is necessary to determine whether a mode change request has been obtained.

[0089] A mode change request is a request instruction to change the current control mode to the target control mode. It is worth noting that users include ordinary users and management users. After connecting to the target speaker, ordinary users can only use the target speaker within a certain range, such as playing audio files. Management users have all management permissions for the target speaker. In this embodiment, only management users can send mode change requests to the target speaker.

[0090] Step S106: If a mode change request is received, the current control mode is changed based on the mode change request.

[0091] Specifically, in this embodiment, the mode change request includes the control mode to be changed, so the mode can be changed directly to the control mode required by the management user according to the mode change request; if no mode change request is received, the current mode is maintained.

[0092] Step S107: Based on preset mode rules, control the connection between the target speaker and the target terminal.

[0093] Specifically, in this embodiment, after changing the current control mode to the target control mode, the target speaker and the target terminal can be connected in the manner described in step S104.

[0094] The intelligent speaker control method provided in this embodiment, when receiving connection requests from multiple target terminals, first obtains the current control mode of the target speaker, determines whether the current control mode is the target control mode, and if so, indicates that the current control mode has been adjusted to the target control mode. Then, according to the preset mode rules, the number of target terminals that can connect with the target speaker under the target control mode is obtained, and then the target speaker is controlled to connect and interact with no more than that number of target terminals.

[0095] If the current control mode is not the target control mode, it indicates that the current control mode is the default control mode. Therefore, it is necessary to further determine whether a mode change request has been received. If received, it means that the user wants the target speaker to connect and interact with more target terminals. Therefore, the current control mode is changed according to the mode change request. After changing the current control mode from the default mode to the target control mode, the target speaker is then controlled to connect and interact with no more than that number of target terminals. By setting the target control mode, when the current control mode is the target control mode, the target speaker is allowed to connect and interact with multiple target terminals, thus facilitating online interaction between multiple people and the speaker.

[0096] Reference Figure 2 In one embodiment of this example, if the current control mode is the target control mode in step S104, the specific steps for controlling the connection between the target speaker and the target terminal based on the preset mode rules include steps S201 to S205:

[0097] Step S201: If the current control mode is target control mode, then obtain the number of targets corresponding to the target terminals.

[0098] Specifically, in this embodiment, the target number refers to the number of target terminals.

[0099] Step S202: Based on the preset pattern rules, determine whether the target quantity exceeds the preset quantity threshold corresponding to the target pattern.

[0100] Specifically, in this embodiment, the preset quantity threshold is the maximum allowed number of online connections pre-set in the target control mode.

[0101] Step S203: If the number of targets does not exceed the preset number threshold, then control the connection between the target speaker and the target terminal based on the preset mode rules.

[0102] Specifically, in this embodiment, if the number of targets does not exceed the preset threshold, it indicates that the total number of all target terminals still does not exceed the maximum number of connections allowed by the target control mode. Therefore, the target audio can be directly connected to all target terminals.

[0103] Step S204: If the number of targets exceeds the preset number threshold, determine whether the specified terminal exists among the target terminals.

[0104] Specifically, in this embodiment, the designated terminal is the target terminal that the management user pre-specifies as either required to connect or allowed to connect preferentially. It is worth noting that if a designated terminal exists, it is necessary to control the target speaker to connect to the designated terminal preferentially.

[0105] Step S205: If a specified terminal exists in the target terminal, then control the connection between the target speaker and the target terminal based on the specified terminal and the preset mode rules.

[0106] The intelligent speaker control method provided in this embodiment determines whether the number of targets exceeds the preset number threshold corresponding to the target mode. If it does not exceed the threshold, it indicates that the number of targets corresponding to the target terminals does not exceed the maximum number of connections allowed by the target control mode. Therefore, the target speaker can be directly connected to all target terminals according to the preset mode rules.

[0107] If the number of targets exceeds the limit, it indicates that the number of targets corresponding to the target terminal has exceeded the maximum number of connections allowed by the target control mode. Therefore, the target speaker cannot be connected to all target terminals. Therefore, it is necessary to further determine whether there is a designated terminal. If there is, it indicates that among all target terminals, there are target terminals that the user has specified must be connected or allowed to be connected first. Therefore, the target speaker needs to be connected to the designated terminal first, which helps to reduce the occurrence of situations where the target speaker fails to connect to the designated terminal due to too many terminals.

[0108] Reference Figure 3 In one embodiment of this example, if the target number exceeds a preset threshold in step S204, then after determining whether a specified terminal exists among the target terminals, steps S301 to S304 are further included:

[0109] Step S301: If the specified terminal does not exist in the target terminal, obtain the connection priority level of the target terminal.

[0110] Specifically, in this embodiment, the connection priority level is the priority level when the target speaker connects to the target terminal, such as level one, level two, and level three, etc., where the priority order is level three > level two > level one, or other levels. The connection priority level can be set by the management user for the device terminal after the ordinary user sends a connection request through the device terminal, or it can be set by the intelligent speaker control system according to preset standards; for example, when the current control mode is party control mode, the party process is stored in the intelligent speaker control system in advance, the importance of the target terminal is determined according to the party process, and then the connection priority level is set according to the importance.

[0111] Step S302: Sort the connection priority levels and generate a connection level list.

[0112] Specifically, in this embodiment, the connection priority list is a list generated by arranging the connection priority levels in descending order.

[0113] Step S303: Based on the online priority list, determine whether there are multiple target terminals with the same online priority level.

[0114] Specifically, in this embodiment, determining whether there are multiple target terminals with the same connection priority level means determining whether there are multiple target terminals with the same connection priority level in the connection priority list. For example, if there are two target terminals in the connection priority list whose connection priority level is level three, it indicates that there are multiple target terminals with the same connection priority level.

[0115] Step S304: If there are no multiple target terminals with the same connection priority level, then control the connection between the target speaker and the target terminal based on the connection level list and preset mode rules.

[0116] Specifically, in this embodiment, if there are no multiple target terminals with the same connection priority level, it means that the terminal levels of all target terminals are arranged in descending order, and all terminal levels are different.

[0117] The intelligent speaker control method provided in this embodiment, if no specified terminal is found among the target terminals, indicates that no user-specified target terminal is required to connect or is allowed to connect preferentially. Therefore, it is necessary to further obtain the connection priority level of the target terminal and determine whether there are multiple target terminals with the same connection priority level. If there are no multiple target terminals with the same connection priority level, it indicates that the connection priority levels of all target terminals in the connection priority list are arranged in order of size and are all different. Therefore, the target speaker can be directly connected to the target terminal with the highest connection priority level according to the connection priority list and the preset mode rules. This not only helps multiple people to connect and interact with the speaker, but also helps the target terminal with the higher connection priority level to connect with the target speaker preferentially.

[0118] Reference Figure 4 In one embodiment of this example, step S303, based on the connection priority list, determines whether there are multiple target terminals with the same connection priority level. The specific steps include steps S401 to S404:

[0119] Step S401: If there are multiple target terminals with the same connection priority level, then the target terminals corresponding to the same connection priority level are designated as special terminals.

[0120] Specifically, in this embodiment, a special terminal is a target terminal corresponding to the same connection priority level. For example, if target terminal A and target terminal B both correspond to connection priority level three, then target terminal A and target terminal B are both special terminals.

[0121] Step S402: Determine whether there is a special historical connection record corresponding to the special terminal.

[0122] Specifically, in this embodiment, the special historical connection record is the connection record associated with the special terminal stored in the intelligent speaker control system.

[0123] Step S403: If there are special historical connection records, obtain the historical connection counts of different special terminals based on the special historical connection records.

[0124] Specifically, in this embodiment, the historical connection count refers to the number of connections made by a specific terminal in the special historical connection record.

[0125] Step S404: Control the connection between the target speaker and the target terminal based on the historical number of connections, the list of connection levels, and the preset mode rules.

[0126] Specifically, in this embodiment, the target speaker and the target terminal are connected sequentially according to the order of connection level. When there is a special terminal, the target speaker and the target terminal are connected sequentially according to the order of historical connection count. The total number of connections cannot exceed a preset threshold.

[0127] The intelligent speaker control method provided in this embodiment, if there are multiple target terminals with the same connection priority level, indicates that there are multiple target terminals with the same connection priority level in the connection priority list. To facilitate differentiation, target terminals with the same connection priority level are set as special terminals, and it is determined whether there is a special historical connection record corresponding to the special terminal. If there is, it indicates that the special terminal has previously connected with the target speaker. Therefore, the historical connection counts of different special terminals are obtained, and the target speaker is controlled to prioritize connecting with special terminals with a larger historical connection count. This not only helps multiple people to connect and interact with the speaker, but also helps target terminals with earlier receiving time nodes to prioritize connecting with the target speaker.

[0128] Reference Figure 5 In one embodiment of this example, after determining in step S402 whether there is a special historical connection record corresponding to a special terminal, steps S501 to S503 are further included:

[0129] Step S501: If there is no special historical connection record, obtain the receiving time node of the connection request sent by different target terminals.

[0130] Specifically, in this embodiment, the receiving time node is the time node when the audio control system receives the connection requests sent by different target terminals.

[0131] Step S502: Sort the received time nodes to generate a time sorting list.

[0132] Specifically, in this embodiment, the time sorting list is a list generated by arranging the receiving time nodes in chronological order. In this embodiment, the receiving time nodes are arranged in order from first to last.

[0133] Step S503: Control the connection between the target speaker and the target terminal based on the time sorting list, the connection level list, and the preset mode rules.

[0134] Specifically, in this embodiment, the target speaker and the target terminal are connected sequentially according to the connection level from highest to lowest. When there is a special terminal, the target speaker and the target terminal are connected sequentially according to the receiving time node from first to last. The total number of connections cannot exceed the preset threshold.

[0135] If the intelligent speaker control method provided in this embodiment does not have a special historical connection record, it indicates that the special terminal has never connected with the target speaker. Therefore, it is necessary to further obtain the receiving time nodes of the connection requests sent by different target terminals, sort the receiving time nodes to generate a time sorting list, and then directly control the target speaker to connect with the target terminal with the earlier receiving time node according to the time sorting list and the preset mode rules.

[0136] Reference Figure 6 In one embodiment of this example, if a designated terminal exists in the target terminal in step S205, the specific steps for controlling the connection between the target speaker and the target terminal based on the designated terminal and preset mode rules include steps S601 to S603:

[0137] Step S601: If a specified terminal exists in the target terminal, then obtain the number of terminals in the specified terminal.

[0138] Specifically, in this embodiment, the number of terminals refers to the number of specified terminals.

[0139] Step S602: Determine whether the number of terminals exceeds the preset number threshold.

[0140] Step S603: If the number of terminals does not exceed the preset number threshold, then control the connection between the target speaker and the target terminal based on the specified terminal, preset mode rules and preset connection rules.

[0141] Specifically, in this embodiment, the preset connection rule is a pre-set connection rule when the number of targets exceeds a preset threshold and the number of terminals does not exceed the preset threshold. In this embodiment, the target speaker is controlled to connect with the designated terminals first. After the target speaker has connected with all designated terminals, the target speaker is controlled to connect with the target terminals. For example, when the current control mode is party control mode, the preset threshold is 50. If the number of designated terminals is 10, then after controlling the target terminal to connect with the 10 designated terminals, the target speaker is controlled to connect with the 40 target terminals.

[0142] The intelligent speaker control method provided in this embodiment, if a designated terminal exists among the target terminals, indicates that among all target terminals, there is a target terminal that the user has specified must connect or is allowed to connect first. The method further obtains the number of designated terminals and determines whether this number exceeds a preset threshold. If it does not exceed the threshold, it indicates that the number of designated terminals does not exceed the maximum number of connections allowed by the preset control rules. Therefore, according to the preset connection rules, the target speaker is prioritized to connect with the designated terminal. Then, according to the remaining number of connections allowed by the preset control rules, the target speaker is further controlled to connect with the target terminal. This not only facilitates online interaction between multiple users and the speaker but also helps to prioritize the connection between the target speaker and the designated terminal, improving user satisfaction.

[0143] Reference Figure 7 In one embodiment of this example, step S602: determining whether the number of terminals exceeds a preset threshold includes steps S701 to S703:

[0144] Step S701: If the number of terminals exceeds the preset threshold, obtain the specified level of the specified terminal.

[0145] Specifically, in this embodiment, the designated level refers to the priority level of the connection between the designated terminal and the target speaker. It is worth noting that the designated level is the level set by the management user for each designated terminal, which can be level one, level two, and level three, etc., with the order of the designated levels being level three > level two > level one.

[0146] Step S702: Sort the specified levels to generate a list of specified levels.

[0147] Specifically, in this embodiment, the specified level list is a list generated by arranging the specified levels in descending order.

[0148] Step S703: Based on the specified level list and preset mode rules, control the target speaker to connect to the specified terminal.

[0149] The intelligent speaker control method provided in this embodiment indicates that if the number of terminals exceeds a preset threshold, it means that the number of specified terminals exceeds the maximum number of connections allowed by the preset control rules. Therefore, it is not possible to control the target speaker to connect with all specified terminals. Thus, it is necessary to further obtain the specified level of the specified terminals, sort the specified levels, generate a specified level list, and finally control the target speaker to connect with the target terminals ranked higher in the specified level list according to the preset mode rules. This not only helps multiple people to connect and interact with the speaker, but also helps to prioritize the connection between the target speaker and the specified terminals with higher specified levels, reducing the occurrence of specified terminals with higher specified levels failing to connect with the target speaker, thereby helping to improve user satisfaction.

[0150] Secondly, this application also discloses an intelligent audio control system.

[0151] Reference Figure 8 A smart speaker control system, comprising:

[0152] The first judgment module 1 is used to determine whether multiple online requests from target terminals have been received;

[0153] If the first acquisition module 2 receives connection requests from multiple target terminals, the first acquisition module 2 is used to acquire the current control mode of the target speaker.

[0154] The second judgment module 3 is used to determine whether the current control mode is the target control mode;

[0155] First connection module 4, if the current control mode is target control mode, is used to control the connection between the target speaker and the target terminal based on preset mode rules;

[0156] If the current control mode is not the target control mode, the second acquisition module 5 is used to determine whether a mode change request has been acquired.

[0157] Replacement module 6: If a mode change request is received, replacement module 6 is used to change the current control mode based on the mode change request.

[0158] The second connection module 7, based on preset mode rules, controls the connection between the target speaker and the target terminal.

[0159] Thirdly, this application discloses a smart terminal, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor loads the computer program, it executes a smart speaker control method according to the above embodiment.

[0160] Fourthly, embodiments of this application disclose a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is loaded by a processor, it executes a smart speaker control method of the above embodiments.

[0161] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A method for controlling an intelligent speaker, characterized in that, include: Determine whether multiple connection requests have been received from target terminals; If multiple connection requests are received from the target terminals, the current control mode of the target speaker is obtained. Determine whether the current control mode is the target control mode; If the current control mode is the target control mode, then the target speaker and the target terminal are connected based on the preset mode rules; If the current control mode is the target control mode, the specific steps for controlling the connection between the target speaker and the target terminal based on the preset mode rules include: If the current control mode is the target control mode, then obtain the target number corresponding to the target terminal; Based on the preset mode rules, determine whether the target quantity exceeds the preset quantity threshold corresponding to the target control mode; If the target quantity does not exceed the preset quantity threshold, then the target speaker is connected to the target terminal based on the preset mode rules; If the target number exceeds the preset number threshold, then it is determined whether a specified terminal exists among the target terminals; If the target terminal exists in the specified terminal, then the target speaker is connected to the target terminal based on the specified terminal and the preset mode rules; If the current control mode is not the target control mode, then determine whether a mode change request has been obtained; If the mode change request is received, the current control mode is changed based on the mode change request; Based on the preset mode rules, the target speaker is controlled to connect to the target terminal.

2. The intelligent speaker control method according to claim 1, characterized in that, After determining whether a specified terminal exists among the target terminals if the target number exceeds the preset number threshold, the method further includes: If the specified terminal is not among the target terminals, then the connection priority level of the target terminal is obtained; Sort the connection priority levels to generate a connection level list; Based on the connection priority list, determine whether there are multiple target terminals with the same connection priority level; If there are no multiple target terminals with the same connection priority level, the connection between the target speaker and the target terminal is controlled based on the connection level list and the preset mode rules.

3. The intelligent speaker control method according to claim 2, characterized in that, After determining whether multiple target terminals with the same connection priority level exist based on the connection priority list, the method further includes: If there are multiple target terminals with the same connection priority level, then the target terminals corresponding to the same connection priority level are designated as special terminals. Determine whether there is a special historical connection record corresponding to the special terminal; If the special historical connection record exists, then the historical connection count of different special terminals is obtained based on the special historical connection record; The connection between the target speaker and the target terminal is controlled based on the historical number of connections, the connection level list, and the preset mode rules.

4. The intelligent speaker control method according to claim 3, characterized in that, After determining whether a special historical connection record corresponding to the special terminal exists, the method further includes: If no special historical connection record exists, then obtain the receiving time node of the connection request sent by different target terminals; The received time nodes are sorted to generate a time sorting list; The target speaker and the target terminal are connected based on the time sorting list, the connection level list, and the preset mode rules.

5. The intelligent speaker control method according to claim 1, characterized in that, If the target terminal contains the specified terminal, the specific steps for controlling the connection between the target speaker and the target terminal based on the specified terminal and the preset mode rules include: If the specified terminal exists among the target terminals, then the number of terminals in the specified terminal is obtained; Determine whether the number of terminals exceeds the preset number threshold; If the number of terminals does not exceed the preset number threshold, the target speaker is connected to the target terminal based on the designated terminal, the preset mode rule, and the preset connection rule.

6. The intelligent speaker control method according to claim 5, characterized in that, After determining whether the number of terminals exceeds a preset threshold, the method further includes: If the number of terminals exceeds the preset number threshold, then the specified level of the specified terminal is obtained; Sort the specified levels to generate a list of specified levels; Based on the specified level list and the preset mode rules, the target speaker is controlled to connect to the specified terminal.

7. An intelligent audio control system, characterized in that, include: The first judgment module (1) is used to determine whether multiple online requests sent by target terminals have been received; If the first acquisition module (2) receives the connection request sent by multiple target terminals, the first acquisition module (2) is used to acquire the current control mode of the target audio. The second judgment module (3) is used to determine whether the current control mode is the target control mode; The first connection module (4) is used to control the connection between the target speaker and the target terminal based on the preset mode rules if the current control mode is the target control mode. The first online module (4) includes: If the current control mode is the target control mode, then obtain the target number corresponding to the target terminal; Based on the preset mode rules, determine whether the target quantity exceeds the preset quantity threshold corresponding to the target control mode; If the target quantity does not exceed the preset quantity threshold, then the target speaker is connected to the target terminal based on the preset mode rules; If the target number exceeds the preset number threshold, then it is determined whether a specified terminal exists among the target terminals; If the target terminal exists in the specified terminal, then the target speaker is connected to the target terminal based on the specified terminal and the preset mode rules; If the current control mode is not the target control mode, the second acquisition module (5) is used to determine whether a mode change request has been obtained. If the mode change request is received, the replacement module (6) is used to change the current control mode based on the mode change request. The second connection module (7) controls the connection between the target speaker and the target terminal based on the preset mode rules.

8. A smart terminal, comprising a memory and a processor, characterized in that, The memory is used to store computer programs that can run on the processor, and when the processor loads the computer program, it executes the method of any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is loaded by the processor, it executes the method of any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent sound box, instruction processing method thereof and computer readable storage medium

    CN110267151A

  • Request processing method and device, electronic equipment and storage medium

    CN115051910A