CN105141497B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105141497B
CN105141497B CN201410239927.0A CN201410239927A CN105141497B CN 105141497 B CN105141497 B CN 105141497B CN 201410239927 A CN201410239927 A CN 201410239927A CN 105141497 B CN105141497 B CN 105141497B
Authority
CN
China
Prior art keywords
electronic device
information
instruction
user
video chat
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.)
Active
Application number
CN201410239927.0A
Other languages
Chinese (zh)
Other versions
CN105141497A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410239927.0A priority Critical patent/CN105141497B/en
Publication of CN105141497A publication Critical patent/CN105141497A/en
Application granted granted Critical
Publication of CN105141497B publication Critical patent/CN105141497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses an information processing method and electronic equipment, wherein the method is applied to first electronic equipment, and the first electronic equipment can communicate with second electronic equipment; receiving a first instruction, wherein the first instruction is used for starting a first application in first electronic equipment; executing a first instruction and starting a first application; the first application presents a first list, and first user identifications with second type attributes are stored in the first list; receiving a second instruction, wherein the second instruction is used for adding a first user identifier of a second electronic device stored in the first electronic device; executing a second instruction, and adding the first user identification of the second electronic equipment into the first list; acquiring first information of second electronic equipment according to the first user identification; judging the type of the first information to obtain a first judgment result; when the first judgment result shows that the first information belongs to the first type, the first application generates an invitation message; and sending the invitation message to the second electronic equipment. The invention improves the user experience.

Description

