CN111966412A - Method, device and storage medium for waking up terminal - Google Patents

Method, device and storage medium for waking up terminal Download PDF

Info

Publication number
CN111966412A
CN111966412A CN202010808432.0A CN202010808432A CN111966412A CN 111966412 A CN111966412 A CN 111966412A CN 202010808432 A CN202010808432 A CN 202010808432A CN 111966412 A CN111966412 A CN 111966412A
Authority
CN
China
Prior art keywords
terminal
wake
decision
indication message
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010808432.0A
Other languages
Chinese (zh)
Inventor
程思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN202010808432.0A priority Critical patent/CN111966412A/en
Publication of CN111966412A publication Critical patent/CN111966412A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The present disclosure relates to a method, an apparatus, and a storage medium for waking up a terminal, where the method is applied to a target terminal, and the method includes: acquiring target information of a plurality of terminals in a current terminal group network, and determining a decision terminal according to the target information; within a preset time, if a first awakening indication message sent by the decision terminal is received, whether the target terminal is awakened or not is determined according to the first awakening indication message; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking.

Description

Method, device and storage medium for waking up terminal
Technical Field
The present disclosure relates to the field of terminal wake-up, and in particular, to a method and an apparatus for waking up a terminal, and a storage medium.
Background
With the continuous development of voice recognition technology, the interaction mode of human-computer interaction through voice is receiving wide attention, and a large number of intelligent devices based on voice interaction are already on the market, such as intelligent sound boxes, intelligent air conditioners, voice assistants and the like, so that a user can wake up the devices by speaking wake-up words.
At present, after a user inputs a wake-up audio, a method for screening out an intelligent device closest to the user from a plurality of intelligent devices to respond to a user instruction is common, and a current nearby wake-up decision generally adopts a distributed decision.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and storage medium for waking up a terminal.
According to a first aspect of the embodiments of the present disclosure, a method for waking up a terminal is provided, which is applied to a target terminal, and the method includes acquiring target information of a plurality of terminals in a current terminal group network, and determining a decision terminal according to the target information; within a preset time, if a first awakening indication message sent by the decision terminal is received, whether the target terminal is awakened or not is determined according to the first awakening indication message; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking.
Optionally, the method further comprises: after the preset time is reached, if the first awakening indication message is not received, determining a second awakening indication message according to at least one awakening message in the terminal networking; and determining whether to awaken the target terminal according to the second awakening indication message.
Optionally, the target information includes configuration information, and the determining a decision terminal according to the target information includes: acquiring the configuration information of each terminal in the terminal networking; and determining the decision terminal in the plurality of terminals according to the configuration information.
Optionally, the determining the decision terminal among the plurality of terminals according to the configuration information includes: determining a performance evaluation parameter corresponding to each terminal in the plurality of terminals according to the configuration information; and taking the terminal with the optimal performance in the plurality of terminals as the decision terminal according to the performance evaluation parameters.
Optionally, the determining whether to wake up the target terminal according to the first wake-up indication message includes: and awakening the target terminal under the condition that the first awakening indication message indicates to awaken the target terminal.
Optionally, the method further comprises: determining whether the terminal networking meets a preset updating condition; and under the condition that the terminal networking is determined to meet the preset updating condition, the target information of each terminal in the terminal networking is acquired again, and a new decision terminal is determined according to the acquired target information.
Optionally, the preset update condition includes at least one of: a terminal which is newly added is arranged in the terminal group network; any terminal in the terminal group network exits the network; and updating the target information of any terminal in the terminal group network.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for waking up a terminal, which is applied to 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 group network, and the method includes: acquiring at least one wake-up message in the current terminal networking; determining a first wake-up indication message according to at least one of the wake-up messages; and sending the first awakening indication message to at least one target terminal so that the at least one target terminal determines whether to awaken the target terminal according to the first awakening indication message.
Optionally, the obtaining of the current at least one wake-up message in the terminal networking includes: receiving at least one awakening message sent by other terminals except the decision terminal in the terminal networking; and/or, in response to receiving the wake-up instruction, generating a wake-up message.
Optionally, the method further comprises: and determining whether to awaken the decision terminal according to the first awakening indication message.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for waking up a terminal, which is applied to a target terminal, the apparatus including: the first determining module is configured to acquire target information of a plurality of terminals in a current terminal group network and determine a decision terminal according to the target information; a second determining module, configured to determine whether to wake up the target terminal according to a first wake-up indication message sent by the decision terminal if the first wake-up indication message is received within a preset time; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking.
Optionally, the apparatus further comprises: a third determining module, configured to determine, after the preset time is reached, a second wake-up indication message according to at least one of the wake-up messages in the terminal networking if the first wake-up indication message is not received; a fourth determining module 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, and the first determining module is configured to obtain the configuration information of each terminal in the terminal networking; and determining the decision terminal in the plurality of terminals according to the configuration information.
Optionally, the first determining module is configured to determine, according to the configuration information, a performance evaluation parameter corresponding to each of the plurality of terminals respectively; and taking the terminal with the optimal performance in the plurality of terminals as the decision terminal according to the performance evaluation parameters.
Optionally, the second determining module 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, the apparatus further comprises: the fifth determining module is configured to determine whether the terminal networking meets a preset updating condition; and the updating module is configured to reacquire the target information of each terminal in the current terminal networking under the condition that the terminal networking is determined to meet the preset updating condition, and determine a new decision terminal according to the reacquired target information.
Optionally, the preset update condition includes at least one of: a terminal which is newly added is arranged in the terminal group network; any terminal in the terminal group network exits the network; and updating the target information of any terminal in the terminal group network.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a device for waking up a terminal, which is applied to 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 group network, and the device includes: the acquisition module is configured to acquire at least one wake-up message in the current terminal networking; a sixth determining module configured to determine a first wake-up indication message according to at least one of the wake-up messages; a sending module configured to send the first wake-up indication message to at least one target terminal, so that the at least one target terminal determines whether to wake up the target terminal according to the first wake-up indication message.
Optionally, the obtaining module is configured to receive at least one of the wake-up messages sent by other terminals in the terminal networking except the decision terminal; and/or, in response to receiving the wake-up instruction, generating a wake-up message.
Optionally, the apparatus further comprises: a seventh determining module configured to determine whether to wake up the decision terminal according to the first wake-up indication message.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an apparatus for waking up a terminal, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: acquiring target information of a plurality of terminals in a current terminal group network, and determining a decision terminal according to the target information; within a preset time, if a first awakening indication message sent by the decision terminal is received, whether the target terminal is awakened or not is determined according to the first awakening indication message; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking; alternatively, the processor is configured to: acquiring at least one wake-up message in the current terminal networking; determining a first wake-up indication message according to at least one of the wake-up messages; and sending the first awakening indication message to at least one target terminal, so that the at least one target terminal determines whether to awaken the target terminal according to the first awakening indication message.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of waking up a terminal provided by the first aspect of the present disclosure; alternatively, the program instructions, when executed by the processor, implement the steps of the method of waking up a terminal provided by the second aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the disclosure, a target terminal may first obtain target information of a plurality of terminals in a current terminal group network, and then determine a decision terminal according to the target information, and if the target terminal receives a first wake-up indication message sent by the decision terminal within a preset time, determine whether to wake up the target terminal according to the first wake-up indication message; the first wake-up indication message is a wake-up indication message which is decided by the decision terminal according to at least one wake-up message in the terminal networking, that is, the decision terminal can only give a decision result (namely, the first wake-up indication message) in the disclosure, and a plurality of terminals in the terminal networking 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 wakened up in a distributed decision scheme can be solved, and the simultaneous wake-up rate is reduced; in addition, the decision terminal is selected from a plurality of terminals in the terminal group network, and additional central control equipment is not needed, so that the equipment cost and the technical requirement can be reduced, and the universality under multiple scenes is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a first method of waking up a terminal according to an example embodiment;
fig. 2 is a flow chart illustrating a second method of waking up a terminal according to an example embodiment;
fig. 3 is a flow chart illustrating a third method of waking up a terminal according to an example embodiment;
fig. 4 is a selection sequence diagram illustrating a decision terminal determination within a terminal group network according to an exemplary embodiment;
fig. 5 is a block diagram illustrating a first apparatus for waking up a terminal according to an example embodiment;
FIG. 6 is a block diagram illustrating a second apparatus to wake up a terminal according to an example embodiment;
FIG. 7 is a block diagram illustrating a third apparatus to wake up a terminal according to an example embodiment;
FIG. 8 is a block diagram illustrating a fourth apparatus to wake up a terminal according to an example embodiment;
fig. 9 is a block diagram illustrating a fifth apparatus for waking up a terminal according to an example embodiment;
fig. 10 is a block diagram illustrating an apparatus for waking up a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminal group network can comprise a network formed by at least two intelligent devices, for example, a plurality of intelligent household devices (such as an intelligent refrigerator, an intelligent air conditioner, an intelligent sound box and the like) are bound under the same millet account number, the plurality of intelligent household devices are all in a networking state, networking can be carried out, and when a user wants to pass through a certain terminal in the voice control terminal group network, the terminal can be awakened by speaking an awakening word.
At present, after a user inputs a wake-up audio, a method for screening out an intelligent device closest to the user from a plurality of intelligent devices to respond to a user instruction is common, and a current nearby wake-up decision generally adopts a distributed decision. In the related art, in order to avoid the problem of simultaneous wake-up, a centralized decision-making mode is adopted, a third-party cloud device is selected as a central control device in the centralized decision-making 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 group network, so that although the problem of simultaneous wake-up can be solved, an additional device needs to be added as the central control device, technical requirements and device cost are improved, and due to the fact that differences exist among device wake-up engines or when the network is unstable, the time delay for sending the wake-up message to the central control device by an intelligent device or receiving the wake-up message from the central control device is uncertain, the terminal response time delay is long, and user experience.
In order to solve the above-mentioned existing problems, the present disclosure provides a method, an apparatus, and a storage medium for waking up a terminal, in which a target terminal (the target terminal may be any terminal in a current terminal group network) may determine a decision terminal among a plurality of terminals according to target information of the plurality of terminals in the terminal group network, so that the decision terminal may determine a first wake-up indication message according to a wake-up message of at least one terminal in the terminal group network, within a preset time, the target terminal may determine whether to wake up the target terminal according to the first wake-up indication message if receiving the first wake-up indication message sent by the decision terminal, after reaching the preset time, if not receiving the first wake-up indication message, a distributed decision scheme may be started, and the target terminal determines a second wake-up indication message according to the wake-up message of at least one terminal in the terminal group network, in the centralized decision scheme, only the decision terminal can give a decision result (namely, the first wake-up indication message), and a plurality of terminals in the terminal group 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 in the distributed decision scheme are simultaneously awakened can be solved, and the simultaneous wake-up rate is reduced; the decision terminal is selected from a plurality of terminals in the terminal group network, and additional central control equipment is not needed, so that the equipment cost and the technical requirement can be reduced, and the universality under multiple scenes is improved; in addition, the method and the device limit that the target terminal can determine whether to awaken the target terminal according to the first awakening indication message only when the first awakening indication message sent by the decision terminal is received within the preset time, and start the distributed awakening decision if the target terminal does not receive the first awakening indication message after the preset time is reached, so that the target terminal gives an awakening decision result, the response delay of the terminal is controlled within a certain range, and the problem of overhigh awakening delay of the terminal is avoided.
Specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for waking up a terminal according to an exemplary embodiment, where the method for waking up a terminal is used in a target terminal, and the target terminal may be any terminal in a current terminal group network, as shown in fig. 1, and includes the following steps:
in step S101, target information of a plurality of terminals in the current terminal group network is obtained, and a decision terminal is determined according to the target information.
The target terminal may include an intelligent device that is required to be awakened in practical application or that can receive a voice awakening instruction and respond to a user, such as an intelligent home device like an intelligent refrigerator, an intelligent air conditioner, an intelligent sound box, and the like, and in general, the intelligent device may be awakened in a voice manner, for example, the user awakens a related device by speaking an awakening word; the terminal networking can include at least two terminal devices, for example, multiple intelligent household 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 multiple intelligent household devices are all in a networking state; the decision terminal may include a terminal that decides a wake-up indication message according to a wake-up message of at least one terminal in the terminal networking.
In the present disclosure, the target information includes at least any one of: configuration information of the terminal and mark information preset by a user.
Wherein, the configuration information may include index parameter information for characterizing the performance index of the terminal, such as index parameter information of memory, CPU performance, wake-up engine performance, supported network frequency band, etc., or includes a performance evaluation parameter set in advance according to the index parameter information (for example, the performance evaluation parameter may be a priority score, the higher the priority score is, the more likely the corresponding terminal is set as a decision terminal is), and after obtaining the performance evaluation parameter, the relevant terminal in the terminal networking stores the performance evaluation parameter, for example, the performance evaluation parameters may be written in a configuration file of the corresponding terminal, so that in determining the decision terminal based on the configuration information of the plurality of terminals, the performance evaluation parameter may be directly obtained from the configuration file, so that the decision terminal is determined according to the performance evaluation parameter.
In addition, the mark information may include priority marks of some terminals in a terminal group network manually set by a user according to actual scene requirements, the priority marks set by the user are stored in related terminals in the terminal group network, and the priorities of the terminals set as decision terminals corresponding to different priority marks are different, for example, the terminals may be marked by numbers, and the larger the number is, the higher the priority is represented, so that the target terminal may select the terminal with the largest number in the priority marks among a plurality of terminals as the decision terminal, which is only exemplified here, and the disclosure does not limit this.
In a possible application scenario, when the terminal device is started 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, in a preset time, if a first wake-up indication message sent by the decision terminal is received, whether to wake up the target terminal is determined according to the first wake-up indication message.
The first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking; the preset time may include a time period 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 an awakening engine, or a time when the target terminal receives an awakening message sent by another terminal in the terminal group network except the target terminal 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-up engine at 7: 10/11 seconds, and then receives the wake-up message sent by other terminals in the terminal group for the first time at 7: 10/12 seconds, the preset time may be 7: 10/11 seconds, and if the preset time length is 5 seconds, the preset time may be 7: 10/11 seconds to 7: 10/16 seconds, which is only an example and is not limited by the present disclosure.
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 of audio information acquired by the terminal, such as sound energy, noise, and signal to noise ratio, and terminal identification information of the terminal, where the audio information includes voice information, such as a wake-up word, sent by a user for waking up the terminal.
In this step, the target terminal is waken up when it is determined that the first wake-up indication message indicates to wake up the target terminal, 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 not the same as the device SN code of the target terminal, it is determined not to wake up the target terminal.
By adopting the method, the decision-making terminal can only give out a decision-making result (namely the first awakening indication message), and a plurality of terminals in the terminal group network can determine whether to awaken the terminal according to the first awakening indication message determined by the decision-making terminal, so that the problem that a plurality of devices are awakened simultaneously in a distributed decision-making scheme can be solved, and the rate of awakening simultaneously is reduced; in addition, the decision terminal is selected from a plurality of terminals in the terminal group network, and additional central control equipment is not needed, so that the equipment cost and the technical requirement can be reduced, and the universality under multiple scenes is improved.
Fig. 2 is a flowchart illustrating a method for waking up a terminal according to an exemplary embodiment, where the method for waking up a terminal is used in a decision terminal, and 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 group network, as shown in fig. 2, 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 formed by at least two intelligent devices which have awakening requirements in practical application or can receive voice awakening instructions and respond to users, 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 all in a networking state; the wake-up message may include wake-up parameters such as sound 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, such as a wake-up word, sent by a user for waking up the terminal.
In a possible application scenario, after a user sends voice information to wake up a certain device in a terminal group network, at least one terminal in the terminal group network can receive the voice information, and can be woken up by a front-end wake-up engine after receiving the voice information, and then trigger to broadcast the wake-up message to other terminals in the terminal group network, so that a decision terminal can acquire the wake-up message sent by at least one terminal in the current terminal group network.
It should be noted that, in an actual wake-up scenario, when a user sends a voice message to wake up a certain terminal in a terminal group network, the decision terminal may receive the voice message or may not receive the voice message, and therefore, 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 message (e.g., a wake-up word) sent by the user after the decision terminal is awakened by a front-end wake-up engine, the second wake-up message is at least one wake-up message sent by another terminal in the terminal group network except the decision terminal, and when the decision terminal receives the voice message, the at least one wake-up message may include the first wake-up message and may also include the second wake-up message, and under the condition that the decision terminal does not receive the voice message, the at least one wake-up message only comprises the second wake-up message.
In step S202, a first wake-up indication message is determined according to 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.
The specific implementation manner of this step can refer to the related description in the related art, and the present disclosure does not limit this.
In step S203, the first wake-up indication message is sent to at least one target terminal, so that the 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-making terminal can only give out a decision-making result (namely the first awakening indication message), and the plurality of terminals in the terminal group network can determine whether to awaken the terminal according to the first awakening indication message determined by the decision-making terminal, so that the problem that the plurality of devices are awakened simultaneously in the distributed decision-making scheme can be solved, and the rate of awakening simultaneously is reduced.
Fig. 3 is a flowchart illustrating a method of waking up a terminal according to an exemplary embodiment, as shown in fig. 3, including the following steps:
in this embodiment, first, a decision terminal may be determined among a plurality of terminals in a terminal networking by executing steps S301 to S303, and the decision terminal may be determined in the terminal networking according to target information of each terminal, where the decision terminal is a terminal that decides a wakeup indication message according to a wakeup message of at least one terminal in the terminal networking.
In step S301, the target terminal acquires target information of each terminal in the current terminal group network.
The target terminal may be any terminal in the current terminal group network, and the target terminal may include an intelligent device which has a wake-up requirement in practical application or can 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, and the like; in general, the smart device may be woken up by voice, for example, a user may wake up the relevant device by speaking a wake-up word; this terminal networking can include two at least terminal equipment, for example, bind under the same millet account number and have a plurality of intelligent household equipment (like equipment such as intelligent refrigerator, intelligent air conditioner, intelligent audio amplifier), all be in under the state of networking at these a plurality of intelligent household equipment, can carry out the networking.
In the present disclosure, the target information includes at least any one of: configuration information of the terminal and mark information preset by a user.
The configuration information may include index parameter information for characterizing the performance index of the terminal, such as index parameter information of memory, CPU performance, wake-up engine performance, supported network frequency band, or, the configuration information may further include a performance evaluation parameter set in advance according to the index parameter information (for example, the performance evaluation parameter may be a priority score, the higher the priority score is, the more likely the corresponding terminal is set as a decision terminal), and after obtaining the performance evaluation parameter, the relevant terminal in the terminal networking stores the performance evaluation parameter, for example, the performance evaluation parameters may be written in a configuration file of the corresponding terminal, so that in determining the decision terminal based on the configuration information of the plurality of terminals, the performance evaluation parameter may be directly obtained from the configuration file, so that the decision terminal is determined according to the performance evaluation parameter.
In addition, the mark information may include priority marks of some terminals in a terminal group network manually set by a user according to actual scene requirements, the priority marks set by the user are stored in related terminals in the terminal group network, and the priorities of the terminals set as decision terminals corresponding to different priority marks are different, for example, the terminals may be marked by numbers, and the larger the number is, the higher the priority is represented, so that the target terminal may select the terminal with the largest number in the priority marks among a plurality of terminals as the decision terminal, which is only exemplified here, and the disclosure does not limit this.
In a possible application scenario, when the terminal device is started 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.
The target terminal may select the decision terminal from the plurality of terminals in the terminal group network after acquiring the target information and determining that the current terminal group network reaches a stable state, and in a normal case, if there is no device in the group network to join or leave the group network within a preset time period and the configuration information of each device in the group network is not updated within the preset time period, the group network may be considered to reach the stable state.
It should be noted that, in order to avoid the influence of the decision terminal itself on the network information processing delay, in a preferred embodiment of the present disclosure, a terminal with the best 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 in a plurality of terminals in the terminal networking according to the configuration information by performing 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 group 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, the performance evaluation parameter may be determined according to the index parameter information in a weighted average manner.
For example, taking the performance evaluation parameter as the priority score, the priority score may be calculated according to the following formula:
Figure BDA0002630011980000141
wherein S represents a priority score of the terminal, NiScore representing the ith performance indicator of the terminal, aiThe preset weight corresponding to the ith individual performance index is represented, the score of each performance index can also be determined according to a preset score rule, which is not limited in the present disclosure, therefore, if the index parameter information includes four performance indexes of the memory size of the terminal, the CPU performance, the wake-up engine performance, and the supported network frequency band, the priority score is:
S=N1*a1+N2*a2+N3*a3+N4*a4
wherein N is1Score representing memory of terminal, a1Represents the corresponding preset weight, N, of the terminal memory2Score representing CPU Performance, a2Preset weight, N, representing CPU performance3Score representing the Performance of the wake Engine, a3A predetermined weight, N, corresponding to the performance of the wake-up engine4Score representing supported network frequency band, a4The preset weights corresponding to the supported network frequency bands are shown, and the above examples are only illustrative and the disclosure does not limit this.
In addition, since the configuration information may further include a performance evaluation parameter preset according to the index parameter information, and the performance evaluation parameter may be directly written in a configuration file of the corresponding terminal, in another possible implementation manner of this step, the target terminal may directly acquire the performance evaluation parameter from the configuration file of the terminal.
In step S303, the target terminal uses a terminal with the best performance among the plurality of terminals as a decision terminal according to the performance evaluation parameter.
For example, taking the performance evaluation parameter as the priority score as an example, in this step, the terminal with the highest priority score among the plurality of terminals in the terminal networking may be taken 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 in the plurality of 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 the plurality of optimal terminals as the decision terminal, or a terminal with the largest SN value of the device may be selected from the plurality of optimal terminals as the decision terminal, or any terminal may be selected from the plurality of optimal terminals as the decision terminal, which is only an example here, and this disclosure is not limited thereto, and in an actual application, a user may arbitrarily set the terminal selection policy according to a need of the user.
It should be noted that, in an actual application scenario, due to reasons such as network anomaly or device failure, or a user resets the terminal networking according to an actual requirement of the user, the terminal in the terminal group network is updated, for example, a newly added terminal in the terminal group network, any terminal in the terminal group network exits from the networking, or configuration information of any terminal in the terminal group network is updated, at this time, the decision terminal needs to be determined again, and specifically, it can be determined whether the terminal networking meets a preset update condition; and under the condition that the terminal networking is determined to meet the preset updating condition, the target information of each terminal in the terminal networking is acquired again, and a new decision terminal is determined according to the acquired target information.
Wherein the preset updating condition comprises at least one of the following: a terminal which is newly added is arranged in the terminal group network; any terminal in the terminal group network quits the network; and updating the target information of any terminal in the terminal group network.
For example, fig. 4 is a selection sequence diagram of determining a decision terminal in a terminal group network according to an exemplary embodiment, and the specific implementation of steps S301 to S303 is described below with reference to fig. 4 as an example, as shown in fig. 4, after two terminals A, B are started and networked, A, B terminals send their own configuration information to each other, that is, an a terminal may determine one terminal as the decision terminal in A, B two terminals according to its own configuration information and received configuration information of a B terminal, a B terminal may also determine one terminal as the decision terminal in A, B two terminals according to its own configuration information and received configuration information of a terminal, and assuming that the priority score of the B terminal determined according to the configuration information of the B terminal is higher than the priority score of the a terminal, the a terminal may determine the decision terminal in a, B terminal is selected from two terminals B as decision terminal, similarly, B terminal can also select B terminal from A, B two terminals B as decision terminal, then, if C terminal starts and joins in networking, the terminal networking is changed to be composed of A, B, C three terminals, and C terminal joins in terminal networking, it can send its own configuration information to A, B two terminals respectively, C terminal can also receive configuration information sent by A, B two terminals, because terminal networking changes, a decision terminal is to be determined again in A, B, C three terminals, at this time, A, B, C three terminals can each determine decision terminal in A, B, C three terminals according to configuration information of A, B, C three terminals, for example, after comparing A, B, C three terminals priority scores, the priority score of B terminal is still highest, at this time, it may be determined that the decision terminal is still the B terminal; after that, if it is monitored that the B terminal exits from the networking, the terminal networking is changed to be composed of A, C two terminals, at this time, each of A, C two terminals may determine a decision terminal among A, C two terminals according to the configuration information of A, C two terminals, and it may be determined that the C terminal is a new decision terminal if the priority score of the C terminal is higher than the priority score of the a terminal, which is only an example and is not limited by the present disclosure.
It should be further noted that, considering the difference of specific application scenarios, a user may also mark a certain terminal in the terminal networking as the decision terminal according to the actual requirement of the user, so the present disclosure may further obtain 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 priority marks of some terminals in the terminal group network manually set by the user according to the actual requirement of the scenario, and the priority marks set by the user are stored by related terminals in the terminal networking, and the priorities of the terminals corresponding to different priority marks set as decision terminals are also different, for example, the terminals may be marked with numbers, the larger the number is, the higher the priority is represented, so the target terminal may select the terminal with the largest number in the priority marks among the multiple terminals as the decision terminal, which is only an example here, the present disclosure is not limited thereto.
After the decision terminal is determined, a wake-up decision result can be given by the decision terminal by performing steps S304 to S305.
In step S304, the decision terminal obtains at least one wake-up message in the current terminal networking.
The wake-up message may include wake-up parameters such as sound energy, noise, and signal-to-noise ratio of audio information acquired by the terminal, and terminal identification information of the terminal, where the audio information includes voice information, such as a wake-up word, sent by a user for waking up the terminal.
In a possible application scenario, after a user sends voice information to wake up a certain terminal in a terminal group network, at least one terminal in the terminal group network can receive the voice information, and can be wakened up by a front-end wake-up engine after receiving the voice information, and then the wake-up information is triggered to be broadcast to other terminals in the terminal group network, so that a decision terminal can acquire the wake-up information sent by at least one terminal in the current terminal group network.
Considering that in an actual wake-up scenario, when a user sends a voice message to wake up a certain terminal in a terminal group network, the decision terminal may receive the voice message or may not receive the voice message, 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 message (e.g., a wake-up word) sent by the user after the decision terminal is awakened by a front-end wake-up engine, the second wake-up message is at least one wake-up message sent by another terminal in the terminal group network except the decision terminal, and in a case that the decision terminal receives the voice message, the at least one wake-up message may include the first wake-up message and may also include the second wake-up message, and in a case that the decision terminal does not receive the voice message, the at least one wake-up message includes only the second wake-up message.
Therefore, in this step, the decision terminal may receive at least one of the wake-up messages sent by other terminals in the terminal networking except the decision terminal; and/or, in response to receiving the wake-up instruction, generating a wake-up message.
Here, after receiving the voice wake-up information sent by the user, the decision terminal may be regarded as receiving the wake-up instruction, and at this time, parameters such as sound energy, noise, and signal to noise ratio of the voice wake-up information may be obtained through a voice recognition technology, and then the wake-up message is generated by combining the terminal identifier of the decision terminal.
In step S305, the decision terminal determines a first wake-up indication message according to 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.
After receiving the voice wake-up information sent by the user, the decision terminal may generate a first wake-up message, and at the same time, the decision terminal may also receive the second wake-up message sent by other terminals in the terminal group network, so that the decision terminal may determine the first wake-up indication message according to the first wake-up message and the second wake-up message.
For example, as shown in fig. 4, it is assumed that the terminal group network includes A, B, C three terminals, and the B terminal is a decision terminal, when the user wants to wake up a certain terminal in the terminal group network, a wake-up word (e.g., "lovely classmates") can be spoken, at this time, at least one of A, B, C three terminals in the terminal group network can receive the voice wake-up message, and it is assumed that A, B, C all receive the voice wake-up message, then A, B, C three terminals are all woken up by the front-end wake-up engine (which can be understood as receiving a wake-up command), and then A, B, C three terminals can each generate a wake-up message according to the received voice wake-up message and respectively send their wake-up messages to the B terminal (i.e., decision terminal), specifically, the a terminal can generate an a wake-up message according to the received voice wake-up, and sending A wake-up message to the B terminal; the terminal B can generate a B wake-up message according to the received voice wake-up information; the terminal C may generate a wake-up message C according to the received voice wake-up information, and send the wake-up message C to the terminal B, so that the terminal B may determine the first wake-up indication message according to the three wake-up messages, e.g., after analyzing the three wake-up messages, if it is determined that the terminal B is closest to the sound source (i.e., the position where the user speaks the wake-up word), it may be determined that the terminal B is to be woken up by the current user, and at this time, the first wake-up indication message may carry the terminal identifier of the terminal B.
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 also be a terminal that the user currently wants to wake up while serving as the decision server, in this step, after obtaining the first wake-up indication message, 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, it is determined to wake up the decision terminal, 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 the first wake-up indication message sent by the decision terminal is received within a preset time.
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 at which the target terminal is awakened by an awakening engine, or a time at which the target terminal receives an awakening message sent by another terminal in the terminal group network except the target terminal 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-up engine at 7: 10/11 seconds, and then receives the wake-up message sent by other terminals in the terminal group for the first time at 7: 10/12 seconds, the preset time may be 7: 10/11 seconds, and if the preset time length is 5 seconds, the preset time may be 7: 10/11 seconds to 7: 10/16 seconds, which is only an example and is not limited by the present disclosure.
After the step is executed, 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, and 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; however, in an actual application scenario, the delay of the target terminal receiving the first wake-up indication message may be long due to the influence of a network condition, and the target terminal cannot respond in time, and may also cause a data packet of the first wake-up indication message to be lost, 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 a 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 woken up if it is determined that the first wake-up instruction message indicates to wake up the target terminal.
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.
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 of the wake-up messages in the terminal networking.
And the second awakening indication message comprises terminal identification information of the terminal to be awakened.
After a user sends voice information to awaken a certain terminal in a terminal group network, at least one terminal in the terminal group network can receive the voice information, and can be awakened by a front-end awakening engine after receiving the voice information, and then the awakening information is triggered to be broadcast to other terminals in the terminal group network.
In addition, when the user sends a voice message to wake up a certain terminal in the terminal group, the target terminal may receive the voice message as well as or may not receive the voice message in step S304, and therefore, 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 message (e.g., wake-up word) sent by the user after the target terminal is awakened by the front-end wake-up engine itself, the fourth wake-up message is at least one wake-up message sent by other terminals in the terminal group other than the target terminal, and when the target terminal receives the voice message, the at least one wake-up message may include the third wake-up message and may also include the fourth wake-up message, and when the target terminal does not receive the voice message, the at least one wake-up message only comprises the fourth wake-up message.
Illustratively, continuing with the example in step S305, after the user speaks the wake-up word "classmate", assuming that A, B, C terminals in the terminal group network are all woken up by the front-end wake-up engine (which may be understood as receiving a wake-up command or receiving voice wake-up information), then A, B, C three terminals may each generate a wake-up message according to the received voice wake-up information and respectively send the wake-up message to other terminals in the terminal group network, so that the a terminal may receive a B wake-up message sent by the B terminal and a C wake-up message sent by the C terminal, the B terminal may receive an a wake-up message sent by the a terminal and a C wake-up message sent by the C terminal, the C terminal may receive an a wake-up message sent by the a terminal and a wake-up message sent by the B terminal, assuming that the a terminal is the target terminal, the terminal B is a decision terminal, the terminal a determines whether the first wake-up indication message sent by the terminal B is received within a preset time (for example, if the preset time is within 5 seconds after the terminal a is awakened by a front-end wake-up engine, when it is determined that the terminal a is awakened by the front-end wake-up engine, a timer is started to time), and when it is determined that the preset time is reached, the terminal a starts a distributed decision scheme if the terminal a does not receive the first wake-up indication message, and the terminal a determines the second wake-up indication message according to the wake-up message a, the wake-up message B, and the wake-up message C, so that the terminal a can determine whether to wake up itself according to the second wake-up indication message in time under the condition that the terminal a does not receive the first wake-up indication message sent by the decision terminal, so that the terminal device can make a wake-up response to the user, the foregoing examples are illustrative only, and the disclosure is not limited thereto.
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.
By the method, the awakening terminals in the terminal group network are determined by adopting a centralized and distributed combined decision scheme, wherein in the centralized decision scheme, only a decision result (namely the first awakening indication message) can be given by the decision terminal, and a plurality of terminals in the terminal group network determine whether to awaken the terminal according to the first awakening indication message determined by the decision terminal, so that the problem that a plurality of devices are awakened simultaneously in the distributed decision scheme can be solved, and the awakening rate at the same time is reduced; the decision terminal is selected from a plurality of terminals in the terminal group network, and additional central control equipment is not needed, so that the equipment cost and the technical requirement can be reduced, and the universality under multiple scenes is improved; in addition, the method and the device determine whether to awaken the target terminal according to the first awakening indication message only when the first awakening indication message sent by the decision terminal is received within the preset time, and start the distributed awakening decision if the first awakening indication message is not received after the preset time is reached, and the target terminal gives the awakening decision result, so that the response delay of the device is controlled within a certain range, and the problem of overhigh awakening delay of the device is avoided.
Fig. 5 is a block diagram illustrating a wake-up terminal apparatus according to an exemplary embodiment, which may be applied to a target terminal, and referring to fig. 5, the apparatus 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 a current terminal group 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 sent by the decision terminal if the first wake-up indication message is received within a preset time; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening 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, and as shown in fig. 6, the device further includes: a third determination module 503 and a fourth determination module 504.
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 of the wake-up messages in the terminal networking 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, and the first determining module 501 is configured to obtain the configuration information of each terminal in the terminal networking; the decision terminal is determined among the plurality of terminals based on the configuration information.
Optionally, the first determining module 501 is configured to determine, according to the configuration information, a performance evaluation parameter corresponding to each of the plurality of terminals; and taking the terminal with the optimal performance in 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, and as shown in fig. 7, the device further includes: a fifth determination module 505 and an update module 506.
The fifth determining module 505 is configured to determine whether the terminal networking meets a preset updating condition;
the updating module 506 is configured to, under the condition that it is determined that the terminal networking meets the preset updating condition, reacquire the target information of each terminal in the terminal networking currently, and determine a new decision terminal according to the reacquired target information.
Optionally, the preset update condition includes at least one of: a terminal which is newly added is arranged in the terminal group network; any terminal in the terminal group network quits the network; and updating the target information of any terminal in the terminal group network.
By adopting the device, the decision-making terminal can only give out a decision-making result (namely the first awakening indication message), and a plurality of terminals in the terminal group network can determine whether to awaken the terminal according to the first awakening indication message determined by the decision-making terminal, so that the problem that a plurality of devices are awakened simultaneously in a distributed decision-making scheme can be solved, and the rate of awakening simultaneously is reduced; in addition, the decision terminal is selected from a plurality of terminals in the terminal group network, and additional central control equipment is not needed, so that the equipment cost and the technical requirement can be reduced, and the universality under multiple scenes is improved.
Fig. 8 is a block diagram illustrating an apparatus for waking up a terminal according to an exemplary embodiment, which is applied to a decision terminal that is determined from a plurality of terminals according to target information of the plurality of terminals in a current terminal group network, and 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 according to 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 the at least one target terminal determines whether to wake up the target terminal according to the first wake-up indication message.
Optionally, the obtaining module 801 is configured to receive at least one of the wake-up messages sent by other terminals in the terminal networking except the decision terminal; and/or, in response to receiving the wake-up instruction, generating a wake-up message.
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 configured to determine whether to wake up the decision terminal according to the first wake-up indication message.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
By adopting the device, the decision-making terminal can only give out a decision-making result (namely the first awakening indication message), and a plurality of terminals in the terminal group network can determine whether to awaken the terminal according to the first awakening indication message determined by the decision-making terminal, so that the problem that a plurality of devices are awakened simultaneously in a distributed decision-making scheme can be solved, and the rate of awakening simultaneously is reduced; in addition, the decision terminal is selected from a plurality of terminals in the terminal group network, and additional central control equipment is not needed, so that the equipment cost and the technical requirement can be reduced, and the universality under multiple scenes is improved.
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 example embodiment. For example, the apparatus 1000 may be any terminal within a network of terminals.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may 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 device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile 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 disks.
Power components 1006 provide power to the various components of device 1000. Power components 1006 may 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 that provides an output interface between the device 1000 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 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 device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of device 1000, the change in position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration/deceleration of device 1000, and the change in temperature of device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without 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 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications 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, micro-controllers, microprocessors or other electronic components for performing the above-described method of waking up a terminal.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned wake-up termination 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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method for waking up a terminal, which is applied to a target terminal, the method comprising:
acquiring target information of a plurality of terminals in a current terminal group network, and determining a decision terminal according to the target information;
within a preset time, if a first awakening indication message sent by the decision terminal is received, whether the target terminal is awakened or not is determined according to the first awakening indication message; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking.
2. The method of claim 1, further comprising:
after the preset time is reached, if the first awakening indication message is not received, determining a second awakening indication message according to at least one awakening message in the terminal networking;
and determining whether to awaken the target terminal according to the second awakening indication message.
3. The method of claim 1, wherein the objective information comprises configuration information, and wherein determining a decision terminal based on the objective information comprises:
acquiring the configuration information of each terminal in the terminal networking;
and determining the decision terminal in the plurality of terminals according to the configuration information.
4. The method of claim 3, wherein the determining the decision terminal among the plurality of terminals according to the configuration information comprises:
determining a performance evaluation parameter corresponding to each terminal in the plurality of terminals according to the configuration information;
and taking the terminal with the optimal performance in the plurality of terminals as the decision terminal according to the performance evaluation parameters.
5. The method of claim 1, wherein the determining whether to wake up the target terminal according to the first wake-up indication message comprises:
and awakening the target terminal under the condition that the first awakening indication message indicates to awaken the target terminal.
6. The method according to any one of claims 1 to 5, further comprising:
determining whether the terminal networking meets a preset updating condition;
and under the condition that the terminal networking is determined to meet the preset updating condition, the target information of each terminal in the terminal networking is acquired again, and a new decision terminal is determined according to the acquired target information.
7. The method of claim 6, wherein the preset update condition comprises at least one of:
a terminal which is newly added is arranged in the terminal group network;
any terminal in the terminal group network exits the network;
and updating the target information of any terminal in the terminal group network.
8. A method for waking up a terminal is applied to a decision terminal, wherein 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 group network, and the method comprises the following steps:
acquiring at least one wake-up message in the current terminal networking;
determining a first wake-up indication message according to at least one of the wake-up messages;
and sending the first awakening indication message to at least one target terminal so that the at least one target terminal determines whether to awaken the target terminal according to the first awakening indication message.
9. The method according to claim 8, wherein said obtaining at least one wake-up message in the current terminal networking comprises:
receiving at least one awakening message sent by other terminals except the decision terminal in the terminal networking; and/or the presence of a gas in the gas,
in response to receiving the wake-up instruction, a wake-up message is generated.
10. The method according to claim 8 or 9, characterized in that the method further comprises:
and determining whether to awaken the decision terminal according to the first awakening indication message.
11. An apparatus for waking up a terminal, applied to a target terminal, the apparatus comprising:
the first determining module is configured to acquire target information of a plurality of terminals in a current terminal group network and determine a decision terminal according to the target information;
a second determining module, configured to determine whether to wake up the target terminal according to a first wake-up indication message sent by the decision terminal if the first wake-up indication message is received within a preset time; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking.
12. An apparatus for waking up a terminal, the apparatus being applied to a decision terminal, the decision terminal being a terminal determined from a plurality of terminals according to target information of the plurality of terminals in a current terminal group network, the apparatus comprising:
the acquisition module is configured to acquire at least one wake-up message in the current terminal networking;
a sixth determining module configured to determine a first wake-up indication message according to at least one of the wake-up messages;
a sending module configured to send the first wake-up indication message to at least one target terminal, so that the at least one target terminal determines whether to wake up the target terminal according to the first wake-up indication message.
13. An apparatus for waking up a terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: acquiring target information of a plurality of terminals in a current terminal group network, and determining a decision terminal according to the target information; within a preset time, if a first awakening indication message sent by the decision terminal is received, whether the target terminal is awakened or not is determined according to the first awakening indication message; the first awakening indication message is an awakening indication message which is decided by the decision terminal according to at least one awakening message in the terminal networking; alternatively, the first and second electrodes may be,
the processor is configured to: acquiring at least one wake-up message in the current terminal networking; determining a first wake-up indication message according to at least one of the wake-up messages; and sending the first awakening indication message to at least one target terminal, so that the at least one target terminal determines whether to awaken the target terminal according to the first awakening indication message.
14. A computer-readable storage medium, having stored thereon computer program instructions, characterized in that the program instructions, when executed by a processor, implement the steps of the method according to any one of claims 1 to 7; alternatively, the program instructions when executed by a processor implement the steps of the method of any of claims 8 to 10.
CN202010808432.0A 2020-08-12 2020-08-12 Method, device and storage medium for waking up terminal Pending CN111966412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010808432.0A CN111966412A (en) 2020-08-12 2020-08-12 Method, device and storage medium for waking up terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010808432.0A CN111966412A (en) 2020-08-12 2020-08-12 Method, device and storage medium for waking up terminal

