CN113315694A - Instant messaging method and device and electronic equipment - Google Patents

Instant messaging method and device and electronic equipment Download PDF

Info

Publication number
CN113315694A
CN113315694A CN202110589651.9A CN202110589651A CN113315694A CN 113315694 A CN113315694 A CN 113315694A CN 202110589651 A CN202110589651 A CN 202110589651A CN 113315694 A CN113315694 A CN 113315694A
Authority
CN
China
Prior art keywords
password
user
input
hand
electronic equipment
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.)
Granted
Application number
CN202110589651.9A
Other languages
Chinese (zh)
Other versions
CN113315694B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110589651.9A priority Critical patent/CN113315694B/en
Publication of CN113315694A publication Critical patent/CN113315694A/en
Priority to PCT/CN2022/094373 priority patent/WO2022247771A1/en
Application granted granted Critical
Publication of CN113315694B publication Critical patent/CN113315694B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an instant messaging method, an instant messaging device and electronic equipment, and belongs to the technical field of communication. The method is applied to a first electronic device which is provided with a touch screen. The method comprises the following steps: receiving a first input to a pointer in an interface; displaying a password input interface in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.

Description

Instant messaging method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an instant messaging method, an instant messaging device and electronic equipment.
Background
The intelligent wearable device is increasingly applied to life, personalized requirements are increasingly rich, and as the intelligent wearable device bears more and more functions, how to realize quick social contact on the intelligent wearable device is very important.
Generally, instant messaging is quickly established on intelligent wearable equipment, and the instant messaging needs to be established by means of an instant messaging account system such as a social account or a third-party account, that is, an instant messaging group needs to be established for communication. However, the establishment process of the instant messaging is very complex, consumes much time, and has poor user experience.
Disclosure of Invention
The embodiment of the application aims to provide an instant messaging method, which can solve the problems of complex establishing process and more time consumption of the existing instant messaging.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an instant messaging method, which is applied to a first electronic device, where the first electronic device has a touch screen, and the method includes:
receiving a first input to a pointer in an interface;
displaying a password input interface in response to the first input;
receiving a second input at the password input interface;
in response to the second input, obtaining a first password;
establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
In a second aspect, an embodiment of the present application provides an instant messaging device, which is disposed in a first electronic device, where the first electronic device has a touch screen, and the instant messaging device includes:
the first receiving module is used for receiving a first input of a pointer in the interface;
the first response module is used for responding to the first input and displaying a password input interface;
the second receiving module is used for receiving a second input on the password input interface;
the second response module is used for responding to the second input and acquiring the first password;
the connection establishing module is used for establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In an embodiment of the application, a first input to a pointer in an interface is received; displaying a password input interface in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password. Therefore, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set by the second input of the pointer, so that the first electronic equipment establishes communication connection with the second electronic equipment according to the first password, and the connection establishment process of instant messaging is simplified.
Drawings
Fig. 1 is a flowchart of an instant messaging method according to an embodiment of the present application;
fig. 2 is a flowchart of an instant messaging method according to a second embodiment of the present application;
3 a-3 g are schematic diagrams of a first smart watch display interface in an example provided by an embodiment of the present application;
4 a-4 b are schematic diagrams of a second smart watch display interface in an example provided by an embodiment of the present application;
fig. 5 is a block diagram illustrating an instant messaging device according to an embodiment of the present disclosure;
fig. 6 is a block schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The instant messaging method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, in the instant messaging method provided in the embodiment of the present application, the instant messaging method provided in the embodiment of the present application may be applied to a first electronic device, where the first electronic device has a touch screen, and for example, the first electronic device may be an intelligent wearable device, such as a smart watch, a smart bracelet, and the like.
Specifically, the method comprises the following steps 1100-1500:
at step 1100, a first input to a pointer in an interface is received.
In this step, the first electronic device may monitor whether the first input is received in real time, or may detect whether the first input is received within a period of time after the screen is started. The operation of waking up the first electronic device may be, for example, detecting that the first user has a wrist lifted or detecting that the first user has clicked on a touch screen of the first electronic device. This embodiment is not particularly limited thereto.
In this embodiment, the first input is to control the pointer to move in a predetermined direction. For example, a dial is displayed on the interface of the touch screen, and the first user can control the hour hand and/or the minute hand and/or the second hand to move clockwise or counterclockwise.
In response to the first input, a password input interface is displayed, step 1200.
And after receiving the first input, the first electronic device displays the password input interface on the touch screen. Illustratively, the password entry interface may be a clock display interface having an hour hand, a minute hand, and a second hand.
For example, the first electronic device displays the passcode entry interface with the hour hand, minute hand, and second hand upon receiving an input from the first user controlling the clockwise or counterclockwise movement of the hour hand and/or minute hand and/or second hand.
Step 1300, receiving a second input at the password input interface.
And after the first electronic equipment displays the password input interface, detecting whether a second input of the first user on the password input interface is received in real time. In practical application, the first electronic device may preset a waiting time, and if a second input of the first user on the password input interface is not received within the waiting time, quitting the password input interface and turning the screen; if a second input from the first user is received within the waiting time, the following step 1400 is performed.
In this embodiment, the second input may include: the numbers to which the hour, minute and second hands point are set, respectively. For example, the first user may set the numbers to which the hour hand, the minute hand, and the second hand point in order. For example, the first user may set the hour hand to point at the number 10, the minute hand to point at the number 6, and the second hand to point at the number 3 as the second input, in that order.
In step 1400, in response to the second input, a first password is obtained.
In this step, after receiving the second input, the first electronic device responds to the second input to obtain the numbers pointed by the hour hand, the minute hand and the second hand, respectively, and sequentially combines the numbers pointed by the hour hand, the minute hand and the second hand into the first password.
For example, the second input is that the first user sets the hour hand to point at number 10, the minute hand to point at number 6, and the second hand to point at number 3 in sequence, and the first password is the hour hand 10, the minute hand 6, and the second hand 3.
1500, establishing communication connection with a second electronic device according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
After the first electronic equipment acquires the first password, generating a communication connection establishment request according to the first password; and sending the communication connection establishment request to a server so that the server determines the second electronic equipment according to the first password. It should be noted that the second password acquired by the second electronic device is matched with the first password, and the communication connection request is generated according to the second password and sent to the server. And after determining the second electronic equipment, the server returns a communication connection establishment response to the first electronic equipment, and the first electronic equipment establishes communication connection with the second electronic equipment according to the communication connection establishment response.
Further, in this embodiment, the first electronic device may further obtain the setting time of the first password while obtaining the first password. Specifically, the time when the first user completes setting the first password may be determined as the setting time of the first password. In this way, the first electronic device may set a valid password time period based on the setting time of the first password, that is, when the second electronic device establishes a communication connection with the second electronic device according to the first password, the second password acquired by the second electronic device needs to be matched with the first password, and the time for acquiring the second password also needs to be within the valid time period, that is, the second electronic device satisfying both conditions may establish a communication connection with the first electronic device.
Specifically, when determining a second electronic device capable of establishing communication connection with the first electronic device, the server first determines whether a set time of a second password in a communication connection establishment request sent by the second electronic device is within a password valid time period, determines whether the second password in the communication connection establishment request sent by the second electronic device is matched with the first password of the first electronic device within the password valid time period, and determines the second electronic device as a device capable of establishing communication connection with the first electronic device if the second password in the communication connection establishment request sent by the second electronic device is matched with the first password of the first electronic device.
The password valid time period refers to a preset time period from the setting time of the first password of the first electronic device, and the first password set by the first user is valid in the time period. Optionally, the preset time period may be specified by the first user, or may be set in the server, which is not specifically limited in this embodiment.
After the first electronic device establishes communication connection with the second electronic device, the first user can realize instant communication with the second user.
In an embodiment of the application, a first input to a pointer in an interface is received; displaying a password input interface in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password. Therefore, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set by the second input of the pointer, so that the first electronic equipment establishes communication connection with the second electronic equipment according to the first password, and the connection establishment process of instant messaging is simplified.
In some embodiments of the present application, in order to improve the sense of reality of the user in the instant messaging process, after the first electronic device establishes the communication connection with the second electronic device, as shown in fig. 2, the instant messaging method may further include steps 2100 to 2200:
in step 2100, the user attribute information of the first user is sent to the second electronic device for displaying, and the user attribute information of the second user sent by the second electronic device is received.
Wherein the user attribute information includes: at least one of location information, user information, climate information. The location information may be, for example, GPS location information, the user information may include, for example, information about gender, preference, mood, age, photos, etc. of the first user or the second user, and the climate information may include, for example, information about temperature, weather, wind direction, etc. of a location where the first user or the second user is located. This is not to be taken as an example.
Step 2200, displaying the user attribute information of the second user on the communication interface of the first electronic device.
When the first electronic device displays the user attribute information of the second user, the user information and/or the climate information of the second user may be specifically displayed in a direction corresponding to the location information on the communication interface. Similarly, the user information and/or the climate information of the first user can be displayed in the direction corresponding to the position information of the first user on the communication interface of the second electronic device.
For example, if the second user is in the southeast, the head portrait, the temperature of the location, the weather, and the like of the second user are displayed in the southeast direction of the communication interface of the first electronic device. And if the first user is in the west, displaying the head portrait, the weather and the temperature of the location, the mood of the first user and the like of the first user in the west of the communication interface of the second electronic equipment.
For another example, the locations of the first user and the second user may be displayed on the communication interface of each other according to the relative locations of the first user and the second user. For example, if the first user is east and the second user is west relative to the first user, respectively, the avatar of the first user and the avatar of the second user are displayed at opposite positions on the first electronic device and the second electronic device.
In the embodiment of the application, after the communication connection is established immediately, the first electronic device can also send the user attribute information of the first user to the second electronic device for displaying, and obtain the user attribute information of the second user for displaying on the communication interface, so that the users can be closer, and the reality sense is better in the communication process.
It can be understood that the instant messaging method in the embodiment of the present application can be applied to both a single-person communication scenario and a multi-person communication scenario.
An instant messaging method applied to a single-person messaging scenario is described below as a specific example.
In this example, the instant messaging method is performed, for example, by a smart watch, wherein a first smart watch is worn by a first user and a second smart watch is worn by a second user.
Specifically, in the instant messaging method of this example, the first smartwatch monitors the posture of the first smartwatch. The screen is activated when it is detected that the first user has lifted his wrist, as shown in fig. 3 a. Specifically, the first smart watch may monitor the posture of the first smart watch through a built-in gyroscope.
And the first user controls the second hand and/or the hour hand and/or the minute hand to move towards the preset direction, triggers the function of establishing instant communication and displays a password input interface. The first user sets the hour hand to point at numeral 9, the minute hand to point at numeral 2, the second hand to point at numeral 7 in this password input interface, and this second input is received to this moment this first smart watch, obtains this first password, and the content of this first password is: hour hand 9, minute hand 2 and second hand 7, as shown in fig. 3 b. The first user may set the first password to be valid for a period of time.
As shown in fig. 4a, the second smart watch monitors the posture of the second smart watch. Activating the screen upon detecting that the second user has lifted his wrist. Specifically, the second smart watch may monitor the posture of the second smart watch through a built-in gyroscope.
And the second user controls the second hand and/or the hour hand and/or the minute hand to move towards the preset direction, triggers the function of establishing instant communication and displays a password input interface. The second user sets the hour hand to point to figure 9, the minute hand to point to figure 2, the second hand to point to figure 7 at this moment this second intelligent wrist-watch receives this second input of second user, obtains the second password, and the content of this second password is: hour hand 9, minute hand 2 and second hand 7. The content of the second password is from the first user, and specifically, the first user may notify the second user of the content of the second password through face-to-face dictation, short message, telephone call, voice call, and the like, which is not limited in this embodiment.
The first intelligent watch and the second intelligent watch send communication connection establishment requests to the server, the server judges that a first password sent by the first intelligent watch is matched with a second password sent by the second intelligent watch within the valid password time, and then communication connection between the first intelligent watch and the second intelligent watch is established.
After the communication connection between the first smart watch and the second smart watch is successfully established, the first smart watch can send user attribute information of the first user, such as GPS position information and user information, including gender, hobbies and the like, and climate information, including temperature, weather, wind direction and the like, to the second smart watch.
After receiving the user attribute information of the first user, the second smart watch displays the real geographical position of the first user according to the compass and the GPS position information of the second smart watch, and displays the weather where the first user is located, the gender of the first user, and/or the creation content of the first user, such as mood, handprints, and the like, on the communication interface, as shown in fig. 3c and 3 d.
Similarly, the second smart watch sends the user attribute information of the second user, such as GPS location information, user information, including gender, hobbies, and the like, and climate information, including temperature, weather, wind direction, and the like, to the first smart watch.
After receiving the user attribute information of the second user, the first smart watch displays the real geographic position of the second user according to the compass and the GPS position information of the first smart watch, and displays the weather where the second user is located, the gender of the second user, and the like on the communication interface, as shown in fig. 4 b.
It should be noted that, when the real geographic location of the user is displayed, the real geographic location may also be displayed according to the relative location of the two users, for example, if the opposite party is in the south-east, the avatar of the opposite party is also displayed in the south-east on the communication interface of the smart watch.
According to this example, when establishing an immediate communication, the first electronic device receives a first input to a pointer in an interface; displaying a password input interface in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password, and after the communication connection is established, the user attribute information is displayed on a communication interface. Therefore, the function of establishing instant communication is triggered by the first input of the pointer in the interface, and the first password is set by the second input of the pointer, so that the first electronic equipment establishes communication connection with the second electronic equipment according to the first password, the connection establishment flow of instant communication is simplified, and meanwhile, users can be closer and more realistic in the communication process.
The instant messaging method applied to the multi-user messaging scenario is described below with a specific example.
In this example, the instant messaging method is performed, for example, by a smart watch, wherein a first smart watch is worn by a first user, a second smart watch is worn by a second user, a third smart watch is worn by a third user, and a fourth smart watch is worn by a fourth user.
Specifically, in the instant messaging method of this example, the first smartwatch monitors the posture of the first smartwatch. The screen is activated when it is detected that the first user has lifted his wrist, as shown in fig. 3 a. Specifically, the first smart watch may monitor the posture of the first smart watch through a built-in gyroscope.
And the first user controls the second hand and/or the hour hand and/or the minute hand to move towards the preset direction, triggers the function of establishing instant communication and displays a password input interface. The first user sets the hour hand to point at numeral 9, the minute hand to point at numeral 2, and the second hand to point at numeral 7 on this password input interface, and this second input that this first intelligent wrist-watch received first user this moment, and it is first to obtain, and the content of this first password is: hour hand 9, minute hand 2 and second hand 7, as shown in fig. 3 b. The first user may set the first password to be valid for a period of time.
As shown in fig. 4a, the second smart watch monitors the posture of the second smart watch. Activating the screen upon detecting that the second user has lifted his wrist. Specifically, the second smart watch may monitor the posture of the second smart watch through a built-in gyroscope.
And the second user controls the second hand and/or the hour hand and/or the minute hand to move towards the preset direction, triggers the function of establishing instant communication and displays a password input interface. The second user sets the hour hand to point to figure 9, the minute hand to point to figure 2, the second hand to point to figure 7 at this moment this second intelligent wrist-watch receives this second input of second user, obtains second password, the content of this second password: hour hand 9, minute hand 2 and second hand 7. The content of the second password is from the first user, and specifically, the first user may notify the second user of the content of the second password through face-to-face dictation, short message, telephone call, voice call, and the like, which is not limited in this embodiment.
The third smart watch monitors a posture of the third smart watch. The screen is activated upon detecting that the third user has lifted his wrist. Specifically, the third smart watch may monitor the posture of the second smart watch through a built-in gyroscope.
And the third user controls the second hand and/or the hour hand and/or the minute hand to move towards the preset direction, triggers the function of establishing instant communication and displays a password input interface. The third user sets the hour hand as the pointing number 9, the minute hand as the pointing number 2, and the second hand as the pointing number 7 on the password input interface, and at this time, the third smart watch receives the third input of the third user to obtain a third password, and the content of the third password is: hour hand 9, minute hand 2 and second hand 7. The content of the third password is from the first user or the second user, and specifically, the first user or the second user may notify the third user of the content of the third password through face-to-face dictation, short message, telephone call, voice call, and the like, which is not limited in this embodiment.
The fourth smart watch monitors a posture of the fourth smart watch. The screen is activated upon detecting that the fourth user has lifted his wrist. Specifically, the fourth smart watch may monitor the posture of the fourth smart watch through a built-in gyroscope.
And the fourth user controls the second hand and/or the hour hand and/or the minute hand to move towards the preset direction, triggers the function of establishing instant communication and displays a password input interface. The fourth user sets the hour hand to point to figure 9, the minute hand to point to figure 2, the second hand to point to figure 7 at this moment this fourth user's this fourth input is received to this fourth smart watch, obtains the fourth password, and the content of this fourth password is: hour hand 9, minute hand 2 and second hand 7. The content of the fourth password is from the first user, the second user, or the third user, specifically, the first user, the second user, or the third user may notify the fourth user of the content of the fourth password through face-to-face dictation, short message, telephone call, voice call, and the like, which is not limited in this embodiment.
This first intelligent wrist-watch, second intelligent wrist-watch, third intelligent wrist-watch and fourth intelligent wrist-watch all send the communication connection to the server and establish the request, and this server judgement is in the password effective time, and the password that first intelligent wrist-watch, second intelligent wrist-watch, third intelligent wrist-watch and fourth intelligent wrist-watch sent matches, then establishes the communication connection between first intelligent wrist-watch, second intelligent wrist-watch, third intelligent wrist-watch and the fourth intelligent wrist-watch.
After the communication connection between the first smart watch, the second smart watch, the third smart watch and the fourth smart watch is successfully established, the first smart watch can send user attribute information of the first user, such as GPS position information and user information, including gender, hobbies and the like, climate information, including temperature, weather, wind direction and other information to the second smart watch, the third smart watch and the fourth smart watch.
After receiving the user attribute information of the first user, the second intelligent watch, the third intelligent watch and the fourth intelligent watch display the real geographical position of the first user according to respective compass and GPS position information, and simultaneously display the weather of the location of the first user, the gender of the first user and/or the creation content of the first user, such as mood, pictures taken at hand and the like, on the communication interface.
Similarly, the second smart watch sends the user attribute information of the second user, such as GPS location information and user information, including gender, hobbies and the like, and the climate information, including temperature, weather, wind direction and the like, to the first smart watch, the third smart watch and the fourth smart watch.
After the first intelligent watch, the third intelligent watch and the fourth intelligent watch receive the user attribute information of the second user, the real geographical position of the second user is displayed according to the respective compass and GPS position information, and meanwhile, the weather of the location of the second user, the gender of the second user and the like are displayed on the communication interface.
This third smart watch sends this third user's user attribute information, like GPS positional information, user information, including sex, hobby etc. climate information, including information such as temperature, weather, wind direction to this first smart watch, second smart watch and fourth smart watch.
After the first intelligent watch, the second intelligent watch and the fourth intelligent watch receive the user attribute information of the third user, the real geographical position of the third user is displayed according to the respective compass and GPS position information, and meanwhile, the weather of the place where the third user is located, the gender of the third user and the like are displayed on the communication interface.
This fourth smart watch sends this fourth user's user attribute information, like GPS positional information, user information, including sex, hobby etc. climate information, including information such as temperature, weather, wind direction to this first smart watch, second smart watch and third smart watch.
After receiving the user attribute information of the fourth user, the first smart watch, the second smart watch and the third smart watch display the real geographic position of the fourth user according to the respective compass and GPS position information, and display the weather of the location of the fourth user, the gender of the fourth user, and the like on the communication interface, as shown in fig. 3 e.
In practical applications, the mood of the user can be displayed as an icon or an expression, and as shown in fig. 3f, after the mood icon is dotted, a simple explanation that the user released the mood can be seen.
Taking the first smart watch as an example, as shown in fig. 3g, when the user attribute information is displayed, the first user may be displayed in the center of the communication interface, the second, third, and fourth users are displayed according to the true geographic location, and when one of the users shares information, the avatar of the first user may be rotated to the corresponding avatar of the user for communication. Therefore, the real face-to-face communication can be simulated, and the user has more sense of reality in the communication process.
According to this example, when establishing the immediate communication, the first electronic device receives a first input of a first user input; displaying a password input interface in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; and establishing communication connection with other electronic equipment according to the first password, wherein the passwords acquired by other electronic equipment are matched with the first password, and displaying the user attribute information on a communication interface after the communication connection is established. Therefore, the function of establishing instant communication is triggered by the first input of the pointer in the interface, and the first password is set by the second input of the pointer, so that the first electronic equipment establishes communication connection with the second electronic equipment according to the first password, the connection establishment flow of instant communication is simplified, and meanwhile, users can be closer and more realistic in the communication process.
It should be noted that, in the instant messaging method provided in the embodiment of the present application, the execution main body may be an instant messaging device, or alternatively, a control module in the instant messaging device for executing the method for establishing instant messaging. The instant messaging method provided by the embodiment of the present application is described by taking an example of a method for an instant messaging device to execute an instant messaging establishment.
Corresponding to the above method embodiment, this embodiment further provides an instant messaging device, which is disposed in a first electronic device, where the first electronic device has a touch screen, and referring to fig. 5, the instant messaging device 500 includes: a first receiving module 510, a first responding module 520, a second receiving module 530, a second responding module 540, and a connection establishing module 550.
The first receiving module 510 is configured to receive a first input to a pointer in an interface; a first response module 520, configured to display a password input interface in response to the first input; a second receiving module 530, configured to receive a second input on the password input interface; a second response module 540, configured to, in response to the second input, obtain the first password; a connection establishing module 550, configured to establish a communication connection with a second electronic device according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
The first input is used for controlling the pointer to move towards a preset direction.
In some embodiments of the present application, the passcode entry interface is a timepiece display interface having an hour hand, a minute hand, and a second hand; the second input is: respectively setting the numbers pointed by the hour hand, the minute hand and the second hand; the second response module 540 is specifically configured to: and respectively acquiring the numbers pointed by the hour hand, the minute hand and the second hand, and sequentially combining the numbers pointed by the hour hand, the minute hand and the second hand into the first password.
In some embodiments of the present application, the connection establishing module 550 is specifically configured to: generating a communication connection establishment request according to the first password; sending the communication connection establishment request to a server; so that the server determines the second electronic device according to the first password; and establishing communication connection with the second electronic equipment according to the communication connection establishment response returned by the server.
In some embodiments of the present application, the instant communication device 500 may further include: the communication module is used for sending the user attribute information of the first user to the second electronic equipment for displaying and receiving the user attribute information of the second user sent by the second electronic equipment; the display module is used for displaying the user attribute information of the second user on a communication interface of the first electronic equipment; wherein the user attribute information includes: at least one of location information, user information, climate information.
Specifically, the display module may be specifically configured to: and displaying the user information and/or the climate information of the second user in the direction corresponding to the position information on the communication interface.
The instant messaging device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device. The mobile electronic device may be, for example, a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the embodiments of the present application are not limited in particular.
The instant messaging device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The instant messaging device provided in the embodiment of the present application can implement each process implemented by the instant messaging device in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In an embodiment of the application, after receiving a first input to a pointer in an interface, a password input interface is displayed in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password. Therefore, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set by the second input of the pointer, so that the first electronic equipment establishes communication connection with the second electronic equipment according to the first password, and the connection establishment process of instant messaging is simplified.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 610, a memory 609, and a program or an instruction stored in the memory 609 and capable of being executed on the processor 610, where the program or the instruction is executed by the processor 610 to implement each process of the above embodiment of the instant messaging method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the processor 610 is configured to receive a first input to a pointer in the interface; displaying a password input interface in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
The first input is used for controlling the pointer to move towards a preset direction. The password input interface is a clock display interface with an hour hand, a minute hand and a second hand; the second input is: and respectively setting the numbers pointed by the hour hand, the minute hand and the second hand.
In an embodiment of the application, a first input to a pointer in an interface is received; displaying a password input interface in response to the first input; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password. Therefore, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set by the second input of the pointer, so that the first electronic equipment establishes communication connection with the second electronic equipment according to the first password, and the connection establishment process of instant messaging is simplified.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above embodiment of the instant messaging method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above embodiment of the instant messaging method, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An instant messaging method is applied to first electronic equipment, and the first electronic equipment is provided with a touch screen, and the method is characterized by comprising the following steps:
receiving a first input to a pointer in an interface;
displaying a password input interface in response to the first input;
receiving a second input at the password input interface;
in response to the second input, obtaining a first password;
establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
2. The method of claim 1, wherein the first input is controlling the pointer to move in a predetermined direction.
3. The method of claim 1, wherein the password entry interface includes an hour hand, a minute hand, and a second hand; the second input is: respectively setting the numbers pointed by the hour hand, the minute hand and the second hand;
the obtaining a first password in response to the second input comprises:
and respectively acquiring the numbers pointed by the hour hand, the minute hand and the second hand, and forming the first password according to the numbers respectively pointed by the hour hand, the minute hand and the second hand.
4. The method of claim 1, wherein after establishing the communication connection with the second electronic device according to the first password, the method further comprises:
sending the user attribute information of the first user to the second electronic equipment for displaying, and receiving the user attribute information of the second user sent by the second electronic equipment;
displaying user attribute information of the second user on a communication interface of the first electronic equipment;
wherein the user attribute information includes: at least one of location information, user information, climate information.
5. The method according to claim 4, wherein the displaying user attribute information of the second user on the communication interface of the first electronic device comprises:
and displaying the user information and/or the climate information of the second user in the direction corresponding to the position information on the communication interface.
6. An instant messaging device is arranged in first electronic equipment, wherein the first electronic equipment is provided with a touch screen, and the instant messaging device is characterized by comprising:
the first receiving module is used for receiving a first input of a pointer in the interface;
the first response module is used for responding to the first input and displaying a password input interface;
the second receiving module is used for receiving a second input on the password input interface;
the second response module is used for responding to the second input and acquiring the first password;
the connection establishing module is used for establishing communication connection with second electronic equipment according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
7. The apparatus of claim 6, wherein the first input is controlling the pointer to move in a predetermined direction.
8. The device of claim 6, wherein the code entry interface is a clock display interface having hour, minute and second hands; the second input is: respectively setting the numbers pointed by the hour hand, the minute hand and the second hand;
the second response module is specifically configured to: and respectively acquiring the numbers pointed by the hour hand, the minute hand and the second hand, and sequentially combining the numbers pointed by the hour hand, the minute hand and the second hand into the first password.
9. The apparatus of claim 6, further comprising:
the communication module is used for sending the user attribute information of the first user to the second electronic equipment for displaying and receiving the user attribute information of the second user sent by the second electronic equipment;
the display module is used for displaying the user attribute information of the second user on a communication interface of the first electronic equipment; wherein the user attribute information includes: at least one of location information, user information, climate information.
10. The apparatus of claim 9, wherein the display module is specifically configured to:
and displaying the user information and/or the climate information of the second user in the direction corresponding to the position information on the communication interface.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the instant messaging method of any one of claims 1 to 5.
CN202110589651.9A 2021-05-27 2021-05-27 Instant messaging method and device and electronic equipment Active CN113315694B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110589651.9A CN113315694B (en) 2021-05-27 2021-05-27 Instant messaging method and device and electronic equipment
PCT/CN2022/094373 WO2022247771A1 (en) 2021-05-27 2022-05-23 Instant messaging method and apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110589651.9A CN113315694B (en) 2021-05-27 2021-05-27 Instant messaging method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113315694A true CN113315694A (en) 2021-08-27
CN113315694B CN113315694B (en) 2023-11-10