Information processing method and electronic equipment
Technical Field
Embodiments of the present invention relate to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
In the existing instant messaging application in the electronic device, a contact person is generally searched by inputting a contact number of a user, and the contact person can be added through the contact number. But if the contact to be added is not a registered user of the instant messaging application, the process of adding the contact will not be completed, which is a poor experience for the user of the electronic device.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present invention provide an information processing method and an electronic device, which can send an invitation message to a user to be added when the user to be added is a non-registered user, and establish instant communication with the user in real time when it is detected that the user becomes a registered user.
The technical scheme of the embodiment of the invention is realized as follows:
an information processing method is applied to a first electronic device, and the first electronic device can communicate with a second electronic device; the method comprises the following steps:
receiving a first instruction, wherein the first instruction is used for starting a first video chat application in the first electronic equipment;
executing the first instruction, and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list;
receiving a second instruction, wherein the second instruction is used for adding a first user identifier of the second electronic device stored in the first electronic device;
executing the second instruction, and adding a first user identification of the second electronic equipment to the first list;
acquiring first information of the second electronic equipment according to the first user identification;
judging the type of the first information to obtain a first judgment result;
when the first judgment result shows that the first information belongs to a first type, generating an invitation message by the first video chat application;
and sending an invitation message to the second electronic equipment.
An electronic device capable of communicating with a second electronic device; the electronic device includes: the device comprises a first receiving unit, a first executing unit, a second receiving unit, a second executing unit, an acquiring unit, a first judging unit, a first generating unit and a first sending unit, wherein:
the first receiving unit is used for receiving a first instruction, and the first instruction is used for starting a first video chat application in the first electronic equipment;
the first execution unit is used for executing the first instruction and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list;
a second receiving unit, configured to receive a second instruction, where the second instruction is used to add a first user identifier of the second electronic device stored in the first electronic device;
a second execution unit, configured to execute the second instruction, and add a first user identifier of the second electronic device to the first list;
the acquisition unit is used for acquiring first information of the second electronic equipment according to the first user identification;
the first judging unit is used for judging the type of the first information to obtain a first judging result;
a first generating unit, configured to generate an invitation message by the first video chat application when the first determination result indicates that the first information belongs to a first type;
and the first sending unit is used for sending an invitation message to the second electronic equipment.
In the embodiment of the invention, when the instant messaging application in the electronic equipment is used for adding the contact person, if the contact person to be added is a registered user, the instant messaging application directly adds the user as the contact person, and when the user to be added is a non-registered user, the instant messaging application sends an invitation message to the user to be added, and when the user to be added is detected to become the registered user, the user to be added is added as the contact person. According to the embodiment of the invention, when the contact to be added is an unregistered user, the contact to be added can be added without causing the user unfriendly experience, so that the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a composition of an obtaining unit in the electronic device according to a sixth embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a flowchart illustrating an information processing method according to a first embodiment of the present invention, and as shown in fig. 1, the information processing method of this example is applied to a first electronic device, where the first electronic device is capable of communicating with a second electronic device; the information processing method of the present example includes the steps of:
step 101, receiving a first instruction, where the first instruction is used to start a first video chat application in the first electronic device;
when a user of a first electronic device needs to start a first video chat application, such as an instant video chat application, a first instruction is input to the first electronic device, and the first instruction is used for starting the first video chat application, such as the instant video chat application. Specifically, a user of the first electronic device can input a touch instruction through a touch screen or a touch pad arranged on the first electronic device to start the first video chat application. The first video chat application can also be started through a key arranged on the first electronic equipment. Alternatively, the first video chat application may be started by inputting a voice instruction to the first electronic device to generate the first instruction. The first instruction may also come from a remote electronic terminal. If the other electronic terminals communicate with the first electronic equipment and send a first instruction to the first electronic equipment, a first video chat application of the first electronic equipment is started.
It should be noted that the first video chat application is not limited to the instant video chat application, and may be other instant messaging applications.
The first video chat application may be self-contained when the first electronic device leaves a factory, or may be downloaded through a corresponding application server. The first electronic equipment can communicate with the application server and can download and update the application through the application server. For example, a first video chat application may be downloaded and an update to the first video chat application may be enabled.
Step 102, executing the first instruction, and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list;
and after the opening instruction of the first video chat application is executed, the first video chat application is opened. A corresponding first list is presented in the first video chat application. The first list is for example a contact list. Presenting in a first list in a contact list manner; the contact person can set the corresponding identification by himself. The contact identification can be a picture, a photo, a word, a number, or a combination of any of the above. The first list may store both registered and unregistered contact information. The first electronic device is unable to initiate instant messaging with the unregistered contact.
103, receiving a second instruction, where the second instruction is used to add a first user identifier of the second electronic device stored in the first electronic device;
when the user of the first electronic device needs to add the contact in the first list, inputting a second instruction into the first electronic device, wherein the second instruction is an instruction for adding the contact. Specifically, the user of the first electronic device may input the second instruction by inputting a touch instruction through a touch screen or a touch pad provided on the first electronic device. The second instruction can also be input through a key arranged on the first electronic device. Alternatively, the addition of the contact may be implemented by inputting a voice instruction to the first electronic device and generating the second instruction. The second instruction may also come from a remote electronic terminal. Such as by communicating with the first electronic device via the other electronic terminal and sending a second instruction to the first electronic device to effect the addition of the contact in the first list.
In the embodiment of the invention, the corresponding instant messaging contact person can be added in the first list through the contact person in the address book in the first electronic equipment. Specifically, if the instant messaging contact to be added is selected through the telephone address book stored in the first electronic device, the contact in the telephone address book is directly added to the instant messaging contact in the first list.
Step 104, executing the second instruction, and adding the first user identification of the second electronic device to the first list;
and after the second instruction is executed, adding the first user identifier of the second electronic equipment into the first list to finish the addition of the first user identifier of the second electronic equipment. At this time, although the contact information is added to the first list, it does not mean that a corresponding communication such as an instant video chat can be performed with the added contact. This is because the added contact may or may not be a registered user. If the user is a non-registered user, the corresponding instant messaging is not supported.
Step 105, acquiring first information of the second electronic device according to the first user identifier;
and acquiring first information of the second electronic equipment on a corresponding server according to the user identification information of the first user, such as a telephone number. Here, the first information is identification information of whether the user is a registered user.
Step 106, judging the type of the first information to obtain a first judgment result;
and judging the type of the acquired first information to obtain a first judgment result. Here, the type of the first information mainly refers to whether the current user is a registered user.
Step 107, when the first judgment result indicates that the first information belongs to the first type, generating an invitation message by the first video chat application;
and when the first judgment result shows that the first information belongs to the first type and the first user is determined to be an unregistered user, generating an invitation message by the first video chat application and sending the invitation message to the second electronic equipment.
In the embodiment of the invention, the identity of the user added into the first list is judged, namely whether the user is a registered user is judged, and when the user is a non-registered user, an invitation message is sent to the non-registered user.
Step 108, sending an invitation message to the second electronic device.
And when the first user added to the first list is determined to be the unregistered user, sending an invitation message to the second electronic equipment to which the first user belongs.
In the embodiment of the invention, after the identification of the user to be added, such as a mobile phone number, is directly input in the first video chat application, the user to be added can be added as a contact by directly clicking addition, whether the user to be added is a registered user can be determined through a server and the like, if the user to be added is the registered user, the addition is completed, and if the user is a non-registered user, a short message invitation is automatically sent. The embodiment of the invention can timely inform the non-registered user of the application information at the first time by combining the added contact with the corresponding invitation, and can timely realize the instant communication invitation to the non-registered user. The embodiment of the invention greatly improves the experience of the user of the electronic equipment.
Fig. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention, and as shown in fig. 2, the information processing method according to this example is applied to a first electronic device, and the first electronic device is capable of communicating with a second electronic device; the information processing method of the present example includes the steps of:
step 201, receiving a first instruction, where the first instruction is used to start a first video chat application in the first electronic device;
when a user of a first electronic device needs to start a first video chat application, such as an instant video chat application, a first instruction is input to the first electronic device, and the first instruction is used for starting the first video chat application, such as the instant video chat application. Specifically, a user of the first electronic device can input a touch instruction through a touch screen or a touch pad arranged on the first electronic device to start the first video chat application. The first video chat application can also be started through a key arranged on the first electronic equipment. Alternatively, the first video chat application may be started by inputting a voice instruction to the first electronic device to generate the first instruction. The first instruction may also come from a remote electronic terminal. If the other electronic terminals communicate with the first electronic equipment and send a first instruction to the first electronic equipment, a first video chat application of the first electronic equipment is started.
It should be noted that the first video chat application is not limited to the instant video chat application, and may be other instant messaging applications.
The first video chat application may be self-contained when the first electronic device leaves a factory, or may be downloaded through a corresponding application server. The first electronic equipment can communicate with the application server and can download and update the application through the application server. For example, a first video chat application may be downloaded and an update to the first video chat application may be enabled.
Step 202, executing the first instruction, and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list;
and after the opening instruction of the first video chat application is executed, the first video chat application is opened. A corresponding first list is presented in the first video chat application. The first list is for example a contact list. Presenting in a first list in a contact list manner; the contact person can set the corresponding identification by himself. The contact identification can be a picture, a photo, a word, a number, or a combination of any of the above. The first list may store both registered and unregistered contact information. The first electronic device is unable to initiate instant messaging with the unregistered contact.
Step 203, receiving a second instruction, where the second instruction is used to add a first user identifier of the second electronic device stored in the first electronic device;
when the user of the first electronic device needs to add the contact in the first list, inputting a second instruction into the first electronic device, wherein the second instruction is an instruction for adding the contact. Specifically, the user of the first electronic device may input the second instruction by inputting a touch instruction through a touch screen or a touch pad provided on the first electronic device. The second instruction can also be input through a key arranged on the first electronic device. Alternatively, the addition of the contact may be implemented by inputting a voice instruction to the first electronic device and generating the second instruction. The second instruction may also come from a remote electronic terminal. Such as by communicating with the first electronic device via the other electronic terminal and sending a second instruction to the first electronic device to effect the addition of the contact in the first list.
In the embodiment of the invention, the corresponding instant messaging contact person can be added in the first list through the contact person in the address book in the first electronic equipment. Specifically, if the instant messaging contact to be added is selected through the telephone address book stored in the first electronic device, the contact in the telephone address book is directly added to the instant messaging contact in the first list.
Step 204, executing the second instruction, and adding the first user identifier of the second electronic device to the first list;
and after the second instruction is executed, adding the first user identifier of the second electronic equipment into the first list to finish the addition of the first user identifier of the second electronic equipment. At this time, although the contact information is added to the first list, it does not mean that a corresponding communication such as an instant video chat can be performed with the added contact. This is because the added contact may or may not be a registered user. If the user is a non-registered user, the corresponding instant messaging is not supported.
Step 205, acquiring first information of the second electronic device according to the first user identifier;
and acquiring first information of the second electronic equipment on a corresponding server according to the user identification information of the first user, such as a telephone number. Here, the first information is identification information of whether the user is a registered user.
Specifically, the first electronic device is capable of communicating with a third electronic device; the third electronic equipment stores first information of the second electronic equipment; the third electronic device may be a server of the first video chat application, such as a server of an instant chat, and all electronic terminals loaded with the first video chat application need the third electronic device to implement a corresponding instant messaging service when performing instant messaging. The third electronic device also stores registration information of the user and the like.
The first information of the second electronic device is obtained according to the first user identifier, which can be specifically realized by the following steps:
generating a first request message, wherein the first request message is used for acquiring first information of the second electronic device from the third electronic device; here, the related information of whether the user of the second electronic device is a registered user may be acquired by transmitting a corresponding request message to the third electronic device.
Sending the first request message to the third electronic device;
and receiving a response message of the first request message sent by the third electronic device, wherein the response message carries the first information of the second electronic device.
Here, the first information of the second electronic device is mainly identification information of whether the second electronic device is a registered user.
Step 206, judging the type of the first information to obtain a first judgment result;
and judging the type of the acquired first information to obtain a first judgment result. Here, the type of the first information mainly refers to whether the current user is a registered user.
Step 207, when the first judgment result indicates that the first information belongs to the first type, generating an invitation message by the first video chat application;
and when the first judgment result shows that the first information belongs to the first type and the first user is determined to be an unregistered user, generating an invitation message by the first video chat application and sending the invitation message to the second electronic equipment.
In the embodiment of the invention, the identity of the user added into the first list is judged, namely whether the user is a registered user is judged, and when the user is a non-registered user, an invitation message is sent to the non-registered user.
Step 208, sending an invitation message to the second electronic device.
And when the first user added to the first list is determined to be the unregistered user, sending an invitation message to the second electronic equipment to which the first user belongs.
In the embodiment of the invention, after the identification of the user to be added, such as a mobile phone number, is directly input in the first video chat application, the user to be added can be added as a contact by directly clicking addition, whether the user to be added is a registered user can be determined through a server and the like, if the user to be added is the registered user, the addition is completed, and if the user is a non-registered user, a short message invitation is automatically sent. The embodiment of the invention can timely inform the non-registered user of the application information at the first time by combining the added contact with the corresponding invitation, and can timely realize the instant communication invitation to the non-registered user. The embodiment of the invention greatly improves the experience of the user of the electronic equipment.
Fig. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention, and as shown in fig. 3, the information processing method of this example is applied to a first electronic device, and the first electronic device is capable of communicating with a second electronic device; the information processing method of the present example includes the steps of:
step 301, receiving a first instruction, where the first instruction is used to start a first video chat application in the first electronic device;
when a user of a first electronic device needs to start a first video chat application, such as an instant video chat application, a first instruction is input to the first electronic device, and the first instruction is used for starting the first video chat application, such as the instant video chat application. Specifically, a user of the first electronic device can input a touch instruction through a touch screen or a touch pad arranged on the first electronic device to start the first video chat application. The first video chat application can also be started through a key arranged on the first electronic equipment. Alternatively, the first video chat application may be started by inputting a voice instruction to the first electronic device to generate the first instruction. The first instruction may also come from a remote electronic terminal. If the other electronic terminals communicate with the first electronic equipment and send a first instruction to the first electronic equipment, a first video chat application of the first electronic equipment is started.
It should be noted that the first video chat application is not limited to the instant video chat application, and may be other instant messaging applications.
The first video chat application may be self-contained when the first electronic device leaves a factory, or may be downloaded through a corresponding application server. The first electronic equipment can communicate with the application server and can download and update the application through the application server. For example, a first video chat application may be downloaded and an update to the first video chat application may be enabled.
Step 302, executing the first instruction, and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list;
and after the opening instruction of the first video chat application is executed, the first video chat application is opened. A corresponding first list is presented in the first video chat application. The first list is for example a contact list. Presenting in a first list in a contact list manner; the contact person can set the corresponding identification by himself. The contact identification can be a picture, a photo, a word, a number, or a combination of any of the above. The first list may store both registered and unregistered contact information. The first electronic device is unable to initiate instant messaging with the unregistered contact.
Step 303, receiving a second instruction, where the second instruction is used to add a first user identifier of the second electronic device stored in the first electronic device;
when the user of the first electronic device needs to add the contact in the first list, inputting a second instruction into the first electronic device, wherein the second instruction is an instruction for adding the contact. Specifically, the user of the first electronic device may input the second instruction by inputting a touch instruction through a touch screen or a touch pad provided on the first electronic device. The second instruction can also be input through a key arranged on the first electronic device. Alternatively, the addition of the contact may be implemented by inputting a voice instruction to the first electronic device and generating the second instruction. The second instruction may also come from a remote electronic terminal. Such as by communicating with the first electronic device via the other electronic terminal and sending a second instruction to the first electronic device to effect the addition of the contact in the first list.
In the embodiment of the invention, the corresponding instant messaging contact person can be added in the first list through the contact person in the address book in the first electronic equipment. Specifically, if the instant messaging contact to be added is selected through the telephone address book stored in the first electronic device, the contact in the telephone address book is directly added to the instant messaging contact in the first list.
Step 304, executing the second instruction, and adding the first user identifier of the second electronic device to the first list;
and after the second instruction is executed, adding the first user identifier of the second electronic equipment into the first list to finish the addition of the first user identifier of the second electronic equipment. At this time, although the contact information is added to the first list, it does not mean that a corresponding communication such as an instant video chat can be performed with the added contact. This is because the added contact may or may not be a registered user. If the user is a non-registered user, the corresponding instant messaging is not supported.
Step 305, acquiring first information of the second electronic device according to the first user identifier;
and acquiring first information of the second electronic equipment on a corresponding server according to the user identification information of the first user, such as a telephone number. Here, the first information is identification information of whether the user is a registered user.
Specifically, the first electronic device is capable of communicating with a third electronic device; the third electronic equipment stores first information of the second electronic equipment; the third electronic device may be a server of the first video chat application, such as a server of an instant chat, and all electronic terminals loaded with the first video chat application need the third electronic device to implement a corresponding instant messaging service when performing instant messaging. The third electronic device also stores registration information of the user and the like.
The first information of the second electronic device is obtained according to the first user identifier, which can be specifically realized by the following steps:
generating a first request message, wherein the first request message is used for acquiring first information of the second electronic device from the third electronic device; here, the related information of whether the user of the second electronic device is a registered user may be acquired by transmitting a corresponding request message to the third electronic device.
Sending the first request message to the third electronic device;
and receiving a response message of the first request message sent by the third electronic device, wherein the response message carries the first information of the second electronic device.
Here, the first information of the second electronic device is mainly identification information of whether the second electronic device is a registered user.
Step 306, judging the type of the first information to obtain a first judgment result;
and judging the type of the acquired first information to obtain a first judgment result. Here, the type of the first information mainly refers to whether the current user is a registered user.
Step 307, when the first judgment result indicates that the first information belongs to a first type, generating an invitation message by the first video chat application;
and when the first judgment result shows that the first information belongs to the first type and the first user is determined to be an unregistered user, generating an invitation message by the first video chat application and sending the invitation message to the second electronic equipment.
In the embodiment of the invention, the identity of the user added into the first list is judged, namely whether the user is a registered user is judged, and when the user is a non-registered user, an invitation message is sent to the non-registered user.
Step 308, sending an invitation message to the second electronic device.
And when the first user added to the first list is determined to be the unregistered user, sending an invitation message to the second electronic equipment to which the first user belongs.
In the embodiment of the invention, when the invitation message is sent to the second electronic equipment, first indication information is also sent to the second electronic equipment; the first indication information is used for indicating source storage address information of the first video chat application. Specifically, the first indication information may be a link of the application server, for example, a download address of the first video chat application on the application server capable of downloading the first video chat application. After receiving the first indication information, the user can directly click the corresponding link to download the first video chat application. The first indication information may be carried in an invitation message to be sent to the second electronic device.
The invitation message may be a short message, a multimedia message, etc. Of course, the information may also be transmitted to the second electronic device through a wireless local area network or the internet.
It should be noted that the first indication information may also be separately transmitted to the second electronic device. May be sent to the second electronic device at a different time than the invitation message.
In the embodiment of the invention, after the identification of the user to be added, such as a mobile phone number, is directly input in the first video chat application, the user to be added can be added as a contact by directly clicking addition, whether the user to be added is a registered user can be determined through a server and the like, if the user to be added is the registered user, the addition is completed, and if the user is a non-registered user, a short message invitation is automatically sent. The embodiment of the invention can timely inform the non-registered user of the application information at the first time by combining the added contact with the corresponding invitation, and can timely realize the instant communication invitation to the non-registered user. The embodiment of the invention greatly improves the experience of the user of the electronic equipment.
Fig. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention, and as shown in fig. 4, the information processing method of this example is applied to a first electronic device, and the first electronic device is capable of communicating with a second electronic device; the information processing method of the present example includes the steps of:
step 401, receiving a first instruction, where the first instruction is used to start a first video chat application in the first electronic device;
when a user of a first electronic device needs to start a first video chat application, such as an instant video chat application, a first instruction is input to the first electronic device, and the first instruction is used for starting the first video chat application, such as the instant video chat application. Specifically, a user of the first electronic device can input a touch instruction through a touch screen or a touch pad arranged on the first electronic device to start the first video chat application. The first video chat application can also be started through a key arranged on the first electronic equipment. Alternatively, the first video chat application may be started by inputting a voice instruction to the first electronic device to generate the first instruction. The first instruction may also come from a remote electronic terminal. If the other electronic terminals communicate with the first electronic equipment and send a first instruction to the first electronic equipment, a first video chat application of the first electronic equipment is started.
It should be noted that the first video chat application is not limited to the instant video chat application, and may be other instant messaging applications.
The first video chat application may be self-contained when the first electronic device leaves a factory, or may be downloaded through a corresponding application server. The first electronic equipment can communicate with the application server and can download and update the application through the application server. For example, a first video chat application may be downloaded and an update to the first video chat application may be enabled.
Step 402, executing the first instruction, and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list;
and after the opening instruction of the first video chat application is executed, the first video chat application is opened. A corresponding first list is presented in the first video chat application. The first list is for example a contact list. Presenting in a first list in a contact list manner; the contact person can set the corresponding identification by himself. The contact identification can be a picture, a photo, a word, a number, or a combination of any of the above. The first list may store both registered and unregistered contact information. The first electronic device is unable to initiate instant messaging with the unregistered contact.
Step 403, receiving a second instruction, where the second instruction is used to add a first user identifier of the second electronic device stored in the first electronic device;
when the user of the first electronic device needs to add the contact in the first list, inputting a second instruction into the first electronic device, wherein the second instruction is an instruction for adding the contact. Specifically, the user of the first electronic device may input the second instruction by inputting a touch instruction through a touch screen or a touch pad provided on the first electronic device. The second instruction can also be input through a key arranged on the first electronic device. Alternatively, the addition of the contact may be implemented by inputting a voice instruction to the first electronic device and generating the second instruction. The second instruction may also come from a remote electronic terminal. Such as by communicating with the first electronic device via the other electronic terminal and sending a second instruction to the first electronic device to effect the addition of the contact in the first list.
In the embodiment of the invention, the corresponding instant messaging contact person can be added in the first list through the contact person in the address book in the first electronic equipment. Specifically, if the instant messaging contact to be added is selected through the telephone address book stored in the first electronic device, the contact in the telephone address book is directly added to the instant messaging contact in the first list.
Step 404, executing the second instruction, and adding the first user identifier of the second electronic device to the first list;
and after the second instruction is executed, adding the first user identifier of the second electronic equipment into the first list to finish the addition of the first user identifier of the second electronic equipment. At this time, although the contact information is added to the first list, it does not mean that a corresponding communication such as an instant video chat can be performed with the added contact. This is because the added contact may or may not be a registered user. If the user is a non-registered user, the corresponding instant messaging is not supported.
Step 405, acquiring first information of the second electronic device according to the first user identifier;
and acquiring first information of the second electronic equipment on a corresponding server according to the user identification information of the first user, such as a telephone number. Here, the first information is identification information of whether the user is a registered user.
Specifically, the first electronic device is capable of communicating with a third electronic device; the third electronic equipment stores first information of the second electronic equipment; the third electronic device may be a server of the first video chat application, such as a server of an instant chat, and all electronic terminals loaded with the first video chat application need the third electronic device to implement a corresponding instant messaging service when performing instant messaging. The third electronic device also stores registration information of the user and the like.
The first information of the second electronic device is obtained according to the first user identifier, which can be specifically realized by the following steps:
generating a first request message, wherein the first request message is used for acquiring first information of the second electronic device from the third electronic device; here, the related information of whether the user of the second electronic device is a registered user may be acquired by transmitting a corresponding request message to the third electronic device.
Sending the first request message to the third electronic device;
and receiving a response message of the first request message sent by the third electronic device, wherein the response message carries the first information of the second electronic device.
Here, the first information of the second electronic device is mainly identification information of whether the second electronic device is a registered user.
Step 406, judging the type of the first information to obtain a first judgment result;
and judging the type of the acquired first information to obtain a first judgment result. Here, the type of the first information mainly refers to whether the current user is a registered user.
Step 407, when the first determination result indicates that the first information belongs to the first type, generating an invitation message by the first video chat application;
and when the first judgment result shows that the first information belongs to the first type and the first user is determined to be an unregistered user, generating an invitation message by the first video chat application and sending the invitation message to the second electronic equipment.
In the embodiment of the invention, the identity of the user added into the first list is judged, namely whether the user is a registered user is judged, and when the user is a non-registered user, an invitation message is sent to the non-registered user.
Step 408, sending an invitation message to the second electronic device.
And when the first user added to the first list is determined to be the unregistered user, sending an invitation message to the second electronic equipment to which the first user belongs.
In the embodiment of the invention, when the invitation message is sent to the second electronic equipment, first indication information is also sent to the second electronic equipment; the first indication information is used for indicating source storage address information of the first video chat application. Specifically, the first indication information may be a link of the application server, for example, a download address of the first video chat application on the application server capable of downloading the first video chat application. After receiving the first indication information, the user can directly click the corresponding link to download the first video chat application. The first indication information may be carried in an invitation message to be sent to the second electronic device.
The invitation message may be a short message, a multimedia message, etc. Of course, the information may also be transmitted to the second electronic device through a wireless local area network or the internet.
It should be noted that the first indication information may also be separately transmitted to the second electronic device. May be sent to the second electronic device at a different time than the invitation message.
Step 409, generating a second request message, where the second request message is used to acquire the first information of the second electronic device from the third electronic device;
and after the first indication information is sent to the second electronic equipment, waiting for a period of time or sending a second request message to third electronic equipment.
Step 410, sending the second request message to the third electronic device;
specifically, by sending the second request message to the third electronic device, it can be queried whether the second electronic device initiates a registration request to the third electronic device and becomes a registered user.
Step 411, receiving a response message of the second request message sent by the third electronic device, where the response message carries the first information of the second electronic device.
The first information of the second electronic device can be acquired by sending the second request message to the third electronic device and receiving the corresponding response message, so that whether the second electronic device is a registered user or not is determined.
Step 412, determining the type of the first information to obtain a second determination result; and when the second judgment result shows that the first information belongs to the second type, ending the current processing.
When the second electronic equipment user is determined to be the registered user, corresponding instant messaging can be carried out with the added contact person.
In the embodiment of the invention, after the identification of the user to be added, such as a mobile phone number, is directly input in the first video chat application, the user to be added can be added as a contact by directly clicking addition, whether the user to be added is a registered user can be determined through a server and the like, if the user to be added is the registered user, the addition is completed, and if the user is a non-registered user, a short message invitation is automatically sent. The embodiment of the invention can timely inform the non-registered user of the application information at the first time by combining the added contact with the corresponding invitation, and can timely realize the instant communication invitation to the non-registered user. The embodiment of the invention greatly improves the experience of the user of the electronic equipment.
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, where the electronic device is capable of communicating with a second electronic device; as shown in fig. 5, the electronic apparatus of the present example includes: a first receiving unit 50, a first executing unit 51, a second receiving unit 52, a second executing unit 53, an acquiring unit 54, a first judging unit 55, a first generating unit 56, and a first transmitting unit 57, wherein:
a first receiving unit 50, configured to receive a first instruction, where the first instruction is used to start a first video chat application in the electronic device;
when a user of the electronic equipment needs to start a first video chat application, such as an instant video chat application, a first instruction is input to the electronic equipment, and the first instruction is used for starting the first video chat application, such as the instant video chat application. Specifically, the electronic device user can input a touch instruction through a touch screen or a touch pad arranged on the electronic device to start the first video chat application. The first video chat application can also be started through a key arranged on the electronic equipment. Alternatively, the first video chat application may be started by inputting a voice instruction to the electronic device to generate the first instruction. The first instruction may also come from a remote electronic terminal. For example, the first video chat application of the electronic equipment is started by communicating with the electronic equipment through other electronic terminals and sending a first instruction to the electronic equipment. It should be noted that the first video chat application is not limited to the instant video chat application, and may be other instant messaging applications. The first video chat application may be self-contained in the electronic device when the electronic device leaves a factory, or may be downloaded through a corresponding application server. The electronic device can communicate with the application server and can download and update applications through the application server. For example, a first video chat application may be downloaded and an update to the first video chat application may be enabled.
A first execution unit 51, configured to execute the first instruction, and start the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list; and after the opening instruction of the first video chat application is executed, the first video chat application is opened. A corresponding first list is presented in the first video chat application. The first list is for example a contact list. Presenting in a first list in a contact list manner; the contact person can set the corresponding identification by himself. The contact identification can be a picture, a photo, a word, a number, or a combination of any of the above. The first list may store both registered and unregistered contact information. The electronic device is unable to initiate instant messaging with unregistered contacts.
A second receiving unit 52, configured to receive a second instruction, where the second instruction is used to add a first user identifier of the second electronic device stored in the electronic device;
when the user of the electronic device needs to add the contact in the first list, a second instruction is input into the electronic device, and the second instruction is used for adding the contact. Specifically, the electronic device user may input the second instruction by inputting a touch instruction through a touch screen or a touch panel provided on the electronic device. The second instruction may also be input through a key provided on the electronic device. Alternatively, the addition of the contact may be accomplished by inputting a voice instruction to the electronic device and generating a second instruction. The second instruction may also come from a remote electronic terminal. Such as by communicating with the electronic device via another electronic terminal and sending a second instruction to the electronic device to effect the addition of the contact in the first list.
In the embodiment of the invention, the corresponding instant messaging contact person can be added in the first list through the contact person in the address book in the electronic equipment. Specifically, if the instant messaging contact to be added is selected through the telephone address book stored in the electronic equipment, the contact in the telephone address book is directly added to the instant messaging contact in the first list.
A second executing unit 53, configured to execute the second instruction, and add the first user identifier of the second electronic device to the first list;
and after the second instruction is executed, adding the first user identifier of the second electronic equipment into the first list to finish the addition of the first user identifier of the second electronic equipment. At this time, although the contact information is added to the first list, it does not mean that a corresponding communication such as an instant video chat can be performed with the added contact. This is because the added contact may or may not be a registered user. If the user is a non-registered user, the corresponding instant messaging is not supported.
An obtaining unit 54, configured to obtain first information of the second electronic device according to the first user identifier;
in this embodiment of the present invention, the obtaining unit 54 obtains the first information of the second electronic device on the corresponding server according to the user identification information of the first user, such as the phone number. Here, the first information is identification information of whether the user is a registered user.
A first judging unit 55, configured to judge a type of the first information, and obtain a first judgment result;
a first generating unit 56, configured to generate an invitation message by the first video chat application when the first determination result indicates that the first information belongs to a first type;
and when the first judgment result shows that the first information belongs to the first type and the first user is determined to be an unregistered user, generating an invitation message by the first video chat application and sending the invitation message to the second electronic equipment.
A first sending unit 57, sending an invitation message to the second electronic device.
In this embodiment of the present invention, the first sending unit 57 may be further configured to send first indication information to the second electronic device when sending an invitation message to the second electronic device; the first indication information is used for indicating source storage address information of the first video chat application.
In the embodiment of the invention, the electronic equipment can communicate with third electronic equipment; the third electronic equipment stores first information of the second electronic equipment;
fig. 6 is a schematic structural diagram of a composition of an obtaining unit in an electronic device according to a sixth embodiment of the present invention, and as shown in fig. 6, the obtaining unit 54 includes: a generating subunit 540, a transmitting subunit 541, and a receiving subunit 542, wherein:
a generating subunit 540, configured to generate a first request message, where the first request message is used to acquire, from the third electronic device, first information of the second electronic device;
a sending subunit 541, configured to send the first request message to the third electronic device;
a receiving subunit 542, configured to receive a response message of the first request message sent by the third electronic device, where the response message carries the first information of the second electronic device.
On the basis of the electronic device shown in fig. 5, the electronic device further includes: a second generating unit (not shown in fig. 5), a second transmitting unit (not shown in fig. 5), a second receiving unit (not shown in fig. 5), and a second judging unit (not shown in fig. 5), and after the first transmitting unit 57 transmits the first instruction information to the second electronic device, wherein:
a second generating unit, configured to generate a second request message, where the second request message is used to acquire, from the third electronic device, first information of the second electronic device;
a second sending unit, configured to send the second request message to the third electronic device;
receiving a response message of the second request message sent by the third electronic device, wherein the response message carries the first information of the second electronic device;
the second judging unit is used for judging the type of the first information to obtain a second judging result; and when the second judgment result shows that the first information belongs to the second type, ending the current processing.
Those skilled in the art will understand that the implementation functions of each unit in the electronic device shown in fig. 5 can be understood by referring to the related description of the information processing method. The functions of the units in the electronic device shown in fig. 5 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (4)

