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

Instant messaging method and device and electronic equipment Download PDF

Info

Publication number
CN113315694B
CN113315694B CN202110589651.9A CN202110589651A CN113315694B CN 113315694 B CN113315694 B CN 113315694B CN 202110589651 A CN202110589651 A CN 202110589651A CN 113315694 B CN113315694 B CN 113315694B
Authority
CN
China
Prior art keywords
password
user
input
hand
interface
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
CN202110589651.9A
Other languages
Chinese (zh)
Other versions
CN113315694A (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

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

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, and the first electronic device 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; acquiring a first password in response to the second input; 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 wearing equipment is increasingly applied to life, personalized requirements are also increasingly abundant, and as functions carried by the intelligent wearing equipment are increasingly more, how to realize rapid social contact on the intelligent wearing equipment is very important.
In general, quick establishment of instant messaging on smart wearable devices needs to be realized 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 process of establishing the instant messaging is very complex, more time consuming and poor in 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 flow and more time consumption of the existing instant messaging.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides an instant messaging method, applied to a first electronic device, where the first electronic device has a touch screen, 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;
acquiring a first password in response to the second input;
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, provided in a first electronic device, where the first electronic device has a touch screen, the device includes:
a first receiving module for receiving a first input to a pointer in an 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 in the password input interface;
the second response module is used for responding to the second input and acquiring a first password;
the connection establishment module is used for establishing communication connection with the 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, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform 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 where the processor is configured to execute a program or instructions to implement a 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; acquiring a first password in response to the second input; 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 this way, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set for 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 flow 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;
FIGS. 3 a-3 g are schematic diagrams illustrating a first smart watch display interface in examples provided by embodiments of the present application;
fig. 4a to fig. 4b 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 of an instant messaging device according to an embodiment of the present application;
fig. 6 is a block schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, 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 may be interchanged where appropriate such that embodiments of the application may be practiced otherwise than as specifically illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The instant messaging method provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenarios thereof in combination with the accompanying drawings.
As shown in fig. 1, in the instant messaging method provided by the embodiment of the present application, the instant messaging method provided by the embodiment of the present application may be applied to a first electronic device, where the first electronic device has a touch screen, and the first electronic device may be, for example, an intelligent wearable device, such as an intelligent watch, an intelligent bracelet, and other devices.
Specifically, the method comprises the following steps 1100 to 1500:
step 1100, a first input is received for a pointer in an interface.
In this step, the first electronic device may monitor in real time whether the first input is received, 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 wrist of the first user is lifted, or detecting that the first user clicks a touch screen of the first electronic device. The present 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 and/or minute and/or second hands to move clockwise or counterclockwise.
In response to the first input, a password input interface is displayed, step 1200.
And after the first electronic device receives the first input, displaying the password input interface on the touch screen. The code entry interface may be, for example, a timepiece display interface having an hour hand, a minute hand, and a second hand.
For example, when the first electronic device receives an input that the first user controls the clockwise and/or minute and/or second hands to move clockwise or counterclockwise, the password input interface with the hour, minute and second hands is displayed.
Step 1300, receiving a second input at the password input interface.
After the first electronic device displays the password input interface, detecting whether a second input of the first user on the password input interface is received or not in real time. In practical application, the first electronic device may preset a waiting time, and if the second input of the first user on the password input interface is not received within the waiting time, the first electronic device exits the password input interface and enters a screen; if a second input from the first user at the password input interface 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 hand, minute hand and second hand are directed are set, respectively. For example, the first user may set the numbers pointed by the hour hand, the minute hand, and the second hand in order. For example, the first user may set the hour hand to point to number 10, the minute hand to point to number 6, and the second hand to point to number 3 in sequence as the second input.
In step 1400, a first password is obtained in response to the second input.
In this step, after receiving the second input, the first electronic device obtains the numbers pointed by the hour hand, the minute hand and the second hand respectively in response to the second input, and sequentially composes the numbers pointed by the hour hand, the minute hand and the second hand respectively into the first password.
For example, the second input is that the first user sets the hour hand to point to number 10, the minute hand to point to number 6, and the second hand to point to number 3 in order, the first password is 10 points, 6 points, and 3 points.
Step 1500, establishing 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.
After the first electronic equipment acquires the first password, a communication connection establishment request is generated according to the first password; and sending the communication connection establishment request to a server so that the server determines the second electronic device according to the first password. It should be noted that, the second password obtained by the second electronic device is matched with the first password, and a communication connection request is generated according to the second password and sent to the server. After the second electronic equipment is determined, 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 acquire the setting time of the first password while acquiring 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 the password valid 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 electronic device obtains the second password, which is required to be matched with the first password, and the time for obtaining the second password is also required to be within the valid period, that is, the second electronic device that satisfies both conditions can 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 setting time of a second password in a communication connection establishment request sent by the second electronic device is within a password valid period, if so, determines whether the second password in the communication connection establishment request sent by the second electronic device is matched with a first password of the first electronic device, and if so, determines the second electronic device as a device capable of establishing communication connection with the first electronic device.
The password valid period refers to a preset period from the setting time of the first password of the first electronic device, and in the period, the first password set by the first user is valid. Alternatively, 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 equipment establishes communication connection with the second electronic equipment, 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; acquiring a first password in response to the second input; 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 this way, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set for 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 flow of instant messaging is simplified.
In some embodiments of the present application, in order to enhance the sense of reality of the user during the instant messaging, 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, user attribute information of a first user is sent to the second electronic device for display, and 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 of gender, preference, mood, age, photo, etc. of the first user or the second user, and the climate information may include, for example, information of temperature, weather, wind direction, etc. of the first user or the second user. Not specifically listed here.
Step 2200, displaying 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 can be specifically displayed in the direction corresponding to the position information on the communication interface. Similarly, in the communication interface of the second electronic device, the user information and/or the climate information of the first user is displayed in a direction corresponding to the position information of the first user.
For example, if the second user is located in the southeast direction, displaying the head portrait of the second user, the temperature of the location, the weather, etc. in the southeast direction of the communication interface of the first electronic device. And if the first user is in the western direction, displaying the head portrait, the weather and the temperature of the place of the first user, the mood of the first user and the like in the western direction 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 a communication interface with each other based on the relative locations of the first user and the second user. For example, the first user is east relative to the second user, and correspondingly, the second user is west relative to the first user, the avatar of the first user and the avatar of the second user are displayed at relative locations on the first electronic device and the second electronic device.
In the embodiment of the application, after the instant communication connection is established, the first electronic equipment can also send the user attribute information of the first user to the second electronic equipment for display, and acquire the user attribute information of the second user for display on the communication interface, so that the users can be more similar, and the communication process has more realism.
It can be understood that the instant messaging method of the embodiment of the application can be applied to a single person communication scene or a multi-person communication scene.
An instant messaging method applied to a single person communication scenario will be described 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 and a second smart watch is worn by a second user.
Specifically, in the instant messaging method of this embodiment, the first smart watch monitors the gesture of the first smart watch. The screen is activated upon detecting that the first user lifts his wrist, as shown in fig. 3 a. Specifically, the first smart watch may monitor the gesture of the first smart watch through a built-in gyroscope.
The first user controls the second hand and/or the hour hand and/or the minute hand to move towards a preset direction, triggers the function of establishing instant messaging, and displays a password input interface. The first user sets the hour hand to point to the number 9 on the password input interface, the minute hand to point to the number 2, and the second hand to point to the number 7, at this time, the first smart watch receives the second input, and obtains the first password, and the content of the first password is: hour hand 9, minute hand 2, 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 pose of the second smart watch. The screen is activated upon detecting that the second user lifts the wrist. Specifically, the second smart watch may monitor the posture of the second smart watch through a built-in gyroscope.
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 messaging, and displays a password input interface. The second user sets the hour hand to point to the number 9 on the password input interface, the minute hand to point to the number 2, and the second hand to point to the number 7, at this time, the second smart watch receives the second input of the second user, and obtains a second password, where the content of the second password is: hour hand 9, minute hand 2, second hand 7. The content of the second password is derived from the first user, specifically, the first user may inform the second user of the content of the second password through face-to-face dictation, short message, phone call, voice call, etc., which is not limited in this embodiment.
The first intelligent watch and the second intelligent watch both send a communication connection establishment request to a server, and 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 in the password effective time, so that 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 the user attribute information of the first user, such as GPS (global positioning system) position information, user information including gender, preference and the like, and weather 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 geographic position of the first user according to the compass and GPS position information of the second smart watch, and simultaneously displays weather of the first user in the place of the first user, gender of the first user and/or authored content of the first user, such as mood, photographed pictures and the like, on a communication interface, as shown in fig. 3c and 3 d.
Similarly, the second smart watch transmits user attribute information of the second user, such as GPS location information, user information including gender, preference, etc., climate information including temperature, weather, wind direction, etc., 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 GPS position information of the first smart watch, and displays weather of the location of the second user, 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 position of the user is displayed, the relative positions of the two users may also be displayed, for example, the other party is on the southeast side, and the head portrait of the other party is also displayed on the southeast side on the communication interface of the smart watch.
According to this example, upon establishing the instant messaging, the first electronic device receives a first input to a pointer in the interface; in response to the first input, displaying a password input interface; receiving a second input at the password input interface; in response to the second input, obtaining a first password; establishing communication connection with the 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 communication connection is established, the user attribute information is displayed on a communication interface. In this way, 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, the connection establishment flow of the instant messaging is simplified, meanwhile, users can be more similar, and the communication process is more realistic.
An instant messaging method applied to a multi-user communication scenario will be described 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 embodiment, the first smart watch monitors the gesture of the first smart watch. The screen is activated upon detecting that the first user lifts his wrist, as shown in fig. 3 a. Specifically, the first smart watch may monitor the gesture of the first smart watch through a built-in gyroscope.
The first user controls the second hand and/or the hour hand and/or the minute hand to move towards a preset direction, triggers the function of establishing instant messaging, and displays a password input interface. The first user sets the hour hand to point to the number 9 on the password input interface, the minute hand to point to the number 2, the second hand to point to the number 7, at this time, the first smart watch receives the second input of the first user, and obtains the first, the content of the first password is: hour hand 9, minute hand 2, 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 pose of the second smart watch. The screen is activated upon detecting that the second user lifts the wrist. Specifically, the second smart watch may monitor the posture of the second smart watch through a built-in gyroscope.
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 messaging, and displays a password input interface. The second user sets the hour hand to point to the number 9, the minute hand to point to the number 2 and the second hand to point to the number 7 on the password input interface, at this time, the second smart watch receives the second input of the second user, and obtains a second password, where the content of the second password is: hour hand 9, minute hand 2, second hand 7. The content of the second password is derived from the first user, specifically, the first user may inform the second user of the content of the second password through face-to-face dictation, short message, phone call, voice call, etc., which is not limited in this embodiment.
The third smart watch monitors the pose of the third smart watch. The screen is activated upon detecting that the third user lifts the wrist. Specifically, the third smart watch may monitor the posture of the third smart watch through a built-in gyroscope.
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 messaging, and displays a password input interface. The third user sets the hour hand to point to the number 9 on the password input interface, the minute hand to point to the number 2, and the second hand to point to the number 7, at this time, the third smart watch receives the third input of the third user, and obtains a third password, where the content of the third password is: hour hand 9, minute hand 2, second hand 7. The content of the third password is derived from the first user or the second user, specifically, the first user or the second user may inform the third user of the content of the third password through face-to-face dictation, short message, phone call, voice call, etc., which is not limited in this embodiment.
The fourth smart watch monitors the posture of the fourth smart watch. The screen is activated upon detecting that the fourth user lifts 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 messaging, and displays a password input interface. The fourth user sets the hour hand to point to the number 9 on the password input interface, the minute hand to point to the number 2, and the second hand to point to the number 7, at this time, the fourth smart watch receives the fourth input of the fourth user, and obtains a fourth password, where the content of the fourth password is: hour hand 9, minute hand 2, second hand 7. The content of the fourth password is derived from the first user, the second user, or the third user, and specifically, the first user, the second user, or the third user may inform the fourth user of the content of the fourth password through face-to-face dictation, a short message, a phone call, a voice call, or the like, which is not limited in this embodiment.
The first intelligent watch, the second intelligent watch, the third intelligent watch and the fourth intelligent watch all send communication connection establishment requests to a server, and the server judges that passwords sent by the first intelligent watch, the second intelligent watch, the third intelligent watch and the fourth intelligent watch are matched in the effective time of the passwords, so that communication connection among the first intelligent watch, the second intelligent watch, the third intelligent watch and the fourth intelligent watch is established.
After the communication connection among the first intelligent watch, the second intelligent watch, the third intelligent watch and the fourth intelligent watch is successfully established, the first intelligent watch can send the user attribute information of the first user, such as GPS (global positioning system) position information, user information including gender, preference and the like, and weather information including temperature, weather, wind direction and the like, to the second intelligent watch, the third intelligent watch and the fourth intelligent 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 geographic position of the first user according to the respective compass and GPS position information, and simultaneously display weather of the first user in the place, gender of the first user and/or authored content of the first user, such as moods, photographed pictures and the like, on a communication interface.
Similarly, the second smart watch transmits user attribute information of the second user, such as GPS location information, user information including gender, preference, etc., climate information including temperature, weather, wind direction, etc., to the first smart watch, the third smart watch, and the fourth smart watch.
After receiving the user attribute information of the second user, the first intelligent watch, the third intelligent watch and the fourth intelligent watch display the real geographic position of the second user according to the respective compass and GPS position information, and simultaneously display the weather of the place where the second user is located, the gender of the second user and the like on a communication interface.
The third smart watch transmits user attribute information of the third user, such as GPS location information, user information including gender, preference, etc., climate information including temperature, weather, wind direction, etc., to the first smart watch, the second smart watch, and the fourth smart watch.
After receiving the user attribute information of the third user, the first intelligent watch, the second intelligent watch and the fourth intelligent watch display the real geographic position of the third user according to the respective compass and GPS position information, and simultaneously display the weather of the place where the third user is located, the gender of the third user and the like on a communication interface.
The fourth smart watch transmits user attribute information of the fourth user, such as GPS location information, user information including gender, preference, etc., climate information including temperature, weather, wind direction, etc., to the first smart watch, the second smart watch, and the third smart watch.
After receiving the user attribute information of the fourth user, the first intelligent watch, the second intelligent watch and the third intelligent watch display the real geographic position of the fourth user according to the respective compass and GPS position information, and simultaneously display the weather of the place where the fourth user is located, the sex of the fourth user and the like on a communication interface, as shown in fig. 3 e.
In practical application, the mood of the user can be displayed in the form of icons or expressions, and after the mood icon is clicked as shown in fig. 3f, a simple explanation of the mood of the user can be seen.
Taking the first smart watch as an example, as shown in fig. 3g, when user attribute information is displayed, the first user can be displayed in the center of the communication interface, the second, third and fourth users are respectively displayed according to the real geographic positions, and when one user shares information, the head portrait of the first user can rotate to the head portrait of the user corresponding to the face, so as to communicate. Thus, the communication system can simulate real face-to-face communication, and the user has more realism in the communication process.
According to this example, a first electronic device receives a first input of a first user input while establishing an immediate communication; in response to the first input, displaying a password input interface; 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 the other electronic equipment are matched with the first password, and displaying user attribute information on a communication interface after establishing the communication connection. In this way, 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, the connection establishment flow of the instant messaging is simplified, meanwhile, users can be more similar, and the communication process is more realistic.
It should be noted that, in the instant messaging method provided in the embodiment of the present application, the execution body may be an instant messaging device, or a control module in the instant messaging device for executing the method for establishing instant messaging. In the embodiment of the application, the instant messaging device is taken as an example to execute the method for establishing instant messaging, and the instant messaging method provided by the embodiment of the application is described.
Corresponding to the above method embodiment, the present embodiment further provides an instant messaging device 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.
Wherein the first receiving module 510 is configured to receive a first input to a pointer in the interface; a first response module 520 for displaying a password input interface in response to the first input; a second receiving module 530, configured to receive a second input at the password input interface; a second response module 540, configured to obtain a first password in response to the second input; a connection establishment module 550, configured to establish a communication connection with the second electronic device according to the first password; and the second password acquired by the second electronic equipment is matched with the first password.
Wherein the first input is to control the pointer to move towards a preset direction.
In some embodiments of the application, the password input interface is a timepiece display interface having an hour hand, a minute hand, and a second hand; the second input is: the numbers pointed by the hour hand, the minute hand and the second hand are respectively set; 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 forming 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 establishment module 550 is specifically configured to: generating a communication connection establishment request according to the first password; the communication connection establishment request is sent to a server; causing the server to determine 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 messaging 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 display 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 the 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 specifically be used for: 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 application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The apparatus may be a mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle mounted electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and embodiments of the present application are not limited in particular.
The instant messaging device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is 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 embodiment of fig. 1 to 2, and in order to avoid repetition, a description is omitted here.
In the embodiment of the application, after receiving the first input of the pointer in the 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 the 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 this way, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set for 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 flow of instant messaging is simplified.
Optionally, the embodiment of the present application further provides an electronic device, including a processor 610, a memory 609, and a program or an instruction stored in the memory 609 and capable of running on the processor 610, where the program or the instruction realizes each process of the embodiment of the instant messaging method when executed by the processor 610, and the process can achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
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: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may further include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 610 by a power management system to perform functions such as managing charge, discharge, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the processor 610 is configured to receive 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; acquiring a first password in response to the second input; 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.
Wherein the first input is to control 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: the numbers to which the hour hand, minute hand and second hand are directed are set, respectively.
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; acquiring a first password in response to the second input; 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 this way, the function of establishing instant messaging is triggered by the first input of the pointer in the interface, and the first password is set for 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 flow of instant messaging is simplified.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above embodiment of the instant messaging method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the instant messaging method, and can achieve the same technical effects, so that repetition is avoided and redundant description is omitted.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (7)

1. An instant messaging method applied to a first electronic device, wherein the first electronic device is provided with a touch screen, and the method comprises the following steps:
waking up the first electronic device;
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;
acquiring a first password in response to the second input;
establishing communication connection with second electronic equipment according to the first password; wherein the second password acquired by the second electronic equipment is matched with the first password,
wherein the first input is to control the pointer to move towards a preset direction,
the password input interface comprises an hour hand, a minute hand and a second hand; the second input is: the numbers pointed by the hour hand, the minute hand and the second hand are respectively set;
the responding to the second input, obtaining the first password, comprises the following steps:
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 pointed by the hour hand, the minute hand and the second hand.
2. The method of claim 1, wherein after establishing a communication connection with a second electronic device according to the first password, the method further comprises:
the user attribute information of the first user is sent to the second electronic equipment for display, and the user attribute information of the second user sent by the second electronic equipment is received;
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.
3. The method of claim 2, wherein displaying the 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.
4. An instant messaging device disposed in a first electronic device, the first electronic device having a touch screen, the device comprising:
the first receiving module is used for receiving a first input of a pointer in an interface after waking up the first electronic device;
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 in the password input interface;
the second response module is used for responding to the second input and acquiring a first password;
the connection establishment module is used for establishing communication connection with the second electronic equipment according to the first password; wherein the second password acquired by the second electronic equipment is matched with the first password,
wherein the first input is to control 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: the numbers pointed by the hour hand, the minute hand and the second hand are respectively set;
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 forming the numbers pointed by the hour hand, the minute hand and the second hand into the first password.
5. The apparatus of claim 4, wherein the apparatus further comprises:
the communication module is used for sending the user attribute information of the first user to the second electronic equipment for display 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 the communication interface of the first electronic equipment; wherein the user attribute information includes: at least one of location information, user information, climate information.
6. The apparatus of claim 5, 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.
7. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the instant messaging method of any of claims 1 to 3.
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 CN113315694A (en) 2021-08-27
CN113315694B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315694B (en) * 2021-05-27 2023-11-10 维沃移动通信有限公司 Instant messaging method and device and electronic equipment

Citations (10)

* 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
JP2017044574A (en) * 2015-08-26 2017-03-02 カシオ計算機株式会社 Communication device, timepiece and communication method
CN107850869A (en) * 2015-07-09 2018-03-27 Lg 电子株式会社 Intelligent watch and the method for controlling intelligent watch
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
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 (6)

* 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
US10663925B2 (en) * 2015-03-01 2020-05-26 Andrey Abramov Hybrid smart watch multiple sources of time, multiple power sources, and multiple time indicator mechanisms
US10628014B2 (en) * 2015-07-01 2020-04-21 Lg Electronics Inc. Mobile terminal and control method therefor
KR20170014297A (en) * 2015-07-29 2017-02-08 엘지전자 주식회사 Watch-type mobile terminal and method for controlling the same
US11671835B2 (en) * 2019-05-06 2023-06-06 Apple Inc. Standalone wearable device configuration and interface
CN113315694B (en) * 2021-05-27 2023-11-10 维沃移动通信有限公司 Instant messaging method and device and electronic equipment

Patent Citations (10)

* 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
CN107850869A (en) * 2015-07-09 2018-03-27 Lg 电子株式会社 Intelligent watch and the method for controlling intelligent watch
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
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

Also Published As

Publication number Publication date
WO2022247771A1 (en) 2022-12-01
CN113315694A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US20170206899A1 (en) Better communication channel for requests and responses having an intelligent agent
CN108351890B (en) Electronic device and operation method thereof
CN111324259B (en) Group creation method, device and storage medium
US20180302231A1 (en) Method for processing job information and electronic device supporting same
US8489118B2 (en) Systems and methods for event attendance notification
US11673063B2 (en) In-game status bar
CN107870666B (en) Terminal control method and terminal
CN109639444B (en) Message processing method and device, electronic equipment and storage medium
CN111466125A (en) Service pushing method and terminal
WO2022056118A1 (en) Augmented reality messenger system
KR20180010071A (en) Method for managing a mail and electronic apparatus therefor
CN108521365B (en) Method for adding friends and mobile terminal
CN111106997B (en) Message reminding method, device, equipment and storage medium
CN113315694B (en) Instant messaging method and device and electronic equipment
CN113055485B (en) Remote control method and system, electronic equipment and storage medium
CN112887488B (en) Caller identification method and device and electronic equipment
CN106603650B (en) Method for sharing position information and terminal equipment
US10621308B2 (en) Electronic device and method for linking exercise schedule thereof
KR20180127831A (en) Electronic device and method for sharing information of the same
CN111597797A (en) Method, device, equipment and medium for editing social circle message
KR20180020745A (en) Electronic device and method for providing information of work and life
CN112966798B (en) Information display method and device, electronic equipment and storage medium
CN116418771A (en) Message display method, message processing method, device and electronic equipment
CN116011939A (en) Project bidding system, method, equipment and storage medium
CN112996138A (en) Communication establishing method, device and storage medium

Legal Events

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