A message obtaining method, wherein the method comprises: establishing (601), between a wearable device and a terminal, a data connection, wherein the wearable device is operatable in an earphone mode when being worn on an ear of a user or in a wristband mode when being worn on a wrist of the user; determining (602), by the wearable device, whether the wearable device is in the earphone mode or in the wristband mode by detecting a wearing status of the wearable device; when determining that the wearable device is in the wristband mode, the message obtaining method further comprises: notifying (603), by the wearable device, the terminal that the wearable device is not able to receive a voice message; receiving (606), by the wearable device, a text message index sent by the terminal, wherein the text message index is created by the terminal based on a text message received or pre-stored by the terminal; and when determining that the wearable device is in the earphone mode, the message obtaining method further comprises: notifying (608), by the wearable device, the terminal that the wearable device can receive a voice message; sending, by the wearable device, a request for establishing an audio channel to the terminal, and receiving, by the wearable device, a response that is of confirming establishment of the audio channel and that is sent by the terminal; sending (609), by the wearable device, the text message index to the terminal, wherein the text message index includes a unique identifier of the text message received or pre-stored in the terminal; and receiving (612) and playing (613), by the wearable device, a voice message sent by the terminal through the audio channel, wherein the voice message is obtained by converting the text message corresponding to the text message index by the terminal.
The method according to claim 1, wherein the determining, by the wearable device, whether the wearable device is in the earphone mode comprises: determining, by the wearable device by using a Hall effect sensor, whether the wearable device is in the earphone mode.
The method according to any one of the preceding claims, wherein the audio channel comprises an Advanced Audio Distribution Profile, A2DP, audio channel.
A message obtaining method, wherein the method comprises: establishing (601), between a wearable device and a terminal, a data connection, wherein the wearable device is operatable in an earphone mode when being worn on an ear of a user or in a wristband mode when being worn on a wrist of the user; receiving (603), by the terminal, a notification that is sent by the wearable device and that indicates that the wearable device is not able to receive a voice message or a notification that is sent by the wearable device and that indicates that the wearable device can receive a voice message; wherein in response to receiving the notification that indicates that the wearable device is not able to receive a voice message, the message obtaining method further comprises: creating (605), by the terminal, a text message index based on a text message received or pre-stored by the terminal; sending (606), by the terminal, the text message index to the wearable device; and wherein in response to receiving the notification that indicates that the wearable device is able to receive a voice message, the message obtaining method further comprises: receiving, by the terminal, a request for establishing an audio channel sent by the wearable device, and sending, by the terminal, a response of confirming establishment of the audio channel to the wearable device; receiving (610), by the terminal, the text message index sent by the wearable device, wherein the text message index includes a unique identifier of the text message received or pre-stored in the terminal. converting (611), by the terminal, the text message corresponding to the text message index into a voice message; and sending (612), by the terminal, the voice message to the wearable device through the audio channel.
The method according to claim 1 wherein a notification indicating that the wearable device can receive a voice message is sent by the wearable device to the terminal when the wearable device determines that the wearable device is in the earphone mode.
A wearable device, wherein a data connection is established between the wearable device and a terminal, and the wearable device is operatable in an earphone mode when being worn on an ear of a user or in a wristband mode when being worn on a wrist of the user, the wearable device comprising: a determining module (701); a notification module (702); a receiving module (703); and a sending module (704); wherein the determining module (701) is configured to determine whether the wearable device is in the earphone mode or in the wristband mode by detecting a wearing status of the wearable device; wherein when determining that the wearable device is in the wristband mode, the notification module (702) is configured to: notify the terminal that the wearable device is not able to receive a voice message, and the receiving module (703) is configured to receive a text message index sent by the terminal, wherein the text message index is created by the terminal based on a text message received or pre-stored by the terminal; and wherein when determining that the wearable device is in the earphone mode, the notification module (702) is configured to: notify the terminal that the wearable device can receive a voice message, and the sending module (704) is configured to send a request for establishing an audio channel to the terminal, wherein the receiving module is further configured to receive a response that is of confirming establishment of the audio channel and that is sent by the terminal; the sending module is further configured to send the text message index to the terminal, wherein the text message index includes a unique identifier of the text message received or pre-stored in the terminal; and the receiving module (703) is configured to receive a voice message sent by the terminal through the audio channel, wherein the voice message is obtained by converting the text message corresponding to the text message index by the terminal, and wherein the wearable device is configured to play the received voice message.
The wearable device according to claim 6, wherein the determining module is configured to determine, by using a Hall effect sensor, whether the wearable device is in the earphone mode.
Nachrichtenerlangungsverfahren, wobei das Verfahren Folgendes umfasst: Einrichten (601) einer Datenverbindung zwischen einer tragbaren Vorrichtung und einem Endgerät, wobei die tragbare Vorrichtung in einem Kopfhörermodus, wenn sie an einem Ohr eines Benutzers getragen wird, oder in einem Armbandmodus, wenn sie an einem Handgelenk des Benutzers getragen wird, betreibbar ist; Bestimmen (602), ob sich die tragbare Vorrichtung im Kopfhörermodus oder im Armbandmodus befindet, durch die tragbare Vorrichtung, indem ein Tragestatus der tragbaren Vorrichtung detektiert wird; wenn bestimmt wird, dass sich die tragbare Vorrichtung im Armbandmodus befindet, umfasst das Nachrichtenerlangungsverfahren ferner Folgendes: Benachrichtigen (603) des Endgeräts, dass die tragbare Vorrichtung nicht dazu in der Lage ist, eine Sprachnachricht zu empfangen, durch die tragbare Vorrichtung; Empfangen (606) eines durch das Endgerät gesendeten Textnachrichtenindex durch die tragbare Vorrichtung, wobei der Textnachrichtenindex durch das Endgerät auf Grundlage einer durch das Endgerät empfangenen oder vorab gespeicherten Textnachricht erstellt wird; und wenn bestimmt wird, dass sich die tragbare Vorrichtung im Kopfhörermodus befindet, umfasst das Nachrichtenerlangungsverfahren ferner Folgendes: Benachrichtigen (608) des Endgeräts, dass die tragbare Vorrichtung eine Sprachnachricht empfangen kann, durch die tragbare Vorrichtung; Senden einer Anforderung, einen Audiokanal einzurichten, durch die tragbare Vorrichtung an das Endgerät und Empfangen einer Antwort durch die tragbare Vorrichtung, welche die Einrichtung des Audiokanals bestätigt und die durch das Endgerät gesendet wird; Senden (609) des Textnachrichtenindex durch die tragbare Vorrichtung an das Endgerät, wobei der Textnachrichtenindex eine eindeutige Kennung der in dem Endgerät empfangenen oder vorab gespeicherten Textnachricht beinhaltet; und Empfangen (612) und Abspielen (613) einer durch das Endgerät über den Audiokanal gesendeten Sprachnachricht durch die tragbare Vorrichtung, wobei die Sprachnachricht durch Konvertieren der dem Textnachrichtenindex entsprechenden Textnachricht durch das Endgerät erlangt wird.
Verfahren nach Anspruch 1, wobei das Bestimmen, ob sich die tragbare Vorrichtung im Kopfhörermodus befindet, durch die tragbare Vorrichtung Folgendes umfasst: Bestimmen, ob sich die tragbare Vorrichtung im Kopfhörermodus befindet, durch die tragbare Vorrichtung mithilfe eines Hall-Effekt-Sensors.
Verfahren nach einem der vorhergehenden Ansprüche, wobei der Audiokanal einen Audiokanal eines Advanced Audio Distribution Profile, A2DP, umfasst.
Nachrichtenerlangungsverfahren, wobei das Verfahren Folgendes umfasst: Einrichten (601) einer Datenverbindung zwischen einer tragbaren Vorrichtung und einem Endgerät, wobei die tragbare Vorrichtung in einem Kopfhörermodus, wenn sie an einem Ohr eines Benutzers getragen wird, oder in einem Armbandmodus, wenn sie an einem Handgelenk des Benutzers getragen wird, betreibbar ist; Empfangen (603) einer Benachrichtigung durch das Endgerät, die durch die tragbare Vorrichtung gesendet wird und die angibt, dass die tragbare Vorrichtung nicht dazu in der Lage ist, eine Sprachnachricht zu empfangen, oder einer Benachrichtigung, die durch die tragbare Vorrichtung gesendet wird und die angibt, dass die tragbare Vorrichtung eine Sprachnachricht empfangen kann; wobei als Reaktion auf das Empfangen der Benachrichtigung, die angibt, dass die tragbare Vorrichtung nicht dazu in der Lage ist, eine Sprachnachricht zu empfangen, das Nachrichtenerlangungsverfahren ferner Folgendes umfasst: Erstellen (605) eines Textnachrichtenindex auf Grundlage einer durch das Endgerät empfangenen oder vorab gespeicherten Textnachricht durch das Endgerät; Senden (606) des Textnachrichtenindex durch das Endgerät an die tragbare Vorrichtung; und wobei als Reaktion auf das Empfangen der Benachrichtigung, die angibt, dass die tragbare Vorrichtung dazu in der Lage ist, eine Sprachnachricht zu empfangen, das Nachrichtenerlangungsverfahren ferner Folgendes umfasst: Empfangen einer durch die tragbare Vorrichtung gesendeten Anforderung, einen Audiokanal einzurichten, durch das Endgerät und Senden einer Antwort des Bestätigens einer Einrichtung des Audiokanals durch das Endgerät an die tragbare Vorrichtung; Empfangen (610) des durch die tragbare Vorrichtung gesendeten Textnachrichtenindex durch das Endgerät, wobei der Textnachrichtenindex eine eindeutige Kennung der in dem Endgerät empfangenen oder vorab gespeicherten Textnachricht beinhaltet; Umwandeln (611) der dem Textnachrichtenindex entsprechenden Textnachricht in eine Sprachnachricht durch das Endgerät; und Senden (612) der Sprachnachricht durch das Endgerät über den Audiokanal an die tragbare Vorrichtung.
Verfahren nach Anspruch 1, wobei eine Benachrichtigung, die angibt, dass die tragbare Vorrichtung eine Sprachnachricht empfangen kann, durch die tragbare Vorrichtung an das Endgerät gesendet wird, wenn die tragbare Vorrichtung bestimmt, dass sich die tragbare Vorrichtung im Kopfhörermodus befindet.
Tragbare Vorrichtung, wobei eine Datenverbindung zwischen der tragbaren Vorrichtung und einem Endgerät eingerichtet ist und die tragbare Vorrichtung in einem Kopfhörermodus, wenn sie an einem Ohr eines Benutzers getragen wird, oder in einem Armbandmodus, wenn sie an einem Handgelenk des Benutzers getragen wird, betreibbar ist, wobei die tragbare Vorrichtung Folgendes umfasst: ein Bestimmungsmodul (701); ein Benachrichtigungsmodul (702); ein Empfangsmodul (703); und ein Sendemodul (704); wobei das Bestimmungsmodul (701) dazu konfiguriert ist, zu bestimmen, ob sich die tragbare Vorrichtung im Kopfhörermodus oder im Armbandmodus befindet, indem ein Tragestatus der tragbaren Vorrichtung detektiert wird; wobei, wenn bestimmt wird, dass sich die tragbare Vorrichtung im Armbandmodus befindet, das Benachrichtigungsmodul (702) zu Folgendem konfiguriert ist: Benachrichtigen des Endgeräts, dass die tragbare Vorrichtung nicht dazu in der Lage ist, eine Sprachnachricht zu empfangen, und das Empfangsmodul (703) dazu konfiguriert ist, einen durch das Endgerät gesendeten Textnachrichtenindex zu empfangen, wobei der Textnachrichtenindex durch das Endgerät auf Grundlage einer durch das Endgerät empfangenen oder vorab gespeicherten Textnachricht erstellt wird; und wobei, wenn bestimmt wird, dass sich die tragbare Vorrichtung im Kopfhörermodus befindet, das Benachrichtigungsmodul (702) zu Folgendem konfiguriert ist: Benachrichtigen des Endgeräts, dass die tragbare Vorrichtung eine Sprachnachricht empfangen kann, und das Sendemodul (704) dazu konfiguriert ist, eine Anforderung zum Einrichten eines Audiokanals an das Endgerät zu senden, wobei das Empfangsmodul ferner dazu konfiguriert ist, eine Antwort zu empfangen, welche die Einrichtung des Audiokanals bestätigt und die durch das Endgerät gesendet wird; das Sendemodul ferner dazu konfiguriert ist, den Textnachrichtenindex an das Endgerät zu senden, wobei der Textnachrichtenindex eine eindeutige Kennung der in dem Endgerät empfangenen oder vorab gespeicherten Textnachricht beinhaltet; und das Empfangsmodul (703) dazu konfiguriert ist, eine durch das Endgerät über den Audiokanal gesendete Sprachnachricht zu empfangen, wobei die Sprachnachricht durch Umwandeln der dem Textnachrichtenindex entsprechenden Textnachricht durch das Endgerät erlangt wird, und wobei die tragbare Vorrichtung dazu konfiguriert ist, die empfangene Sprachnachricht abzuspielen.
Tragbare Vorrichtung nach Anspruch 6, wobei das Bestimmungsmodul dazu konfiguriert ist, mithilfe eines Hall-Effekt-Sensors zu bestimmen, ob sich die tragbare Vorrichtung im Kopfhörermodus befindet.
Procédé d'obtention de message, dans lequel le procédé comprend : l'établissement (601), entre un dispositif portable et un terminal, d'une connexion de données, dans lequel le dispositif portable peut fonctionner en mode écouteur lorsqu'il est porté sur l'oreille d'un utilisateur ou en mode bracelet lorsqu'il est porté au poignet de l'utilisateur ; le fait de déterminer (602), par le dispositif portable, si le dispositif portable est en mode écouteur ou en mode bracelet en détectant un état d'utilisation du dispositif portable ; lors de la détermination que le dispositif portable est en mode bracelet, le procédé d'obtention de message comprend en outre : la notification (603), par le dispositif portable, au terminal que le dispositif portable ne peut pas recevoir un message vocal ; la réception (606), par le dispositif portable, d'un index de message texte envoyé par le terminal, dans lequel l'index de message texte est créé par le terminal sur la base d'un message texte reçu ou pré-stocké par le terminal ; et lors de la détermination que le dispositif portable est en mode écouteur, le procédé d'obtention de message comprend en outre : la notification (608), par le dispositif portable, au terminal que le dispositif portable peut recevoir un message vocal ; l'envoi, par le dispositif portable, d'une demande d'établissement d'un canal audio au terminal, et la réception, par le dispositif portable, d'une réponse de confirmation d'établissement du canal audio et qui est envoyée par le terminal ; l'envoi (609), par le dispositif portable, de l'index de message texte au terminal, dans lequel l'index de message texte comporte un identifiant unique du message texte reçu ou pré-stocké dans le terminal ; et la réception (612) et la lecture (613), par le dispositif portable, d'un message vocal envoyé par le terminal via le canal audio, dans lequel le message vocal est obtenu en convertissant le message texte correspondant à l'index de message texte par le terminal.
Procédé selon la revendication 1, dans lequel le fait de déterminer, par le dispositif portable, si le dispositif portable est en mode écouteur comprend : le fait de déterminer, par le dispositif portable à l'aide d'un capteur à effet Hall, si le dispositif portable est en mode écouteur.
Procédé selon l'une quelconque des revendications précédentes, dans lequel le canal audio comprend un canal audio de profil de distribution audio avancé, A2DP.
Procédé d'obtention de message, dans lequel le procédé comprend : l'établissement (601), entre un dispositif portable et un terminal, d'une connexion de données, dans lequel le dispositif portable peut fonctionner en mode écouteur lorsqu'il est porté sur l'oreille d'un utilisateur ou en mode bracelet lorsqu'il est porté au poignet de l'utilisateur ; la réception (603), par le terminal, d'une notification qui est envoyée par le dispositif portable et qui indique que le dispositif portable ne peut pas recevoir un message vocal ou une notification qui est envoyée par le dispositif portable et qui indique que le dispositif portable peut recevoir un message vocal ; dans lequel en réponse à la réception de la notification qui indique que le dispositif portable ne peut pas recevoir un message vocal, le procédé d'obtention de message comprend en outre : la création, (605), par le terminal, d'un index de message texte sur la base d'un message texte reçu ou pré-stocké par le terminal ; l'envoi (606), par le terminal, de l'index de message texte au dispositif portable ; et dans lequel en réponse à la réception de la notification qui indique que le dispositif portable est capable de recevoir un message vocal, le procédé d'obtention de message comprend en outre : la réception, par le terminal, d'une demande d'établissement d'un canal audio envoyée par le dispositif portable, et l'envoi, par le terminal, d'une réponse de confirmation d'établissement du canal audio au dispositif portable ; la réception (610), par le terminal, de l'index de message texte envoyé par le dispositif portable, dans lequel l'index de message texte comporte un identifiant unique du message texte reçu ou pré-stocké dans le terminal ; la conversion (611), par le terminal, du message texte correspondant à l'index de message texte en un message vocal ; et l'envoi (612), par le terminal, du message vocal au dispositif portable via le canal audio.
Procédé selon la revendication 1, dans lequel une notification indiquant que le dispositif portable peut recevoir un message vocal est envoyée par le dispositif portable au terminal lorsque le dispositif portable détermine que le dispositif portable est en mode écouteur.
Dispositif portable, dans lequel une connexion de données est établie entre le dispositif portable et un terminal, et le dispositif portable peut fonctionner en mode écouteur lorsqu'il est porté sur l'oreille d'un utilisateur ou en mode bracelet lorsqu'il est porté au poignet de l'utilisateur, le dispositif portable comprenant : un module de détermination (701) ; un module de notification (702) ; un module de réception (703) ; et un module d'envoi (704) ; dans lequel le module de détermination (701) est configuré pour déterminer si le dispositif portable est en mode écouteur ou en mode bracelet en détectant un état d'utilisation du dispositif portable ; dans lequel lors de la détermination que le dispositif portable est en mode bracelet, le module de notification (702) est configuré pour : notifier au terminal que le dispositif portable ne peut pas recevoir un message vocal, et le module de réception (703) est configuré pour recevoir un index de message texte envoyé par le terminal, dans lequel l'index de message texte est créé par le terminal sur la base d'un message texte reçu ou pré-stocké par le terminal ; et dans lequel lors de la détermination que le dispositif portable est en mode écouteur, le module de notification (702) est configuré pour : notifier au terminal que le dispositif portable peut recevoir un message vocal, et le module d'envoi (704) est configuré pour envoyer une demande d'établissement d'un canal audio au terminal, dans lequel le module de réception est en outre configuré pour recevoir une réponse de confirmation d'établissement du canal audio et qui est envoyée par le terminal ; le module d'envoi est en outre configuré pour envoyer l'index de message texte au terminal, dans lequel l'index de message texte comporte un identifiant unique du message texte reçu ou pré-stocké dans le terminal ; et le module de réception (703) est configuré pour recevoir un message vocal envoyé par le terminal via le canal audio, dans lequel le message vocal est obtenu en convertissant le message texte correspondant à l'index de message texte par le terminal, et dans lequel le dispositif portable est configuré pour écouter le message vocal reçu.
Dispositif portable selon la revendication 6, dans lequel le module de détermination est configuré pour déterminer, à l'aide d'un capteur à effet Hall, si le dispositif portable est en mode écouteur.