1. An information processing method is applied to a first electronic device, and the first electronic device can communicate with a second electronic device; characterized in that the method comprises:
receiving a first instruction, wherein the first instruction is used for starting a first video chat application in the first electronic equipment;
executing the first instruction, and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list; wherein the second type is a registered user type;
receiving a second instruction, wherein the second instruction is used for adding a first user identifier of the second electronic device stored in the first electronic device;
executing the second instruction, and adding a first user identification of the second electronic equipment to the first list;
acquiring first information of the second electronic equipment according to a first user identifier of the second electronic equipment; the first information is identification information for determining whether a user is a registered user;
judging the type of the first information to obtain a first judgment result;
when the first judgment result shows that the first information belongs to a first type, generating an invitation message by the first video chat application; wherein the first type is a non-registered user type;
sending an invitation message to the second electronic equipment, wherein when the invitation message is sent to the second electronic equipment, first indication information is also sent to the second electronic equipment;
wherein the first electronic device is capable of communicating with a third electronic device; the third electronic equipment stores first information of the second electronic equipment;
the acquiring first information of the second electronic device according to the first user identifier of the second electronic device includes:
generating a first request message, wherein the first request message is used for acquiring first information of the second electronic device from the third electronic device;
sending the first request message to the third electronic device;
and receiving a response message of the first request message sent by the third electronic device, wherein the response message carries the first information of the second electronic device.
2. The information processing method according to claim 1, wherein after the first instruction information is transmitted to the second electronic device, the method further comprises:
generating a second request message, wherein the second request message is used for acquiring first information of the second electronic device from the third electronic device;
sending the second request message to the third electronic device;
receiving a response message of the second request message sent by the third electronic device, wherein the response message carries the first information of the second electronic device;
judging the type of the first information to obtain a second judgment result;
and when the second judgment result shows that the first information belongs to the second type, ending the current processing.
3. An electronic device capable of communicating with a second electronic device; characterized in that the electronic device comprises: the device comprises a first receiving unit, a first executing unit, a second receiving unit, a second executing unit, an acquiring unit, a first judging unit, a first generating unit and a first sending unit, wherein:
the device comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving a first instruction, and the first instruction is used for starting a first video chat application in first electronic equipment;
the first execution unit is used for executing the first instruction and starting the first video chat application; the first video chat application presents a first list, and a first user identifier with a second type attribute is stored in the first list; wherein the second type is a registered user type;
a second receiving unit, configured to receive a second instruction, where the second instruction is used to add a first user identifier of the second electronic device stored in the first electronic device;
a second execution unit, configured to execute the second instruction, and add a first user identifier of the second electronic device to the first list;
the acquisition unit is used for acquiring first information of the second electronic equipment according to a first user identifier of the second electronic equipment;
the first judging unit is used for judging the type of the first information to obtain a first judging result;
a first generating unit, configured to generate an invitation message by the first video chat application when the first determination result indicates that the first information belongs to a first type; wherein the first type is a non-registered user type;
the first sending unit is further configured to send first indication information to the second electronic device when the invitation message is sent to the second electronic device;
wherein the electronic device is capable of communicating with a third electronic device; the third electronic equipment stores first information of the second electronic equipment; the first information is identification information for determining whether a user is a registered user;
the acquisition unit includes: a generating subunit, a transmitting subunit and a receiving subunit, wherein:
a generating subunit, configured to generate a first request message, where the first request message is used to acquire, from the third electronic device, first information of the second electronic device;
a sending subunit, configured to send the first request message to the third electronic device;
a receiving subunit, configured to receive a response message of the first request message sent by the third electronic device, where the response message carries the first information of the second electronic device.
4. The electronic device of claim 3, further comprising: a second generating unit, a second transmitting unit, and a second judging unit, after the first transmitting unit transmits the first instruction information to the second electronic device, wherein:
a second generating unit, configured to generate a second request message, where the second request message is used to acquire, from the third electronic device, first information of the second electronic device;
a second sending unit, configured to send the second request message to the third electronic device;
receiving a response message of the second request message sent by the third electronic device, wherein the response message carries the first information of the second electronic device;
the second judging unit is used for judging the type of the first information to obtain a second judging result; and when the second judgment result shows that the first information belongs to the second type, ending the current processing.
CN201410239927.0A 2014-05-30 2014-05-30 Information processing method and electronic equipment Active CN105141497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410239927.0A CN105141497B (en) 2014-05-30 2014-05-30 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410239927.0A CN105141497B (en) 2014-05-30 2014-05-30 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105141497A CN105141497A (en) 2015-12-09
CN105141497B true CN105141497B (en) 2020-11-20