Publications (1)

Publication Number Publication Date
CN111966412A true CN111966412A (en) 2020-11-20

Family

ID=73366066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010808432.0A Pending CN111966412A (en) 2020-08-12 2020-08-12 Method, device and storage medium for waking up terminal

Country Status (1)

Country Link
CN (1) CN111966412A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242571A (en) * 2021-04-25 2022-10-25 佛山市顺德区美的电热电器制造有限公司 Distributed voice interaction method and device, readable storage medium and household appliance
CN115250208A (en) * 2021-04-27 2022-10-28 佛山市顺德区美的电热电器制造有限公司 Control method and device, storage medium, household appliance and control equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242571A (en) * 2021-04-25 2022-10-25 佛山市顺德区美的电热电器制造有限公司 Distributed voice interaction method and device, readable storage medium and household appliance
CN115250208A (en) * 2021-04-27 2022-10-28 佛山市顺德区美的电热电器制造有限公司 Control method and device, storage medium, household appliance and control equipment

Similar Documents

Publication Publication Date Title
CN109920418B (en) Method and device for adjusting awakening sensitivity
CN111722824B (en) Voice control method, device and computer storage medium
RU2663212C2 (en) Method and device for starting energy-saving mode
CN107608561B (en) Touch screen control method and device
CN105898032B (en) method and device for adjusting prompt tone
CN112037787A (en) Wake-up control method, device and computer readable storage medium
CN107204883B (en) Network fault processing method and device
CN113689857B (en) Voice collaborative wake-up method and device, electronic equipment and storage medium
CN108334651B (en) Method, device and storage medium for collecting user side data to realize preset requirements
CN110890092B (en) Wake-up control method and device and computer storage medium
CN107666540B (en) Terminal control method, device and storage medium
CN111966412A (en) Method, device and storage medium for waking up terminal
CN109522058B (en) Wake-up method, device, terminal and storage medium
CN112201242A (en) Method and device for waking up equipment, electronic equipment and storage medium
CN112133302A (en) Method, device and storage medium for pre-awakening terminal
CN111540350A (en) Control method and device of intelligent voice control equipment and storage medium
CN112260787B (en) Equipment time delay adjustment method and device, electronic equipment and storage medium
CN110618783A (en) Text broadcasting method, device and medium
CN112672389B (en) Network switching method
CN112489653A (en) Speech recognition method, device and storage medium
CN111857849A (en) Wake-up processing method and device, electronic equipment and storage medium
CN109644353B (en) Configuration adjustment method, device, electronic equipment and computer readable storage medium
EP3823238A1 (en) Method and apparatus for controlling devices and storage medium
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN112449052B (en) Method and device for adjusting electric quantity prompt, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination