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:
atstep 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 followingstep 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 thenumber 10, the minute hand to point at thenumber 6, and the second hand to point at thenumber 3 as the second input, in that order.
Instep 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 atnumber 10, the minute hand to point atnumber 6, and the second hand to point atnumber 3 in sequence, and the first password is thehour hand 10, theminute hand 6, and thesecond 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 includesteps 2100 to 2200:
instep 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 andsecond 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 andsecond 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 andsecond 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 andsecond 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 pointingnumber 9, the minute hand as the pointingnumber 2, and the second hand as the pointingnumber 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 andsecond 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 andsecond 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, asecond 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; asecond 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 aprocessor 610, amemory 609, and a program or an instruction stored in thememory 609 and capable of being executed on theprocessor 610, where the program or the instruction is executed by theprocessor 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.
Theelectronic device 600 includes, but is not limited to: aradio frequency unit 601, anetwork module 602, anaudio output unit 603, aninput unit 604, asensor 605, adisplay unit 606, auser input unit 607, aninterface unit 608, amemory 609, aprocessor 610, and the like.
Those skilled in the art will appreciate that theelectronic 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 theprocessor 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, theprocessor 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.