Family

ID=54726713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410239927.0A Active CN105141497B (en) 2014-05-30 2014-05-30 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105141497B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844974B (en) * 2021-01-31 2023-08-22 华为技术有限公司 Method for sharing address book, mobile device, electronic device and communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647633A (en) * 2012-05-02 2012-08-22 合一网络技术(北京)有限公司 Method for achieving cross-platform media sharing and controlling through network mode
CN102843308A (en) * 2011-06-23 2012-12-26 腾讯科技(深圳)有限公司 Instant messaging method and system based on mobile terminal local address book

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9390396B2 (en) * 2006-12-04 2016-07-12 Excalibur Ip, Llc Bootstrapping social networks using augmented peer to peer distributions of social networking services
CN101159890B (en) * 2007-06-27 2011-06-22 深圳市融创天下科技发展有限公司 Method of performing free group calling and intercommunication between multiple mobile phones in mobile communication network
CN101404628B (en) * 2008-11-20 2011-04-06 侯万春 System and method for increasing non-friend communication mode in instant communication
CN101697538A (en) * 2009-10-21 2010-04-21 深圳市融创天下科技发展有限公司 Method for quickly spreading registration among broad community of users in network system
US20110167114A1 (en) * 2010-01-05 2011-07-07 International Business Machines Corporation Automatically synchronizing new contacts across multiple social networking sites
CN101916399A (en) * 2010-07-27 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for adding recipients
CN102377763A (en) * 2010-08-25 2012-03-14 腾讯科技(深圳)有限公司 Invitation information pushing method and system
CN103023744A (en) * 2011-09-22 2013-04-03 北京神州泰岳软件股份有限公司 Method and system for information management in instant messaging tool
CN103188131B (en) * 2011-12-29 2016-08-03 北京神州泰岳软件股份有限公司 Friend recommendation method and apparatus on instant communication client
CN103227746B (en) * 2012-01-31 2018-03-27 珠海德百祺科技有限公司 Data communications method and system
CN102760032B (en) * 2012-03-19 2015-08-26 联想(北京)有限公司 A kind of method of information processing and electronic equipment
CN103780590B (en) * 2012-10-24 2016-08-03 腾讯科技(深圳)有限公司 Automatically prompting user the registration method of microblogging, Apparatus and system
CN103777962A (en) * 2014-02-21 2014-05-07 联想(北京)有限公司 Method and device for processing information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843308A (en) * 2011-06-23 2012-12-26 腾讯科技(深圳)有限公司 Instant messaging method and system based on mobile terminal local address book
CN102647633A (en) * 2012-05-02 2012-08-22 合一网络技术(北京)有限公司 Method for achieving cross-platform media sharing and controlling through network mode

