A communication system, comprising a mobile terminal and a wearable device wirelessly connected to each other;
- wherein the mobile terminal comprises:
- a first communication module;
- and
- an auxiliary module comprising an instant messaging unit and an information processing unit connected with the instant messaging unit and the first communication module respectively;
- and wherein the wearable device comprises:
- a second communication module;
- an input module;
- an output module;
- and
- a control module respectively connected with the second communication module, the input module and the output module;
- and wherein the instant messaging unit is configured to establish a connection with a plurality of instant messaging servers during initialization;
- the instant messaging unit is further configured to receive an instant message provided by a target instant messaging server, obtain a first application identifier corresponding to the target instant messaging server according to types of the target instant messaging server, generate a receiving message according to the instant message and the first application identifier, and transmit the receiving message to the information processing unit;
- the instant message comprises a first message content and a first friend identifier;
- the receiving message comprises the first message content, the first application identifier and the first friend identifier;
- the target instant messaging server is any one of the plurality of instant messaging servers;
- the information processing unit is configured to transmit the receiving message to the first communication module;
- the first communication module is configured to transmit the receiving message to the second communication module;
- the second communication module is configured to transmit the receiving message to the control module;
- the control module is configured to transmit the receiving message to the output module;
- and
- the output module is configured to output the receiving message;
- when a user needs to send a message associated with a second message content, a second application identifier, and a second friend identifier from the wearable device to an instant messaging server corresponding to the second application identifier via the mobile terminal,
- the wearable device is configured to receive a query information inputted by the user and transmit the query information to the mobile terminal, wherein the query information includes the second application identifier and the second friend identifier and/or the second message content inputted by the user;
- the mobile terminal is configured to find out whether there is a friend corresponding to the second friend identifier from a friend list including in the application corresponding to the second application identifier, and if so, the mobile terminal is further configured to transmit a confirmation information to the wearable device to confirm that there is a friend corresponding to the second friend identifier;
- if the transmitted query information includes the second application identifier and the second friend identifier, when the wearable device receives the confirmation information, the wearable device is configured to transmit the second message content inputted by the user to the mobile terminal;
- and
- the mobile terminal is further configured to transmit the second message content and the second friend identifier to the instant messaging server, wherein the instant messaging server is configured to transmit the second message content to a friend corresponding to the second friend identifier;
- if the transmitted query information includes the second application identifier, the second friend identifier, and the second message content inputted by the user, the mobile terminal is further configured to transmit the second message content and the second friend identifier to the instant messaging server, wherein the instant messaging server is configured to transmit the second message content to a friend corresponding to the second friend identifier.