Family

ID=77375879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110589651.9A Active CN113315694B (en) 2021-05-27 2021-05-27 Instant messaging method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113315694B (en)
WO (1) WO2022247771A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247771A1 (en) * 2021-05-27 2022-12-01 维沃移动通信有限公司 Instant messaging method and apparatus and electronic device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368617A (en) * 2013-06-28 2013-10-23 东莞宇龙通信科技有限公司 Intelligent equipment interactive system and intelligent equipment interactive method
CN104717356A (en) * 2013-12-17 2015-06-17 Lg电子株式会社 Mobile terminal and controlling method thereof
US20170031556A1 (en) * 2015-07-29 2017-02-02 Lg Electronics Inc. Watch-type mobile terminal and method for controlling the same
JP2017044574A (en) * 2015-08-26 2017-03-02 カシオ計算機株式会社 Communication device, timepiece and communication method
US20180039232A1 (en) * 2015-03-01 2018-02-08 Andrey Abramov A hybrid smart watch with multiple sources of time, multiple power sources, and multiple time indicator mechanisms
CN107850869A (en) * 2015-07-09 2018-03-27 Lg 电子株式会社 Intelligent watch and the method for controlling intelligent watch
US20180188925A1 (en) * 2015-07-01 2018-07-05 Lg Electronics Inc. Mobile terminal and control method therefor
CN109670818A (en) * 2019-02-15 2019-04-23 广东小天才科技有限公司 A kind of method of payment and payment system for smartwatch
CN109816381A (en) * 2019-02-15 2019-05-28 广东小天才科技有限公司 A kind of method of payment and smartwatch of smartwatch
CN111538452A (en) * 2020-04-17 2020-08-14 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN111586889A (en) * 2020-04-27 2020-08-25 维沃移动通信有限公司 Equipment connection method and device and electronic equipment
US20200359204A1 (en) * 2019-05-06 2020-11-12 Apple Inc. Standalone wearable device configuration and interface
CN112464219A (en) * 2020-12-10 2021-03-09 歌尔科技有限公司 Screen locking password encryption and decryption method and device, smart watch and medium
WO2021047477A1 (en) * 2019-09-09 2021-03-18 科大国盾量子技术股份有限公司 Key allocation method and system, mobile terminal and wearable device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104640233B (en) * 2015-01-28 2018-12-21 广州三星通信技术研究有限公司 The methods, devices and systems of communication connection are established between electronic equipment
CN113315694B (en) * 2021-05-27 2023-11-10 维沃移动通信有限公司 Instant messaging method and device and electronic equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368617A (en) * 2013-06-28 2013-10-23 东莞宇龙通信科技有限公司 Intelligent equipment interactive system and intelligent equipment interactive method
CN104717356A (en) * 2013-12-17 2015-06-17 Lg电子株式会社 Mobile terminal and controlling method thereof
US20180039232A1 (en) * 2015-03-01 2018-02-08 Andrey Abramov A hybrid smart watch with multiple sources of time, multiple power sources, and multiple time indicator mechanisms
US20180188925A1 (en) * 2015-07-01 2018-07-05 Lg Electronics Inc. Mobile terminal and control method therefor
CN107850869A (en) * 2015-07-09 2018-03-27 Lg 电子株式会社 Intelligent watch and the method for controlling intelligent watch
US20170031556A1 (en) * 2015-07-29 2017-02-02 Lg Electronics Inc. Watch-type mobile terminal and method for controlling the same
JP2017044574A (en) * 2015-08-26 2017-03-02 カシオ計算機株式会社 Communication device, timepiece and communication method
CN109670818A (en) * 2019-02-15 2019-04-23 广东小天才科技有限公司 A kind of method of payment and payment system for smartwatch
CN109816381A (en) * 2019-02-15 2019-05-28 广东小天才科技有限公司 A kind of method of payment and smartwatch of smartwatch
US20200359204A1 (en) * 2019-05-06 2020-11-12 Apple Inc. Standalone wearable device configuration and interface
WO2021047477A1 (en) * 2019-09-09 2021-03-18 科大国盾量子技术股份有限公司 Key allocation method and system, mobile terminal and wearable device
CN111538452A (en) * 2020-04-17 2020-08-14 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN111586889A (en) * 2020-04-27 2020-08-25 维沃移动通信有限公司 Equipment connection method and device and electronic equipment
CN112464219A (en) * 2020-12-10 2021-03-09 歌尔科技有限公司 Screen locking password encryption and decryption method and device, smart watch and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247771A1 (en) * 2021-05-27 2022-12-01 维沃移动通信有限公司 Instant messaging method and apparatus and electronic device