Also Published As

Publication number Publication date
CN105141497A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
US9742868B2 (en) Method, device and system for processing instant messaging information and setting terminal priority
CN103069755B (en) Use the method and system that the instant message of multiple client instance transmits
US20170181060A1 (en) Methods and devices for connecting to network
US10911378B2 (en) System and method for providing conversational contents
CN105472430A (en) Method of making mobile terminal ring through intelligent television, equipment and system thereof
CN108063804B (en) Communication method and device
US11102626B2 (en) Electronic device and communication relaying method thereof
CN109391476B (en) Network communication method, device and system
CN104899083A (en) Application share method and device
US10225738B2 (en) Remote operation system, relay apparatus, mobile communication apparatus, in-terminal server control method, and relay processing method
CN106357756A (en) Method and system for processing electronic business cards on basis of mobile terminals
CN105404800B (en) Account information authorization method, terminal and server
CN108965359B (en) Communication method, communication device, readable medium, and electronic apparatus
CN106716418B (en) Software recommendation method and device, terminal and server
CN106664240A (en) Instant messaging group polls
CN111338971B (en) Application testing method and device, electronic equipment and storage medium
CN105141497B (en) Information processing method and electronic equipment
CN105827513B (en) Video information sharing method, device and equipment
CN104462275A (en) Method for recommending application based on social network
CN110620672B (en) Multi-person session data processing method and device, computer equipment and storage medium
CN103200591A (en) Method for processing mobile network call requests
US9432420B2 (en) Communication system, non-transitory computer-readable medium storing communication program and communication device
US20090216864A1 (en) Methods, apparatuses, and computer program products, for automatically finding configuration settings for services
US20140028787A1 (en) Non-Transitory Computer-Readable Medium Storing Program and Communication Device
CN104519057A (en) Qualification awarding method, qualification acquiring device and qualification acquiring device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant