Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The method and the device are mainly applied to a scene of waking up any terminal in a terminal networking in a voice mode, wherein the terminal networking can comprise a network composed of at least two intelligent devices, for example, a plurality of intelligent home devices (such as intelligent refrigerators, intelligent air conditioners, intelligent sound boxes and the like) are bound under the same millet account, networking can be performed when the plurality of intelligent home devices are in a networking state, and when a user wants to control a certain terminal in the terminal networking through voice, the terminal can be waken up through speaking a wake-up word.
At present, after a user inputs wake-up audio, a method of screening intelligent devices closest to the user from a plurality of intelligent devices to respond to user instructions is common, and a current nearby wake-up decision is generally a distributed decision, in the distributed decision, as each device in a terminal networking can perform wake-up decision, different wake-up decision results can occur due to influence of a wake-up engine and a network environment, so that simultaneous wake-up is caused, and a situation that multiple devices respond to the user occurs. In the related art, in order to avoid the problem of simultaneous wake-up, a centralized decision mode is adopted, a third party cloud device is selected as a central control device in the centralized decision mode, and the central control device determines a terminal to be responded according to a wake-up message sent by at least one device in a terminal networking, so that although the problem of simultaneous wake-up can be solved, additional devices are required to be added as the central control device, the technical requirements and the device cost are improved, and because the device wake-up engines are different, or the network is unstable, the intelligent device sends the wake-up message to the central control device, or the time delay for receiving the wake-up message from the central control device is uncertain, the response time delay of the terminal is relatively long, and the user experience is influenced.
In order to solve the problems, the present disclosure provides a method, an apparatus and a storage medium for waking up a terminal, where a target terminal (the target terminal may be any terminal in a current terminal network) may determine a decision terminal among a plurality of terminals according to target information of the plurality of terminals in the terminal network, so that the decision terminal may determine a first wake-up indication message according to wake-up information of at least one terminal in the terminal network, in a preset time, if the target terminal receives the first wake-up indication message sent by the decision terminal, the target terminal may determine whether to wake up the target terminal according to the first wake-up indication message, after reaching the preset time, if the first wake-up indication message is not received, a distributed decision scheme may be started, and the target terminal may determine whether to wake up itself in time according to the second wake-up indication message, that is, the present disclosure adopts a combined decision scheme to determine the wake-up terminal in the decision network, wherein in a preset time, if the first wake-up indication message is received by the decision terminal, the decision terminal may be given, and the decision terminal may be additionally triggered by the decision terminal, and the decision terminal may be triggered by the decision terminal may be determined according to a plurality of the decision terminals in the multiple terminals, and the multiple terminals may be simultaneously, thereby reducing the cost of the current terminal in the terminal network, the method and the device limit whether the target terminal wakes up according to the first wake-up indication message only when the target terminal receives the first wake-up indication message sent by the decision terminal within the preset time, and after the preset time is reached, if the target terminal does not receive the first wake-up indication message, the target terminal starts a distributed wake-up decision, and the target terminal gives out a wake-up decision result, so that the response delay of the terminal is controlled within a certain range, and the problem of overhigh wake-up delay of the terminal is avoided.
The following detailed description of specific embodiments of the present disclosure refers to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for waking up a terminal, as shown in fig. 1, in a target terminal, which may be any terminal in a current terminal network, according to an exemplary embodiment, including the following steps:
in step S101, target information of a plurality of terminals in the current terminal network is acquired, and a decision terminal is determined according to the target information.
The target terminal may include an intelligent device which has a wake-up requirement in an actual application or may receive a voice wake-up instruction and respond to a user, for example, an intelligent home device such as an intelligent refrigerator, an intelligent air conditioner, an intelligent sound box, etc., and in general, the intelligent device may be woken up by a voice mode, for example, the user wakes up related devices by speaking a wake-up word, the terminal network may include at least two terminal devices, for example, a plurality of intelligent home devices (such as devices such as an intelligent refrigerator, an intelligent air conditioner, an intelligent sound box, etc.) are bound under the same millet account, and the plurality of intelligent home devices may be networked in a state where all the plurality of intelligent home devices are networked, and the decision terminal may include a terminal for deciding a wake-up instruction message according to a wake-up message of at least one terminal in the terminal network.
In the present disclosure, the target information includes at least any one of configuration information of the terminal and tag information preset by a user.
The configuration information may include index parameter information for characterizing a performance index of the terminal, for example, index parameter information such as a memory, a CPU performance, a wake engine performance, a supported network frequency band, etc., or performance evaluation parameters preset according to the index parameter information (for example, the performance evaluation parameters may be priority scores, the higher the priority scores are, the greater the possibility that the corresponding terminal is set as a decision terminal), and after the performance evaluation parameters are obtained, the relevant terminal in the terminal networking stores the performance evaluation parameters, for example, the performance evaluation parameters may be written into a configuration file of the corresponding terminal, so that the performance evaluation parameters may be directly obtained from the configuration file in a process of determining the decision terminal according to configuration information of a plurality of terminals, thereby determining the decision terminal according to the performance evaluation parameters.
In addition, the tag information may include priority tags of some terminals in the terminal network manually set by the user according to actual scene requirements, where related terminals in the terminal network store the priority tags set by the user, and the priorities of the terminals corresponding to different priority tags are set to be different, for example, the terminals may be marked with numbers, where the higher the numbers are, the higher the characterization priority is, so that the target terminal may select, as the decision terminal, the terminal with the largest number in the priority tags, which is only illustrated herein, and the disclosure is not limited thereto.
In one possible application scenario, when the terminal device starts and performs networking, the target information may be sent to each device in the networking, and at this time, the target terminal may obtain the target information.
In step S102, if a first wake-up indication message sent by the decision terminal is received within a preset time, whether to wake up the target terminal is determined according to the first wake-up indication message.
The preset time may include a period of time with a preset time as a starting time, and the preset time may be a time when the target terminal is awakened by the awakening engine, or a time when the target terminal receives awakening messages sent by other terminals except the target terminal in the terminal network for the first time, and the preset time may be generally set to be an earlier time of the two times.
For example, assuming that the target terminal is awakened by the wake engine at 7×10 min 11 seconds, and then receives the wake message sent by other terminals in the terminal network for the first time at 7×10 min 12 seconds, the preset time may be 7×10 min 11 seconds, and if the preset time period is 5 seconds, the preset time may be 7×10 min 11 seconds to 7×10 min 16 seconds, which is only for illustration, and the disclosure is not limited thereto.
The first wake-up indication message may include terminal identification information of the terminal to be woken up, for example, a device SN Number (Serial Number), and the wake-up message may include wake-up parameters such as acoustic energy, noise, signal-to-noise ratio and the like of audio information acquired by the terminal and terminal identification information of the terminal, where the audio information includes voice information sent by a user and used for waking up the terminal, for example, wake-up words.
In this step, under the condition that the first wake-up indication message indicates to wake up the target terminal, the target terminal is woken up, for example, if the device SN code carried in the first wake-up indication message is the same as the device SN code of the target terminal, it may be determined to wake up the target terminal, and if the device SN code carried in the first wake-up indication message is different from the device SN code of the target terminal, it is determined not to wake up the target terminal.
By adopting the method, the decision result (namely the first wake-up indication message) can be given only by the decision terminal, and a plurality of terminals in the terminal networking determine whether to wake up the terminal according to the first wake-up indication message determined by the decision terminal, so that the problem that a plurality of devices are simultaneously awakened in a distributed decision scheme can be solved, and the simultaneous wake-up rate is reduced.
Fig. 2 is a flowchart illustrating a method for waking up a terminal according to an exemplary embodiment, and as shown in fig. 2, the method for waking up a terminal is used in a decision terminal, where the decision terminal is a terminal determined from a plurality of terminals according to target information of the plurality of terminals in a current terminal network, and includes the following steps:
in step S201, at least one wake-up message in the current terminal networking is acquired.
The terminal networking may include a network composed of at least two intelligent devices which have a wake-up requirement in practical application or can receive a voice wake-up instruction and respond to a user, for example, a plurality of intelligent home devices (such as intelligent refrigerators, intelligent air conditioners, intelligent sound boxes and the like) are bound under the same millet account, and networking can be performed when the plurality of intelligent home devices are in a networking state, and the wake-up information may include wake-up parameters of sound energy, noise, signal-to-noise ratio and the like of audio information acquired by the terminal and terminal identification information of the terminal, wherein the audio information includes voice information, such as wake-up words, sent by the user and used for waking up the terminal.
In one possible application scenario, after a user sends out voice information to wake up a device in a terminal network, at least one terminal in the terminal network may receive the voice information, and after receiving the voice information, may wake up by a front-end wake-up engine, and then trigger to broadcast the wake-up message to other terminals in the terminal network, so that the decision terminal may obtain the wake-up message sent by at least one terminal in the current terminal network.
It should be noted that, considering that in the actual wake-up scenario, when the user sends out voice information to wake up a certain terminal in the terminal network, the decision terminal may or may not receive the voice information, so the at least one wake-up message in this step may include a first wake-up message and/or a second wake-up message, where the first wake-up message is a wake-up message generated according to the received voice information (e.g. wake-up word) sent by the user after the decision terminal is self-awakened by the front-end wake-up engine, and the second wake-up message is at least one wake-up message sent by other terminals in the terminal network except for the decision terminal, where the decision terminal receives the voice information, the at least one wake-up message may include the first wake-up message and may also include the second wake-up message, and where the decision terminal does not receive the voice information, the at least one wake-up message includes only the second wake-up message.
In step S202, a first wake-up indication message is determined from at least one of the wake-up messages.
The first wake-up indication message may include terminal identification information of the terminal to be woken up, for example, a device SN number.
Specific implementations of this step may refer to related descriptions in the related art, which are not limited by the present disclosure.
In step S203, the first wake-up indication message is sent to at least one target terminal, so that at least one target terminal determines whether to wake up the target terminal according to the first wake-up indication message.
By adopting the method, the decision result (namely the first wake-up indication message) can be given by the decision terminal only, and a plurality of terminals in the terminal network can determine whether to wake up the terminal according to the first wake-up indication message determined by the decision terminal, so that the problem that a plurality of devices are simultaneously wake up in a distributed decision scheme can be solved, and the simultaneous wake-up rate is reduced.
Fig. 3 is a flow chart illustrating a method of waking up a terminal, as shown in fig. 3, according to an exemplary embodiment, including the steps of:
In this embodiment, first, a decision terminal may be determined among a plurality of terminals in a terminal network by performing steps S301 to S303, and the decision terminal may be determined within the terminal network according to target information of each terminal, where the decision terminal is a terminal that decides a wake-up indication message according to a wake-up message of at least one terminal in the terminal network.
In step S301, the target terminal acquires target information of each terminal in the current terminal network.
The target terminal may be any terminal in the current terminal networking, and the target terminal may include an intelligent device that has a wake-up requirement in an actual application or may receive a voice wake-up instruction and respond to a user, for example, an intelligent refrigerator, an intelligent air conditioner, an intelligent sound box, and other intelligent home devices, where in general, the intelligent device may be woken up by a voice manner, for example, the user wakes up related devices by speaking a wake-up word, and the terminal networking may include at least two terminal devices, for example, a plurality of intelligent home devices (such as devices of the intelligent refrigerator, the intelligent air conditioner, the intelligent sound box, and other intelligent home devices are bound under the same millet account, and networking can be performed in a state that all the plurality of intelligent home devices are networked.
In the present disclosure, the target information includes at least any one of configuration information of the terminal and tag information preset by a user.
The configuration information may include index parameter information for characterizing a performance index of the terminal, for example, index parameter information such as a memory, a CPU performance, a wake engine performance, a supported network frequency band, etc., or the configuration information may further include a performance evaluation parameter preset according to the index parameter information (for example, the performance evaluation parameter may be a priority score, the higher the priority score is, the greater the likelihood that the corresponding terminal is set as a decision terminal), and after the performance evaluation parameter is obtained, the relevant terminal in the terminal networking stores the performance evaluation parameter, for example, the performance evaluation parameter may be written into a configuration file of the corresponding terminal, so that the performance evaluation parameter may be directly acquired from the configuration file in determining the decision terminal according to configuration information of a plurality of terminals, thereby determining the decision terminal according to the performance evaluation parameter.
In addition, the tag information may include priority tags of some terminals in the terminal network manually set by the user according to actual scene requirements, where related terminals in the terminal network store the priority tags set by the user, and the priorities of the terminals corresponding to different priority tags are set to be different, for example, the terminals may be marked with numbers, where the higher the numbers are, the higher the characterization priority is, so that the target terminal may select, as the decision terminal, the terminal with the largest number in the priority tags, which is only illustrated herein, and the disclosure is not limited thereto.
In one possible application scenario, when the terminal device starts and performs networking, the target information may be sent to each device in the networking, and at this time, the target terminal may obtain the target information.
After the target terminal acquires the target information and determines that the current terminal networking reaches a stable state, the decision terminal can be selected from a plurality of terminals in the terminal networking, and in general, if the equipment in the networking does not have equipment to join or exit the networking within a preset time period, and the configuration information of each equipment in the networking is not updated within the preset time period, the decision terminal can be regarded as that the networking reaches the stable state.
It should be noted that, in order to avoid the influence of the decision terminal on the network information processing delay, in a preferred embodiment of the present disclosure, a terminal with the optimal performance in the terminal networking may be selected as the decision terminal according to the configuration information of each terminal in the terminal networking, and specifically, the decision terminal may be determined from a plurality of terminals in the terminal networking according to the configuration information by executing steps S302 to S303.
In step S302, the target terminal determines, according to the configuration information, a performance evaluation parameter corresponding to each of the plurality of terminals in the terminal network.
Since the configuration information may include index parameter information for characterizing the performance index of the terminal, or include a performance evaluation parameter preset according to the index parameter information, in a possible implementation manner of this step, the target terminal may determine the performance evaluation parameter according to a preset scoring rule according to the index parameter information in the configuration information, for example, may determine the performance evaluation parameter according to the index parameter information in a weighted average manner.
Illustratively, taking the performance evaluation parameter as a priority score, the priority score may be calculated according to the following formula:
The priority score of the terminal is represented by S, the score of the ith performance index of the terminal is represented by Ni, the score of the ith performance index of the terminal is represented by ai, the score of each performance index can be determined according to a preset score rule, and the disclosure is not limited to this, so that the index parameter information is assumed to include four performance indexes of the memory size, the CPU performance, the wake-up engine performance and the supported network frequency band of the terminal, and the priority score is:
S=N1*a1+N2*a2+N3*a3+N4*a4
wherein N1 represents a score of the terminal memory, a1 represents a preset weight corresponding to the terminal memory, N2 represents a score of the CPU performance, a2 represents a preset weight corresponding to the CPU performance, N3 represents a score of the wake engine performance, a3 represents a preset weight corresponding to the wake engine performance, N4 represents a score of the supported network frequency band, a4 represents a preset weight corresponding to the supported network frequency band, which is only illustrative and not limited by the present disclosure.
In addition, since the configuration information may further include a performance evaluation parameter preset according to the index parameter information, the performance evaluation parameter may be directly written into the configuration file of the corresponding terminal, and thus, in another possible implementation manner of this step, the target terminal may directly obtain the performance evaluation parameter from the configuration file of the terminal.
In step S303, the target terminal uses, as a decision terminal, a terminal with the optimal performance among the plurality of terminals according to the performance evaluation parameter.
For example, taking the performance evaluation parameter as a priority score as an example, in this step, a terminal with the highest priority score among a plurality of terminals in the terminal group network may be used as the decision terminal.
In addition, in an actual application scenario, it is also possible to determine a plurality of optimal terminals with the same performance according to the performance evaluation parameter, at this time, the decision terminal may be determined among a plurality of the optimal terminals according to a preset terminal selection policy, for example, a terminal with the smallest SN value of the device may be selected from a plurality of the optimal terminals as the decision terminal, or a terminal with the largest SN value of the device may be selected from a plurality of the optimal terminals as the decision terminal, or any terminal may be selected from a plurality of the optimal terminals as the decision terminal, which is only illustrated herein, and the disclosure is not limited thereto.
It should be noted that, in consideration of the actual application scenario, due to reasons such as network abnormality or equipment failure, or the like, the user resets the terminal networking according to the actual requirement thereof, so that the terminal in the terminal networking is updated, for example, a newly added terminal exists in the terminal networking, any terminal in the terminal networking exits the networking, or the configuration information of any terminal in the terminal networking is updated, at this time, the decision terminal needs to be determined again, specifically, whether the terminal networking meets the preset updating condition or not is determined, and under the condition that the terminal networking meets the preset updating condition, the target information of each terminal in the current terminal networking is acquired again, and a new decision terminal is determined according to the newly acquired target information.
The preset updating conditions comprise at least one of the following steps that newly added terminals exist in the terminal networking, any terminal in the terminal networking exits the networking, and target information of any terminal in the terminal networking is updated.
By way of example, fig. 4 is a timing diagram for determining decision terminals in a terminal network according to an exemplary embodiment, and the specific implementation of steps S301 to S303 is described below by taking fig. 4 as an example, after two terminals A, B are started and networking is performed, A, B terminals send configuration information of themselves to each other, i.e. a terminal a may determine one terminal as a decision terminal according to the configuration information of the terminal a and the received configuration information of the terminal B in A, B, B terminal B may determine one terminal as a decision terminal according to the configuration information of the terminal B and the received configuration information of the terminal a in A, B, assuming that the priority score of the terminal B determined according to the configuration information of the terminal B is higher than the priority score of the terminal a, then the terminal a may select the terminal B as a decision terminal in A, B two terminals, likewise, the terminal B may select the terminal B as a decision terminal in A, B, after that the terminal C is started and joins the network, two terminals C may be determined as decision terminals in 3749, and three terminals may be determined by two terminals 3735 and three terminals 3798 may be added to each other, for example, three terminals may be determined by comparing the three terminals 3738, and three terminals may be determined as a decision terminal 3775 and two terminals may be determined by two terminals to each other, if it is monitored that the B terminal exits from the network, the network of the terminal becomes to be composed of A, C terminals, at this time, the A, C terminals can determine the decision terminal in A, C terminals according to the configuration information of A, C terminals, and the C terminal is determined to be a new decision terminal if the priority score of the C terminal is higher than the priority score of the a terminal.
It should be further noted that, considering different specific application scenarios, a user may also mark a certain terminal in the terminal network as the decision terminal according to its actual requirement, so the disclosure may also obtain the mark information preset by the user for the terminal, and then determine the decision terminal according to the mark information, where the mark information may include a priority mark of some terminals in the terminal network manually set by the user according to the actual scenario requirement, the relevant terminals in the terminal network store the priority mark set by the user, and the priorities of the decision terminals set by the terminals corresponding to different priority marks are different, for example, the mark may be made by numbers, where the larger the number indicates the higher the priority, so the target terminal may select the terminal with the largest number in the priority marks as the decision terminal, which is merely illustrative herein, and the disclosure is not limited to this.
After determining the decision terminal, a wake-up decision result may be given by the decision terminal by executing steps S304 to S305.
In step S304, the decision terminal obtains at least one wake-up message in the current terminal network.
The wake-up message may include wake-up parameters such as acoustic energy, noise, signal-to-noise ratio and the like of the audio information acquired by the terminal, and terminal identification information of the terminal, where the audio information includes voice information, such as wake-up words, sent by the user to wake up the terminal.
In one possible application scenario, after a user sends out voice information to wake up a certain terminal in the terminal network, at least one terminal in the terminal network can receive the voice information, and after receiving the voice information, the terminal can be waken up by a front-end wake-up engine, and then the wake-up message is triggered to broadcast to other terminals in the terminal network, so that the decision terminal can obtain the wake-up message sent by at least one terminal in the current terminal network.
In consideration of an actual wake-up scenario, when a user sends out voice information to wake up a certain terminal in a terminal network, the decision terminal may or may not receive the voice information, so the at least one wake-up message in this step may include a first wake-up message and/or a second wake-up message, where the first wake-up message is a wake-up message generated according to the received voice information (e.g. a wake-up word) sent by the user after the decision terminal is self-awakened by the front-end wake-up engine, the second wake-up message is at least one wake-up message sent by other terminals in the terminal network except for the decision terminal, and when the decision terminal receives the voice information, the at least one wake-up message may include the first wake-up message and may also include the second wake-up message, and when the decision terminal does not receive the voice information, the at least one wake-up message includes only the second wake-up message.
Thus, in this step, the decision terminal may receive at least one of the wake-up messages sent by other terminals in the terminal network than the decision terminal, and/or generate a wake-up message in response to receiving a wake-up instruction.
Here, after the decision terminal receives the voice wake-up information sent by the user, the decision terminal can be regarded as receiving the wake-up instruction, at this time, parameters such as acoustic energy, noise, signal to noise ratio and the like of the voice wake-up information can be obtained through a voice recognition technology, and then the wake-up information is generated by combining with the terminal identifier of the decision terminal.
In step S305, the decision terminal determines a first wake-up indication message from at least one of the wake-up messages.
The first wake-up indication message may include terminal identification information of the terminal to be woken up, for example, a device SN number.
When the decision terminal receives the voice wake-up information sent by the user, a first wake-up message can be generated, and meanwhile, the decision terminal can also receive the second wake-up message sent by other terminals in the terminal networking, so that the decision terminal can determine the first wake-up indication message according to the first wake-up message and the second wake-up message.
As shown in fig. 4, for example, assuming that the terminal network includes A, B, C terminals and that the B terminal is a decision terminal, when the user wants to wake up a certain terminal in the terminal network, a wake-up word (for example, "a little colleague") may be spoken, at this time, at least one terminal of A, B, C terminals in the terminal network may receive the voice wake-up information, assuming that A, B, C terminals all receive the voice wake-up information, then A, B, C terminals are all woken up by the front-end wake-up engine (may understand as receiving a wake-up instruction), after that A, B, C terminals may each generate a wake-up message according to the voice wake-up information received by the user and respectively send a wake-up message to the B terminal (i.e., decision terminal), specifically, the a terminal may generate an a wake-up message according to the voice wake-up information received by the user and send a wake-up message to the B terminal, the C terminal may generate a wake-up message according to the voice wake-up information received by the user, and send a wake-up message to the B terminal, in this case, the B terminal may determine that the wake-up message is a wake-up message and the wake-up word is determined to be the latest when the user indicates that the user is the latest position of the terminal is the user, for example, the user determines that the wake-up message is the terminal is the latest when the user has determined that the wake-up word is the terminal is the user, the present disclosure is not limited in this regard.
In step S306, the decision terminal determines whether to wake up the decision terminal according to the first wake-up indication message.
Since the decision terminal may be the terminal that the user wants to wake up at present while acting as the decision server, in this step, after the first wake-up indication message is obtained, it may be determined whether to wake up itself according to the first wake-up indication message, for example, if it is determined that the terminal identifier carried in the first wake-up indication message is the terminal identifier of the decision terminal, the wake-up decision terminal is determined, otherwise, the decision terminal is not woken up.
In step S307, the decision terminal sends the first wake-up indication message to at least one target terminal.
The target terminal is other terminals except the decision terminal in the terminal networking.
By executing the step, the target terminal can determine whether to wake up the target terminal according to the first wake-up indication message.
In step S308, the target terminal determines whether a first wake-up indication message sent by the decision terminal is received within a preset time.
The preset time may include a time of a preset time length with a preset time as a starting time, and the preset time may be a time when the target terminal is awakened by the wake-up engine, or a time when the target terminal receives an awakening message sent by other terminals except the target terminal in the terminal networking for the first time, and the preset time may be generally set to be an earlier time of the two times.
For example, assuming that the target terminal is awakened by the wake engine at 7×10 min 11 seconds, and then receives the wake message sent by other terminals in the terminal network for the first time at 7×10 min 12 seconds, the preset time may be 7×10 min 11 seconds, and if the preset time period is 5 seconds, the preset time may be 7×10 min 11 seconds to 7×10 min 16 seconds, which is only for illustration, and the disclosure is not limited thereto.
After executing the step, when it is determined that the target terminal is within the preset time, if the first wake-up indication message is received, step S309 is executed, where the target terminal may determine whether to wake up itself in time according to the first wake-up indication message sent by the decision terminal, but in an actual application scenario, the delay of receiving the first wake-up indication message may be longer, the target terminal may not respond in time, or may cause a packet loss of the first wake-up indication message, so that no terminal is woken up, and the user experience is poor.
In step S309, if the target terminal receives the first wake-up indication message within the preset time, the target terminal determines whether to wake up the target terminal according to the first wake-up indication message.
In this step, the target terminal is awakened in case it is determined that the first wake-up indication message indicates to wake up the target terminal.
For example, if the SN code of the device carried in the first wake-up indication message is the same as the SN code of the device of the target terminal, it may be determined to wake up the target terminal, and if the SN code of the device carried in the first wake-up indication message is different from the SN code of the device of the target terminal, it is determined not to wake up the target terminal.
In step S310, after the preset time is reached, if the target terminal does not receive the first wake-up indication message, the target terminal determines a second wake-up indication message according to at least one wake-up message in the terminal networking.
The second wake-up indication message includes terminal identification information of the terminal to be waken up.
After a user sends out voice information to wake up a certain terminal in a terminal network, at least one terminal in the terminal network can receive the voice information and can be wake up by a front-end wake-up engine after receiving the voice information, then the wake-up information is triggered to be broadcast to other terminals in the terminal network, that is, all the terminals which are wake-up by the wake-up engine in the terminal network can send own wake-up information to other terminals in the network, each terminal in the terminal network can receive the wake-up information sent by other terminals in the network, so in the step, after reaching the preset time, if the first wake-up instruction information is not received, the target terminal can determine the second wake-up instruction information according to at least one wake-up information in the terminal network.
In addition, when the user sends out voice information to wake up a certain terminal in the terminal network, the target terminal may receive the voice information, or may not receive the voice information, as in the decision terminal in step S304, so the at least one wake-up message in this step may include a third wake-up message and/or a fourth wake-up message, where the third wake-up message is a wake-up message generated according to the received voice information (e.g. wake-up word) sent by the user after the target terminal is self-awakened by the front-end wake-up engine, and the fourth wake-up message is at least one wake-up message sent by other terminals in the terminal network except for the target terminal, where the target terminal receives the voice information, the at least one wake-up message may include the third wake-up message and may also include the fourth wake-up message, and where the target terminal does not receive the voice information, the at least one wake-up message includes only the fourth wake-up message.
By way of example, continuing taking the example in step S305, after the user speaks the wake-up word "little college", assume that the three terminals A, B, C in the terminal group are all woken up by the front-end wake-up engine (can be understood as receiving the wake-up instruction or receiving the voice wake-up information), then A, B, C the three terminals can generate wake-up messages according to the voice wake-up information received by the user himself and respectively send the wake-up messages to other terminals in the terminal group, so that the a terminal can receive the B wake-up message sent by the B terminal and the C wake-up message sent by the C terminal, the B terminal can receive the a wake-up message sent by the a terminal and the B wake-up message sent by the C terminal, assume that the a terminal is the target terminal, and the B terminal is the decision terminal, and the a terminal judges whether the first wake-up instruction message sent by the B terminal is received within a preset time (for example, if the a terminal is within a continuous 5 seconds after the a terminal is woken-up by the front-end engine, when the a terminal is determined to be woken up, the wake-up engine is started by the front-up engine, the a terminal is determined, the wake-up decision is not made by the user terminal a is determined to be reached, and if the wake-up decision is not made by the user terminal a is determined to be reached, and the user terminal a is determined to be started by the user terminal a quickly has a wake-up message according to the second wake-up decision, and if the wake-up decision is determined by the wake-up instruction is not determined by the user terminal a terminal has been determined a wake-up instruction, the above examples are merely illustrative, and the present disclosure is not limited thereto, to enhance the user's experience.
In step S311, the target terminal determines whether to wake up the target terminal according to the second wake-up indication message.
In this step, if the terminal identifier carried in the second wake-up indication message is the terminal identifier of the target terminal, it is determined to wake up the target terminal, otherwise, the target terminal is not woken up.
According to the method, a centralized and distributed decision scheme is adopted to determine the wake-up terminal in the terminal networking, wherein in the centralized decision scheme, a decision result (namely the first wake-up indication message) can be given by the decision terminal, a plurality of terminals in the terminal networking determine whether to wake up themselves according to the first wake-up indication message determined by the decision terminal, so that the problem that a plurality of devices in the distributed decision scheme are simultaneously wake-up can be solved, the simultaneous wake-up rate is reduced, the decision terminal is selected from the plurality of terminals in the terminal networking, no additional central control device is needed, the equipment cost and the technical requirements can be reduced, the universality under multiple situations is improved, in addition, the method limits whether to wake up a target terminal according to the first wake-up indication message only when the first wake-up indication message sent by the decision terminal is received within a preset time, if the first wake-up indication message is not received, the distributed decision is started, the target terminal gives the wake-up decision result, and accordingly the response delay of the device is controlled within a certain range, and the problem that the wake-up delay of the device is too high is avoided.
Fig. 5 is a block diagram illustrating a wake-up terminal device, which may be applied to a target terminal, according to an exemplary embodiment, and referring to fig. 5, the device includes a first determining module 501 and a second determining module 502.
The first determining module 501 is configured to obtain target information of a plurality of terminals in the current terminal network, and determine a decision terminal according to the target information;
the second determining module 502 is configured to determine whether to wake up the target terminal according to a first wake-up indication message if the first wake-up indication message sent by the decision terminal is received within a preset time, where the first wake-up indication message is a wake-up indication message determined by the decision terminal according to at least one wake-up message in the terminal networking.
Optionally, FIG. 6 is a block diagram of a wake-up terminal device according to the embodiment shown in FIG. 5, the device further comprising a third determination module 503 and a fourth determination module 504, as shown in FIG. 6.
The third determining module 503 is configured to determine, after the preset time is reached, a second wake-up indication message according to at least one wake-up message in the terminal network, if the first wake-up indication message is not received;
The fourth determining module 504 is configured to determine whether to wake up the target terminal according to the second wake up indication message.
Optionally, the target information includes configuration information, the first determining module 501 is configured to obtain the configuration information of each terminal in the terminal network, and determine the decision terminal from a plurality of the terminals according to the configuration information.
Optionally, the first determining module 501 is configured to determine a performance evaluation parameter corresponding to each of the plurality of terminals according to the configuration information, and use a terminal with the optimal performance of the plurality of terminals as the decision terminal according to the performance evaluation parameter.
Optionally, the second determining module 502 is configured to wake up the target terminal if it is determined that the first wake up indication message indicates to wake up the target terminal.
Optionally, FIG. 7 is a block diagram of a wake-up terminal device according to the embodiment shown in FIG. 6, the device further comprising a fifth determining module 505 and an updating module 506, as shown in FIG. 7.
The fifth determining module 505 is configured to determine whether the terminal networking meets a preset update condition;
The updating module 506 is configured to re-acquire the target information of each terminal in the current terminal network, and determine a new decision terminal according to the re-acquired target information, if the terminal network meets the preset updating condition.
Optionally, the preset updating condition comprises at least one of the following steps that a newly added terminal exists in the terminal networking, any terminal in the terminal networking exits the networking, and target information of any terminal in the terminal networking is updated.
By adopting the device, the decision result (namely the first wake-up indication message) can be given by the decision terminal only, and a plurality of terminals in the terminal networking determine whether to wake up the terminal according to the first wake-up indication message determined by the decision terminal, so that the problem that a plurality of devices are simultaneously wake up in a distributed decision scheme can be solved, and the simultaneous wake-up rate is reduced.
Fig. 8 is a block diagram illustrating an apparatus for waking up a terminal, according to an exemplary embodiment, applied to a decision terminal, which is a terminal determined from a plurality of terminals in a current terminal group according to target information of the plurality of terminals, as shown in fig. 8, the apparatus includes:
an obtaining module 801, configured to obtain at least one wake-up message in the current terminal networking;
A sixth determining module 802 configured to determine a first wake-up indication message from at least one of the wake-up messages;
A sending module 803 configured to send the first wake-up indication message to at least one target terminal, so that at least one target terminal determines whether to wake up the target terminal according to the first wake-up indication message.
Optionally, the acquiring module 801 is configured to receive at least one wake-up message sent by other terminals in the terminal network, except the decision terminal, and/or generate a wake-up message in response to receiving a wake-up instruction.
Optionally, fig. 9 is a block diagram of an apparatus for waking up a terminal according to the embodiment shown in fig. 8, and as shown in fig. 9, the apparatus further includes:
A seventh determining module 804 is configured to determine whether to wake up the decision terminal according to the first wake up indication message.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
By adopting the device, the decision result (namely the first wake-up indication message) can be given by the decision terminal only, and a plurality of terminals in the terminal networking determine whether to wake up the terminal according to the first wake-up indication message determined by the decision terminal, so that the problem that a plurality of devices are simultaneously wake up in a distributed decision scheme can be solved, and the simultaneous wake-up rate is reduced.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the wake-up terminal method provided by the present disclosure.
Fig. 10 is a block diagram illustrating an apparatus 1000 for waking up a terminal according to an exemplary embodiment. For example, the apparatus 1000 may be any terminal within a terminal network.
Referring to FIG. 10, the apparatus 1000 may include one or more of a processing component 1002, a memory 1004, a power component 1006, a multimedia component 1008, an audio component 1010, an input/output (I/O) interface 1012, a sensor component 1014, and a communication component 1016.
The processing component 1002 generally controls overall operation of the apparatus 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 can include one or more processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1002 can include one or more modules that facilitate interaction between the processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the apparatus 1000. Examples of such data include instructions for any application or method operating on the device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 1006 provides power to the various components of the device 1000. Power component 1006 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1000.
The multimedia component 1008 includes a screen between the device 1000 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia assembly 1008 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1000 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when the device 1000 is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, the audio component 1010 further comprises a speaker for outputting audio signals.
The I/O interface 1012 provides an interface between the processing assembly 1002 and peripheral interface modules, which may be a keyboard, click wheel, buttons, and the like. These buttons may include, but are not limited to, a home button, a volume button, an activate button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing status assessment of various aspects of the device 1000. For example, the sensor assembly 1014 may detect an on/off state of the device 1000, a relative positioning of the components, such as a display and keypad of the device 1000, the sensor assembly 1014 may also detect a change in position of the device 1000 or a component of the device 1000, the presence or absence of user contact with the device 1000, an orientation or acceleration/deceleration of the device 1000, and a change in temperature of the device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 can also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communication between the apparatus 1000 and other devices, either wired or wireless. The device 1000 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the methods of waking up a terminal as described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1004, including instructions executable by processor 1020 of apparatus 1000 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described wake-up terminal method when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.