Also Published As

Publication number Publication date
CN113315694B (en) 2023-11-10
WO2022247771A1 (en) 2022-12-01

Similar Documents

Publication Publication Date Title
US10524092B2 (en) Task automation using location-awareness of multiple devices
US20130017846A1 (en) Systems and Methods for Smart Texting on Mobile Devices
US20170041272A1 (en) Electronic device and method for transmitting and receiving content
US20140337751A1 (en) Automatic creation of calendar items
US20070184855A1 (en) Visual representation of contact location
US8489118B2 (en) Systems and methods for event attendance notification
CN107870666B (en) Terminal control method and terminal
US11673063B2 (en) In-game status bar
JP2009517762A (en) Visualization of buddy list using positioning information
CN106797336B (en) Method and device for displaying historical chat records
KR20170111810A (en) Method and apparatus for oprerating messenger based on location inforamtion of electronic device
JP2018106119A (en) Map recording apparatus, program, and map recording method
US12014035B2 (en) Display method and apparatus for message detail page, and electronic device
CN111466125A (en) Service pushing method and terminal
KR20180010071A (en) Method for managing a mail and electronic apparatus therefor
CN114630079A (en) Dynamic display of video communication data
CN105357653A (en) Reminding method and terminal
JP2018106117A (en) Map display device, program, and map display method
CN115904182A (en) Notification information display method and device, electronic equipment and storage medium
CN113315694B (en) Instant messaging method and device and electronic equipment
CN112887488B (en) Caller identification method and device and electronic equipment
CN112134987B (en) Information processing method and device and electronic equipment
CN106603650B (en) Method for sharing position information and terminal equipment
CN106899687A (en) A kind of information prompting method and terminal
JP7416146B2 (en) Information terminals, electronic devices, information processing systems, information processing methods

Legal Events

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